What does JMX stand for in the context of Kafka monitoring?
Java Message eXport
JSON Metric eXchange
Just Monitor XML
Java Management eXtensions
What is the recommended minimum number of brokers for a production-ready Kafka cluster to ensure high availability and fault tolerance?
2
3
4
1
What is the purpose of stateful operations in Kafka Streams?
To store processed data permanently in a relational database.
To maintain and update information across multiple messages in a stream.
To filter and route messages based on content.
To ensure exactly-once message delivery semantics.
What is the significance of the 'unclean.leader.election.enable' configuration parameter during broker failures?
It allows for faster leader election but might lead to data loss.
It defines the time a broker is considered dead before triggering a leader election.
It ensures no data loss during leader election but might increase unavailability.
It controls the replication factor for partitions.
How are Kafka Connect connectors typically run in a production environment?
As standalone Java processes.
As Docker containers orchestrated by Kubernetes.
Within the Kafka broker processes.
Both A and C are common deployment methods.
How does Kafka store messages within a topic partition on disk?
In a hash table for quick retrieval
Using a B-tree index structure
As individual files for each message
As an append-only log file
What is the primary method used by a Kafka Producer to send messages to a Kafka topic?
push()
deliver()
send()
transmit()
What is the significance of 'Exactly Once Semantics' in Kafka Streams?
It prevents duplicate processing of records even in the event of failures.
It prioritizes speed over accuracy in data processing.
It guarantees that each record is processed at least once.
It ensures that records are processed in the exact order they were produced.
What is the primary function of Kafka Streams?
Storing and persisting streaming data
Performing real-time data analysis and transformations on streams
Guaranteeing exactly-once message delivery
Managing cluster resources for Kafka brokers
What is the primary purpose of log compaction in Kafka?
Optimizing message routing
Retaining the latest value for each key
Deleting old messages based on time
Improving message compression