Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Associate

Domain 4Objective 7

4g Validate Configuration Using Custom Conditions TERRAFORM-ASSOCIATE-004 Practice Questions (Page 2)

Part of the Terraform configuration domain, which makes up ~22% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~6–9 in this domain), expect 1–1 from this objective — we provide 20 practice questions to prepare you well beyond it. (estimate)

20questions here
4free pages
9concepts

Questions 6–10

  1. 6foundation · easy

    Which Terraform function is commonly used in a condition expression to check if a value is in a list?

    Select an answer first
  2. 7foundation · easy

    What is the primary difference between a precondition and a postcondition in Terraform?

    Select an answer first
  3. 8foundation · easy

    Which argument is used to specify the condition that must be true for a custom condition to pass?

    Select an answer first
  4. 9foundation · easy

    What should a well-written `error_message` in a custom condition include?

    Select an answer first
  5. 10application · medium

    A team is writing a Terraform module that accepts a variable `environment` which must be either `dev`, `staging`, or `prod`. They want to enforce this constraint at plan time. Which approach should they use?

    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-ASSOCIATE-004” is a trademark of its owner, used for identification only.