What is terraform plan -refresh-only intended to detect?
A.
Terraform configuration code changes
B.
Corrupt state files
C.
State file drift
D.
Empty state files
The Answer Is:
C
This question includes an explanation.
Explanation:
The terraform refresh-only command is intended to detect state file drift. This command synchronizes the state file with the actual infrastructure, updating the state to reflect any changes that have occurred outside of Terraform.
From terraform plan -refresh-only:
"Use this to detectdrift, i.e., changes made outside of Terraform."
It compares actual infrastructure to what's recorded in the state file.
Terraform-Associate-003 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"