Question 190
An ECS service on Fargate uses rolling deployments. A new container starts but then fails the target-group health check repeatedly. The business wants a supported automated rollback rather than leaving the service stuck in a failed deployment. What should be configured?
Explanation
Correct Answer
The ECS deployment circuit breaker can mark a rollout failed and roll back to a previously completed deployment when configured to do so.
Incorrect Answers
Infinite restarts hide failure symptoms and do not guarantee an automatic safe return to the earlier service version.
Suppressing readiness evidence risks sending users to broken containers and cannot satisfy health-driven rollback.
Service auto scaling changes desired task count but does not automatically restore the previous deployment after new tasks fail health checks.






AWS Certified Solutions Architect - Professional SAP-C02 Practice Tests