QuizzesDead Letter Exchange (DLX) — Concept Check
intermediate
rabbitmq

Dead Letter Exchange (DLX) — Concept Check

Questions on Dead Letter Exchange (DLX). Rejected, nacked, or expired messages are routed to a DLX; configure x-dead-letter-exchange on the source queue. DLQs are essential for failure inspection and retry workflows.

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 Dead Letter Exchange (DLX) — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A message in the 'order-queue' was not consumed within 60 seconds. Where will it be routed?

    • ATo the 'orders.dlq' via the DLX
    • BBack to the 'order-queue' for retry
    • CTo the 'orders.dlx' directly
    • DTo a new random queue
  2. 2.You configure a queue with x-max-length and overflow policy 'reject-publish'. What happens when the queue is full?

    • AMessages are stored in a temporary queue
    • BMessages are rerouted to the same queue
    • CMessages are dropped silently
    • DMessages are dead-lettered to the DLX
  3. 3.A developer sets up a DLX but forgets to bind it to a DLQ. What is the consequence?

    • AMessages will be rerouted to the original queue
    • BMessages will be lost
    • CMessages will cause an error in the system
    • DMessages will be routed to the DLX but not stored
  4. 4.In Spring AMQP, how do you set a DLX on a source queue?

    • AUsing QueueBuilder.withArgument()
    • BUsing channel.exchangeDeclare()
    • CUsing @DLX annotation
    • DUsing @DLQ annotation
  5. 5.A message is rejected with requeue=false. What happens to it if a DLX is configured?

    • AIt is deleted permanently
    • BIt is sent to the DLQ via the DLX
    • CIt is requeued immediately
    • DIt is sent to a backup queue
  6. 6.Why might a message be dead-lettered due to TTL expiration be misinterpreted as a system error?

    • ATTL is often misunderstood as the time to process
    • BIt seems like a system failure due to message loss
    • CTTL expiration is often confused with network latency
    • DTTL settings are often ignored in configuration
  7. 7.A message is dead-lettered multiple times. How is this tracked in the retry pattern?

    • AUsing the x-death header count
    • BBy incrementing a custom header
    • CThrough a logging system
    • DBy storing in a separate audit queue