Q: 15
A company has a serverless application that uses an Amazon API Gateway API to invoke an AWS
Lambda function. A developer creates a fix for a defect in the Lambda function code. The developer
wants to deploy this fix to the production environment. To test the changes, the developer needs to
send 10% of the live production traffic to the updated Lambda function version.
Options:
Options
Discussion
C or B. Aliases let you control weights but I thought you could also do weighted routing in API Gateway stages, so B might work depending on setup. Not 100% though, anyone see API Gateway use that way?
Option A and C make sense here. You need to publish a new version first (A), then set up weighted routing using an alias (C) to send 10% of traffic to the updated code. Pretty sure that's the needed combo, unless I missed something.
Be respectful. No spam.