Which tool is used to perform controlled shutdown and removal of a broker from a Kafka cluster?
kafka-preferred-replica-election.sh
kafka-config.sh
kafka-reassign-partitions.sh
kafka-topics.sh
In KSQL, what is a 'STREAM' analogous to in traditional database terminology?
A trigger
A table
A stored procedure
A view
What is the role of a 'state store' in Kafka Streams?
To persist data required for stateful operations.
To store intermediate results of stateless operations.
To buffer incoming records before processing.
To cache data from external databases.
KSQL provides an SQL-like interface for interacting with Kafka. What type of language is KSQL categorized as?
Markup language
Query language
Object-oriented programming language
Domain-specific language
Which Kafka Streams API is specifically designed for performing windowed aggregations?
filter()
reduce()
transform()
groupBy()
How does Kafka ensure message ordering within a partition?
By employing a priority queue mechanism
By assigning sequential timestamps to messages
By using message keys for sorting
By appending messages sequentially to the log
Which of the following is a benefit of using a dedicated monitoring system for Kafka instead of relying solely on JMX?
Reduced load on Kafka brokers
Simplified access to metrics without requiring a JMX client
Both A and C
Eliminates the need for JMX configuration
What is the primary purpose of ZooKeeper in a multi-node Kafka cluster?
Maintaining cluster metadata and ensuring consistency
Compressing messages for efficient storage
Managing consumer group offsets
Storing and serving message data
What is the purpose of stateful operations in Kafka Streams?
To ensure exactly-once message delivery semantics.
To filter and route messages based on content.
To maintain and update information across multiple messages in a stream.
To store processed data permanently in a relational database.
What is the primary function of Kafka Streams?
Performing real-time data analysis and transformations on streams
Managing cluster resources for Kafka brokers
Storing and persisting streaming data
Guaranteeing exactly-once message delivery