DVA-C02 · Question #785
A company runs an application as an Amazon ECS service on an AWS Fargate cluster. The company has configured the service to use the rolling update deployment type. The company set the minimum…
The correct answer is D. Use the rolling deployment type. Enable deployment circuit breaker and rollback on failures. Amazon ECS supports an automatic rollback capability for services by enabling the deployment circuit breaker with the rollback option. With a rolling update deployment, if the new deployment fails to reach a steady state, ECS will stop the failed deployment and restore the…
Question
A company runs an application as an Amazon ECS service on an AWS Fargate cluster. The company has configured the service to use the rolling update deployment type. The company set the minimum healthy percentage to 100% and set the maximum healthy percentage to 200%. A developer observes that a new deployment of the ECS service is failing continuously. The developer must ensure that Amazon ECS restores the most recently completed service deployment when a new service deployment fails. Which solution will meet this requirement?
Options
- AUse Amazon ECS service auto scaling. Set the scaling policy type as step scaling.
- BUse Amazon ECS service auto scaling. Set the scaling policy type as target tracking.
- CUse the blue/green deployment type. Enable the deployment circuit breaker and rollback on
- DUse the rolling deployment type. Enable deployment circuit breaker and rollback on failures
How the community answered
(41 responses)- A5% (2)
- B2% (1)
- C10% (4)
- D83% (34)
Explanation
Amazon ECS supports an automatic rollback capability for services by enabling the deployment circuit breaker with the rollback option. With a rolling update deployment, if the new deployment fails to reach a steady state, ECS will stop the failed deployment and restore the service to the last known good (most recently completed) deployment.
Community Discussion
No community discussion yet for this question.