
HashiCorp Certified:Terraform Associate
Domain 5Objective 1
5a Explain How Terraform Sources Modules 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
5concepts
Questions 11–15
- 11
A team uses a module from the private registry with `version = ">= 2.0.0"`. They run `terraform init` and Terraform installs version 2.3.1. Later, they change the version constraint to `version = ">= 2.0.0, < 2.4.0"` and run `terraform init` again. What will happen?
Select an answer first - 12
A team uses a module from the private registry with `version = ">= 1.0.0"`. After running `terraform init`, they notice Terraform installed version 1.4.2. Later, version 1.5.0 is released. The team runs `terraform init` again but Terraform still uses 1.4.2. What is the most likely reason?
Select an answer first - 13
What is a potential consequence of changing the source of a module to a different version control repository?
Select an answer first - 14
When a module source is from the Terraform Registry and no version constraint is specified, which version does Terraform select?
Select an answer first - 15
A developer is working on a Terraform configuration that uses a module from a Git repository. The source is `source = "git::https://example.com/terraform-modules/vpc.git?ref=v1.0.0"`. They want to update to a newer tag `v1.1.0`. They change the source to `?ref=v1.1.0` and run `terraform init`. What will happen?
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.