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

A company has an AWS Lambda function that processes incoming requests from an Amazon API Gateway API. The API calls the Lambda function by using a Lambda alias. A developer updated the Lambda function code to handle more details related to the incoming requests. The developer wants to deploy the new Lambda function for more testing by other developers with no impact to customers that use the API.

Which solution will meet these requirements with the LEAST operational overhead?

Answer options

Correct answer: A

Explanation

Creating a new version of the Lambda function and a new stage in API Gateway allows for testing without affecting existing customers, which minimizes operational overhead. The other options involve more complexity, such as modifying aliases or adding filtering functions, which adds unnecessary operational burden and may introduce risk during testing.