TERRAFORM-ASSOCIATE-004 · Question #199
Which of the following is not a way to trigger terraform destroy?
The correct answer is B. Passing --destroy at the end of a plan request.. Destroy Command Options: The terraform destroy command is the correct method to destroy resources, and it requires either manual approval or the -auto-approve flag. Unsupported Triggering Method: The --destroy flag is not a recognized option for plan or apply commands, making B t
Question
Options
- AUsing the destroy command with auto-approve.
- BPassing --destroy at the end of a plan request.
- CRunning terraform destroy from the correct directory and then typing yes when prompted in
How the community answered
(18 responses)- A6% (1)
- B89% (16)
- C6% (1)
Explanation
Destroy Command Options: The terraform destroy command is the correct method to destroy resources, and it requires either manual approval or the -auto-approve flag. Unsupported Triggering Method: The --destroy flag is not a recognized option for plan or apply commands, making B the correct answer as it is not a valid way to initiate resource destruction.
Topics
Community Discussion
No community discussion yet for this question.