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.
ユーザの投票
コメント(2)
- 正解だと思う選択肢: C
creating a new test API stage in API Gateway and deploying the updated Lambda function to this stage (Option C) is the most efficient and least disruptive way to test the function while ensuring that no changes affect the production environment.
👍 3rdiaz2024/07/11 C is correct
👍 1blow962024/07/11
シャッフルモード