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
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)- A14% (6)
- B7% (3)
- C25% (11)
- D55% (24)
Explanation
https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
Community Discussion
No community discussion yet for this question.