Question 590
A controlled test for Crescent Infrastructure Team focuses on the original failure: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
The next authorized run acquires the lock without a competing state modification. This directly verifies the corrective action: Investigate the active lock holder and underlying backend health instead of bypassing normal locking. The measured result specifically addresses the failure at Crescent Infrastructure Team: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production.
Incorrect Answers
The plan retains the remote object identity while moving its Terraform address without destructive replacement. This evidence would validate a DIFFERENT correction: Add a moved block mapping the old resource address to the new address when the object remains the same. That different correction addresses: An engineer renames a Terraform resource block without recording its prior address and gets an unnecessary destroy-and-create plan. It does not establish that the Crescent Infrastructure Team issue has been corrected: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. The relevant measured outcome is: The next authorized run acquires the lock without a competing state modification.
Init resolves the intended published module version and records it in the installed module manifest. This evidence would validate a DIFFERENT correction: Use the published module source syntax and a supported version constraint for the registry module. That different correction addresses: A team tries to install a remote Terraform Registry module without specifying a valid registry source address. It does not establish that the Crescent Infrastructure Team issue has been corrected: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. The relevant measured outcome is: The next authorized run acquires the lock without a competing state modification.
Invalid values are rejected and a numeric accepted value passes configuration checking. This evidence would validate a DIFFERENT correction: Use an explicit number type and appropriate variable validation to restrict the accepted port range. That different correction addresses: A module accepts a port number as an untyped string and downstream arithmetic and validation become inconsistent. It does not establish that the Crescent Infrastructure Team issue has been corrected: A Terraform job fails to acquire a state lock and its operator reaches immediately for -lock=false to continue in production. The relevant measured outcome is: The next authorized run acquires the lock without a competing state modification.