
AWS Certified Developer - Associate
Get started today
Ultimate access to all questions.
How can a developer test optimized AWS Lambda function code in production affecting a small percentage of traffic, without altering the API Gateway URL?
How can a developer test optimized AWS Lambda function code in production affecting a small percentage of traffic, without altering the API Gateway URL?
Exam-Like
Explanation:
Option A is the correct answer because it involves defining a function version for the existing production Lambda function, updating the API Gateway to reference this version, and then publishing the optimized code. A canary release is set up on the production API Gateway stage to direct a specified percentage of traffic to the canary release, allowing the changes to be tested in production without changing the API Gateway URL. This step-by-step process ensures controlled traffic distribution and thorough testing of the optimized code.