Learn Labs
Failure Handling

Self-test

Check your understanding

Self-test10 questions

—/10
  1. List the four reasons a message is dead-lettered and what causes each.

  2. What's in the x-death header, and how would you use it for retries?

  3. In RabbitMQ 4, what counts toward a quorum queue's delivery limit, and what doesn't? What bug does that cause?

  4. Which errors should be rejected without requeue immediately, and which deserve a delayed retry?

  5. Explain the TTL wait-queue retry pattern. Why use one wait queue per delay?

  6. What does a resource alarm do to publishers and consumers, cluster-wide?

  7. Why does a blocked publisher look like a frozen application, and how do you defend against that?

  8. When would you choose drop-head versus reject-publish overflow?

  9. Why does RabbitMQ prefer short queues, and how do you design for backpressure?

  10. Design question

    Design retry handling for a webhook-delivery service: 5 attempts with exponential backoff up to 1 hour, then parking, with alerting and a replay tool.