Bird
0
0

A developer configures an API Gateway method but forgets to set up integration with any backend. What will happen when a client calls this API?

medium📝 Debug Q6 of 15
AWS - API Gateway
A developer configures an API Gateway method but forgets to set up integration with any backend. What will happen when a client calls this API?
AAPI Gateway returns a successful empty response.
BAPI Gateway automatically creates a backend integration.
CAPI Gateway returns a 502 Bad Gateway error.
DAPI Gateway redirects the request to another API.
Step-by-Step Solution
Solution:
  1. Step 1: Understand API Gateway integration requirement

    API Gateway methods must be linked to a backend (Lambda, HTTP, etc.) to process requests.
  2. Step 2: Identify result of missing integration

    Without integration, API Gateway cannot fulfill the request and returns a 502 Bad Gateway error.
  3. Final Answer:

    API Gateway returns a 502 Bad Gateway error. -> Option C
  4. Quick Check:

    Missing integration = 502 error [OK]
Quick Trick: No backend integration causes 502 error [OK]
Common Mistakes:
  • Assuming automatic backend creation
  • Expecting empty success response
  • Thinking API Gateway redirects requests

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes