AWS Certified Developer Associate DVA-C02 Practice Question

A development team has created a REST API in Amazon API Gateway with two stages: dev and prod. Both stages invoke the same AWS Lambda function. The team wants calls to the dev stage to invoke the dev alias of the function and calls to the prod stage to invoke the prod alias-without editing the API's integration settings whenever the API is promoted between stages.

Which API Gateway feature enables this behavior?

  • Configure a stage variable that holds the Lambda alias and reference it in the integration URI.

  • Create a separate custom domain name for each stage-alias combination.

  • Enable a canary deployment for the stage and route all traffic to the desired alias.

  • Attach a usage plan that maps requests from each stage to a different Lambda alias.

AWS Certified Developer Associate DVA-C02
Deployment
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot