
HashiCorp Certified:Terraform Associate
Domain 3Objective 6
3f Destroy Terraform-Managed Infrastructure TERRAFORM-ASSOCIATE-004 Practice Questions (Page 3)
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 23 practice questions to prepare you well beyond it. (estimate)
23questions here
5free pages
9concepts
Questions 11–15
- 11
A user modifies the Terraform configuration to remove a resource definition, then runs `terraform destroy`. What does Terraform use to determine which resources to destroy?
Select an answer first - 12
Which Terraform command performs the same underlying operation as `terraform apply -destroy`?
Select an answer first - 13
An administrator manages a shared Terraform configuration that provisions a web server and a separate database. The web server is no longer needed, but the database must remain. The administrator wants to remove only the web server resource. What should the administrator do?
Select an answer first - 14
A junior engineer accidentally runs terraform destroy -auto-approve in a production workspace. The plan includes a critical database. The engineer realizes the mistake immediately after the command starts. What is the best action to minimize damage?
Select an answer first - 15
A DevOps engineer is writing a script that runs terraform destroy in a CI pipeline. The script must fail if the destroy plan includes a specific production resource. The engineer wants to avoid any interactive prompts. What is the best way to achieve this?
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.