
HashiCorp Certified:Terraform Associate
Domain 5Objective 4
5d Manage Module Versions 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 17 practice questions to prepare you well beyond it. (estimate)
17questions here
4free pages
5concepts
Questions 11–15
- 11
In a Terraform configuration, how do you specify that a module should use version 1.2.0 from the Terraform Registry?
Select an answer first - 12
A team publishes a module to the public Terraform Registry. They release version 1.0.0, then later release 1.0.1 and 1.1.0. A consumer's configuration uses version = "~> 1.0". When the consumer runs terraform init, which version will be selected?
Select an answer first - 13
How does the Terraform Registry handle module versioning?
Select an answer first - 14
A company manages multiple environments (dev, staging, prod) using the same root module but different Terraform configurations. They want to ensure that the exact same module version is used across all environments to avoid configuration drift. What is the best practice to achieve this?
Select an answer first - 15
A company has a policy that all module versions must be explicitly pinned to a specific version in production, but development environments may use a range. They use the same Terraform configuration for both environments, parameterized by a variable. What is the best way to implement this policy?
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.