Bird
0
0

In a RabbitMQ cluster, how can you prevent split-brain issues when network partitions are frequent and manual intervention is not possible?

hard📝 Application Q9 of 15
RabbitMQ - Clustering
In a RabbitMQ cluster, how can you prevent split-brain issues when network partitions are frequent and manual intervention is not possible?
ADisable clustering and run independent nodes
BSet cluster_partition_handling to 'ignore' to avoid interruptions
CSet cluster_partition_handling to 'pause_minority' and monitor cluster health
DUse manual restart after each partition
Step-by-Step Solution
Solution:
  1. Step 1: Identify best practice for frequent partitions

    Pause_minority prevents split-brain by pausing smaller partitions automatically.
  2. Step 2: Consider manual intervention constraints

    Since manual intervention is not possible, automatic pause and monitoring is best.
  3. Final Answer:

    Set cluster_partition_handling to 'pause_minority' and monitor cluster health -> Option C
  4. Quick Check:

    pause_minority + monitoring prevents split-brain without manual work [OK]
Quick Trick: Use pause_minority for auto pause on partitions [OK]
Common Mistakes:
MISTAKES
  • Choosing ignore which risks data loss
  • Disabling clustering loses benefits
  • Relying on manual restarts

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes