
HashiCorp Certified:Terraform Associate
Domain 5Objective 1
5a Explain How Terraform Sources Modules TERRAFORM-ASSOCIATE-004 Practice Questions (Page 2)
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 6–10
- 6
Which of the following is NOT a module source type supported by Terraform?
Select an answer first - 7
A team uses a module from the public registry with `version = "~> 1.0"`. They want to upgrade to the latest 1.x release. They run `terraform init -upgrade`. Which command should they run next to see the changes in the module's outputs?
Select an answer first - 8
During which Terraform command does Terraform fetch and install module sources?
Select an answer first - 9
A team uses a module from the public registry with `version = ">= 1.0.0"`. They run `terraform init` and Terraform installs version 1.2.0. Later, they change the version constraint to `version = ">= 1.5.0"` and run `terraform init` without `-upgrade`. What will happen?
Select an answer first - 10
A developer is writing a Terraform configuration for a proof-of-concept. They have a module stored in a sibling directory named `modules/network` relative to their root module. They want to reference this module without publishing it to a registry or pushing it to a Git remote. Which module source string should they use?
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.