CCDAK Exam Questions
220 real CCDAK exam questions with expert-verified answers and explanations. Page 4 of 5.
- Question #151Kafka Client Fundamentals
You need to consume messages from Kafka using the command-line interface (CLI). Which command should you use?
kafka-console-consumerCLI toolsmessage consumption - Question #152Monitoring
You are experiencing low throughput from a Java producer. You monitor the Kafka metrics and notice that the metrics for that producer show low I/O thread ratio and low I/O thread w...
producer metricsI/O thread ratiocallback performancethroughput diagnosis - Question #153Developing with Kafka Connect
Which configuration is valid for deploying a JDBC Source Connector to read all the rows from orders table and write it to db1-orders topic?
JDBC source connectorconnector configurationtopic mappingtable ingestion - Question #154Developing with Kafka Streams
You are developing a Kafka Streams application with a complex topology that has multiple sources, processors, sinks, and sub-topologies. You are working in a development environmen...
TopologyTestDriverunit testingKafka Streams testingdevelopment environment - Question #155Application Design
Which two statements are correct about transactions in Kafka? (Choose two.)
transactions__transaction_stateexactly-once semanticsread committed - Question #156Application Design
Drag and Drop Question Match the topic configuration setting with the reason the setting affects topic durability. To answer, move each of the options below to the corresponding an...
topic durabilityreplicationtopic configuration - Question #157Application Design
You are designing a stream pipeline to monitor the real-time location of GPS trackers, where historical location data is not required. Each event in the stream has the following st...
log compactioncleanup.policycompactstateful topics - Question #158Developing with Kafka Connect
You need to collect logs from a host and write them to a Kafka topic named 'logs-topic'. You decide to use Kafka Connect File Source connector for this task. What is the preferred...
standalone modedistributed modeFile Source connectorConnect deployment - Question #159Developing Kafka Producers
You create a topic named 'IoT-Data' with 10 partitions and replication factor of three. A producer application is producing messages with 1 mb size. The messages need to be compres...
compressionGzipbatch attributesproducer responsibility - Question #160Developing Kafka Producers
The producer code below features a 'Callback' class with a method called 'onCompletion()'. When will the 'onCompletion()' method be invoked?
CallbackonCompletionbroker acknowledgmentasync producer - Question #161Developing Kafka Producers
What is the purpose of the key.serializer property?
key.serializerproducer configurationserialization - Question #162Developing Kafka Producers
You are working on an Orders microservice that is publishing messages to an Orders topic. It is a business requirement that the Orders for a given customer are processed sequential...
idempotencemessage keyspartition orderingmax-in-flight requests - Question #163Developing Kafka Producers
Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?
batch.sizeproducer batchingproducer configuration - Question #164Deployment and Troubleshooting
Your company has three Kafka clusters: Development, Testing, and Production. The Production cluster is running out of storage so you add a new node to the Kafka cluster. Which two...
cluster scalingbroker nodespartition assignment - Question #165Monitoring
You are receiving messages in your consumer slower than you expect. Which command can you use to determine whether there is any consumer lag?
consumer lagkafka-consumer-groupsmonitoring commands - Question #166Deployment and Troubleshooting
You need to list the topics that are available in your Kafka cluster. Which command should you use?
kafka-topicsCLI commandstopic listing - Question #167Developing Kafka Producers
You create a topic named 'stream-logs'. The topic has: - A replication factor of three - Four partitions - Messages that are plain logs without a key How will messages be distribut...
partition assignmentround-robinkeyless messages - Question #168Developing with Kafka Streams
A stream processing application is tracking user activity of online shopping carts. The application tracks items added to the cart, items removed from the cart, and items ordered f...
session windowswindowinguser inactivitystream processing - Question #169Security
You want to connect with username and password to a secured Kafka cluster that has SSL encryption. Which properties must your client include?
SASL_SSLsecurity.protocolauthenticationencryption - Question #170Kafka Client Fundamentals
This schema excerpt is an example of which schema format?
Avroschema formatserialization - Question #171Kafka Client Fundamentals
Drag and Drop Question Match each configuration parameter with the correct option. Please Move the tasks to the answer area and place them in the correct order. Answer:
configuration parameters - Question #172Developing with Kafka Streams
You want to enrich the content of a topic. You need to join the topic with the key records from a second topic. These two topics each have a different number of partitions. Which t...
GlobalKTableco-partitioningKStream joinrepartitioning - Question #173Developing with Kafka Connect
Your configuration parameters for a Source connector and Connect worker are: - offset.flush.interval.ms=60000 - offset.flush.timeout.ms=500 - offset.storage.topic=connect-offsets -...
offset.flush.interval.msoffset storageConnect worker configurationsource connector - Question #174Developing with Kafka Streams
Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?
exactly-once semanticstransactional producersEOSchangelog topics - Question #175Developing Kafka Producers
Which property must be set at the producer end to prepare the producer for transactions?
transactional.idtransactionsproducer configuration - Question #176Deployment and Troubleshooting
Which tool can you use to modify the replication factor of an existing topic?
replication factorkafka-reassign-partitionspartition reassignment - Question #177Developing with Kafka Connect
You are composing a REST request to create a new connector in a running Connect cluster. You invoke POST /connectors with a configuration and receive a 409 (Conflict) response. Wha...
Connect REST APIconnector creationrebalancing409 conflict - Question #178Developing with Kafka Streams
A stream processing application is consuming from a topic with five partitions. You run three instances of the application. Each instance has num.streams.threads set to five. You n...
stream tasksnum.streams.threadstask assignmentparallelism - Question #179Kafka Client Fundamentals
Clients that connect to a Kafka cluster are required to specify one or more brokers in the 'bootstrap.servers' parameter. What is the primary advantage of specifying more than one...
bootstrap.serversredundancycluster connection - Question #180Developing Kafka Producers
Your Kafka cluster has five brokers. The topic t1 on the cluster has: - Two partitions - Replication.factor = 4 - min.insync.replicas = 3 You need strong durability guarantees for...
acks=allmin.insync.replicasreplication factordurability - Question #181Developing Kafka Consumers
Which configuration allows more time for the consumer poll to process records?
max.poll.interval.msconsumer configurationpoll timeoutconsumer group - Question #182Developing Kafka Consumers
Your application is consuming from a topic with one consumer group. The number of running consumers is equal to the number of partitions. Application logs show that some consumers...
consumer rebalancesession.timeout.msconsumer lagduplicate processing - Question #183Developing Kafka Producers
A producer is configured with the default partitioner. It is sending records to a topic that is configured with five partitions. The record does not contain any key. What is the re...
default partitionerkeyless recordspartition routingproducer configuration - Question #184Developing Kafka Producers
Which two producer exceptions are examples of the class RetriableException? (Choose two.)
RetriableExceptionLeaderNotAvailableExceptionNotEnoughReplicasExceptionproducer error handling - Question #185Developing Kafka Consumers
Which partition assignment minimizes partition movements between two assignments?
StickyAssignorpartition assignmentconsumer rebalancepartition movement - Question #186Application Design
Which is true about topic compaction?
log compactiontopic compactionkey-based retentioninactive log segments - Question #187Application Design
You create a producer that writes messages about bank account transactions from tens of thousands of different customers into a topic. - Your consumers must process these messages...
message key strategypartition orderingconsumer lagscalability - Question #188Kafka Client Fundamentals
You are sending messages to a Kafka cluster in JSON format and want to add more information related to each message. The information needed is: - Format of the message payload - Me...
message headersmetadatatracingmessage structure - Question #189Developing Kafka Consumers
You have a Kafka consumer in production actively reading from a critical topic from which multiple other applications are consuming. You have a new requirement to update the offset...
consumer offset managementkafka-consumer-groups CLIoffset resetproduction operations - Question #190Developing Kafka Producers
Kafka producers can batch messages going to the same partition. Which statement is correct about producer batching?
producer batchingbatch configurationbroker requeststhroughput - Question #191Kafka Client Fundamentals
What is the default maximum size of a message the Apache Kafka broker can accept?
message size limitbroker configurationmessage.max.bytesdefault settings - Question #192Developing with Kafka Connect
You have a topic t1 with six partitions. You use Kafka Connect to send data from topic t1 in your Kafka cluster to Amazon S3. Kafka Connect is configured for two tasks. How many pa...
Kafka Connect taskssink connectorpartition distributiontask parallelism - Question #193Application Design
This schema excerpt is an example of which schema format?
Protobufschema formatserializationschema registry - Question #194Developing Kafka Consumers
You have a consumer group with default configuration settings reading messages from your Kafka cluster. You need to optimize throughput so the consumer group processes more message...
consumer throughputfetch.min.bytesfetch configurationconsumption optimization - Question #195Developing Kafka Producers
You are writing a producer application and need to ensure proper delivery. You configure the producer with acks level to all. Which two actions should you take to ensure proper err...
producer ackserror handlingcallbacksKafkaException - Question #196Developing with Kafka Streams
What are three built-in abstractions in the Kafka Streams DSL? (Choose two.)
KStreamKTableGlobalKTableKafka Streams DSL - Question #197Developing with Kafka Connect
Which two statements about Kafka Connect single message transforms (SMT) are correct? (Choose two.)
single message transformsSMT chainingdata maskingKafka Connect - Question #198Developing with Kafka Connect
Which statement describes the storage location for a sink connectors offsets?
sink connector offsets__consumer_offsetsoffset storageKafka Connect - Question #199Developing with Kafka Connect
Where are source connector offsets stored?
source connector offsetsoffset.storage.topicKafka Connect configurationoffset storage - Question #200Developing Kafka Producers
What is accomplished by producing data to a topic with a message key?
message keypartition routingordering guaranteedeterministic partitioning