
Answer-first summary for fast verification
Answer: Employ API Gateway stage variables to manage the Lambda function aliases for both PROD and DEV environments.
The correct answer is D. The most effective way to meet the requirements of having both PROD and DEV Lambda function versions available simultaneously through Amazon API Gateway is by using stage variables. API Gateway stage variables allow you to configure different settings for each stage (PROD and DEV) and point each variable to the corresponding Lambda function alias. This ensures that both versions are accessible under different stages while maintaining clear separation between environments.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a company configure Amazon API Gateway to access both PROD and DEV Lambda function versions simultaneously, given that each environment has a corresponding Lambda function alias?
A
Implement a Lambda authorizer and create stage variables in API Gateway for both PROD and DEV environments.
B
Establish gateway responses in API Gateway for both PROD and DEV Lambda function aliases.
C
Utilize environment variables in API Gateway to differentiate between PROD and DEV Lambda function aliases.
D
Employ API Gateway stage variables to manage the Lambda function aliases for both PROD and DEV environments.
No comments yet.