CCDAK Exam Questions
220 real CCDAK exam questions with expert-verified answers and explanations. Page 3 of 5.
- Question #101Developing Kafka Producers
What exceptions may be caught by the following producer? (select two) ProducerRecord<String, String> record = new ProducerRecord<>("topic1", "key1", "value1"); try { producer.send(...
producer exceptionsSerializationExceptionBufferExhaustedExceptionsync vs async send - Question #102Developing Kafka Producers
You want to send a message of size 3 MB to a topic with default message size configuration. How does KafkaProducer handle large messages?
message size limitmax.request.sizeMessageSizeTooLargeproducer configuration - Question #103Deployment and Troubleshooting
What happens when broker.rack configuration is provided in broker configuration in Kafka cluster?
broker.rackrack awarenessreplica placementfault tolerance - Question #104Developing Kafka Consumers
A consumer is configured with enable.auto.commit=false. What happens when close() is called on the consumer object?
enable.auto.commitconsumer closerebalance triggerconsumer group - Question #105Developing Kafka Consumers
Two consumers share the same group.id (consumer group id). Each consumer will
consumer grouppartition assignmentgroup.idmutual exclusion - Question #106Deployment and Troubleshooting
How will you set the retention for the topic named my-topic to 1 hour?
retention.mstopic-level configlog retentiontopic management - Question #107Kafka Client Fundamentals
What's is true about Kafka brokers and clients from version 0.10.2 onwards?
version compatibilitybackward compatibilitybroker-client protocolAPI versioning - Question #108Kafka Client Fundamentals
If I want to send binary data through the REST proxy, it needs to be base64 encoded. Which component needs to encode the binary data into base 64?
REST proxybase64 encodingbinary dataproducer responsibility - Question #109Kafka Client Fundamentals
What is true about replicas ?
leader replicafollower replicaproduce requestsconsume requests - Question #110Deployment and Troubleshooting
A topic "sales" is being produced to in the Americas region. You are mirroring this topic using Mirror Maker to the European region. From there, you are only reading the topic for...
MirrorMakerActive-Passive replicationcross-regiondisaster recovery - Question #111Security
There are five brokers in a cluster, a topic with 10 partitions and replication factor of 3, and a quota of producer_bytes_rate of 1 MB/sec has been specified for the client. What...
producer quotaproducer_bytes_ratethroughput calculationquota per broker - Question #112Development
In Avro, adding an element to an enum without a default is a __ schema evolution
Avro schema evolutionenum breaking changeschema compatibilitySchema Registry - Question #113Deployment and Troubleshooting
A Zookeeper configuration has tickTime of 2000, initLimit of 20 and syncLimit of 5. What's the timeout value for followers to connect to Zookeeper?
Zookeeper configurationtickTimeinitLimitfollower timeout - Question #114Developing with Kafka Connect
To continuously export data from Kafka into a target database, I should use
Kafka ConnectSink connectordata exportETL pipeline - Question #115Kafka Client Fundamentals
In Kafka, every broker... (select three)
broker metadatabootstrap brokerpartition distributioncluster architecture - Question #116Security
Where are the ACLs stored in a Kafka cluster by default?
ACLsauthorization storageKRaft metadatasecurity configuration - Question #117Developing with Kafka Streams
Is KSQL ANSI SQL compliant?
KSQLSQL complianceksqlDBstream SQL - Question #118Deployment and Troubleshooting
What information isn't stored inside of Zookeeper? (select two)
ZooKeeper metadataconsumer offsets storageSchema Registry storagemetadata architecture - Question #119Developing with Kafka Streams
Which KSQL queries write to Kafka?
KSQL persistent queriesCREATE STREAM AS SELECTCREATE TABLE AS SELECTKafka writes - Question #120Developing Kafka Consumers
There are two consumers C1 and C2 belonging to the same group G subscribed to topics T1 and T2. Each of the topics has 3 partitions. How will the partitions be assigned to consumer...
RoundRobinAssignerpartition assignmentmulti-topic consumer groupconsumer rebalancing - Question #121Kafka Client Fundamentals
A client connects to a broker in the cluster and sends a fetch request for a partition in a topic. It gets an exception Not Leader For Partition Exception in the response. How does...
metadata requestpartition leaderNotLeaderForPartitionclient error handling - Question #122Developing Kafka Producers
What is the risk of increasing max.in.flight.requests.per.connection while also enabling retries in a producer?
max.in.flight.requests.per.connectionretriesmessage orderingproducer configuration - Question #123Developing Kafka Producers
A Kafka producer application wants to send log messages to a topic that does not include any key. What are the properties that are mandatory to configure for the producer configura...
bootstrap.serverskey.serializervalue.serializerrequired producer properties - Question #124Developing with Kafka Connect
To import data from external databases, I should use
Kafka Connect Sourcedata ingestionexternal databaseconnector - Question #125Developing with Kafka Streams
You are running a Kafka Streams application in a Docker container managed by Kubernetes, and upon application restart, it takes a long time for the docker container to replicate th...
RocksDB state storepersistent volumeKubernetesstate recovery - Question #126Application Design
What client protocol is supported for the schema registry? (select two)
schema registryHTTPHTTPSclient protocol - Question #127Deployment and Troubleshooting
If I produce to a topic that does not exist, and the broker setting auto.create.topic.enable=true, what will happen?
auto.create.topics.enablebroker configurationnum.partitionsdefault.replication.factor - Question #128Developing with Kafka Streams
You want to perform table lookups against a KTable everytime a new record is received from the KStream. What is the output of KStream-KTable join?
KStream-KTable joinjoin output typestream processing - Question #129Developing with Kafka Streams
What is an adequate topic configuration for the topic word-count-output? StreamsBuilder builder = new StreamsBuilder(); KStream<String, String> textLines = builder.stream("word-cou...
cleanup.policy=compactKTable changelog topictopic configurationlog compaction - Question #130Developing with Kafka Streams
Select the Kafka Streams joins that are always windowed joins.
windowed joinKStream-KStream joinstream joinsjoin types - Question #131Developing Kafka Consumers
There are 3 producers writing to a topic with 5 partitions. There are 10 consumers consuming from the topic as part of the same group. How many consumers will remain idle?
consumer grouppartition assignmentidle consumersconsumer scaling - Question #132Application Design
To transform data from a Kafka topic to another one, I should use
Kafka Streamstopic transformationuse case selectionstream processing - Question #133Kafka Client Fundamentals
What is true about partitions? (select two)
partition replicasleader replicafollower replicaspartition distribution - Question #134Deployment and Troubleshooting
You have a Zookeeper cluster that needs to be able to withstand the loss of 2 servers and still be able to function. What size should your Zookeeper cluster have?
Zookeeper quorumfault tolerancecluster sizinghigh availability - Question #135Developing Kafka Producers
A kafka topic has a replication factor of 3 and min.insync.replicas setting of 2. How many brokers can go down before a producer with acks=all can't produce?
min.insync.replicasacks=allreplication factorbroker failure tolerance - Question #136Developing Kafka Consumers
In the Kafka consumer metrics it is observed that fetch-rate is very high and each fetch is small. What steps will you take to increase throughput?
fetch.min.bytesconsumer throughputfetch configurationconsumer tuning - Question #137Application Design
When using the Confluent Kafka Distribution, where does the schema registry reside?
schema registryConfluent distributionJVM componentdeployment architecture - Question #138Application Design
Compaction is enabled for a topic in Kafka by setting log.cleanup.policy=compact. What is true about log compaction?
log compactioncleanup.policy=compactmessage retentionkey-based compaction - Question #139Developing Kafka Producers
When is the onCompletion() method called? private class ProducerCallback implements Callback { @Override public void onCompletion(RecordMetadata recordMetadata, Exception e) { if (...
producer callbackonCompletionasync sendbroker acknowledgment - Question #140Application Design
Using the Confluent Schema Registry, where are Avro schema stored?
schema registryAvro schema_schemas topicschema storage - Question #141Developing Kafka Producers
Which of the following setting increases the chance of batching for a Kafka Producer?
linger.msbatchingproducer throughputproducer configuration - Question #142Deployment and Troubleshooting
You have a Kafka cluster and all the topics have a replication factor of 3. One intern at your company stopped a broker, and accidentally deleted all the data of that broker on the...
replication factorbroker recoverydata replicationfault tolerance - Question #143Developing Kafka Producers
Select all that applies (select THREE)
acksmin.insync.replicasproducer settingstopic settings - Question #144Application Design
A customer has many consumer applications that process messages from a Kafka topic. Each consumer application can only process 50 MB/s. Your customer wants to achieve a target thro...
partitionsconsumer throughputcapacity planningscalability - Question #145Developing Kafka Producers
Your producer is producing at a very high rate and the batches are completely full each time. How can you improve the producer throughput? (select two)
compressionbatch.sizeproducer throughputperformance tuning - Question #146Application Design
In Avro, adding a field to a record without default is a __ schema evolution
Avroschema evolutionforward compatibilitySchema Registry - Question #147Developing Kafka Consumers
A consumer wants to read messages from a specific partition of a topic. How can this be achieved?
assign()TopicPartitionmanual partition assignmentconsumer API - Question #148Developing Kafka Producers
If I want to have an extremely high confidence that leaders and replicas have my data, I should use
acks=allmin.insync.replicasreplication factordurability - Question #149Deployment and Troubleshooting
Where are the dynamic configurations for a topic stored?
ZooKeeperdynamic configurationtopic configurationbroker metadata - Question #150Developing with Kafka Connect
You are using JDBC source connector to copy data from 2 tables to two Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How...
max.tasksJDBC source connectortask allocationworkers