AWS Certified Developer – Associate (DVA-C02) — Question 229

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?

Answer options

Correct answer: C

Explanation

The correct answer is C because using one API Gateway with multiple stages and a single Lambda function with aliases allows for efficient resource management while still providing the necessary separation for different environments. Options A and B create redundant resources, increasing management complexity, while option D does not provide a clean separation of environments, which can lead to potential conflicts.