List of questions
Related questions
Question 119 - Terraform Associate 003 discussion
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
Your answer:
0 comments
Sorted by
Leave a comment first