nerdexam
HashiCorp

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

Submitted by marco_it· Apr 18, 2026Use Terraform CLI

Question

Which of the following is not a way to trigger terraform destroy?

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)
  • A
    6% (1)
  • B
    89% (16)
  • C
    6% (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

#Terraform CLI#terraform destroy#terraform plan#Resource lifecycle

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-004 Practice