QuestionQ62

VerifiedDeployment

A developer updates an AWS Lambda function that an Amazon API Gateway API uses. The API is the backend for a web application.

The developer needs to test the updated Lambda function before deploying the Lambda function to production. The testing must not affect any production users of the web application.

Which solution will meet these requirements in the MOST operationally efficient way?

Explanation

API Gateway stages enable isolated deployments. Creating a test stage with stage variables allows the test Lambda function version to be deployed independently of production. Developers can test via the new stage URL while production traffic continues unaffected. Canary (A) requires traffic splitting on production; private endpoint (B) restricts access but doesn't isolate versions; new stack (D) duplicates infrastructure unnecessarily.

Learn more

Community Discussion

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