TA-002-P · Question #48
TA-002-P Question #48: Real Exam Question with Answer & Explanation
Sign in or unlock TA-002-P to reveal the answer and full explanation for question #48. The question stem and answer options stay visible for context.
Question
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?
Options
- AThe Terraform state file contains all 16 VMs in the team account. Execute terraform
- BThe Terraform state file only contains the one new VM. Execute terraform destroy.
- CDelete the Terraform state file and execute Terraform apply.
- DDelete the VM using the cloud provider console and terraform apply to apply the changes
Unlock TA-002-P to see the answer
You've previewed enough free TA-002-P questions. Unlock TA-002-P 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.