Confluent CCAAK Certified Administrator for Apache Kafka Exam Practice Test

Page: 1 / 14
Total 54 questions
Question 1

Per customer business requirements, a system's high availability is more important than message reliability.

Which of the following should be set?



Answer : A

Enabling unclean leader election allows Kafka to elect a non-in-sync replica as leader if all in-sync replicas are unavailable. This sacrifices message reliability (possible data loss) in favor of high availability, aligning with the requirement.


Question 2

Which ksqlDB statement produces data that is persisted into a Kafka topic?



Answer : C

INSERT VALUES is used to write data directly into a Kafka topic through a ksqlDB stream or table. This data is persisted.


Question 3

Which of the following are Kafka Connect internal topics? (Choose three.)



Answer : A, C, E

connect-configs stores connector configurations.

connect-status tracks the status of connectors and tasks (e.g., RUNNING, FAILED).

connect-offsets stores source connector offsets for reading from external systems.


Question 4

Where are Apache Kafka Access Control Lists stored'?



Answer : B

In Apache Kafka (open-source), Access Control Lists (ACLs) are stored in ZooKeeper. Kafka brokers retrieve and enforce ACLs from ZooKeeper at runtime.


Question 5

You have an existing topic t1 that you want to delete because there are no more producers writing to it or consumers reading from it.

What is the recommended way to delete the topic?



Answer : A

The recommended and safe method to delete a topic is to use the Kafka CLI tool kafka-topics.sh --delete command, provided that delete.topic.enable=true is set on the brokers.


Question 6

By default, what do Kafka broker network connections have?



Answer : A

By default, Kafka brokers use the PLAINTEXT protocol for network communication. This means:

No encryption -- data is sent in plain text.

No authentication -- any client can connect without verifying identity.

No authorization -- there are no access control checks by default.

Security features like TLS, SASL, and ACLs must be explicitly configured.


Question 7

A company is setting up a log ingestion use case where they will consume logs from numerous systems. The company wants to tune Kafka for the utmost throughput.

In this scenario, what acknowledgment setting makes the most sense?



Answer : A

acks=0 provides the highest throughput because the producer does not wait for any acknowledgment from the broker. This minimizes latency and maximizes performance.

However, it comes at the cost of no durability guarantees --- messages may be lost if the broker fails before writing them. This setting is suitable when throughput is critical and occasional data loss is acceptable, such as in some log ingestion use cases where logs are also stored elsewhere.


Page:    1 / 14   
Total 54 questions