What should you do ...
 
Notifications
Clear all

What should you do to delete the newly-created VM with Terraform?

1 Posts
1 Users
0 Likes
294 Views
(@rippesteban)
Noble Member
Joined: 2 years ago
Posts: 727
Topic starter  

You have never used Terraform before and would like to test it out using a shared team account for a cloud provider. The shared team account already contains 15 virtual machines (VM). You develop a Terraform configuration containing one VM, perform terraform apply, and see that your VM was created successfully.

What should you do to delete the newly-created VM with Terraform?

  • A . The Terraform state file contains all 16 VMs in the team account. Execute terraform destroy and select the newly-created V
  • C . The Terraform state file only contains the one new V
  • D . Execute terraform destroy.
  • E . Delete the Terraform state file and execute Terraform apply.
  • F . Delete the VM using the cloud provider console and terraform apply to apply the changes to the Terraform state file.

Show Answer Hide Answer

Suggested Answer: B

   
Quote

Latest HashiCorp TA-002-P Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: