QuizzesLazy Queues — Concept Check
intermediate
rabbitmq

Lazy Queues — Concept Check

Questions on Lazy Queues. Lazy queues write messages to disk immediately, reducing memory usage for deep queues; ideal when consumers are slow and a large backlog must be held without crashing the broker.

8 minutes 8 questions Pass at 70%
Time Limit
8 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

8 questions on Lazy Queues — Concept Check. Work through them here, then start the quiz to answer them and see your score.

  1. 1.A RabbitMQ broker is experiencing high RAM usage and triggering memory alarms. Which queue configuration can help alleviate this issue?

    • ASwitch to quorum queues for all tasks
    • BUse in-memory mode for faster processing
    • CDeclare queues with x-queue-mode=lazy
    • DIncrease the vm_memory_high_watermark
  2. 2.In RabbitMQ 3.12+, what is the default behavior of classic queues regarding message storage?

    • AMessages are stored in memory by default
    • BMessages are stored on disk by default
    • CMessages are replicated across nodes by default
    • DMessages are prioritized by default
  3. 3.A service using RabbitMQ with lazy queues is experiencing higher latency. What is the likely cause?

    • AThe service is using priority queues, causing reordering delays
    • BMessages are stored on disk, increasing disk I/O
    • CMessages are stored in RAM, causing memory alarms
    • DThe service is using quorum queues, increasing replication overhead
  4. 4.Which of the following is a benefit of using lazy queues over normal queues?

    • AFaster message delivery
    • BAutomatic message replication
    • CSupport for larger message sizes
    • DLower RAM usage during high backlog
  5. 5.A team wants to ensure high availability (HA) for their RabbitMQ deployment. Which queue type should they use?

    • ALazy classic queues
    • BPriority queues
    • CQuorum queues
    • DIn-memory queues
  6. 6.A developer mistakenly believes that lazy queues improve message delivery speed. What is the truth about lazy queues?

    • AThey replicate messages to improve speed
    • BThey prioritize messages for faster processing
    • CThey reduce RAM usage but increase latency
    • DThey increase RAM usage for faster delivery
  7. 7.What happens when RabbitMQ's memory usage exceeds the vm_memory_high_watermark?

    • AProducer connections are blocked
    • BMessages are automatically replicated
    • CMessages are deleted from the queue
    • DConsumer connections are blocked
  8. 8.A RabbitMQ deployment is using lazy queues for batch processing. What is a potential downside?

    • AIncreased RAM usage causing memory alarms
    • BIncreased disk I/O leading to higher latency
    • CIncreased message loss risk due to disk storage
    • DIncreased network traffic due to replication