Bird
0
0

An API server returns 429 Too Many Requests with a Retry-After header set to 10 seconds. Your client uses a fixed 5-second retry delay ignoring this header. What is the likely consequence?

hard📝 Application Q9 of 15
Rest API - HTTP Status Codes

An API server returns 429 Too Many Requests with a Retry-After header set to 10 seconds. Your client uses a fixed 5-second retry delay ignoring this header. What is the likely consequence?

AClient will successfully retry after 5 seconds without issues
BClient will likely receive repeated 429 responses causing inefficient retries
CServer will automatically increase Retry-After to 5 seconds
DClient will stop sending requests permanently
Step-by-Step Solution
Solution:
  1. Step 1: Compare client retry delay with server Retry-After

    Client retries too early (5s) before server allows (10s).
  2. Step 2: Understand server response to early retries

    Server will respond again with 429, causing repeated failures and wasted retries.
  3. Final Answer:

    Client will likely receive repeated 429 responses causing inefficient retries -> Option B
  4. Quick Check:

    Ignoring Retry-After causes repeated 429 responses [OK]
Quick Trick: Always respect Retry-After to avoid repeated 429 errors [OK]
Common Mistakes:
  • Assuming server adjusts Retry-After automatically
  • Thinking early retry succeeds
  • Believing client stops after one 429

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes