
HashiCorp Certified:Terraform Authoring and Operations Professional
Domain 2Objective 1
2a TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 2)
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 16 practice questions to prepare you well beyond it. (estimate)
16questions here
4free pages
6concepts
Questions 6–10
- 6
In an output postcondition, what keyword refers to the output's computed value?
Select an answer first - 7
A team uses a Terraform configuration that creates an AWS S3 bucket and then applies a bucket policy that grants access to a specific IAM role. The policy references the role's ARN, which is passed as a variable. The team wants to ensure that the role exists before the bucket policy is created, and if it does not, the plan should fail with a clear message. Which approach should they use?
Select an answer first - 8
Which block type can be used to assert that a condition holds true before a resource is created or updated?
Select an answer first - 9
What is the purpose of the error_message argument in a validation block?
Select an answer first - 10
Where can precondition and postcondition blocks be placed in Terraform configuration?
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.