Deployment
⏱ ~3-min readAceMark GuideWhat this topic is really about
AWS SAM is an open-source framework that extends CloudFormation with shorthand syntax for serverless resources (functions, APIs, tables) and provides sam build/deploy. CodeCommit is Git hosting, ECS runs containers, and CDK uses general-purpose languages rather than the SAM serverless shorthand.
Lambda aliases can split traffic by weight between two versions (e.g. 90/10), then shift gradually — the foundation of canary and linear deployments via CodeDeploy. API Gateway throttling limits TPS, CloudFront does failover not gradual shift, DLQs collect failed messages.
See the mechanism
Lambda aliases can split traffic by weight between two versions (e.g. A diagram for this topic isn't available yet — the worked example below walks the same reasoning step by step.
An exam-style question, fully explained
You need to roll out a new Lambda function version to 10% of traffic, then gradually shift the rest. Which feature?
- Identify what the question tests: You need to roll out a new Lambda function version to 10% of traffic, then gradually shift the rest..
- Lambda aliases can split traffic by weight between two versions (e.g.
- 90/10), then shift gradually — the foundation of canary and linear deployments via CodeDeploy.
- API Gateway throttling limits TPS, CloudFront does failover not gradual shift, DLQs collect failed messages.
Traps the examiner sets
- Read each option carefully — distractors on Deployment are designed to look plausible.
- Re-check the exact wording of the question stem before committing to an answer.
- Watch the qualifiers ("always", "only", "except") that flip a correct-looking option.
Test your recall
Answer each from memory — you'll see instantly whether you're right and why.
Run a focused 10-question mini-mock on Deployment and see it stick.
Practice more of this topic →