
HashiCorp Certified:Terraform Associate
Domain 5Objective 3
5c Use Modules in Configuration TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)
Part of the Terraform modules domain, which makes up ~8% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~2–3 in this domain), expect 1–1 from this objective — we provide 16 practice questions to prepare you well beyond it. (estimate)
16questions here
4free pages
7concepts
Questions 11–15
- 11
A team is using a module from the public registry. They want to ensure that the module version they use is always the same across all environments (dev, staging, prod). They also want to be able to update the module version in a controlled way. Which approach best meets these requirements?
Select an answer first - 12
A team is using a module that has a required input variable named environment. The module is used in two different configurations: one for production and one for development. The team wants to ensure that the production configuration cannot accidentally set the environment variable to 'dev'. What is the best approach?
Select an answer first - 13
A configuration uses the same module source twice to create two separate VPCs. What is the purpose of the local name given to each module instance?
Select an answer first - 14
A configuration has two modules: module "network" and module "app". The app module references an output from the network module. The team wants to ensure that the network module is always created before the app module, even if the output reference is removed in the future. What is the best way to enforce this?
Select an answer first - 15
A resource was previously at the address aws_subnet.main. After refactoring, it is now at module.network.aws_subnet.main. Which moved block correctly records this change?
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.