CCDAK practice question 5 of 25

What information isn't stored inside of Zookeeper? (select two)

Full set: 150 questions
Answer options
A: Schema Registry schemas Correct answer
B: Consumer offset Correct answer
C: ACL inforomation
D: Controller registration
E: Broker registration info
Correct Answer:
A. Schema Registry schemas; B. Consumer offset
Explanation

In modern Apache Kafka and Confluent Platform, ZooKeeper is used for cluster coordination and storing critical broker metadata. However, application-level state has been moved into Kafka topics for better scalability and performance. Consumer offsets for the new consumer API are stored in a compacted internal Kafka topic named consumeroffsets, not in ZooKeeper. Similarly, Confluent Schema Registry stores all registered schemas and their versions in a dedicated, compacted internal Kafka topic named schemas. This leverages Kafka's own durable log for storage rather than relying on ZooKeeper.

Why Incorrect

C. ACL information: Access Control Lists (ACLs) are fundamental security metadata for the cluster and are stored in ZooKeeper to be accessible by all brokers.
D. Controller registration: The identity of the active controller broker is managed via an ephemeral znode in ZooKeeper, which facilitates leader election among brokers.
E. Broker registration info: Each active broker registers itself using an ephemeral znode in ZooKeeper, allowing the controller and other components to discover it.

References

1. Confluent Documentation, Schema Registry Architecture: "Schema Registry stores all schemas in a Kafka topic called schemas. This schemas topic is the single source of truth for Schema Registry."

Source: Confluent Documentation, "Schema Registry Architecture", section "The schemas Topic".

2. Confluent Documentation, Managing Consumer Offsets: "Kafka stores the offsets in a special topic named consumeroffsets. When the consumer has processed the data, it should commit the offsets."

Source: Confluent Documentation, "Apache Kafka for .NET Developers", section "Managing Consumer Offsets".

3. Apache Kafka Documentation, ZooKeeper: The official Kafka documentation outlines the znode hierarchy used by Kafka in ZooKeeper, which includes znodes for brokers (/brokers/ids), the controller (/controller), and ACLs (/acl). This confirms that C, D, and E are stored in ZooKeeper.

Source: Apache Kafka Documentation, "1.5 ZooKeeper".

Scroll to Top