nerdexam
HashiCorp

TERRAFORM-ASSOCIATE-003 · Question #247

TERRAFORM-ASSOCIATE-003 Question #247: Real Exam Question with Answer & Explanation

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

Question

A developer launched a VM outside of the Terraform workflow and ended up with two servers with the same name. They are unsure which VM is managed with Terraform, but they do have a list of all active VM IDs. Which method could you use to determine which instance Terraform manages?

Options

  • AModify the Terraform configuration to add an import block for both of the virtual machines.
  • BRun a terraform apply -refresh to identify the virtual machine IDs that are already managed by
  • CRun terraform state rm on both VMs, then terraform apply to recreate the correct one.
  • DRun terraform state list to find the names of all VMs, then run terraform state show for each of

Unlock TERRAFORM-ASSOCIATE-003 to see the answer

You've previewed enough free TERRAFORM-ASSOCIATE-003 questions. Unlock TERRAFORM-ASSOCIATE-003 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.

Full TERRAFORM-ASSOCIATE-003 Practice
A developer launched a VM outside of the Terraform workflow and... | TERRAFORM-ASSOCIATE-003 Q#247 Answer | NerdExam