Kafka - Multi-Datacenter and ReplicationIn an active-passive Kafka cluster setup, what happens when the active cluster fails?AThe passive cluster deletes all data.BBoth clusters stop working until manual restart.CThe active cluster recovers without failover.DThe passive cluster automatically becomes active and takes over.Check Answer
Step-by-Step SolutionSolution:Step 1: Identify failover behavior in active-passiveWhen the active cluster fails, the passive cluster is designed to take over automatically.Step 2: Confirm passive cluster roleThe passive cluster waits in standby mode and activates on failure.Final Answer:The passive cluster automatically becomes active and takes over. -> Option DQuick Check:Failover in active-passive = D [OK]Quick Trick: Passive cluster activates only on active failure [OK]Common Mistakes:Assuming both clusters stop workingThinking active cluster recovers without failoverBelieving passive cluster deletes data
Master "Multi-Datacenter and Replication" in Kafka9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More Kafka Quizzes Advanced Stream Processing - Error handling in streams - Quiz 12easy Event-Driven Architecture - Saga pattern for distributed transactions - Quiz 7medium Event-Driven Architecture - Event sourcing pattern - Quiz 15hard Event-Driven Architecture - Dead letter queue pattern - Quiz 10hard Event-Driven Architecture - CQRS pattern - Quiz 8hard Kubernetes and Cloud Deployment - Confluent Cloud overview - Quiz 1easy Kubernetes and Cloud Deployment - Kafka on Kubernetes (Strimzi) - Quiz 12easy Multi-Datacenter and Replication - MirrorMaker 2 concept - Quiz 13medium Multi-Datacenter and Replication - Why multi-datacenter ensures availability - Quiz 12easy Security - Encryption at rest - Quiz 9hard