Kafka Security & Configuration Flashcards
6 cards from real Apache Kafka practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Kafka Security & Configuration flashcards as text
Where is the `server.properties` file used in a Kafka deployment?
Answer: It is the main broker configuration file containing all broker settings
server.properties is the primary configuration file for each Kafka broker, containing settings like listener ports, log directories, and replication defaults.
What does the `log.dirs` broker configuration specify?
Answer: One or more comma-separated directories where Kafka stores partition log data on disk
log.dirs tells Kafka brokers which directories to use for storing partition segment files; spreading across multiple paths can improve I/O throughput.
What is the default Kafka broker port?
Answer: 9092
Kafka brokers listen on port 9092 by default for PLAINTEXT client connections (port 9093 is common for SSL).
What does `inter.broker.listener.name` configure?
Answer: The listener name that brokers use for internal replication communication
inter.broker.listener.name specifies which named listener (and its associated protocol) is used for broker-to-broker replication traffic.
What Kafka broker setting controls the maximum message size the broker will accept?
Answer: message.max.bytes
message.max.bytes (default 1 MB) is the maximum size of a batch that the broker will accept from producers; exceeding it results in a MESSAGE_TOO_LARGE error.
How does Kafka KRaft mode differ from the ZooKeeper-based architecture?
Answer: KRaft mode eliminates ZooKeeper by storing cluster metadata in a Kafka internal topic managed by a Raft consensus quorum
KRaft (Kafka Raft) replaces ZooKeeper with Kafka's own built-in Raft consensus protocol for metadata management, simplifying operations.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. Exam facts are checked against the official sources listed below. Not reviewed by a subject-matter expert. Editorial policy
Sources & references
Exam facts on this page (fees, format, dates, passing scores) are checked against these official sources; the date is our last check. Editorial policy
- assets.confluent.io — Exam information · verified Oct 2026
- confluent.io — Test delivery, eligibility, exam format, registration deadline, renewal, retake policy, score release, score validity · verified Oct 2026
- training.confluent.io — Fees, time limit · verified Oct 2026