
HashiCorp Certified:Terraform Authoring and Operations Professional
Domain 2Objective 1
2a TERRAFORM-AUTHORING-AND-OPERATIONS-PROFESSIONAL Practice Questions (Page 1)
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 1–5
- 1
A team manages a Kubernetes cluster with Terraform. They have a module that creates a namespace and then applies a Helm release. The Helm release depends on the namespace being active. The team wants to verify that the namespace is in the `Active` phase before the Helm release is applied. Which configuration should they use?
Select an answer first - 2
Which of the following is a valid use of a variable validation block?
Select an answer first - 3
A Terraform configuration outputs the public IP address of a newly created VM. The team wants to ensure that the output value is a valid IPv4 address before it is used by downstream automation. If the value is invalid, they want the apply to fail with a descriptive error. Which configuration should they use?
Select an answer first - 4
A platform team defines a reusable module that provisions Azure virtual machines. The module accepts a variable `vm_size` that must be one of the allowed sizes from a fixed list. The team wants to fail fast during `terraform plan` with a clear message if an unsupported size is supplied. Which configuration should they use?
Select an answer first - 5
In a variable validation block, which two arguments are required?
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.