nerdexam
HashiCorpHashiCorp

TA-002-P · Question #407

TA-002-P Question #407: Real Exam Question with Answer & Explanation

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

Use the Terraform CLI (terraform plan, apply, destroy, fmt, init, validate, workspace, import, taint, providers, output)

Question

You have a simple Terraform configuration containing one virtual machine (VM) in a cloud provider. You run terraform apply and the VM is created successfully. What will happen if you terraform apply again immediately afterwards without changing any Terraform code?

Options

  • ATerraform will terminate and recreate the VM
  • BTerraform will create another duplicate VM
  • CTerraform will apply the VM to the state file
  • DNothing

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

#Idempotency#Terraform state#terraform apply#Resource management
Full TA-002-P PracticeBrowse All TA-002-P Questions