Free CCAAK Exam Braindumps
Confluent Certified Administrator for Apache Kafka Questions 16–20 (page: 5)

Updated On: 10-Feb-2026

You want to increase Producer throughput for the messages it sends to your Kafka cluster by tuning the batch size (`batch size') and the time the Producer waits before sending a batch (`linger.ms').
According to best practices, what should you do?

  1. Decrease `batch.size' and decrease `linger.ms'
  2. Decrease `batch.size' and increase `linger.ms'
  3. Increase `batch.size' and decrease `linger.ms'
  4. Increase `batch.size' and increase `linger.ms'

Answer(s): D

Explanation:

Increasing batch.size allows the producer to accumulate more messages into a single batch, improving compression and reducing the number of requests sent to the broker. Increasing linger.ms gives the producer more time to fill up batches before sending them, which improves batching efficiency and throughput.
This combination is a best practice for maximizing throughput, especially when message volume is high or consistent latency is not a strict requirement.



When using Kafka ACLs, when is the resource authorization checked?

  1. Each time the resource is accessed.
  2. The initial time the resource is accessed.
  3. Each time the resource is accessed within the configured authorization interval.
  4. When the client connection is first established.

Answer(s): A

Explanation:

Kafka ACLs (Access Control Lists) perform authorization checks every time a client attempts to access a resource (e.g., topic, consumer group). This ensures continuous enforcement of permissions, not just at connection time or intervals. This approach provides fine-grained security, preventing unauthorized actions at any time during a session.



An employee in the reporting department needs assistance because their data feed is slowing down. You start by quickly checking the consumer lag for the clients on the data stream.
Which command will allow you to quickly check for lag on the consumers?

  1. bin/kafka-consumer-lag.sh
  2. bin/kafka-consumer-groups.sh
  3. bin/kafka-consumer-group-throughput.sh
  4. bin/kafka-reassign-partitions.sh

Answer(s): B

Explanation:

The kafka-consumer-groups.sh script is used to inspect consumer group details, including consumer lag, which indicates how far behind a consumer is from the latest data in the partition. The typical usage is bin/kafka-consumer-groups.sh --bootstrap-server <broker> --describe --group <group_id>



What are benefits to gracefully shutting down brokers? (Choose two.)

  1. It will sync all its logs to disk to avoid needing to do any log recovery when it restarts.
  2. It will migrate any partitions the server is the leader for to other replicas prior to shutting down.
  3. It will automatically re-elect leaders on restart.
  4. It will balance the partitions across brokers before restarting.

Answer(s): A,B

Explanation:

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.



How does Kafka guarantee message integrity after a message is written on a disk?

  1. A message can be edited by the producer, producing to the message offset.
  2. A message cannot be altered once it has been written.
    C A message can be grouped with message sharing the same key to improve read performance
  3. Only message metadata can be altered using command line (CLI) tools.

Answer(s): B

Explanation:

Kafka ensures message immutability for data integrity. Once a message is written to a Kafka topic and persisted to disk, it cannot be modified. This immutability guarantees that consumers always receive the original message content, which is critical for auditability, fault tolerance, and data reliability.



Viewing page 5 of 12
Viewing questions 21 - 25 out of 130 questions


Post your Comments and Discuss Confluent CCAAK exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!