Which of the following is not a way to trigger terraform destroy?
A.
Using the destroy command with auto-approve.
B.
Passing --destroy at the end of a plan request.
C.
Running terraform destroy from the correct directory and then typing yes when prompted in the CLI.
The Answer Is:
B
This question includes an explanation.
Explanation:
Destroy Command Options: Theterraform destroycommand is the correct method to destroy resources, and it requires either manual approval or the -auto-approve flag.
Unsupported Triggering Method: The--destroy flagis not a recognized option for plan or apply commands, making B the correct answer as it isnota valid way to initiate resource destruction.
For more on destroying resources, refer to theterraform destroy command documentationin the Terraform CLI reference.
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"