Yeah this is classic canary deployment so A fits. Canary10Percent10Minutes gives exactly the 10 percent traffic for 10 min, then full switch. Linear would mean gradual increases, which isn't what they're asking here. Pretty sure it's A but open to other takes.
Q: 9
A developer is building a serverless application by using AWS Serverless Application Model (AWS
SAM) on multiple AWS Lambda functions. When the application is deployed, the developer wants to
shift 10% of the traffic to the new deployment of the application for the first 10 minutes after
deployment. If there are no issues, all traffic must switch over to the new version.
Which change to the AWS SAM template will meet these requirements?
Options
Discussion
D . Adding a GSI with OrderSource as the partition key lets you query just for MobileApp, much faster than Scan. Makes sense for a big table like this. Disagree?
Yep, A. Canary is the single 10 percent to start, then full cutover after 10 minutes.
Probably A, linear does increments but not a fixed 10 percent for 10 minutes like canary. B is a trap.
Probably A. Canary10Percent10Minutes matches exactly what the question asks, just 10 percent for 10 minutes then full cutover. Linear would split traffic up in steps which isn't needed here. Pretty sure this is correct but open if someone sees a catch.
A No extra steps needed if it just wants a single canary shift then go all-in after 10 min. Linear's for multiple steps so wouldn't fit here. Someone correct me if I'm missing a CodeDeploy nuance.
Ugh, these deployment types are worded so AWS-y. Probably A, since canary actually does the single 10% then full cutover instead of incremental increases. Linear's for step-ups, not what they want here. Anyone see a trick I'm missing?
Why does B use Linear instead of Canary here when the requirement is just a one-time 10% before full switch?
These CodeDeploy deployment types feel way too vendor-specific, B tbh, since linear sounds like it matches the 10 percent then all switch.
Its A, saw a similar question on practice exams. Canary10Percent10Minutes matches that exact rollout pattern.
Be respectful. No spam.
Question 9 of 35