What is the primary purpose of using mirrored queues in RabbitMQ?
Think about what redundancy means in message queuing.
Mirrored queues replicate messages across nodes to ensure availability if one node fails.
What is the output of the following RabbitMQ command when checking the status of a mirrored queue named task_queue?
rabbitmqctl list_queues name policy
Mirrored queues use the all policy by default.
The all policy means the queue is mirrored across all nodes.
Which of the following commands correctly sets a policy to mirror all queues on all nodes in RabbitMQ?
The ha-mode must be set to all to mirror on all nodes.
The command sets a policy named ha-all to mirror all queues matching .* on all nodes.
You notice that after a node failure, messages are lost from a mirrored queue. Which of the following is the most likely cause?
Consider message durability and persistence in RabbitMQ.
Non-persistent messages (delivery_mode=1) are not saved to disk and can be lost on node failure even with mirrored queues.
Arrange the steps in the correct order to create a mirrored queue named logs and verify its mirroring status in RabbitMQ.
Policies must be set before queue declaration to apply mirroring.
First set the mirroring policy, then declare the queue so it inherits the policy, verify the policy, then publish messages.