Question 340
A security and reliability risk review considers: A new release returns 5xx errors and must revert automatically during traffic shifting. Which risk MOST directly explains the need for the specific corrective control?
Explanation
Correct Answer
The scenario states: A new release returns 5xx errors and must revert automatically during traffic shifting. The most directly relevant failure risk is: Replacing all production targets at once can spread a broken release before the operator detects errors. It motivates this particular action: Use a supported CodeDeploy blue-green deployment with health validation, a defined traffic-shift strategy and automated rollback alarms. Confirm the risk has been controlled by checking: A failed synthetic release alarm returns traffic to the previous healthy deployment and the shift events are recorded. The scope of the question is this operational failure mode rather than a different service concern.
Incorrect Answers
Concurrent applies or unreviewed state edits can cause drift and resource loss despite an otherwise valid Terraform configuration. This belongs to Terraform state-safe changes under Git review in AWS SOA-C03 skill 3.1.6. Its separate risk is that concurrent applies or unreviewed state edits can cause drift and resource loss despite an otherwise valid Terraform configuration. The question instead tests CodeDeploy blue-green traffic shifting and rollback; that other safeguard alone does not verify it.
A new task may pass container startup yet fail application readiness, causing repeated unhealthy replacements. That is the exact risk associated with ECS rolling deployment health and task replacement in AWS SOA-C03 skill 3.1.5, not the required CodeDeploy blue-green traffic shifting and rollback outcome.
Submitting an unreviewed template update may replace or remove critical resources unexpectedly. This addresses CloudFormation change set for safe stack updates in AWS SOA-C03 skill 3.1.2. The separate hazard is that submitting an unreviewed template update may replace or remove critical resources unexpectedly. It does not by itself satisfy the case-specific requirement for CodeDeploy blue-green traffic shifting and rollback.