Which statement best describes the difference between active-passive and active-active Kafka cluster setups?
Think about how traffic is handled in each setup.
In active-passive, one cluster is active and the other waits to take over if needed. In active-active, both clusters actively handle traffic at the same time.
Given two Kafka clusters in an active-active setup, what will be the output of the following consumer group status command if both clusters consume from the same topic independently?
kafka-consumer-groups --bootstrap-server cluster1:9092 --describe --group my-group kafka-consumer-groups --bootstrap-server cluster2:9092 --describe --group my-group
Consider how consumer groups are managed per cluster.
Each Kafka cluster manages consumer groups independently, so you get separate statuses for each cluster.
In an active-passive Kafka cluster setup, the passive cluster does not start handling traffic automatically after the active cluster fails. What is the most likely cause?
Think about what triggers failover in active-passive setups.
Failover requires monitoring and automation to detect failure and switch traffic; without it, passive cluster stays idle.
What is wrong with this MirrorMaker configuration snippet intended for active-active replication?
clusters = clusterA, clusterB clusterA.bootstrap.servers = kafkaA:9092 clusterB.bootstrap.servers = kafkaB:9092 # Replication flows clusterA->clusterB.enabled = true clusterB->clusterA.enabled = false
Check the replication directions enabled.
For active-active, replication must be enabled both ways. Here, clusterB->clusterA is disabled, so it's not active-active.
You need to design a Kafka deployment for a global application requiring low-latency writes and reads from multiple continents. Which setup is best?
Consider latency and availability for global users.
Active-active clusters allow users in different regions to read and write locally with replication keeping data in sync, reducing latency.