Question 170
During a global rollout at a global logistics company, the DevOps team discovers that a canary alarm observes errors but the deployment never restores the former Lambda alias weight. The affected workload supports shipment tracking and dispatch; customers expect continuous updates in several Regions. Which risk statement BEST explains why this design or process is unreliable?
Explanation
Correct Answer
Correct. Changing an unqualified function version directly can expose every request to a defective release with no safe incremental rollback. The observed problem is a canary alarm observes errors but the deployment never restores the former Lambda alias weight; the exposure follows from the reported process or configuration, not merely from hypothetical unrelated failures. A targeted correction is: Use Lambda versions and weighted aliases with CodeDeploy deployment preferences and alarms to shift traffic gradually and roll back faulty serverless code.
Incorrect Answers
Unvalidated application changes can reach production when compilation success is treated as evidence of functional correctness. It protects a different risk than the lambda weighted alias deployments requirement.
A leaked build credential can grant unintended production access, and static repository secrets are difficult to revoke consistently. It does not retain the lambda weighted alias deployments control over time.
Polling schedules or manual releases can deploy stale or unreviewed revisions even when the repository contains a newer approved commit. Recurrence here depends on lambda weighted alias deployments, not this safeguard.