Which tool is used to perform controlled shutdown and removal of a broker from a Kafka cluster?
kafka-preferred-replica-election.sh
kafka-topics.sh
kafka-config.sh
kafka-reassign-partitions.sh
Which Kafka Streams feature allows for joining data from multiple topics based on a common key?
MapReduce
Windowed Aggregation
Stream-Table Join
Branching
How does Kafka store messages within a topic partition on disk?
In a hash table for quick retrieval
As individual files for each message
Using a B-tree index structure
As an append-only log file
What is a key difference between synchronous and asynchronous producers in Kafka?
Synchronous producers block until the broker acknowledges message receipt, while asynchronous producers send messages without waiting for confirmation.
Synchronous producers are only used for high-throughput scenarios, while asynchronous producers are suitable for low-throughput cases.
Synchronous producers use a push-based model, while asynchronous producers use a pull-based model.
Synchronous producers send messages to multiple topics, while asynchronous producers send to a single topic.
What is the primary purpose of Kafka Connect within the Kafka ecosystem?
Simplifying the integration of data between Kafka and external systems.
Real-time stream processing of data within Kafka topics.
Providing a scalable and distributed messaging platform.
Managing and monitoring the health of Kafka clusters.
What is the role of Prometheus in Kafka monitoring?
It analyzes Kafka logs to identify performance bottlenecks
It provides a user interface for visualizing Kafka metrics
It collects and stores Kafka metrics as time-series data
It acts as a message broker between Kafka and monitoring tools
Which method in the Kafka Consumer API is used to retrieve a batch of records from a topic?
fetch()
receive()
consume()
poll()
How are Kafka Connect connectors typically run in a production environment?
As Docker containers orchestrated by Kubernetes.
As standalone Java processes.
Within the Kafka broker processes.
Both A and C are common deployment methods.
What is a key difference between Source Connectors and Sink Connectors in Kafka Connect?
Source Connectors are stateful, while Sink Connectors are stateless.
Source Connectors require custom coding, while Sink Connectors use pre-built configurations.
Source Connectors handle real-time data, while Sink Connectors handle batch data.
Source Connectors push data, while Sink Connectors pull data.
What is the recommended minimum number of brokers for a production-ready Kafka cluster to ensure high availability and fault tolerance?
3
1
2
4