Bird
Raised Fist0

If a REST API uses rate limiting and a client receives a 429 status, what should the client do next?

medium📝 Predict Output Q5 of Q15
Rest API - Rate Limiting and Throttling
If a REST API uses rate limiting and a client receives a 429 status, what should the client do next?
AWait for the specified time before retrying.
BStop sending requests permanently.
CImmediately retry the request without delay.
DChange the API endpoint URL.
Step-by-Step Solution
Solution:
  1. Step 1: Understand the meaning of 429 response

    429 means too many requests; the client should pause before retrying.
  2. Step 2: Identify correct client behavior

    The client should wait the time suggested by the server before sending more requests.
  3. Final Answer:

    Wait for the specified time before retrying. -> Option A
  4. Quick Check:

    429 response means wait before retry [OK]
Quick Trick: Wait after 429 before retrying to avoid more errors [OK]
Common Mistakes:
MISTAKES
  • Retrying immediately causing repeated errors
  • Stopping requests forever unnecessarily
  • Changing endpoint without reason

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes