nerdexam
HashiCorp

TA-002-P · Question #241

You wanted to destroy some of the dependent resources from real infrastructure. You choose to delete those resources from your configuration file and run terraform plan and then apply. Which of the fo

Sign in or unlock TA-002-P to reveal the answer and full explanation for question #241. The question stem and answer options stay visible for context.

Implement and maintain state

Question

You wanted to destroy some of the dependent resources from real infrastructure. You choose to delete those resources from your configuration file and run terraform plan and then apply. Which of the following way your resources would be destroyed?

Options

  • ATerraform can still determine the correct order for destruction from the state even when
  • BThose would be destroyed in the order in which they were written in the configuration file
  • CThe resource will be destructed in random order as you have already deleted them from
  • DYou can not destroy resources by deleting them from configuration file and running plan

Unlock TA-002-P to see the answer

You've previewed enough free TA-002-P questions. Unlock TA-002-P for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Terraform State#Resource Destruction#Dependency Resolution#Configuration Management
Full TA-002-P Practice