nerdexam
Amazon

DVA-C02 · Question #156

A developer wants to add request validation to a production environment Amazon API Gateway API. The developer needs to test the changes before the API is deployed to the production environment. For th

The correct answer is B. Modify the existing API to add request validation. Deploy the updated API to a new API Gateway. In this option, you are making changes directly to the existing API, adding request validation. Then, you deploy the updated API to a new API Gateway stage, which allows you to test the changes without affecting the production environment. After performing the tests and ensuring

Submitted by tom_us· Mar 5, 2026Deployment

Question

A developer wants to add request validation to a production environment Amazon API Gateway API. The developer needs to test the changes before the API is deployed to the production environment. For the test, the developer will send test requests to the API through a testing tool. Which solution will meet these requirements with the LEAST operational overhead?

Options

  • AExport the existing API to an OpenAPI file. Create a new API. Import the OpenAPI file. Modify the
  • BModify the existing API to add request validation. Deploy the updated API to a new API Gateway
  • CCreate a new API. Add the necessary resources and methods, including new request validation.
  • DClone the existing API. Modify the new API to add request validation. Perform the tests. Modify

How the community answered

(34 responses)
  • A
    15% (5)
  • B
    74% (25)
  • C
    3% (1)
  • D
    9% (3)

Explanation

In this option, you are making changes directly to the existing API, adding request validation. Then, you deploy the updated API to a new API Gateway stage, which allows you to test the changes without affecting the production environment. After performing the tests and ensuring everything works as expected, you can then deploy the updated API to the production stage, thus minimizing operational overhead.

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice