Question 570
The Terraform change owner at Eastbridge Operations seeks a verifiable outcome for: A developer relocates the root directory and assumes the local backend state will automatically follow an unrelated copy of only the .tf files. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
The moved workspace retains tracked resources and its next plan does not propose duplicating existing infrastructure. This directly verifies the corrective action: Preserve or migrate the local state file with the configuration rather than leaving resource mappings behind. The measured result specifically addresses the failure at Eastbridge Operations: A developer relocates the root directory and assumes the local backend state will automatically follow an unrelated copy of only the .tf files.
Incorrect Answers
The run uses the documented version and passes its provider/module compatibility checks. This evidence would validate a DIFFERENT correction: Set a supported Terraform version in workspace settings and validate the configuration on a controlled speculative run. That different correction addresses: A platform upgrades the Terraform CLI version for its HCP Terraform workspace without validating version compatibility or plan behavior. It does not establish that the Eastbridge Operations issue has been corrected: A developer relocates the root directory and assumes the local backend state will automatically follow an unrelated copy of only the .tf files. The relevant measured outcome is: The moved workspace retains tracked resources and its next plan does not propose duplicating existing infrastructure.
The review identifies the protected database and prevents unauthorized data destruction. This evidence would validate a DIFFERENT correction: Review destroy implications and lifecycle/retention controls before decommissioning managed data services. That different correction addresses: A training exercise uses destroy to clear a resource but ignores a required retention policy for its database. It does not establish that the Eastbridge Operations issue has been corrected: A developer relocates the root directory and assumes the local backend state will automatically follow an unrelated copy of only the .tf files. The relevant measured outcome is: The moved workspace retains tracked resources and its next plan does not propose duplicating existing infrastructure.
The second job waits or exits according to policy and never corrupts the first job's state write. This evidence would validate a DIFFERENT correction: Use the documented lock-timeout behavior or release scheduling instead of disabling locking. That different correction addresses: A long plan times out waiting for the state lock while another maintenance run legitimately holds it. It does not establish that the Eastbridge Operations issue has been corrected: A developer relocates the root directory and assumes the local backend state will automatically follow an unrelated copy of only the .tf files. The relevant measured outcome is: The moved workspace retains tracked resources and its next plan does not propose duplicating existing infrastructure.