HashiCorp
TERRAFORM-ASSOCIATE-003 · Question #70
TERRAFORM-ASSOCIATE-003 Question #70: Real Exam Question with Answer & Explanation
Sign in or unlock TERRAFORM-ASSOCIATE-003 to reveal the answer and full explanation for question #70. The question stem and answer options stay visible for context.
Question
You've used Terraform to deploy a virtual machine and a database. You want to replace this virtual machine instance with an identical one without affecting the database. What is the best way to achieve this using Terraform?
Options
- AUse the terraform state rm command to remove the VM from state file
- BUse the terraform taint command targeting the VMs then run terraform plan and terraform apply
- CUse the terraform apply command targeting the VM resources only
- DDelete the Terraform VM resources from your Terraform code then run terraform plan and
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.