Question 430
An acceptance reviewer at Crescent Infrastructure Team must validate the fix for: A service's immutable globally unique name prevents simultaneous duplicate instances, but engineers enable create_before_destroy without checking constraints. Which observation best confirms that the proposed correction worked?
Explanation
Correct Answer
A controlled replacement plan honors actual uniqueness constraints without failing on an unavoidable duplicate name. This directly verifies the corrective action: Review name uniqueness and lifecycle tradeoffs, choosing a safe migration or downtime approach instead of assuming create_before_destroy can always work. The measured result specifically addresses the failure at Crescent Infrastructure Team: A service's immutable globally unique name prevents simultaneous duplicate instances, but engineers enable create_before_destroy without checking constraints.
Incorrect Answers
The plan highlights the specific replacement and allows reviewers to block it. This evidence would validate a DIFFERENT correction: Run terraform plan and examine create/update/delete or replace actions, not just the source diff. That different correction addresses: A proposed firewall change contains an unintended replacement, but the team reviews only changed HCL lines. It does not establish that the Crescent Infrastructure Team issue has been corrected: A service's immutable globally unique name prevents simultaneous duplicate instances, but engineers enable create_before_destroy without checking constraints. The relevant measured outcome is: A controlled replacement plan honors actual uniqueness constraints without failing on an unavoidable duplicate name.
After apply, terraform output returns the expected endpoint from the managed resource. This evidence would validate a DIFFERENT correction: Define an output in the child module and, if needed, forward it through a root output. That different correction addresses: A child module computes an application endpoint, but the root stack cannot expose it to deployment automation. It does not establish that the Crescent Infrastructure Team issue has been corrected: A service's immutable globally unique name prevents simultaneous duplicate instances, but engineers enable create_before_destroy without checking constraints. The relevant measured outcome is: A controlled replacement plan honors actual uniqueness constraints without failing on an unavoidable duplicate name.
The module's resources resolve the caller-approved account and no unexpected credentials are used. This evidence would validate a DIFFERENT correction: Pass provider configurations from the caller and avoid nested provider configuration in reusable child modules where possible. That different correction addresses: An application module quietly configures an independent provider account, conflicting with the root's deployment credentials. It does not establish that the Crescent Infrastructure Team issue has been corrected: A service's immutable globally unique name prevents simultaneous duplicate instances, but engineers enable create_before_destroy without checking constraints. The relevant measured outcome is: A controlled replacement plan honors actual uniqueness constraints without failing on an unavoidable duplicate name.