
Answer-first summary for fast verification
Answer: By creating API Gateway resources with MOCK integration type and configuring method responses with HTTP status codes.
The correct answer is A. By creating API Gateway resources and setting the integration type to MOCK, the company can simulate API responses without needing a real backend. This allows teams to continue developing dependent components while the backend is still in development. Options B, C, and D involve creating real backend components (Lambda function, EC2 application) or using integration types that assume a backend is available (AWS_PROXY, HTTP_PROXY), which do not meet the requirement of simulating APIs without an integrated backend.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How can a company publish an API on AWS using Amazon API Gateway without an integrated backend, allowing parallel development on separate application components?
A
By creating API Gateway resources with MOCK integration type and configuring method responses with HTTP status codes.
B
By creating a Lambda function for mocked responses and setting API Gateway resources with AWS_PROXY integration type.
C
By developing an EC2 application for mocked responses and setting API Gateway resources with AWS integration type.
D
By setting API Gateway resources with HTTP_PROXY integration type and adding mapping templates.
No comments yet.