Examtopics

AWS Certified Developer - Associate
  • Topic 1 Question 381

    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?

    • Create a canary release deployment for the existing API stage. Deploy the API to the existing stage. Test the updated Lambda function by using the existing URL.

    • Update the API Gateway API endpoint type to private. Deploy the changes to the existing API stage. Test the API by using the existing URL.

    • Create a new test API stage in API Gateway. Add stage variables to deploy the updated Lambda function to only the test stage. Test the updated Lambda function by using the new stage URL.

    • Create a new AWS CloudFormation stack to deploy a copy of the entire production API and Lambda function. Use the stack's API URL to test the updated Lambda function.


    シャッフルモード