
HashiCorp Certified:Terraform Authoring and Operations Professional
Domain 2Objective 3
2c TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 3)
Part of the Develop and troubleshoot dynamic configuration domain, which makes up ~20% of our current practice bank. HashiCorp does not publish an official question count, but from its 240-minute exam (~95–160 total, ~19–32 in this domain), expect 3–5 from this objective — we provide 27 practice questions to prepare you well beyond it. (estimate)
27questions here
6free pages
9concepts
Questions 11–15
- 11
A DevOps engineer maintains a Terraform configuration that creates multiple Azure virtual machines. They have a map of VM names to their CPU utilization percentages, e.g., { vm1 = 85, vm2 = 92, vm3 = 78 }. They need to output the name of the VM with the highest utilization. Which expression should they use?
Select an answer first - 12
Which function converts a value to a string data type?
Select an answer first - 13
A platform team generates unique resource names for each environment using a local value. They have a list of environment codes like ["dev", "staging", "prod"] and need to produce a single string like "dev-staging-prod-resources" for a naming convention. They also need to ensure the final string is lowercase. Which expression achieves this?
Select an answer first - 14
A developer needs to create a list of strings that combines a prefix with each element from an existing list. They have `var.names = ["app1", "app2"]` and want to produce `["prod-app1", "prod-app2"]`. Which expression achieves this?
Select an answer first - 15
Which function computes the SHA-256 hash of a string?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by HashiCorp. “TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL” is a trademark of its owner, used for identification only.