Bird
0
0

You want to design a Kafka system that stays available worldwide even if one datacenter fails. Which approach best ensures this?

hard📝 Application Q15 of 15
Kafka - Multi-Datacenter and Replication
You want to design a Kafka system that stays available worldwide even if one datacenter fails. Which approach best ensures this?
AStore all data only in one datacenter and back it up manually
BUse a single datacenter with very powerful brokers
CReplicate data asynchronously between multiple datacenters with automatic failover
DDisable replication to reduce network traffic
Step-by-Step Solution
Solution:
  1. Step 1: Understand the goal of worldwide availability

    Worldwide availability means users anywhere can access Kafka even if one datacenter fails.
  2. Step 2: Evaluate options for multi-datacenter setup

    Replicating data asynchronously between datacenters with automatic failover ensures data is copied and clients switch to healthy datacenters.
  3. Final Answer:

    Replicate data asynchronously between multiple datacenters with automatic failover -> Option C
  4. Quick Check:

    Multi-datacenter replication + failover = High availability [OK]
Quick Trick: Choose replication plus failover for availability [OK]
Common Mistakes:
MISTAKES
  • Thinking one powerful datacenter is enough
  • Ignoring automatic failover importance
  • Disabling replication reduces availability

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes