nerdexam
Amazon

DVA-C02 · Question #342

A developer is working on an ecommerce platform that communicates with several third-party payment processing APIs. The third-party payment services do not provide a test environment. The developer ne

The correct answer is D. Set up an Amazon API Gateway REST API for each third-party API. Specify an integration. https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html

Submitted by rania.sa· Mar 5, 2026Development with AWS Services

Question

A developer is working on an ecommerce platform that communicates with several third-party payment processing APIs. The third-party payment services do not provide a test environment. The developer needs to validate the ecommerce platform's integration with the third-party payment processing APIs. The developer must test the API integration code without invoking the third-party payment processing APIs. Which solution will meet these requirements?

Options

  • ASet up an Amazon API Gateway REST API with a gateway response configured for status code
  • BSet up an AWS AppSync GraphQL API with a data source configured for each third-party API.
  • CCreate an AWS Lambda function for each third-party API. Embed responses captured from the
  • DSet up an Amazon API Gateway REST API for each third-party API. Specify an integration

How the community answered

(44 responses)
  • A
    14% (6)
  • B
    7% (3)
  • C
    25% (11)
  • D
    55% (24)

Explanation

https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html

Community Discussion

No community discussion yet for this question.

Full DVA-C02 Practice