CCAAK Exam Questions
116 real CCAAK exam questions with expert-verified answers and explanations. Page 2 of 3.
- Question #52Managing Brokers and Clusters
In a Kafka cluster, when the broker running the controller thread fails, which broker will become the new controller?
controller electionZooKeeper ephemeral nodebroker failureleader failover - Question #53Apache Kafka Security
A corporate requirement exists that all data is to be protected on any system where it exists. What steps would you take, as a Kafka Administrator, to protect the data at rest in a...
data at restencryptionencrypted file systemproducer-side encryption - Question #54Ensuring Data Reliability and Durability
When a message is committed on a partition, the leader will advance which of the following?
high water markpartition commitleader replicamessage offset - Question #55Apache Kafka Fundamentals
Which model does Kafka use for consumers?
consumer modelpull-basedmessage consumption - Question #56Apache Kafka Fundamentals
You notice that consumers of Topic X are starting to fall behind. - Topic X has four partitions - The consumer group has two consumers Which change will increase the performance of...
consumer groupconsumer lagpartition parallelismthroughput tuning - Question #57Managing Topics, Partitions, and Replicas
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 topi...
topic deletionKafka CLItopic managementdelete.topic.enable - Question #58Apache Kafka Fundamentals
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...
linger.msproducer batchingthroughputbatch.size - Question #59Deployment Architecture
Your organization has a mission-critical Kafka cluster that must be highly available. A Disaster Recovery (DR) cluster has been set up using Replicator, and data is continuously be...
ReplicatorDR clusteroffset mismatchdisaster recovery - Question #60Managing Topics, Partitions, and Replicas
You are managing a cluster with a large number of topics, and each topic has a lot of partitions. A team wants to significantly increase the number of partitions for some topics. W...
partition scalingopen file descriptorsbroker capacityfile handle limits - Question #61Apache Kafka Security
How can authentication for both internal component traffic and external client traffic be accomplished?
multiple listenersauthenticationsecurity protocolsinternal vs external traffic - Question #62Troubleshooting
You have a Kafka cluster with topics t1 and t2. In the output below, topic t2 shows Partition 1 with a leader "-1". What is the most likely reason for this? ... $ kafka-topics --zo...
partition leader -1broker failureunder-replicated partitionskafka-topics describe - Question #63Apache Kafka Fundamentals
What is the atomic unit of data in Kafka?
messageKafka data modelatomic unitfundamentals - Question #64Apache Kafka Security
A company has an existing Kafka cluster running without SSL/TLS enabled. The customer wants to enable SSL on brokers to secure data in transit, but they would like to give applicat...
SSL/TLSlistener configurationmigration strategydata in transit - Question #65Kafka Connect
Kafka Connect is running on a two node cluster in distributed mode. The connector is a source connector that pulls data from Postgres tables (users/payment/orders), writes to topic...
tasks.maxsource connectordistributed modedata lag - Question #66Installation and Configuration
Which property in broker configuration specifies that a broker belongs to a particular rack?
broker.rackrack awarenessbroker configurationplacement - Question #67Apache Kafka Fundamentals
Which tool is used for scalably and reliably streaming data between Kafka and other data systems?
Kafka Connectdata integrationexternal systemsstreaming - Question #68Managing Brokers and Clusters
What is the primary purpose of Kafka quotas?
quotasthrottlingbroker resourcesclient management - Question #69Ensuring Data Reliability and Durability
What does Kafka replication factor provide? (Choose two.)
replication factordurabilityavailabilityfault tolerance - Question #70Apache Kafka Security
Which out-of-the-box Kafka Authorizer implementation uses ZooKeeper?
ACLsZooKeeperauthorizationKafka Authorizer - Question #71Apache Kafka Fundamentals
A message written to a Kafka topic results in the creation of a new online shopping order. What is the best method to update the order when a new message is received by Kafka conta...
message immutabilityproducer designevent-drivenorder status - Question #72Apache Kafka Fundamentals
Several applications are producing messages with different compression formats to a single Kafka topic that has multiple partitions. How will consuming applications become aware of...
compressionmessage headersproducermulti-format topics - Question #73Apache Kafka Fundamentals
On rebalance, calculation of the partition assignment to the Consumer Group members is delegated to which Consumer Group entity?
consumer group rebalancegroup leaderpartition assignmentgroup coordinator - Question #74Managing Brokers and Clusters
You need to perform a rolling restart of a Kafka cluster. What are two major considerations to avoid downtime? (Choose two.)
rolling restartin-sync replicasavailabilitybroker management - Question #75Managing Brokers and Clusters
What are two benefits of gracefully shutting down brokers? (Choose two.)
graceful shutdownlog syncleader migrationbroker lifecycle - Question #76Managing Topics, Partitions, and Replicas
You manage a cluster with a large number of topics, and each topic has many partitions. You need to significantly increase the number of partitions for some topics. What should you...
partition limitsbroker capacity4000 partitionstopic scaling - Question #77Apache Kafka Security
Which three Simple Authentication and Security Layer (SASL) mechanisms for authentication does a Kafka broker support? (Choose three.)
SASLGSSAPIOAUTHBEARERauthentication mechanisms - Question #78Troubleshooting
You are managing a Kafka cluster and notice that a producer is encountering a 'NotEnoughReplicas' exception. What is the reason for the 'NotEnoughReplicas' exception?
NotEnoughReplicasISRproducer acksreplication - Question #79Deployment Architecture
Which factor is important for scaling a Kafka cluster to handle increasing data throughput?
partitionsthroughput scalingcluster capacityhorizontal scaling - Question #80Kafka Connect
Which does the GET /connectors/(string: name)status endpoint return?
Connect REST APIconnector statusworker assignmentmonitoring - Question #81Kafka Connect
You manage Kafka Connect clusters and use the Kafka Connect REST API to monitor the status of various connectors and their tasks. You also restart connectors and update configurati...
Kafka Connect REST APIconnector statusconnector monitoringtask status - Question #82Kafka Connect
You are deploying Kafka Connect in a production environment that requires high availability and the ability to scale with increasing data volume. Which worker type should you choos...
Kafka Connectdistributed modehigh availabilityscalability - Question #83Apache Kafka Security
You are responsible for securing a Kafka cluster that handles sensitive financial data. You want to ensure that all data is encrypted while it is being transmitted between clients...
SSL/TLSinter-broker encryptionlistener configurationdata in transit - Question #84Apache Kafka Fundamentals
An Apache Kafka® cluster has a topic named T1 with a mix of compressed and uncompressed messages. Which condition allows this?
message compressionproducer configurationtopic compressionmixed messages - Question #85Monitoring and Operations
Which metrics should be set to zero to ensure a healthy Kafka cluster and data consistency?
cluster health metricsunder-replicated partitionsISR shrink rateoffline partitions - Question #86Managing Brokers and Clusters
Which operation requires a broker to restart?
dynamic configurationlistener managementbroker restartbroker configuration - Question #87Installation and Configuration
You are setting up a new Kafka cluster using KRaft mode. You need to start up the Kafka cluster in the correct order to avoid startup issues. Which sequence should you use to start...
KRaft modestartup sequencecontrollersbrokers - Question #88Apache Kafka Fundamentals
Which type of model does Kafka use for consumers to retrieve messages?
consumer modelpull modelmessage consumption - Question #89Troubleshooting
When attempting to read from a subscribed topic, a consumer application is not seeing produced messages. Which of the following could be the cause? (Choose two.)
consumer troubleshootingconsumer rebalancingacks configurationconsumer offsets - Question #90Apache Kafka Fundamentals
Kafka Streams applications can add extra load to the Kafka cluster even though stream processing doesn't take place on the Kafka cluster itself. Which of the following increase the...
Kafka Streamsinternal topicschangelog topicsbroker load - Question #91Ensuring Data Reliability and Durability
Which of the following is not true about the In-Sync Replica list?
ISRin-sync replicasreplicationleader election - Question #92Managing Topics, Partitions, and Replicas
A group of five consumers is consuming a topic with 10 partitions. You notice that the consumer group is not catching up with the rate of messages produced in the topic. You need t...
consumer groupthroughputconsumer scalingpartition assignment - Question #94Ensuring Data Reliability and Durability
You need to design a Kafka cluster that can tolerate the failure of up to two brokers without data loss. Which two factors should you consider when configuring your Kafka cluster?...
fault tolerancereplication factormin.insync.replicasbroker failure - Question #95Troubleshooting
You manage a Kafka cluster and notice that a specific topic continues to receive messages after the known producer has stopped. You suspect there is an unknown producer still sendi...
request loggingproducer identificationlog4j configurationtroubleshooting producers - Question #97Deployment Architecture
You are deploying an Apache Kafka® cluster to ensure high availability and fault tolerance. Which deployment pattern should you choose to achieve this?
high availabilityfault tolerancereplication factormulti-datacenter deployment - Question #98Apache Kafka Security
You use Kafka deployed on-premises to keep track of inventory and item availability. Since Kafka is running on-premises and is in a private network, data is transmitted in plain te...
cloud migrationSSL encryptionencryption at restsecurity hardening - Question #99Ensuring Data Reliability and Durability
Your company's best practices dictate that there is no single point of failure for all data stored. What should you do to comply with this best practice when creating Kafka topics?
replication factorfault tolerancetopic configurationdata durability - Question #100Installation and Configuration
You need to configure 'process.roles' in a Kafka cluster running in KRaft mode. Which two configurations will ensure proper metadata management and broker operations? (Choose two.)
KRaft modeprocess.rolescontroller configurationmetadata management - Question #101Apache Kafka Security
You run a large Kafka cluster on a well-known public cloud that uses the cloud provider's native filesystem encryption to encrypt data at rest. The brokers in this cluster authenti...
PII dataSSL encryptiondedicated clustermulti-tenancy - Question #102Managing Topics, Partitions, and Replicas
What are two valid Kafka topic cleanup policies? (Choose two.)
cleanup.policylog compactionlog deletiontopic configuration - Question #103Managing Brokers and Clusters
How does Kafka achieve high availability?
high availabilityleader electionbroker failurepartition leadership