
HashiCorp Certified:Terraform Associate
Domain 2Objective 1
2a Install and Version Terraform Providers TERRAFORM-ASSOCIATE-004 Practice Questions (Page 2)
Part of the Terraform fundamentals domain, which makes up ~12% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~3–5 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 6–10
- 6
Where can you verify that a provider has been installed successfully after running terraform init?
Select an answer first - 7
A developer has written a Terraform configuration that uses the AWS provider. They run `terraform init` and notice that Terraform downloads the provider binary into the `.terraform` directory. The developer wants to ensure that future runs of `terraform init` in a clean environment install the exact same provider version. What should the developer do?
Select an answer first - 8
A developer has a Terraform configuration with a provider constraint of `version = ">= 1.0"`. The lock file currently records version 1.2.0. The developer wants to upgrade to the latest version allowed by the constraint. Which command should they run?
Select an answer first - 9
Where does Terraform look to find the source and version of a provider that is declared in a configuration?
Select an answer first - 10
When should the .terraform.lock.hcl file be committed to version control?
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.