exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 459 discussion

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?

  • A. 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.
  • B. 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.
  • C. 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.
  • D. 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.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
LingZ
2 months ago
Selected Answer: C
This solution separates environments and provides flexibility for future alias updates
upvoted 2 times
...
Arad
3 months, 2 weeks ago
Selected Answer: 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.
upvoted 2 times
...
xdeveloper
4 months ago
Selected Answer: 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.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago