
Answer-first summary for fast verification
Answer: By creating a new Lambda version and corresponding API Gateway stage for testing.
Option A is correct because it involves creating a new version of the Lambda function and a new stage on API Gateway for testing purposes. This approach allows other developers to test the updated Lambda function without impacting existing customers, thereby ensuring no service disruption. Creating a separate stage in API Gateway is a common and effective strategy for testing new changes in isolation with minimal operational overhead.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
How can a developer deploy an updated AWS Lambda function for testing without affecting the current API users, ensuring minimal operational overhead?
A
By creating a new Lambda version and corresponding API Gateway stage for testing.
B
By adjusting the Lambda alias to a weighted alias, incorporating the new version with a 10% weight for gradual testing.
C
By introducing a filtering Lambda that routes test requests to the new version and other requests to the old version, with the API Gateway pointing to this filter.
D
By setting up a separate API Gateway API for the new Lambda version, dedicated for testing purposes.