Bird
0
0

How can you automate failover to a backup Kafka cluster during a disaster?

hard📝 Application Q9 of 15
Kafka - Multi-Datacenter and Replication
How can you automate failover to a backup Kafka cluster during a disaster?
AUse a DNS switch combined with MirrorMaker replication
BManually update client configs to point to backup cluster
CRestart the primary cluster repeatedly
DDisable MirrorMaker during failover
Step-by-Step Solution
Solution:
  1. Step 1: Understand failover automation methods

    Automated failover requires redirecting clients and having up-to-date data on backup.
  2. Step 2: Identify best automation approach

    Using DNS switch with MirrorMaker ensures clients connect to backup cluster seamlessly.
  3. Final Answer:

    Use a DNS switch combined with MirrorMaker replication -> Option A
  4. Quick Check:

    DNS switch + replication automates failover [OK]
Quick Trick: Automate failover with DNS switch and MirrorMaker [OK]
Common Mistakes:
MISTAKES
  • Relying on manual client config changes
  • Restarting primary cluster repeatedly
  • Disabling MirrorMaker during failover

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes