All Questions
Kafka hard

The `broker.rack` configuration is critical for multi-AZ (Availability Zone) deployments. What is the specific constraint it imposes on the partition leader election algorithm?

  1. A It ensures that the Leader and all of its Synchronous Followers are physically located on the same rack to maximize replication speed.
  2. B Infrastructure Diversity: It ensures that Kafka spreads replicas of the same partition across as many distinct racks/zones as possible, protecting the topic against 'Correlated Failures' (e.g., a single power unit failing for a whole rack).
  3. C It forces all Consumers to always read from the broker with the lowest numerical rack ID.
  4. D It prevents any single broker from hosting more than 100 partitions.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions