nerdexam
HashiCorpHashiCorp

TERRAFORM-ASSOCIATE-004 · Question #39

TERRAFORM-ASSOCIATE-004 Question #39: Real Exam Question with Answer & Explanation

Sign in or unlock TERRAFORM-ASSOCIATE-004 to reveal the answer and full explanation for question #39. The question stem and answer options stay visible for context.

Submitted by alyssa_d· Apr 18, 2026Use Terraform CLI

Question

You have created a main.tf Terraform configuration consisting of an application server, a database and a load balanced. You ran terraform apply and Terraform created all of the resources successfully. Now you realize that you do not actually need the load balancer, so you run terraform destroy without any flags. What will happen?

Options

  • ATerraform will prompt you to pick which resource you want to destroy
  • BTerraform will destroy the application server because it is listed first in the code
  • CTerraform will prompt you to confirm that you want to destroy all the infrastructure
  • DTerraform will destroy the main, tf file
  • ETerraform will immediately destroy all the infrastructure

Unlock TERRAFORM-ASSOCIATE-004 to see the answer

You've previewed enough free TERRAFORM-ASSOCIATE-004 questions. Unlock TERRAFORM-ASSOCIATE-004 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 destroy#Terraform CLI#Resource lifecycle#Confirmation prompt
Full TERRAFORM-ASSOCIATE-004 PracticeBrowse All TERRAFORM-ASSOCIATE-004 Questions