Review 70 CCDAK practice questions with answer explanations and community insights.
Question 1
You need to consume messages from Kafka using the command-line interface (CLI). Which command should you use?
kafka-console-consumer
kafka-consumer
kafka-get-message
kafka- consume
Question 2
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 wait ratio. What is the most likely the cause of the slow producer performance?
Compression is enabled.
The producer is sending large batches of messages.
There is a bad data link layer (layer 2) connection from the producer to the cluster.
The producer code has an expensive callback function.
Question 3
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?
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 environment and do not have access to a real Kafka Cluster or Topic. You need to perform Unit Test on your Kafka Streams application. Which should you use?
TopologyTestDriver
MockProducer, MockConsumer
TestProducer, TestСonsumer
KafkaUnitTestDriver
Question 5
Which two statements are correct about transactions in Kafka? (Choose two.)
All messages from a failed transaction will be deleted from a Kafka topic.
Transactions are only possible when writing messages to a topic with single partition.
Consumers can consume both committed and uncommitted transactions.
Information about producers and their transactions is stored in the '__transaction_state' topic.
Transactions guarantee at least once delivery of messages.
We are moving to a new platform
CertificationTest is being migrated. Some pages may be slow or briefly unavailable; everything will be back to normal within a few hours. If you run into any issue, email support@certificationtest.net.