Q30 — AWS DVA-C02 Ch.1

Question 30 of 100 | ← Chapter 1

A developer is building a payment service platform that communicates with several third-party payment processing APIs. The third-party services do not provide test environments. The developer must verify integration between the payment service platform and the third-party payment processing APIs. The developer must test the API integration code without invoking the actual third-party payment processing APIs. Which solution meets these requirements?

Correct Answer: D. Set up an Amazon API Gateway REST API for each third-party API. Specify the integration request type as Mock. Configure the integration response using sample responses captured from the real third-party API.

Explanation

Option D correctly describes using Amazon API Gateway REST APIs with Mock integration type, enabling developers to simulate third-party API responses without making live calls. This validates integration logic using realistic, pre-captured responses—fulfilling the requirement efficiently and reliably.