Bird
0
0

Why is it important to monitor lag in cross-datacenter replication setups?

hard📝 Conceptual Q10 of 15
Kafka - Multi-Datacenter and Replication

Why is it important to monitor lag in cross-datacenter replication setups?

ATo increase the size of Kafka partitions
BTo reduce the number of topics in the cluster
CTo ensure replication is timely and data is consistent
DTo disable replication when lag is detected
Step-by-Step Solution
Solution:
  1. Step 1: Understand lag in replication

    Lag means delay between source producing messages and target receiving them.
  2. Step 2: Importance of monitoring lag

    Monitoring lag helps ensure data is replicated quickly and remains consistent across clusters.
  3. Final Answer:

    To ensure replication is timely and data is consistent -> Option C
  4. Quick Check:

    Lag monitoring = timely, consistent replication [OK]
Quick Trick: Lag shows replication delay; monitor to keep data synced [OK]
Common Mistakes:
MISTAKES
  • Thinking lag reduces topic count
  • Assuming lag increases partition size
  • Believing lag means replication should be disabled

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes