Month End Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 34 Topic 4 Discussion

HashiCorp Certified: Terraform Associate (003) (HCTA0-003) Terraform-Associate-003 Question # 34 Topic 4 Discussion

Terraform-Associate-003 Exam Topic 4 Question 34 Discussion:
Question #: 34
Topic #: 4

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 VM.


B.

Delete the Terraform state file and execute terraform apply.


C.

The Terraform state file only contains the one new VM. Execute terraform destroy.


D.

Delete the VM using the cloud provider console and terraform apply to apply the changes to the Terraform state file.


Get Premium Terraform-Associate-003 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.