🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Design a Rate Limiter: all 15 questions

Quiz: Design a Rate Limiter · Question 10 of 15

Which response should a rate-limited request get?

Which response should a rate-limited request get?

  1. A.200 with an empty body
  2. B.404 Not Found
  3. C.429 Too Many Requests with a Retry-After header
  4. D.500 Internal Server Error
Answer & explanation

Correct answer: 429 Too Many Requests with a Retry-After header

429 tells the client it is being limited, and Retry-After says when to come back.

Can you get the rest right without peeking?

Take the timed Quiz: Design a Rate Limiter quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →