nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · 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…

Navigate the Core Terraform Workflow

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

(25 responses)
  • A
    12% (3)
  • B
    72% (18)
  • C
    16% (4)

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 destroy#auto-approve#destroy plan#destroy workflow

Community Discussion

No community discussion yet for this question.

Full TERRAFORM-ASSOCIATE-003 Practice