High Availability — Concept Check
Questions on High Availability. Use quorum queues for replicated durability in clusters; deploy behind a load balancer; use multiple nodes to tolerate single-node failures without message loss.
Questions in this quiz
7 questions on High Availability — Concept Check. Work through them here, then start the quiz to answer them and see your score.
1.A RabbitMQ cluster with three nodes is set up using quorum queues. One node fails. What happens to the message durability?
- AMessages are lost until the node is restored.
- BThe cluster stops processing messages.
- CMessages remain durable due to Raft consensus.
- DAll messages are reprocessed from the start.
2.A developer configures a RabbitMQ cluster with HAProxy for load balancing. They notice uneven load distribution. What could be the cause?
- AQuorum queues not set up.
- BCluster nodes are offline.
- CIncorrect HAProxy configuration.
- DLoad balancer is overloaded.
3.In a RabbitMQ setup, a client fails to reconnect automatically after a node failure. What should be checked first?
- AAutomatic recovery settings in Spring AMQP.
- BThe load balancer's health check interval.
- CThe network bandwidth.
- DThe number of quorum queue replicas.
4.A team uses classic mirrored queues in their RabbitMQ cluster. What is a potential issue they might face?
- AMirrored queues are deprecated in 3.x versions.
- BMirrored queues do not support load balancing.
- CMirrored queues cannot handle high throughput.
- DMirrored queues require more memory.
5.What is the primary advantage of using quorum queues over classic mirrored queues in RabbitMQ?
- AQuorum queues reduce network traffic.
- BQuorum queues provide better durability and consistency.
- CQuorum queues are easier to set up.
- DQuorum queues require fewer nodes.
6.A service using RabbitMQ experiences message loss during a broker failover. What configuration can help prevent this?
- AIncrease the number of replicas in quorum queues.
- BEnable publisher confirms in Spring AMQP.
- CUse classic mirrored queues instead.
- DDisable automatic recovery.
7.A developer sets 'x-quorum-initial-group-size' to 1 in a quorum queue. What is the impact?
- AThe queue will not use Raft consensus.
- BThe queue will not tolerate any node failures.
- CThe queue will have high throughput.
- DThe queue will automatically scale replicas.