Practice free →
HomeAWS Developer Associatecloudcomputingawsdevdeployment › Which CodeDeploy deployment strategy for a Lambd…

Which CodeDeploy deployment strategy for a Lambda alias shifts traffic from version V1 to V2 in defined increments (e.g. 10% every 10 minutes) with automatic rollback on alarm?

ACold deployment (no traffic shifting at all)
BAll-at-once
CBlue/Green at the EC2 level only
DLinear (e.g. `LambdaLinear10PercentEvery10Minutes`)
Answer & Solution
Correct answer: D. Linear (e.g. `LambdaLinear10PercentEvery10Minutes`)
Linear deployment shifts a fixed percentage at each interval. Canary shifts a fixed percentage then the rest. All-at-once cuts over instantly. Blue/green at the EC2 level isn't a Lambda strategy.
Solve this in the app — AWS Developer Associate practice & 24k+ MCQs →
Related questions