Learn Labs
Routing

Self-test

Check your understanding

Self-test7 questions

—/7
  1. Compare direct, fanout, topic, and headers exchanges in one sentence each.

  2. Why didn't order.refund.issued.eu match order.*.eu? What binding would match it?

  3. What happens to a message no binding matches? Give two ways to avoid losing it.

  4. Why does durable pub/sub need a named queue per subscriber rather than an exclusive server-named queue?

  5. How do reply_to and correlation_id make request/reply work? What is direct reply-to?

  6. What are the costs of RPC over a broker compared with HTTP?

  7. Design question

    Design an exchange and routing-key scheme for an e-commerce platform where billing wants all orders, EU shipping wants EU orders, fraud wants orders over $1,000, and analytics wants everything.