open atlas
↑ Back to track
Queues, Streams, Eventing QUE · 03 · 08

RabbitMQ exchanges: free-recall review

Free-recall prompts across the exchanges unit. Answer each in your own words first, then reveal the model answer and compare.

QUE Senior ◷ 13 min
Level
FoundationsJuniorMiddleSenior

Retrieval beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of recall is what makes the routing model stick.

Goal

Reconstruct the unit’s core mechanisms — the four exchange types, how bindings and routing keys decide delivery, the smart-broker push contract, and the failure modes — without looking back at the lesson.

Recall before you leave
  1. 01
    Why can a RabbitMQ producer never publish directly to a queue, and what does that indirection buy you?
  2. 02
    Describe the four exchange types and the routing rule each one applies.
  3. 03
    Explain the smart-broker push model and how it differs from Kafka's pull log.
  4. 04
    Why does a too-high prefetch count cause both unfairness and an outage, and what is the safe default?
  5. 05
    What is a dead-letter exchange, and which failure mode does it solve?
  6. 06
    How would you guard against an exchange silently dropping unroutable messages?
Recap

If you could reconstruct each answer from memory, you hold the unit’s spine: producers publish to an exchange, never a queue, and the type plus routing key plus bindings decide which queues get an independent copy. Direct is exact-match, fanout broadcasts, topic matches dotted * / # patterns, and headers matches attributes. The smart-broker push model acks-and-deletes, the opposite of Kafka’s replayable pull log. And the production failures are predictable: an unbound exchange drops silently without the mandatory flag, a too-high prefetch starves consumers and grows unacked memory, and a poison message with no dead-letter exchange loops forever. Now when you design or review a RabbitMQ topology, you will catch a missing DLX or an oversized prefetch before they become a 3am incident — because you can reason from first principles, not pattern-match from symptoms.

Something unclear?

Ask a question about this lesson. Questions are anonymous and go straight to the author to make the lesson better.

shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources1
expand
  1. 01

Trademarks belong to their respective owners. Editorial reference only.