exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 328 discussion

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?

  • A. Set up an Amazon API Gateway REST API with a gateway response configured for status code 200. Add response templates that contain sample responses captured from the real third-party API.
  • B. Set up an AWS AppSync GraphQL API with a data source configured for each third-party API. Specify an integration type of Mock. Configure integration responses by using sample responses captured from the real third-party API.
  • C. Create an AWS Lambda function for each third-party API. Embed responses captured from the real third-party API. Configure Amazon Route 53 Resolver with an inbound endpoint for each Lambda function's Amazon Resource Name (ARN).
  • D. Set up an Amazon API Gateway REST API for each third-party API. Specify an integration request type of Mock. Configure integration responses by using sample responses captured from the real third-party API.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
CrescentShared
Highly Voted 1 year, 2 months ago
Selected Answer: D
D is right
upvoted 6 times
...
MasoudK
Most Recent 6 months ago
I will go with A. You can manage all mock responses within a single API Gateway, simplifying the setup and reducing costs.
upvoted 1 times
...
65703c1
11 months ago
Selected Answer: D
D is the correct answer.
upvoted 2 times
...
Abdullah22
1 year, 1 month ago
anyone know way the questions end by this question which is 328 and there is no rest of the 337 questions?
upvoted 1 times
...
Abdullah22
1 year, 1 month ago
Selected Answer: D
A. Response Templates for Status Code 200: While API Gateway supports response templates, simply configuring a 200 status code doesn't simulate the specific responses expected from the third-party APIs. The developer needs to define more detailed response structures to effectively test the integration logic.
upvoted 2 times
...
KarBiswa
1 year, 1 month ago
Selected Answer: D
https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
upvoted 2 times
...
ANDRES715
1 year, 1 month ago
Selected Answer: A
A. Configure una API REST de Amazon API Gateway con una respuesta de puerta de enlace configurada para el código de estado 200. Agregue plantillas de respuesta que contengan respuestas de muestra capturadas de la API real de terceros. Al configurar una API REST de Amazon API Gateway con una respuesta de puerta de enlace configurada para el código de estado 200, el desarrollador puede simular las respuestas de las API de procesamiento de pagos de terceros sin invocar realmente las API reales. Al agregar plantillas de respuesta que contengan respuestas de muestra capturadas de la API real de terceros, el desarrollador puede validar la integración de la plataforma de comercio electrónico con las API de procesamiento de pagos de terceros sin tener que interactuar directamente con las API reales.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago