DVA-C02 · Question #341
A company is using Amazon API Gateway to invoke a new AWS Lambda function. The company has Lambda function versions in its PROD and DEV environments. In each environment, there is a Lambda function…
The correct answer is D. Use an API Gateway stage variable to configure the Lambda function alias. Republish PROD and. https://datanextsolutions.com/blog/managing-in-production-aws-lambda-functions-with-api-
Question
A company is using Amazon API Gateway to invoke a new AWS Lambda function. The company has Lambda function versions in its PROD and DEV environments. In each environment, there is a Lambda function alias pointing to the corresponding Lambda function version. API Gateway has one stage that is configured to point at the PROD alias. The company wants to configure API Gateway to enable the PROD and DEV Lambda function versions to be simultaneously and distinctly available. Which solution will meet these requirements?
Options
- AEnable a Lambda authorizer for the Lambda function alias in API Gateway. Republish PROD and
- BSet up a gateway response in API Gateway for the Lambda function alias. Republish PROD and
- CUse an environment variable for the Lambda function alias in API Gateway. Republish PROD and
- DUse an API Gateway stage variable to configure the Lambda function alias. Republish PROD and
How the community answered
(43 responses)- A16% (7)
- B5% (2)
- C7% (3)
- D72% (31)
Explanation
https://datanextsolutions.com/blog/managing-in-production-aws-lambda-functions-with-api-
Community Discussion
No community discussion yet for this question.