Question 350
An SRE acceptance check records: An ECS deployment stays in progress because new tasks cannot become healthy. Which observation BEST verifies the targeted correction actually worked?
Explanation
Correct Answer
The case under investigation is: An ECS deployment stays in progress because new tasks cannot become healthy. The decisive test evidence is: A controlled deployment reaches steady healthy task count and a deliberately failing task revision triggers the planned rollback. That verifies the proposed operation (Configure an ECS service deployment with appropriate health checks, task definition revision and deployment circuit-breaker or rollback settings where supported.) and detects the underlying risk: A new task may pass container startup yet fail application readiness, causing repeated unhealthy replacements. A healthy status or metric from another service would not establish that this specific issue was corrected.
Incorrect Answers
A known out-of-band supported resource edit appears in drift results and is reconciled through a reviewed stack change. This is relevant to CloudFormation drift detection and out-of-band edits in AWS SOA-C03 skill 3.1.2. Its distinct failure risk is that editing a stack-managed resource directly in the console can create configuration drift even when the template is unchanged. The present question tests ECS rolling deployment health and task replacement, which this measure alone does not establish.
The recipient account sees the authorized shared resource and unauthorized accounts do not. That addresses AWS RAM supported resource sharing in AWS SOA-C03 skill 3.1.4, specifically the hazard that creating a resource share without a valid principal or resource association does not give the recipient usable access. Here the necessary action or evidence is A controlled deployment reaches steady healthy task count and a deliberately failing task revision triggers the planned rollback, not that separate control.
The running task definition references the approved image digest and an old known-good digest can be restored. This addresses ECR image tags and immutable digest selection in AWS SOA-C03 skill 3.1.1. The separate hazard is that a mutable tag can point to a different container image between deployment approval and rollback. It does not by itself satisfy the case-specific requirement for ECS rolling deployment health and task replacement.