Amazon
DVA-C02 · Question #26
A developer is creating a mobile app that calls a backend service by using an Amazon API Gateway REST API. For integration testing during the development phase, the developer wants to simulate differe
The correct answer is D. Use a request mapping template to select the mock integration response.. https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
Submitted by daniela_cl· Mar 5, 2026Development with AWS Services
Question
A developer is creating a mobile app that calls a backend service by using an Amazon API Gateway REST API. For integration testing during the development phase, the developer wants to simulate different backend responses without invoking the backend service. Which solution will meet these requirements with the LEAST operational overhead?
Options
- ACreate an AWS Lambda function. Use API Gateway proxy integration to return constant HTTP
- BCreate an Amazon EC2 instance that serves the backend REST API by using an AWS
- CCustomize the API Gateway stage to select a response type based on the request.
- DUse a request mapping template to select the mock integration response.
How the community answered
(16 responses)- A13% (2)
- C6% (1)
- D81% (13)
Explanation
https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-mock-integration.html
Community Discussion
No community discussion yet for this question.