What is the relationship between topics and partitions? (Choose two.)
Answer : B, C
Kafka topics are split into one or more partitions to enable parallelism and scalability.
Each partition belongs to exactly one topic; it cannot span multiple topics.
You are managing a cluster with a large number of topics, and each topic has a lot of partitions. A team wants to significantly increase the number of partitions for some topics.
Which parameters should you check before increasing the partitions?
Answer : C
Each Kafka partition maps to multiple log segment files, and each segment results in open file descriptors on the broker. When the number of partitions increases significantly, it can exceed the OS-level limit for open files per broker process, leading to failures or degraded performance. Therefore, it is essential to check and possibly increase the ulimit -n (max open files) setting on the broker machines.
What are benefits to gracefully shutting down brokers? (Choose two.)
Answer : A, B
A graceful shutdown ensures that logs are flushed to disk, minimizing recovery time during restart.
Kafka performs controlled leader migration during a graceful shutdown to avoid disruption and ensure availability.
You are managing a Kafka cluster with five brokers (broker id '0', '1','2','3','4') and three ZooKeepers. There are 100 topics, five partitions for each topic, and replication factor three on the cluster. Broker id '0' is currently the Controller, and this broker suddenly fails.
Which statements are correct? (Choose three.)
Answer : A, B, C
Kafka relies on ZooKeeper's ephemeral nodes to detect if a broker (controller) goes down and to elect a new controller.
The controller manages partition leadership assignments and handles leader election when a broker fails.
The epoch number ensures coordination and avoids outdated controllers acting on stale data.
Which property in broker configuration specifies that a broker belongs to a particular rack?
Which property in broker configuration specifies that a broker belongs to a particular rack?
Answer : B
The broker.rack property is used in a Kafka broker's configuration to specify the rack or availability zone the broker belongs to. This is important for rack-aware replica placement, allowing Kafka to distribute replicas across different racks for fault tolerance.
Which secure communication is supported between the REST proxy and REST clients?
Answer : A
Which of the following are Kafka Connect internal topics? (Choose three.)
Answer : A, C, E
connect-configs stores connector configurations.
connect-status tracks the status of connectors and tasks (e.g., RUNNING, FAILED).
connect-offsets stores source connector offsets for reading from external systems.