Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 90 Topic 10 Discussion

HashiCorp Certified: Terraform Associate (004) (HCTA0-004) Terraform-Associate-004 Question # 90 Topic 10 Discussion

Terraform-Associate-004 Exam Topic 10 Question 90 Discussion:
Question #: 90
Topic #: 10

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?


A.

Use the terraform state rm command to remove the VM from state file


B.

Use the terraform taint command targeting the VMs then run terraform plan and terraform apply


C.

Use the terraform apply command targeting the VM resources only


D.

Delete the Terraform VM resources from your Terraform code then run terraform plan and terraform apply


Get Premium Terraform-Associate-004 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.