
HashiCorp Certified:Terraform Associate
Domain 4Objective 3
4c Use Variables and Outputs TERRAFORM-ASSOCIATE-004 Practice Questions (Page 5)
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 21–25
- 21
How does Terraform determine dependencies for output values?
Select an answer first - 22
A configuration defines `variable "ports" { type = set(number) }`. A user provides `ports = [80, 443, 80]`. What will be the effective value of `ports`?
Select an answer first - 23
A Terraform configuration has an output that returns a list of IP addresses. The team wants to hide these IPs from the CLI output but still allow them to be used by other configurations via remote state. What should be added to the output block?
Select an answer first - 24
Which block is used to expose a value from a Terraform configuration for use outside the module?
Select an answer first - 25
What is a recommended best practice for naming input variables?
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.