Exam Terraform-Associate-003 Topic 1 Question 63 Discussion
Actual exam question for HashiCorp's Terraform-Associate-003 exam
Question #: 63
Topic #: 1
Question #: 63
Topic #: 1
You have used Terraform lo create an ephemeral development environment in the (loud and are now ready to destroy all the Infrastructure described by your Terraform configuration To be safe, you would like to first see all the infrastructure that Terraform will delete.
Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.
Which command should you use to show all of the resources that mil be deleted? Choose two correct answers.
Suggested Answer: C,D Vote an answer
To see all the resources that Terraform will delete, you can use either of these two commands:
terraform destroy will show the plan of destruction and ask for your confirmation before proceeding. You can cancel the command if you do not want to destroy the resources.
terraform plan -destroy will show the plan of destruction without asking for confirmation. You can use this command to review the changes before running terraform destroy. Reference = : Destroy Infrastructure : Plan Command: Options
terraform destroy will show the plan of destruction and ask for your confirmation before proceeding. You can cancel the command if you do not want to destroy the resources.
terraform plan -destroy will show the plan of destruction without asking for confirmation. You can use this command to review the changes before running terraform destroy. Reference = : Destroy Infrastructure : Plan Command: Options
by Elvis at Aug 05, 2025, 07:00 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).