🔥 3-day streak
AWS Certified DevOps Engineer - Professional103 / 204
Question 103 of 204

A team deploys a containerized microservice to Amazon ECS on Fargate using an AWS CodePipeline that invokes a standard ECS deploy action (rolling update via the ECS service, not CodeDeploy blue/green). Recently a bad image passed unit tests but crashed on startup in production due to a missing runtime config. The failed tasks looped indefinitely, the deployment hung, and engineers had to manually roll back. The team wants the platform to automatically detect a failed rollout and revert the ECS service to the last healthy task definition without adding a separate CodeDeploy blue/green setup. What is the MOST effective change?

Reviewed for accuracy · Report an issueNext question