Câu 19: Terraform Associate 004: HashiCorp Certified: Terraform Associate (004)
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 VMs (virtual machines). You develop a new Terraform configuration containing one VM, perform terraform apply, and see that your VM was created successfully. H…
Nội dung câu hỏi
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 VMs (virtual machines). You develop a new Terraform configuration containing one VM, perform terraform apply, and see that your VM was created successfully. How do you delete the newly-created VM with Terraform?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Delete the Terraform state file and execute terraform apply.
- B. The Terraform state file only contains one new VM. Execute terraform destroy. — đáp án hiện tại
- C. The Terraform state file contains all 16 VMs in the team account. Execute terraform destroy and select the newly-created VM.
- D. Delete the VM using the cloud provider console, and execute terraform apply to apply the changes to the Terraform state file.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.