
Answer-first summary for fast verification
Answer: Utilizing API Gateway stage variables and Lambda aliases for environment-specific configurations.
The correct answer is A. Using API Gateway stage variables in combination with Lambda aliases allows developers to manage different environments efficiently without duplicating codebases. API Gateway stage variables can hold environment-specific configurations, and Lambda aliases can point to different versions of your Lambda functions appropriate to each environment. This setup ensures minimal overhead and eases updating and scaling across multiple environments. Options B and D are not optimal since they do not cater specifically to serverless applications, while option C involves unnecessary duplication of the codebase, increasing the management effort.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a serverless application using Amazon API Gateway and AWS Lambda, which deployment strategy requires the least development effort for managing development, test, and production environments?
A
Utilizing API Gateway stage variables and Lambda aliases for environment-specific configurations.
B
Deploying with Amazon ECS, which is not inherently designed for serverless applications.
C
Creating duplicates of the codebase for each environment with separate API Gateway stages.
D
Using AWS Elastic Beanstalk, which is not optimized for serverless architectures.
No comments yet.