
Answer-first summary for fast verification
Answer: MOCK
MOCK This type of integration lets API Gateway return a response without sending the request further to the backend. This is useful for API testing because it can be used to test the integration setup without incurring charges for using the backend and to enable collaborative development of an API. In collaborative development, a team can isolate their development effort by setting up simulations of API components owned by other teams by using the MOCK integrations. It is also used to return CORS-related headers to ensure that the API method permits CORS access. In fact, the API Gateway console integrates the OPTIONS method to support CORS with a mock integration. Incorrect options: AWS_PROXY - This type of integration lets an API method be integrated with the Lambda function invocation action with a flexible, versatile, and streamlined integration setup. This integration relies on direct interactions between the client and the integrated Lambda function. HTTP_PROXY - The HTTP proxy integration allows a client to access the backend HTTP endpoints with a streamlined integration setup on single API method. You do not set the integration request or the integration response. API Gateway passes the incoming request from the client to the HTTP endpoint and passes the outgoing response from the HTTP endpoint to the client. HTTP - This type of integration lets an API expose HTTP endpoints in the backend. With the HTTP integration, you must configure both the integration request and integration response. You must set up necessary data mappings from the method request to the integration request, and from the integration response to the method response.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
In a company that adheres to collaborative development practices, the engineering manager seeks to isolate the development efforts of different teams. To achieve this, the manager aims to create simulations (or mock versions) of API components owned by various development teams, ensuring that different teams can develop and test their components independently without interference.
What type of API integration would be most appropriate to fulfill this requirement?
A
AWS_PROXY
B
HTTP
C
MOCK
D
HTTP_PROXY
No comments yet.