Bird
0
0

How does RabbitMQ handle message synchronization when a new mirror node joins a mirrored queue cluster?

hard📝 Application Q9 of 15
RabbitMQ - Clustering
How does RabbitMQ handle message synchronization when a new mirror node joins a mirrored queue cluster?
AThe new mirror node starts empty and only receives new messages from that point
BThe new mirror node copies all existing messages from the master queue before accepting new messages
CThe new mirror node rejects messages until fully synchronized manually
DThe new mirror node duplicates messages from other mirrors asynchronously without master involvement
Step-by-Step Solution
Solution:
  1. Step 1: Understand synchronization process for new mirrors

    When a new mirror joins, it copies all existing messages from the master to stay consistent.
  2. Step 2: Evaluate other options

    New mirrors do not start empty or reject messages; synchronization is master-driven, not peer-to-peer.
  3. Final Answer:

    The new mirror node copies all existing messages from the master queue before accepting new messages -> Option B
  4. Quick Check:

    New mirror sync = copy from master first [OK]
Quick Trick: New mirrors sync by copying messages from master queue [OK]
Common Mistakes:
MISTAKES
  • Assuming new mirrors start empty
  • Thinking synchronization is manual
  • Believing mirrors sync only between themselves

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More RabbitMQ Quizzes