nerdexam
Amazon

DVA-C02 · Question #146

A company is developing an ecommerce application that uses Amazon API Gateway APIs. The application uses AWS Lambda as a backend. The company needs to test the code in a dedicated, monitored test envi

The correct answer is C. Use multiple stages in API Gateway. Create a Lambda function for each environment. Configure. We should create multiple stages and different Lambdas that will be utilised based on API Gateway stages variables. https://docs.aws.amazon.com/apigateway/latest/developerguide/amazon-api-gateway-using- stage-variables.html

Submitted by tom_us· Mar 5, 2026Deployment

Question

A company is developing an ecommerce application that uses Amazon API Gateway APIs. The application uses AWS Lambda as a backend. The company needs to test the code in a dedicated, monitored test environment before the company releases the code to the production environment. Which solution will meet these requirements?

Options

  • AUse a single stage in API Gateway. Create a Lambda function for each environment. Configure
  • BUse multiple stages in API Gateway. Create a single Lambda function for all environments. Add
  • CUse multiple stages in API Gateway. Create a Lambda function for each environment. Configure
  • DUse a single stage in API Gateway. Configure API clients to send a query parameter that

How the community answered

(33 responses)
  • A
    15% (5)
  • B
    3% (1)
  • C
    76% (25)
  • D
    6% (2)

Explanation

We should create multiple stages and different Lambdas that will be utilised based on API Gateway stages variables. https://docs.aws.amazon.com/apigateway/latest/developerguide/amazon-api-gateway-using- stage-variables.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice