AWS Certified Developer – Associate — Question 38

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 one Lambda function with multiple aliases allows for efficient management of environments without duplicating resources. Options A and B increase resource management complexity by creating separate instances for each environment, while option D lacks the structured approach to handle environment differences effectively.