A team wants a Lambda deployment that shifts 10% of traffic to the new version, waits 5 minutes for alarm checks, then completes the shift. Which CodeDeploy deployment configuration matches?
A.CodeDeployDefault.LambdaAllAtOnce
AllAtOnce gives no bake period to catch regressions.
B.CodeDeployDefault.LambdaCanary10Percent5Minutes
Correct. 10% → 5-minute wait → 100% matches the canary preset exactly.
C.CodeDeployDefault.LambdaLinear10PercentEvery1Minute
Linear shifts 10% every minute — different cadence than described.
D.InPlace deployment
InPlace applies to EC2/on-prem fleets, not Lambda.
Why this answer
Canary configurations shift a fixed percentage immediately, bake, then complete. Linear ramps add equal increments on a schedule. AllAtOnce shifts everything instantly — no validation window.
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