Recall & Review
beginner
What is a quorum queue in RabbitMQ?
A quorum queue is a type of queue in RabbitMQ designed for high availability and data safety. It replicates messages across multiple nodes to prevent data loss if a node fails.
Click to reveal answer
intermediate
How does a quorum queue differ from a classic mirrored queue?
Quorum queues use the Raft consensus algorithm for replication, providing stronger consistency and better fault tolerance than classic mirrored queues, which rely on simpler mirroring.
Click to reveal answer
beginner
What happens if a node in a quorum queue cluster fails?
The quorum queue continues working with the remaining nodes. The Raft algorithm elects a new leader to keep the queue operational without losing messages.
Click to reveal answer
intermediate
How do you declare a quorum queue using RabbitMQ's CLI?
Use the command: rabbitmqctl set_policy ha-quorum-queues "^quorum-" '{"queue-type":"quorum"}' --apply-to queues to apply quorum queue policy to queues starting with 'quorum-'.
Click to reveal answer
beginner
Why are quorum queues recommended over classic mirrored queues?
Because quorum queues provide better data safety, automatic leader election, and improved recovery after failures, making them more reliable for critical messaging.
Click to reveal answer
What algorithm do quorum queues use for replication?
✗ Incorrect
Quorum queues use the Raft consensus algorithm to replicate messages and maintain consistency across nodes.
Which feature is NOT true about quorum queues?
✗ Incorrect
Quorum queues are designed to avoid message loss even if a node fails, unlike classic queues without replication.
How do you specify a queue as a quorum queue in RabbitMQ?
✗ Incorrect
You declare a quorum queue by setting the queue-type to 'quorum' in the queue policy.
What happens when the leader node in a quorum queue cluster fails?
✗ Incorrect
The Raft algorithm elects a new leader automatically to keep the quorum queue running.
Why might you choose quorum queues over classic mirrored queues?
✗ Incorrect
Quorum queues offer stronger fault tolerance and data safety compared to classic mirrored queues.
Explain what quorum queues are and why they are recommended in RabbitMQ.
Think about how quorum queues keep messages safe and available even if some nodes fail.
You got /5 concepts.
Describe how to configure a quorum queue in RabbitMQ and what happens if a node fails.
Focus on the configuration steps and the fault tolerance behavior.
You got /5 concepts.