Question 640
The Terraform change owner at Granite Software Works seeks a verifiable outcome for: A service owner intentionally accepts a remote field change but wants to update state observations without applying unrelated configuration changes. Which controlled check would validate the remediation?
Explanation
Correct Answer
The accepted refresh-only operation updates recorded observations without executing unrelated configuration-driven resource modifications. This directly verifies the corrective action: Use a carefully reviewed refresh-only planning/apply workflow appropriate to the documented case. The measured result specifically addresses the failure at Granite Software Works: A service owner intentionally accepts a remote field change but wants to update state observations without applying unrelated configuration changes.
Incorrect Answers
A deliberate replacement is visible in the saved plan and blocked until approved by the change owner. This evidence would validate a DIFFERENT correction: Add a review and approval gate for the generated Terraform plan before an authorized apply. That different correction addresses: A release pipeline applies infrastructure changes immediately after editing files, without evaluating potentially destructive replacements. It does not establish that the Granite Software Works issue has been corrected: A service owner intentionally accepts a remote field change but wants to update state observations without applying unrelated configuration changes. The relevant measured outcome is: The accepted refresh-only operation updates recorded observations without executing unrelated configuration-driven resource modifications.
An invalid network value fails the precondition with the intended diagnostic before resource creation. This evidence would validate a DIFFERENT correction: Use a lifecycle precondition that checks the invariant before Terraform acts on the resource. That different correction addresses: A managed resource must not proceed if the configured network prefix violates an internal invariant after variables are evaluated. It does not establish that the Granite Software Works issue has been corrected: A service owner intentionally accepts a remote field change but wants to update state observations without applying unrelated configuration changes. The relevant measured outcome is: The accepted refresh-only operation updates recorded observations without executing unrelated configuration-driven resource modifications.
The next authorized run acquires the lock without a competing state modification. This evidence would validate a DIFFERENT correction: Investigate the active lock holder and underlying backend health instead of bypassing normal locking. That different correction addresses: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. It does not establish that the Granite Software Works issue has been corrected: A service owner intentionally accepts a remote field change but wants to update state observations without applying unrelated configuration changes. The relevant measured outcome is: The accepted refresh-only operation updates recorded observations without executing unrelated configuration-driven resource modifications.