
HashiCorp Certified:Terraform Associate
Domain 3Objective 5
3e Apply Changes to Infrastructure with Terraform TERRAFORM-ASSOCIATE-004 Practice Questions (Page 5)
Part of the Core Terraform workflow domain, which makes up ~20% of our current practice bank. HashiCorp does not publish an official question count, but from its 60-minute exam (~25–40 total, ~5–8 in this domain), expect 1–1 from this objective — we provide 30 practice questions to prepare you well beyond it. (estimate)
30questions here
6free pages
10concepts
Questions 21–25
- 21
During terraform apply, an error occurs: 'Error: Error creating instance: InvalidParameterValue: The security group sg-12345 does not exist'. The configuration references this security group by ID. What is the most likely cause and the appropriate first step to resolve it?
Select an answer first - 22
What does the `-target` option do in `terraform apply`?
Select an answer first - 23
A developer runs terraform apply after modifying a configuration. The plan shows that a security group rule will be added and an existing instance will be replaced. The developer approves the plan, and the apply completes successfully. What should the developer do to confirm that the new instance is functioning as expected before considering the change complete?
Select an answer first - 24
Which command would apply changes only to the resource `aws_instance.web`?
Select an answer first - 25
What is the purpose of the `-var-file` option in `terraform apply`?
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.