Bird
0
0

If an API Gateway resource has a DELETE method configured but no integration set, what will be the response when a client sends a DELETE request?

medium📝 service behavior Q5 of 15
AWS - API Gateway
If an API Gateway resource has a DELETE method configured but no integration set, what will be the response when a client sends a DELETE request?
AAPI Gateway returns a 500 Internal Server Error
BAPI Gateway returns a 200 OK with no content
CAPI Gateway returns a 502 Bad Gateway error
DAPI Gateway returns a 403 Forbidden error
Step-by-Step Solution
Solution:
  1. Step 1: Understand method integration requirement

    API Gateway requires an integration to process method requests; without it, the backend is missing.
  2. Step 2: Identify error response for missing integration

    When integration is missing, API Gateway returns a 502 Bad Gateway error indicating backend failure.
  3. Final Answer:

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

    Missing integration = 502 error [OK]
Quick Trick: No integration causes 502 Bad Gateway [OK]
Common Mistakes:
MISTAKES
  • Expecting 200 OK without integration
  • Confusing 403 Forbidden with integration errors
  • Assuming 500 Internal Server Error

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes