Hard1 markMultiple Choice

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

A development team is building a new CI/CD pipeline using AWS CodePipeline, CodeBuild, and CodeDeploy. They are deploying a microservice to Amazon ECS on Fargate. They require a deployment strategy that shifts traffic in 10% increments every 5 minutes, automatically rolling back if CloudWatch alarms are triggered. Which deployment strategy should the architect configure?

Answer options:

A.

CodeDeploy with an Immutable deployment configuration.

B.

CodeDeploy with a Canary deployment configuration.

C.

CodeDeploy with a Linear deployment configuration.

D.

CodeDeploy with a Blue/Green deployment configuration.

How to approach this question

Distinguish between Canary (one initial shift, then the rest) and Linear (step-by-step increments).

Full Answer

C.CodeDeploy with a Linear deployment configuration.✓ Correct
CodeDeploy with a Canary deployment configuration.
A Linear deployment shifts traffic in equal increments with an equal number of minutes between each increment (e.g., 10% every 5 minutes). A Canary deployment shifts a percentage once, waits, and then shifts the remaining 100%.

Common mistakes

Confusing Canary (two steps) with Linear (multiple equal steps).

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

75 questions · hints · full answers · grading

More questions from this exam