AWS Certified Developer – Associate / Question #830 of 557

Question #830

A company is developing a mobile application using AWS. The backend team is delayed in finalizing the Amazon API Gateway HTTP API. Frontend developers need to integrate with the API immediately to continue their work. The company requires the MOST operationally efficient solution to unblock the frontend team.

A

Configure mock integrations for the API Gateway HTTP API methods.

B

Deploy a Lambda function integrated with API Gateway to generate mock responses.

C

Create new API routes in the API Gateway stage with static mock responses.

D

Set up a proxy integration for the API Gateway HTTP API methods.

Explanation

Option A is correct because API Gateway's mock integration feature enables developers to configure predefined HTTP responses directly within the API methods. This requires no backend code (e.g., Lambda functions) or infrastructure changes, making it the most operationally efficient solution.

Option B (Lambda integration) adds complexity by requiring deployment and maintenance of a Lambda function. Option C (new API routes) is redundant since mock integrations can reuse existing routes. Option D (proxy integration) forwards requests to an unready backend, which does not unblock the frontend. Key takeaway: API Gateway mock integrations provide a lightweight, built-in mechanism for rapid frontend development when backend APIs are delayed.

Answer

The correct answer is: A