Topic 1 Question 474
A team has an Amazon API Gateway REST API that consists of a single resource and a GET method that is backed by an AWS Lambda integration.
A developer makes a change to the Lambda function and deploys the function as a new version. The developer needs to set up a process to test the new version of the function before using the new version in production. The tests must not affect the production REST API.
Which solution will meet these requirements with the LEAST operational overhead?
Create a new resource in the REST API. Add a GET method to the new resource, and add a Lambda integration to the updated version of the Lambda function. Deploy the new version.
Create a new stage for the REST API. Create a stage variable. Assign the stage variable to the Lambda function. Set the API Gateway integrated Lambda function name to the stage variable. Deploy the new version.
Create a new REST API. Add a resource that has a single GET method that is integrated with the updated version of the Lambda function.
Update the Lambda integration of the existing GET method to point to the updated version of the Lambda function. Deploy the new version.
ユーザの投票
コメント(1)
- 正解だと思う選択肢: B
Al crear una etapa (stage) separada y usar variables de etapa para apuntar a la versión actualizada de la función, puedes probar sin afectar la etapa de producción. Es la opción de menor sobrecarga operativa.
👍 1italiancloud20252025/02/17
シャッフルモード