CCDAK

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?

  1. kafka-console-consumer
  2. kafka-consumer
  3. kafka-get-message
  4. 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?

  1. Compression is enabled.
  2. The producer is sending large batches of messages.
  3. There is a bad data link layer (layer 2) connection from the producer to the cluster.
  4. 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?

  1. { "name":"jdbc-source", "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "tasks.max": "1", "connection.url": "jdbc:mysql://mysql:3306/db1?user=user&password=password&useSSL=false", "topic.prefix": "db1-", "table.whitelist": "orders" }
  2. { "name":"db1-orders". "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "tasks.max": "1", "connection.url": "jdbc:mysql://mysql:3306/db1?user=user&password=password&useSSL=false", "topic.prefix": "db1-", "table.blacklist": "ord*" }
  3. { "name":"orders-connect", "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "tasks.max": "1", "connection.url": "jdbc:mysql://mysql:3306/db1", "topic.whitelist": "orders", "auto.create": "true" }
  4. { "name":"jdbc-source", "connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "tasks.max": "1", "connection.url": "jdbc:mysql://mysql:3306/db1?user=user&useAutoAuthentication=true", "topic.prefix": "db1-", "table.whitelist": "orders" }

Question 4

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?

  1. TopologyTestDriver
  2. MockProducer, MockConsumer
  3. TestProducer, TestСonsumer
  4. KafkaUnitTestDriver

Question 5

Which two statements are correct about transactions in Kafka? (Choose two.)

  1. All messages from a failed transaction will be deleted from a Kafka topic.
  2. Transactions are only possible when writing messages to a topic with single partition.
  3. Consumers can consume both committed and uncommitted transactions.
  4. Information about producers and their transactions is stored in the '__transaction_state' topic.
  5. 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.