CCDAK Exam Questions
220 real CCDAK exam questions with expert-verified answers and explanations. Page 1 of 5.
- Question #1Kafka Client Fundamentals
If I want to send binary data through the REST proxy to topic "test_binary", it needs to be base64 encoded. A consumer connecting directly into the Kafka topic
REST proxybase64 encodingbinary dataconsumer behavior - Question #2Application Design
Which is an optional field in an Avro record?
Avro schemaoptional fieldsschema structure - Question #3Developing Kafka Consumers
A consumer application is using KafkaAvroDeserializer to deserialize Avro messages. What happens if message schema is not present in AvroDeserializer local cache?
KafkaAvroDeserializerSchema Registryschema cacheAvro deserialization - Question #4Developing with Kafka Streams
Which of the following event processing application is stateless? (select two)
stateless processingstream processingevent transformationfiltering - Question #5Developing Kafka Consumers
A consumer starts and has auto.offset.reset=latest, and the topic partition currently has data for offsets going from 45 to 2311. The consumer group has committed the offset 643 fo...
auto.offset.resetcommitted offsetconsumer groupoffset management - Question #6Deployment and Troubleshooting
A Zookeeper ensemble contains 3 servers. Over which ports the members of the ensemble should be able to communicate in default configuration? (select three)
Zookeeperensemble portscluster configurationleader election port - Question #7Developing Kafka Producers
To get acknowledgement of writes to only the leader partition, we need to use the config...
producer acksleader acknowledgementacks=1 - Question #8Deployment and Troubleshooting
How will you find out all the partitions where one or more of the replicas for the partition are not in- sync with the leader?
kafka-topics.shunder-replicated partitionsCLI toolsISR - Question #9Kafka Client Fundamentals
If a topic has a replication factor of 3...
replication factorpartition distributionbroker replicas - Question #10Kafka Client Fundamentals
How do Kafka brokers ensure great performance between the producers and consumers? (select two)
zero-copy optimizationpage cachebroker performancemessage passthrough - Question #11Developing with Kafka Connect
What isn't an internal Kafka Connect topic?
Kafka Connectinternal topicsconnect-offsetsconnect-configs - Question #12Developing Kafka Producers
To enhance compression, I can increase the chances of batching by using
linger.msbatchingcompressionproducer configuration - Question #13Kafka Client Fundamentals
There are 3 producers writing to a topic with 5 partitions. There are 5 consumers consuming from the topic. How many Controllers will be present in the cluster?
Kafka controllercluster architecturebroker rolessingle controller - Question #14Developing with Kafka Streams
The exactly once guarantee in the Kafka Streams is for which flow of data?
exactly-once semanticsKafka StreamsEOSKafka-to-Kafka - Question #15Developing Kafka Consumers
We would like to be in an at-most once consuming scenario. Which offset commit strategy would you recommend?
at-most onceoffset commit strategydelivery semanticspre-processing commit - Question #16Developing Kafka Consumers
A topic receives all the orders for the products that are available on a commerce site. Two applications want to process all the messages independently - order fulfilment and monit...
consumer groupspartition assignmentindependent consumersoptimal resource usage - Question #17Developing with Kafka Streams
Which of the following Kafka Streams operators are stateful? (select all that apply)
stateful operatorsKafka Streamsaggregationreduce count join - Question #18Application Design
A bank uses a Kafka cluster for credit card payments. What should be the value of the property unclean.leader.election.enable?
unclean leader electiondata durabilitybroker failoverfinancial data integrity - Question #19Developing Kafka Producers
A kafka topic has a replication factor of 3 and min.insync.replicas setting of 1. What is the maximum number of brokers that can be down so that a producer with acks=all can still...
min.insync.replicasreplication factoracks=allfault tolerance - Question #20Application Design
I am producing Avro data on my Kafka cluster that is integrated with the Confluent Schema Registry. After a schema change that is incompatible, I know my data will be rejected. Whi...
Schema Registryschema compatibilityAvro evolutionincompatible schema - Question #21Developing with Kafka Streams
How will you read all the messages from a topic in your KSQL query?
KSQLauto.offset.resetoffset resetstream query - Question #22Developing with Kafka Connect
You want to sink data from a Kafka topic to S3 using Kafka Connect. There are 10 brokers in the cluster, the topic has 2 partitions with replication factor of 3. How many tasks wil...
Kafka ConnectS3 sink connectortask configurationpartition count - Question #23Developing Kafka Producers
Producing with a key allows to...
producer keypartitioningmessage routing - Question #24Developing Kafka Consumers
Select all the way for one consumer to subscribe simultaneously to the following topics - topic.history, topic.sports, topic.politics? (select two)
consumer subscribetopic patternmulti-topic subscriptionregex subscribe - Question #25Application Design
What isn't a feature of the Confluent schema registry?
schema registryAvroschema storagecompatibility rules - Question #26Developing Kafka Producers
Which of the following errors are retriable from a producer perspective? (select two)
retriable errorsNOT_ENOUGH_REPLICASNOT_LEADER_FOR_PARTITIONproducer error handling - Question #27Deployment and Troubleshooting
How will you find out all the partitions without a leader?
kafka-topics.shunavailable partitionspartition leadershipcluster inspection - Question #28Developing Kafka Consumers
Which actions will trigger partition rebalance for a consumer group? (select three)
consumer group rebalancepartition assignmentconsumer lifecyclerebalance triggers - Question #29Deployment and Troubleshooting
Kafka is configured with following parameters - log.retention.hours = 168 log.retention.minutes = 168 log.retention.ms = 168 How long will the messages be retained for?
log retentionconfiguration precedenceretention policybroker configuration - Question #30Developing Kafka Consumers
To read data from a topic, the following configuration is needed for the consumers
bootstrap serversconsumer configurationtopic subscription - Question #31Developing Kafka Consumers
How does a consumer commit offsets in Kafka?
offset commitgroup coordinator__consumer_offsetsoffset management - Question #32Application Design
In Java, Avro SpecificRecords classes are
AvroSpecificRecordcode generationMaven Gradle plugin - Question #33Developing Kafka Producers
A producer is sending messages with null key to a topic with 6 partitions using the DefaultPartitioner. Where will the messages be stored?
DefaultPartitionernull keysticky partitionerpartition assignment - Question #34Developing Kafka Consumers
A topic has three replicas and you set min.insync.replicas to 2. If two out of three replicas are not available, what happens when a consume request is sent to broker?
min.insync.replicasreplication factorconsumer read availabilityreplica failover - Question #35Application Design
In Avro, removing a field that does not have a default is a __ schema evolution
Avro schema evolutionforward compatibilityfield removaldefault values - Question #36Developing with Kafka Streams
An ecommerce website maintains two topics - a high volume "purchase" topic with 5 partitions and low volume "customer" topic with 3 partitions. You would like to do a stream-table...
GlobalKTablestream-table joinco-partitioningKafka Streams topology - Question #37Developing Kafka Producers
You are sending messages with keys to a topic. To increase throughput, you decide to increase the number of partitions of the topic. Select all that apply.
partition increasekeyed messagesdata redistributionpartitioning side effects - Question #38Developing with Kafka Streams
In Kafka Streams, by what value are internal topics prefixed by?
Kafka Streamsinternal topicsapplication.idtopic naming - Question #39Developing with Kafka Connect
You are using JDBC source connector to copy data from 3 tables to three Kafka topics. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. H...
JDBC source connectormax.taskstask allocationconnector workers - Question #40Developing Kafka Consumers
You are doing complex calculations using a machine learning framework on records fetched from a Kafka topic. It takes more about 6 minutes to process a record batch, and the consum...
max.poll.interval.msconsumer rebalancelong processingpoll timeout - Question #41Kafka Client Fundamentals
What data format isn't natively available with the Confluent REST Proxy?
REST Proxydata formatsProtobufAvro - Question #42Developing Kafka Consumers
The kafka-console-consumer CLI, when used with the default options
kafka-console-consumergroup.idCLIconsumer group - Question #43Developing with Kafka Streams
We have a store selling shoes. What dataset is a great candidate to be modeled as a KTable in Kafka Streams?
KTableKStreamdata modelingKafka Streams - Question #44Developing with Kafka Connect
When using plain JSON data with Connect, you see the following error messageorg.apache.kafka.connect.errors.DataExceptionJsonDeserializer with schemas.enable requires "schema" and...
Kafka ConnectJsonConverterschemas.enableconfiguration - Question #45Developing Kafka Consumers
To allow consumers in a group to resume at the previously committed offset, I need to set the proper value for...
consumer groupgroup.idoffset managementresume - Question #46Deployment and Troubleshooting
A Zookeeper ensemble contains 5 servers. What is the maximum number of servers that can go missing and the ensemble still run?
Zookeeperquorumfault toleranceensemble - Question #47Developing Kafka Consumers
A consumer sends a request to commit offset 2000. There is a temporary communication problem, so the broker never gets the request and therefore never responds. Meanwhile, the cons...
offset commitcommitAsyncat-least-onceconsumer fault tolerance - Question #48Application Design
Your topic is log compacted and you are sending a message with the key K and value null. What will happen?
log compactiontombstonenull valuekey deletion - Question #49Application Design
How often is log compaction evaluated?
log compactionsegmentcleanup policylog retention - Question #50Security
A producer application in a developer machine was able to send messages to a Kafka topic. After copying the producer application into another developer's machine, the producer is a...
Kafka ACLauthorizationproducer securityaccess control