A team wants new Lambda versions rolled out gradually — 10% of traffic first, automatically rolling back if CloudWatch alarms fire. Which service orchestrates this?
A.Manually update the alias
Manual alias updates are all-at-once with no automated rollback.
B.AWS CodeDeploy with a canary or linear deployment configuration
Correct. Canary/linear + alarm-driven rollback is CodeDeploy's job.
C.An EventBridge rule
EventBridge triggers events, not deployment orchestration.
D.Lambda reserved concurrency
Concurrency limits throughput — unrelated to rollout strategy.
Why this answer
CodeDeploy manages Lambda traffic shifting: canary (10% then 100%) or linear configs, with automatic rollback on CloudWatch alarms. It's purpose-built for safe, gradual function deployment.
Correct answer: B · Last reviewed 2026-10-26
Official AWS references
Practice this interactively
Answer without seeing the solution first in the CI/CD & Observability practice session.
Practice CI/CD & Observability