Examers.io
ExamsOrganizationsHow it worksPricingHelp & FAQ
HashiCorp logo

HashiCorp Certified:Terraform Associate

Domain 4Objective 3

4c Use Variables and Outputs 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 34 practice questions to prepare you well beyond it. (estimate)

34questions here
7free pages
12concepts

Questions 6–10

  1. 6foundation · easy

    Which block is used to add custom validation rules to an input variable?

    Select an answer first
  2. 7application · medium

    A developer has a variable `region` with no default. They set `TF_VAR_region=us-east-1` in their shell and also have a file `prod.tfvars` with `region = "us-west-2"`. They run `terraform apply -var-file=prod.tfvars`. What value will be used for `region`?

    Select an answer first
  3. 8foundation · easy

    Which block is used to declare an input variable in a Terraform configuration?

    Select an answer first
  4. 9foundation · easy

    Which type constraint would you use to declare a variable that accepts a collection of unique strings?

    Select an answer first
  5. 10foundation · easy

    What is the purpose of an output value in a 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-ASSOCIATE-004” is a trademark of its owner, used for identification only.