Topic 1 Question 459
A company has an Amazon API Gateway REST API that integrates with an AWS Lambda function. The API’s development stage references a development alias of the Lambda function named dev.
A developer needs make a production alias of the Lambda function named prod available through the API.
Which solution meets these requirements?
Create a new method on the API. Name the method production. Configure the method to include a stage variable that points to the prod Lambda function alias.
Create a new method on the API. Name the method production. Configure an integration request on the API’s development stage that points to the prod Lambda function alias.
Deploy the API to a new stage named production. Configure the stage to include a stage variable that points to the prod Lambda function alias.
Deploy the API to a new stage named production. Configure an integration request on the API’s production stage that points to the prod Lambda function alias.
ユーザの投票
コメント(3)
- 正解だと思う選択肢: C
Choose C, D: While it's necessary to create a new stage called "production", the configuration should be done using a stage variable, not by configuring the integration request directly in the production stage.
👍 2xdeveloper2024/12/27 - 正解だと思う選択肢: C
C is the correct answer. D is wrong as directly configuring the integration request on the production stage is not ideal. You should use stage variables to configure the integration dynamically, allowing you to manage different environments without manually changing the integration in each stage.
👍 2Arad2025/01/09 - 正解だと思う選択肢: C
This solution separates environments and provides flexibility for future alias updates
👍 2LingZ2025/02/20
シャッフルモード