CCDAK practice question 5 of 25
What information isn't stored inside of Zookeeper? (select two)
Full set: 150 questionsIn 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.
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.
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".
Keep practicing
Take the free CCDAK practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCDAK practice questions
- Question 1In Avro, removing or adding a field that has a default is a __ schema evolution
- Question 2A topic has three replicas and you set min.insync.replicas to 2. If two out of three repl…
- Question 3To get acknowledgement of writes to only the leader partition, we need to use the config.…
- Question 4A customer has many consumer applications that process messages from a Kafka topic. Each …
- Question 6If you enable an SSL endpoint in Kafka, what feature of Kafka will be lost?
- Question 7The exactly once guarantee in the Kafka Streams is for which flow of data?
