Prepare Smarter for the CCAAK Exam
Build your exam confidence with flexible preparation resources designed around the latest CCAAK exam objectives. Practice at your own pace using PDF questions, online exam simulations, or desktop practice software.
You are using Confluent Schema Registry to provide a RESTful interface for storing and retrieving schemas.
Which types of schemas are supported? (Choose three.)
Correct Answer: A, C, E
Confluent Schema Registry supports the following schema types for use with Kafka:
Avro
Protobuf
JSON Schema
These schemas are officially supported for subject versioning, compatibility checks, and REST interface integration.
From Confluent documentation:
“The Confluent Schema Registry supports Avro, JSON Schema, and Protobuf formats.”
Incorrect Options:
gRPC is not supported as a schema format.
Thrift is not supported in Schema Registry.
Page Reference:
Confluent Kafka: The Definitive Guide, 1st Edition, Chapter 7, p. 208–210
Confluent Schema Registry Documentation: Overview Section (Schema Types)
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
In certain scenarios, it is necessary to weigh the trade-off between latency and throughput. One method to increase
throughput is to configure batching of messages.
In addition to batch.size, what other producer property can be used to accomplish this?
Correct Answer: B
The linger.ms property defines how long the producer will wait to fill up a batch before sending it. Combined with batch.size, it allows the producer to accumulate more messages, thus improving throughput.
From Kafka documentation:
“If batch.size is not yet reached, linger.ms causes the producer to wait for additional messages before sending the batch.”
A → send.buffer.bytes affects TCP socket size.
B → Correct: Improves batching by adding intentional delay.
C → Reduces bandwidth but not directly batching.
D → A timeout for message delivery, not related to batching.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 5, p. 162
Apache Kafka Documentation: Producer Config – linger.ms
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Why does Kafka use ZooKeeper? (Choose two.)
Correct Answer: A, D
Kafka uses ZooKeeper as its distributed coordination system. ZooKeeper helps manage cluster metadata and leader election.
A → Correct: Brokers retrieve leader/partition assignments from ZooKeeper.
D → Correct: ZooKeeper is used to elect the controller broker responsible for cluster-wide administrative tasks.
From Kafka documentation:
“ZooKeeper maintains metadata for Kafka, including broker registration and controller election.”
B → Incorrect: Broker scaling is not handled via ZooKeeper.
C → Incorrect: Replication across clusters is not related to ZooKeeper.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 6, p. 189–191
Apache Kafka Documentation: ZooKeeper Integration
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾
Which model does Kafka use for consumers?
Correct Answer: C
Kafka uses a pull model for consumers. The consumer polls the broker for available data. This contrasts with push models (used in traditional messaging systems), where the server pushes messages to consumers.
From Kafka documentation:
“Kafka’s consumers use a pull model, where the consumer requests messages from the broker at its own pace.”
A → Incorrect: Kafka does not push messages.
B → Incorrect: Kafka is a publish-subscribe system, but not the model used for message delivery to consumers.
C → Correct: Consumers explicitly pull messages.
D → Invalid in Kafka terminology.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 4, p. 126
Apache Kafka Documentation: Consumer Design Overview
What is the relationship between topics and partitions? (Choose two.)
Correct Answer: B, C
Kafka topics are logical streams of data, and each topic is split into one or more partitions. Each partition belongs to exactly one topic.
From Kafka documentation:
“A topic is a category of messages, split into partitions. Each partition is an ordered, immutable sequence of messages, and each belongs to only one topic.”
A → Incorrect: A topic can have more than one partition.
B → Correct: Kafka uses partitions to scale topics.
C → Correct: Partitions belong to exactly one topic.
D/E → Incorrect: Invalid Kafka data model.
Page Reference:
Kafka: The Definitive Guide, 1st Edition, Chapter 4, p. 121
Apache Kafka Documentation: Kafka Data Model Overview
‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾