Destroys all infrastructure in the Terraform state file.
B.
Destroys all Terraform code files in the current directory, leaving the state file intact.
C.
Destroys all infrastructure in the configured Terraform provider.
D.
Destroys the Terraform state file, leaving the infrastructure intact.
The Answer Is:
A
This question includes an explanation.
Explanation:
Rationale for Correct Answer:terraform destroy removes all resources currently tracked in the Terraform state file by issuing destroy requests to the configured providers. It does not delete configuration files or providers themselves.
Analysis of Incorrect Options (Distractors):
B: Terraform never deletes configuration files.
C: Terraform only destroys resources it manages, not all provider infrastructure.
D: Terraform does not delete the state file by default.
Key Concept:terraform destroy enforces removal of all managed infrastructure.
[Reference:Terraform Exam Objective – Use Terraform to Manage Infrastructure, ]
Terraform-Associate-004 PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 60% Discount on All Products,
Use Coupon: "8w52ceb345"