CCAAK practice question 5 of 15
Where are Apache Kafka Access Control Lists stored'?
Full set: 54 questionsIn traditional Apache Kafka deployments, which rely on ZooKeeper for cluster coordination, Access Control Lists (ACLs) are stored as metadata within ZooKeeper. ZooKeeper serves as the authoritative source of truth for the cluster's configuration, including security policies. Kafka brokers connect to ZooKeeper, read the ACLs, and cache them in memory to enforce authorization for client requests efficiently. While newer Kafka versions can run in KRaft mode without ZooKeeper, storing ACLs in ZooKeeper is the standard mechanism in the widely deployed architecture covered by the CCAAK exam.
A. Broker: In a ZooKeeper-based cluster, brokers only cache ACLs for performance; they do not persistently store them. ZooKeeper is the source of truth.
C. Schema Registry: This is a separate Confluent component for managing data schemas and has its own security model, but it does not store Kafka broker ACLs.
D. Connect: This is a framework for integrating Kafka with external systems and is not responsible for storing core cluster security metadata like ACLs.
1. Confluent Documentation, "Authorization using ACLs": "The out-of-box authorizer implementation that ships with Kafka stores ACLs in ZooKeeper. The Kafka brokers read the ACLs from ZooKeeper and cache them." (Reference: Confluent Documentation > Security > Authorization (ACLs) > Adding, Removing, and Listing ACLs section).
2. Apache Kafka Documentation, "Security - Authorization": "Kafka ships with a pluggable Authorizer. The default implementation is AclAuthorizer (kafka.security.authorizer.AclAuthorizer)... It stores ACLs in ZooKeeper." (Reference: Apache Kafka Documentation > Version 3.7 > Security > Section 3.3 Authorization).
3. Kreps, J., Narkhede, N., & Rao, J. (2011). Kafka: A Distributed Messaging System for Log Processing. While this foundational paper predates the full ACL implementation, it establishes ZooKeeper's central role for "managing consumption and cluster metadata" which is the architectural pattern that storing ACLs follows. (Reference: Proceedings of the NetDB'11 Workshop, Section 2.3. ZooKeeper Coordination).
Keep practicing
Take the free CCAAK practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CCAAK practice questions
- Question 1When a broker goes down, what will the Controller do?
- Question 2A developer is working for a company with internal best practices that dictate that there…
- Question 3A company is setting up a log ingestion use case where they will consume logs from numero…
- Question 4If the Controller detects the failure of a broker that was the leader for some partitions…
- Question 6Which tool is used for scalably and reliably streaming data between Kafka and other data …
- Question 7You are using Confluent Schema Registry to provide a RESTful interface for storing and re…
