QuestionQ79

VerifiedDeployment

A developer is planning to use an Amazon API Gateway and AWS Lambda to provide a REST API. The developer will have three distinct environments to manage: development, test, and production.

How should the application be deployed while minimizing the number of resources to manage?

Explanation

Using a single API Gateway with multiple stages (one per environment) and a single Lambda function with aliases (one per environment) minimizes resource count while maintaining environment separation. Each stage routes to an alias, which points to a Lambda version or the live function.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!