CCAAK Exam Questions
116 real CCAAK exam questions with expert-verified answers and explanations. Page 1 of 3.
- Question #1Apache Kafka Fundamentals
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 ba...
producer throughputbatch.sizelinger.msproducer tuning - Question #2Apache Kafka Security
When is the resource authorization checked while using Kafka ACLs?
Kafka ACLsresource authorizationaccess control - Question #3Monitoring and Troubleshooting
An employee in the reporting department needs assistance because their data feed is slowing down. You need to check the consumer lag for the clients on the data stream. Which comma...
consumer lagkafka-consumer-groups.shconsumer monitoring - Question #4Managing Brokers and Clusters
What are benefits to gracefully shutting down brokers? (Choose two.)
graceful shutdownbroker shutdownleader migrationlog sync - Question #5Ensuring Data Reliability and Durability
How does Kafka guarantee message integrity after a message is written on a disk?
message immutabilitylog integrityKafka guarantees - Question #6Managing Topics, Partitions, and Replicas
Which option is a valid Kafka Topic cleanup policy? (Choose two.)
cleanup policytopic compactiontopic deletion - Question #7Apache Kafka Security
What is the correct permission check sequence for Kafka ACLs?
ACL permission sequencesuper usersdeny ACLallow ACL - Question #8Apache Kafka Fundamentals
The Consumer property 'auto offset reset' determines what to do if there is no valid offset for a Consumer Group. Which scenario is an example of a valid offset and therefore the '...
auto.offset.resetconsumer offsetlog compactionconsumer group - Question #9Apache Kafka Fundamentals
Which ksqlDB statement produces data that is persisted into a Kafka topic?
ksqlDBINSERT VALUEStopic persistenceksqlDB statements - Question #10Managing Brokers and Clusters
A broker in the Kafka cluster is currently acting as the Controller. Which statement is correct?
Kafka Controllerbroker rolespartition leadership - Question #11Fundamentals of Kafka and Confluent Platform
Why does Kafka use ZooKeeper? (Choose two.)
ZooKeepercontroller electionpartition metadata - Question #12Deployment Architecture
What are important factors in sizing a ksqlDB cluster? (Choose three.)
ksqlDB sizingquery countpartition countdata schema - Question #13Apache Kafka Security
Where are Apache Kafka Access Control Lists stored'?
ACL storageZooKeeperaccess control lists - Question #14Ensuring Data Reliability and Durability
A developer is working for a company with internal best practices that dictate that there is no single point of failure for all data stored. What is the best approach to make sure...
replication factorfault toleranceno single point of failuretopic creation - Question #15Apache Kafka Fundamentals
What is the primary feature in Kafka that allows for scalability and parallelism by dividing incoming data into smaller manageable units, enabling high throughput and allowing data...
partitionsscalabilityparallelismthroughput - Question #16Monitoring and Troubleshooting
You use Kafka to process financial transactions in real time. All clients that interact with Kafka must set a descriptive 'clientID', use 'acks=all', and enable compression. A revi...
authentication failureclientIDrequest loggerkafka-request.log - Question #17Managing Brokers and Clusters
Your cluster is experiencing increased produce and consume traffic. To ensure the Kafka cluster can handle the load, you add more brokers to the cluster. You need to ensure the new...
broker scalingpartition rebalancingpartition increasecluster expansion - Question #18Apache Kafka Fundamentals
You want to increase producer throughput for messages sent to your Kafka cluster by tuning the properties 'batch.size' and 'linger.ms'. According to best practices, what should you...
producer throughputbatch.sizelinger.msproducer tuning - Question #19Apache Kafka Fundamentals
What is the relationship between a broker and a topic?
broker-topic relationshippartitionsdata distribution - Question #20Monitoring and Troubleshooting
You work for a ride hailing company using Kafka to get real-time location updates from customers and drivers. You need to collect Kafka metrics to better understand the health and...
JMXKafka metricsmonitoring setupJMX_PORT - Question #21Apache Kafka Security
Your Kafka team needs to implement authentication and authorization via SSL/TLS for all clients. Even communication between the Kafka brokers should be encrypted. You must determin...
inter-broker SSLsecurity.inter.broker.protocolSSL/TLSbroker encryption - Question #22Troubleshooting
While managing a Kafka cluster, you notice that a producer fails to send messages to a Kafka topic. The logs show an error: 'org.apache.kafka.common.errors.RecordTooLargeException'...
RecordTooLargeExceptionmax.message.bytesproducer errormessage size - Question #24Managing Brokers and Clusters
Which action does the Kafka Controller take regarding leadership of the broker's partitions when a Kafka broker fails?
Kafka Controllerleader electionbroker failurepartition leadership - Question #25Troubleshooting
You need to identify corrupt records in the partition log segments messages that your consumer cannot handle. Which tool can you use to decode Kafka log segments to review individu...
kafka-dump-loglog segmentscorrupt recordsmessage inspection - Question #26Managing Brokers and Clusters
You are performing an in-place upgrade of an Apache Kafka® cluster and the inter.broker.protocol.version (IBP) must be updated. You need to complete the update and ensure a smooth...
cluster upgradeinter.broker.protocol.versionrolling upgradeIBP - Question #27Apache Kafka Security
You are setting up a Kafka cluster using KRaft mode and need to ensure that only specific users have permissions to create and manage topics. Which three actions are necessary when...
ACLsKRaft modeStandardAuthorizersuper.users - Question #28Ensuring Data Reliability and Durability
You have a mission-critical Kafka cluster that must be highly available. A Disaster Recovery (DR) cluster is using MirrorMaker and data is continuously replicated from the source c...
MirrorMakerdisaster recoveryoffset mappingreplication - Question #29Monitoring and Troubleshooting
Your company uses a Kafka cluster with end-to-end encryption to process payments and financial transactions in real time. The Kafka cluster is slowing as you onboard new customers...
CPU utilizationdisk I/OSSL overheadperformance metrics - Question #30Monitoring and Troubleshooting
You are running a producer application that is writing messages to a Kafka topic named order_updated. Topic is created with 10 partitions and replication factor of 3. After monitor...
ResponseSendTimeMsResponseQueueTimeMsrequest latencyproducer metrics - Question #31Apache Kafka Fundamentals
You are designing a Kafka-based application to process real-time data. Your application needs to separate incoming sensor data into categories such as 'Temperature Readings', 'Pres...
topicsdata categoriesKafka architecturepartitioning - Question #32Managing Brokers and Clusters
For a Kafka cluster running in KRaft mode, how is a new controller leader elected after an existing controller leader dies?
KRaft modeRaft quorumcontroller electionleader election - Question #33Apache Kafka Security
You need to create ACLs for an application that will produce to any topic that uses a prefix 'updated-working-hours-for-store-id-'. You have the following security requirements: -...
ACLstopic prefixkafka-aclsproducer permissions - Question #34Kafka Connect
Kafka Connect is running on a two-node cluster in distributed mode. The connector: - Is a source connector pulling data from relational database tables (users/payment/orders) - Wri...
tasks.maxsource connectordata lagJDBC connector - Question #35Kafka Connect
You are integrating Kafka with a relational database to capture changes in real time. Which component should you use for this task?
Kafka Connectdatabase integrationsource connectorCDC - Question #36Monitoring and Troubleshooting
You notice increased latency and occasional connectivity issues between Kafka brokers and clients. You suspect the network configuration might be the cause. You need to resolve the...
JMX metricsnetwork latencybroker connectivitytroubleshooting - Question #37Managing Brokers and Clusters
You are responsible for the operation and performance tuning of a Kafka cluster. This Kafka cluster handles a variety of workloads including real-time transaction processing, large...
compressionmin.insync.replicasbuffer.memorythroughput tuning - Question #38Managing Brokers and Clusters
You manage a Kafka cluster in KRaft mode deployed across multiple data centers. You observed intermittent issues where brokers are frequently leaving the cluster and reconnecting....
broker.session.timeout.msKRaft modecluster stabilitybroker reconnection - Question #39Kafka Connect
You manage a Kafka Connect cluster with several source and sink connectors. A source connector that reads data from an external system encounters an issue and needs to reset is off...
offset resetREST APIsource connectorreprocessing - Question #40Apache Kafka Security
By default, what do Kafka broker network connections have?
default securityno encryptionno authenticationno authorization - Question #41Kafka Connect
Which of the following are Kafka Connect internal topics? (Choose three.)
Kafka Connectinternal topicsconnect-configsconnect-offsets - Question #42Fundamentals of Kafka and Confluent Platform
You are using Confluent Schema Registry to provide a RESTful interface for storing and retrieving schemas. Which types of schemas are supported? (Choose three.)
Schema RegistryAvroProtobufJSON Schema - Question #43Managing Brokers and Clusters
Multiple clients are sharing a Kafka cluster. As an administrator, how would you ensure that Kafka resources are distributed fairly to all clients?
quotasresource managementmulti-tenancyclient throttling - Question #44Ensuring Data Reliability and Durability
A customer has a use case for a ksqlDB persistent query. You need to make sure that duplicate messages are not processed and messages are not skipped. Which property should you use...
ksqlDBexactly-onceprocessing guaranteesdeduplication - Question #45Monitoring and Troubleshooting
If a broker's JVM garbage collection takes too long, what can occur?
JVM garbage collectionZooKeeper session timeoutbroker failureGC pause - Question #46Managing Brokers and Clusters
You are managing a Kafka cluster with five brokers (broker id '0', '1','2','3','4') and three ZooKeepers. There are 100 topics, five partitions for each topic, and replication fact...
controller electionZooKeeper ephemeral nodeepoch numbersplit brain - Question #47Managing Brokers and Clusters
When a broker goes down, what will the Controller do?
controllerleader electionbroker failurepartition leadership - Question #48Fundamentals of Kafka and Confluent Platform
Which technology can be used to perform event stream processing? (Choose two.)
Kafka StreamsksqlDBstream processingConfluent Platform - Question #49Apache Kafka Fundamentals
How can load balancing of Kafka clients across multiple brokers be accomplished?
partitionsload balancingclient distributionscalability - Question #50Ensuring Data Reliability and Durability
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, wh...
acks=0producer throughputacknowledgmentlog ingestion - Question #51Managing Brokers and Clusters
Your Kafka cluster has four brokers. The topic t1 on the cluster has two partitions, and it has a replication factor of three. You create a Consumer Group with four consumers, whic...
controllersingle controllerKafka clusterbroker roles