Medium1 markMultiple Choice

AWS SAP-C02 · Question 06 · Domain 2.1: Deployment Strategy

A development team wants to implement a CI/CD pipeline that deploys an application to Amazon ECS. The deployment must route 10% of traffic to the new version, monitor error rates for 5 minutes, and automatically rollback if errors exceed 1%. Which deployment strategy should be used?

Answer options:

A.

Blue/Green deployment using AWS Elastic Beanstalk.

B.

Rolling deployment using Amazon ECS service scheduler.

C.

Canary deployment using AWS CodeDeploy and Amazon CloudWatch alarms.

D.

Immutable deployment using AWS CloudFormation.

How to approach this question

Identify the deployment type that shifts a small percentage of traffic (Canary) and the service that manages it for ECS (CodeDeploy).

Full Answer

C.Canary deployment using AWS CodeDeploy and Amazon CloudWatch alarms.✓ Correct
Canary deployment using AWS CodeDeploy and Amazon CloudWatch alarms.
Canary deployments allow you to shift a small percentage of traffic to a new version, monitor it, and automatically roll back if CloudWatch alarms are triggered.

Common mistakes

Confusing Canary with Blue/Green deployments.

Practice the full AWS Solutions Architect Professional SAP-C02 Practice Exam 1

75 questions · hints · full answers · grading

More questions from this exam