Bird
0
0

Why is it important to monitor the lag of MirrorMaker consumers in a disaster recovery setup?

hard📝 Conceptual Q10 of 15
Kafka - Multi-Datacenter and Replication
Why is it important to monitor the lag of MirrorMaker consumers in a disaster recovery setup?
ATo increase the replication factor automatically
BTo reduce the number of Kafka topics
CTo disable replication when lag is high
DTo ensure data is replicated in near real-time and avoid data loss
Step-by-Step Solution
Solution:
  1. Step 1: Understand MirrorMaker consumer lag

    Lag shows how far behind MirrorMaker is in replicating data.
  2. Step 2: Explain importance of monitoring lag

    Monitoring lag helps detect delays to prevent data loss and ensure timely replication.
  3. Final Answer:

    To ensure data is replicated in near real-time and avoid data loss -> Option D
  4. Quick Check:

    Lag monitoring = timely replication [OK]
Quick Trick: Monitor lag to catch replication delays early [OK]
Common Mistakes:
  • Thinking lag reduces topics
  • Assuming lag changes replication factor
  • Disabling replication due to lag

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes