
HashiCorp Certified:Terraform Associate
Domain 4Objective 3
4c Use Variables and Outputs TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)
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 11–15
- 11
A developer has a variable `cidr` with no default. They have a file `terraform.tfvars` with `cidr = "10.0.0.0/16"` and a file `override.auto.tfvars` with `cidr = "192.168.0.0/16"`. They run `terraform apply`. What value will be used?
Select an answer first - 12
A configuration has an output that returns a connection string containing a password. The team wants to prevent the password from appearing in the terminal output but still allow the output to be used by other configurations. What should be done?
Select an answer first - 13
How do you reference the value of an input variable named 'instance_count' inside a resource block?
Select an answer first - 14
Which expression correctly uses an input variable named 'region' as the value for an argument?
Select an answer first - 15
Which expression correctly uses an output value from a module named 'storage' to set a resource argument?
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.