QuizzesRetry & Exponential Backoff — Concept Check
intermediate
system-design

Retry & Exponential Backoff — Concept Check

Questions on Retry & Exponential Backoff. Retry with exponential backoff re-attempts failed operations with progressively longer delays, preventing thundering herd problems and giving failing services time to recover.

7 minutes 7 questions Pass at 70%
Time Limit
7 minutes - timer starts when you begin
Change Answers Freely
Revisit and change any answer before submitting
Full Review After Submit
Correct answers and explanations shown for every question
Auto-submit on timeout
Quiz submits automatically when time runs out

Questions in this quiz

7 questions on Retry & Exponential Backoff — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A distributed system is experiencing transient failures. Which strategy helps prevent overwhelming the system during retries?

    • AImmediate retries without delay
    • BExponential backoff with jitter
    • CConstant delay retries
    • DRetries only for client errors
  2. 2.You notice all clients retrying failed requests at the same time, causing a thundering herd problem. What could mitigate this issue?

    • AReducing the base delay
    • BIncreasing the number of retries
    • CAdding jitter to the retry strategy
    • DRetrying only on client errors
  3. 3.A service returns a 503 error. How should a retry mechanism handle this?

    • ARetry with exponential backoff
    • BRetry immediately without delay
    • CIgnore the error and continue
    • DDo not retry, as it's a client error
  4. 4.Which error should not trigger a retry in a distributed system?

    • A400 Bad Request
    • B500 Internal Server Error
    • CConnection Timeout
    • D503 Service Unavailable
  5. 5.A system uses exponential backoff with a max delay. What happens if the calculated delay exceeds this max delay?

    • AThe delay is capped at the max delay
    • BThe delay continues to increase
    • CThe retry is skipped
    • DThe delay resets to the base delay
  6. 6.In a retry mechanism, what is the purpose of using idempotency keys?

    • ATo increase the retry count
    • BTo handle non-retriable errors
    • CTo speed up the retry process
    • DTo ensure retries do not cause duplicate operations
  7. 7.Which tool provides declarative retry with configurable backoff in Java applications?

    • AApache Commons Retry
    • BJava's native retry library
    • CSpring Retry
    • DJitter4j