Browse all practice questions for the CCDAK Apache Kafka Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

Ace the CCDAK Apache Kafka Challenge 2026 – Ignite Your Data Streaming Success! course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • In a ZooKeeper multi-node configuration, with tickTime=2000 and initLimit=5, what is the time in milliseconds required to initialize a follower with the current leader?
  • Which command deletes a Kafka topic named 'my-first-topic'?
  • In Schema Registry, which compatibility mode ensures that data written with older schemas can be read by consumers using newer schemas?
  • How do producer retries interact with idempotence and transactions to ensure reliable delivery under transient failures?
  • When a member joins or leaves a Kafka consumer group, what happens to the partition assignments?
  • Which statement best describes the primary role of Kafka Connect in data integration?
  • What contains the offset of the last message copied to all replicas?
  • With tickTime=2000 and syncLimit=2, what is the maximum time in milliseconds that a follower can be out of sync with the leader?
  • What is the difference between automatic offset commits and manual commits in a Kafka consumer, and when would you choose each?
  • What is a major change with KRaft in terms of ZooKeeper usage?
  • Setting auto.offset.reset=latest causes the consumer to read from?
  • Which data formats are supported by the Confluent Schema Registry?
  • Which command shows the replication factor and partition count for a topic named 'my-first-topic'?
  • When is data sent in round robin?
  • How do you describe the details of a topic named 'my-first-topic'?
  • Does adding a partition to a topic lose the guarantee that the same key goes to the same partition?
  • Which statement about a Hopping Window is true?
  • FORWARD compatibility could be defined as which statement?
  • Which of the following is a stateful Kafka Streams operator?
  • Is co-partitioning required for KStream-to-GlobalKTable joins?
  • Which port is used by followers to connect to the active leader?
  • In Kafka, if the current leader broker fails and there are in-sync replicas (ISRs), what happens to the partition?
  • In a single consumer group, each consumer is assigned to what type of partition?
  • What is the join type for KTable-to-KTable joins?
  • Which statement correctly describes exactly-once semantics and how to enable it in Kafka?
  • What is consumer lag, how is it calculated, and why is it important for service level agreements?
  • To publish a 15 MB message, you must configure which broker/topic setting?
  • Which producer property is not among the mandatory ones listed for producer configuration?
  • Which window type is time-based, fixed size, non-overlapping, and gapless?
  • Getting data from a common data source to Kafka (for example importing data from an external database) is called what?
  • Which statement about the KTable's database table analogy is true?
  • Which setting controls how many records to receive per poll request?
  • Which compatibility mode in Schema Registry ensures that a new schema can read data written with an older schema, while preserving producer/consumer evolution decisions?
  • Which Java library is KSQL based on?
  • Is it recommended to disable auto-commit and manually commit offsets?
  • Which command shows partitions without a leader for a topic?
  • What is the default value for heartbeat.interval.ms?
  • What is the command to start a ZooKeeper server with the default configuration file?
  • How would you replay data from an old offset for a consumer group, and what risks does this pose?
  • NONE compatibility means which of the following?
  • To transform data from a Kafka topic to another, you should use which of the following?
  • What is the practical effect of setting max.in.flight.requests.per.connection low in a transactional producer?
  • In an e-commerce application, any type of transactions like purchase or payment should be modeled as KStream.
  • With 5 consumers and 10 partitions, how many partitions per consumer and is any consumer idle?
  • How is the myid value set for a ZooKeeper ensemble member?
  • What is the purpose of a changelog topic in Kafka Streams?
  • Which of the following is a common failure scenario in a Kafka deployment and its recommended mitigation?
  • Which of the following is a complex type in Avro?
  • Does increasing the number of partitions affect the guarantee that all messages with the same key go to the same partition?
  • Which command starts consuming messages from a topic starting from the beginning?
  • What is the purpose of the transactional.id in Kafka producers?
  • If a consumer hasn't read new data for 7 days, which broker setting controls the retention of its offset?
  • Which of the following is NOT a complex type in Avro schema definitions?
  • Which combination uniquely identifies a consumed message in Kafka?
  • Which port is used by the Schema Registry by default?
  • Which window type is fixed-size, overlapping, and used only for JOIN operations?
  • What is the difference between acks=all and acks=1 in Kafka producers?
  • If replication.factor=2 and min.insync.replicas=2, what happens when one replica goes down or falls out of sync?
  • What is recommended before you start producing new events when schemas change?
  • Which factors are important when sizing Kafka brokers and storage for cloud deployments?
  • Publishing data from Kafka to a common data source (exporting data to an external database) is called what?
  • How do max.message.bytes and message.max.bytes constrain record size, and what should you align across broker and client configurations?
  • Which of the following is NOT a stateless operator in Kafka Streams?
  • Which framework is used to transform data from one Kafka topic to another?
  • When creating a topic with AdminClient, which arguments specify partitions and replication factor?
  • Which port is the Kafka Broker listening on by default?
  • Which of the following is NOT a mandatory producer property?
  • How would you enforce per-topic retention policies for different data categories?
  • What is the ZooKeeper address format used in these Kafka command examples?
  • Which feature must be used to achieve exactly-once semantics on the producer side?
  • Which AdminClient operation would you use to create a topic with 3 partitions and replication factor 2, and what code would look like?
  • Which statement about high watermark is false?
  • What is a key security difference between SCRAM-SHA-256 and SASL/PLAIN in Kafka?
  • Which statement about the Consumer assign() method is correct?
  • How do Kafka Access Control Lists (ACLs) regulate operations, and what are common patterns for producers and consumers?
  • What does the read_committed isolation level ensure in Kafka consumers?
  • What is the role of the Confluent Schema Registry in a Kafka ecosystem, and how does it enforce compatibility?
  • What is the correct format for a ZooKeeper ensemble member's server configuration line?
  • Is KSQL ANSI SQL compliant?
  • Which command demonstrates consuming messages from a topic as a specific group and from the beginning?
  • According to recommended practice, before producing new events with a new schema, you should upgrade which?
  • You want to sink data from a Kafka topic to S3 using Kafka Connect. There are 10 brokers in the cluster, the topic has 2 partitions with replication factor of 3. How many tasks will you configure for the S3 connector?
  • Where are quotas configured in a Kafka cluster to protect multi-tenant environments?
  • How does Kafka Streams implement exactly-once semantics for stateful computations, and what features support this?
  • Why is a transactional.id required for transactional producers, and what can happen if a transaction is not properly aborted on error?
  • How does the high watermark bound a consumer's reads?
  • What is the default Confluent Schema Registry compatibility type?
  • Which authentication mechanism is Kerberos-based in Kafka?
  • What is retry.backoff.ms?
  • What is the purpose of the initTransactions step in Kafka producer transactions?
  • Which description best matches KStream-to-KTable join characteristics?
  • What is the purpose of enabling enable.idempotence on a Kafka producer, and what constraint does it impose on acks and in-flight requests?
  • How does replication.factor influence fault tolerance and load in a Kafka cluster?
  • What is the equation for the ZooKeeper ensemble size required to tolerate n faults?
  • Which command is used to produce messages to a Kafka topic named 'my-first-topic'?
  • Segment bytes and segment.ms influence log rolling; what is the effect on retention and compaction?
  • What is the generic unique identifier that can be used for a message received from a consumer?
  • Which properties are mandatory to configure a Kafka producer?
  • How do batch.size, linger.ms, and max.in.flight.requests.per.connection affect producer throughput and message ordering guarantees?
  • Which window type is time-based, fixed size, with overlapping windows?
  • If enable.auto.commit is true and you do not use synchronous processing, what offset commit semantics do you get?
  • In an e-commerce application, which data should be modeled as a KTable?
  • Which flag ensures the producer waits for all in-sync replicas to acknowledge messages?
  • Which schema evolution category applies when a field with a default value is added or removed in Avro?
  • Keys are hashed using which algorithm by default?
  • Which window type is dynamic, non-overlapping, and data-driven for aggregating key-based events into a session?
  • Which setting enables manual control of offset commits?
  • If a key is sent, do all messages for that key go to the same partition?
  • Can an older Kafka client (1.1) talk to a newer broker (2.0) and can a newer client (2.0) talk to an older broker (1.1)?
  • Can a Producer send a key with a message?
  • Which practice is essential for managing schema evolution?
  • What does co-partition mean in Kafka Streams joins?
  • Which command describes a consumer group named 'my-first-consumer-group'?
  • Kafka is mostly written in which programming language?
  • FULL compatibility means backward and forward compatibility between which schemas?
  • What is the output type when performing a KStream-to-GlobalKTable join?
  • Which command resets a consumer group's committed offset to an earlier point?
  • Which property controls the interval at which Kafka auto-commits offsets?
  • GlobalKTable is an abstraction of the changelog stream from which partitions?
  • What is log compaction in Kafka, and when is it useful?
  • For KStream-to-GlobalKTable joins, what are the output type, windowing, co-partitioning, and join type?
  • What is the difference between Kafka Connect running in standalone mode versus distributed mode, and when would you choose each?
  • Which command starts consuming messages in a consumer group named 'my-first-consumer-group'?
  • Which setting defines the maximum data returned for each fetch request (covers multiple partitions)?
  • What is a key trade-off of using Avro with Schema Registry?
  • Kafka is best described as which type of messaging system? (variant wording to test understanding)
  • FULL compatibility means backward and forward compatibility between which schemas?
  • Which property is used to specify where to connect for a Kafka producer?
  • Which command resets a consumer group's offsets to the earliest offset for a specific topic?
  • If you configure very small segment.ms values, what is a likely consequence?
  • Which statement about co-partitioning requirements for KStream-to-GlobalKTable joins is true?
  • Which of the following best describes the high watermark's role?
  • What is the default value for session.timeout.ms?
  • For KTable-to-KTable joins, what is the output type, co-partitioning, and join type?
  • Which command lists all Kafka topics using Zookeeper?
  • Setting auto.offset.reset=none causes what happens if no offset is found?
  • Which statement about the high watermark is correct?
  • What is a state store in Kafka Streams, and how does a changelog topic support fault tolerance?
  • Which statement best describes the relationship between backward, forward, and full compatibility in schema evolution?
  • What is records-lag-max?
  • Which description correctly outlines an end-to-end Kafka data pipeline using Avro schemas with Schema Registry, including producer, topic, schema, and consumers; highlight recovery steps?
  • To tolerate the loss of two ZooKeeper servers, what is the minimum total number of servers in the ensemble?
  • Which mechanism is used to detect if a consumer application has died?
  • In Kafka Streams, what is the role of a changelog-backed state store?
  • Which statement about min.insync.replicas best describes its effect on write durability if a broker goes down?
  • Kafka is best described as which type of messaging system?
  • How do retention.ms and log.cleanup.policy affect data retention and log segment behavior in Kafka topics?
  • If enable.auto.commit is false, what must you do to commit offsets?
  • In Avro schema evolution, adding a field to a record without a default value is considered which type?
  • If a topic uses cleanup.policy=compact and retention.ms is configured, how do compaction and retention interact?
  • In the database table analogy, a KStream record is interpreted as an INSERT statement.
  • Setting auto.offset.reset=earliest causes the consumer to read from?
  • What is the benefit of sending the same key with related messages?
  • Which of the following is NOT a Kafka producer property?
  • What is the command to start a Kafka server with the default server properties?
  • Which statement about high watermark is accurate?
  • Which of the following is NOT listed as a SerDes data type for Kafka Streams?
  • Which command lists all consumer groups?
  • Which client protocols are supported by the Confluent Schema Registry?
  • Deleting a field without a default value in an Avro schema is which type of compatibility?
  • What is the primary function of the Kafka Consumer?
  • Which metric shows whether a Kafka cluster has an active controller?
  • Which setting controls how much data you want to pull at least on each request?
  • What are the steps to integrate Kafka with Kerberos authentication, and what common pitfalls should you avoid?
  • Which command would you use to list all topics without describing them?
  • Which statement accurately describes the KTable's relation to the changelog stream?
  • Distinguish between the Kafka Streams API and ksqlDB in terms of programming model and typical use cases.
  • In Confluent Schema Registry, what does a compatibility level of FULL ensure?
  • In an Avro field definition, which element is required?
  • In a ZooKeeper-based Kafka cluster, what type of metadata resides in ZooKeeper, and where is this metadata stored under KRaft?
  • What is the default value of fetch.min.bytes?
  • By default, how is the target partition chosen for a record with a key in Kafka?
  • In a three-node ZooKeeper ensemble, the typical myid values assigned to each member are 1, 2, and 3.
  • Which architectural component is eliminated in KRaft mode compared to ZooKeeper-based Kafka?
  • For a KStream-to-KStream join, what are the output type, whether it's windowed, co-partitioning requirement, and the join type?
  • The KStream abstraction represents a record stream from a subset of partitions of a topic.
  • Where are consumer offsets stored in modern Kafka versions?
  • In Confluent Schema Registry, which topic stores the Avro schemas?
  • Which of the following is an Avro primitive type?
  • Which broker setting controls the retention period for consumer offsets when no new data is read for a period (for example seven days)?
  • Which statement about gzip, snappy, and lz4 is true, and when would you pick each?
  • Which setting defines the maximum data returned by the broker per partition?
  • What is the default value for max.poll.interval.ms?
  • What is the default size of a Kafka message?
  • Which port is used by KSQL by default?
  • Which statement best describes KRaft mode in Kafka compared to ZooKeeper-based architecture?
  • In a Tumbling Window with window-size 5 minutes and advance-interval 5 minutes, which window sequence is produced?
  • How do SASL authentication and TLS encryption protect Kafka cluster communications, and what configuration options are typically used?
  • Which control ensures consumers do not read unreplicated data?
  • Which Kafka metric indicates lagging replicas in a cluster?
  • Which join scenario allows joining a topic with 5 partitions to a topic with 3 partitions without co-partitioning?
  • Which combination identifies a specific record in Kafka by topic, partition, and offset?
  • How does MirrorMaker 2 handle offset alignment and idempotence during failover between clusters?
  • How do Kafka transactions enable exactly-once semantics for producers, and what are the key steps to use them?
  • What mitigations help Kafka survive controller failover and broker outages?
  • Which statement correctly describes keys and partition assignment?
  • What is the default value of auto.commit.interval.ms?
  • Which configuration controls how a consumer starts reading when there is no committed offset?
  • If there are more partitions than consumers in a group, what could happen?
  • Which AdminClient operation would you use to provision topics programmatically?
  • What is the purpose of a source connector vs a sink connector in Kafka Connect, and provide an example of each.
  • Which command shifts offsets by 2 positions forward for a consumer group on a topic?
  • What is a major architectural change when moving from ZooKeeper-based clusters to KRaft?
  • What is the relationship between the committed offset and the consumer's current position?
  • Which error is thrown if you send a message larger than the default maximum size?
  • With 10 consumers and 5 partitions, how many consumers will have partitions assigned?
  • In a transactional workflow, which consumer setting ensures you only see committed transactions?
  • To process all messages from a 4-partition topic with two applications, the optimal setup is to create two consumer groups with four consumers in each group.
  • What does isolation.level=read_committed do in a Kafka consumer, and when would you enable it?
  • Per thread how many consumers are allowed, and can the consumer be multi-threaded?
  • Compare Avro, JSON, and Protobuf in terms of schema evolution and payload efficiency in Kafka.
  • Which command shifts offsets by 2 positions backward for a consumer group on a topic?
  • Which of the following errors is retriable from the Kafka Producer?
  • In Avro schema evolution, removing or adding a field that has a default value is classified as which type?
  • Which command creates a Kafka topic named 'my-first-topic' with 3 partitions and replication factor 3 using ZooKeeper?
  • What does an increasing records-lag-max indicate?
  • Which AdminClient operation would you use to remove a topic when retiring it?
  • Which AdminClient operation would you use to inspect the configuration of a topic?
  • Which capability does MirrorMaker 2 provide to manage replication across clusters?
  • For KStream-to-KTable joins, what are the output type, windowing, co-partitioning, and join type?
  • What does fetch.message.max.bytes configure?
  • What is MirrorMaker 2, and how does it help with disaster recovery or cross-region data replication in Kafka?
  • Which statement about high watermark is true?
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy