CCDAK Exam Questions
216 real CCDAK exam questions with expert-verified answers and explanations. Page 4 of 5.
- Question #151
You need to consume messages from Kafka using the command-line interface (CLI). Which command should you use?
- Question #152
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...
- Question #153
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?
- Question #154
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...
- Question #155
Which two statements are correct about transactions in Kafka? (Choose two.)
- Question #157
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...
- Question #158
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...
- Question #159
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...
- Question #160
The producer code below features a 'Callback' class with a method called 'onCompletion()'. When will the 'onCompletion()' method be invoked?
- Question #161
What is the purpose of the key.serializer property?
- Question #162
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...
- Question #163
Which configuration determines how many bytes of data are collected before sending messages to the Kafka broker?
- Question #164
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...
- Question #165
You are receiving messages in your consumer slower than you expect. Which command can you use to determine whether there is any consumer lag?
- Question #166
You need to list the topics that are available in your Kafka cluster. Which command should you use?
- Question #167
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...
- Question #168
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...
- Question #169
You want to connect with username and password to a secured Kafka cluster that has SSL encryption. Which properties must your client include?
- Question #170
This schema excerpt is an example of which schema format?
- Question #172
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...
- Question #173
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 -...
- Question #174
Which statement is true about how exactly-once semantics (EOS) work in Kafka Streams?
- Question #175
Which property must be set at the producer end to prepare the producer for transactions?
- Question #176
Which tool can you use to modify the replication factor of an existing topic?
- Question #177
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...
- Question #178
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...
- Question #179
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...
- Question #180
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...
- Question #181
Which configuration allows more time for the consumer poll to process records?
- Question #182
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...
- Question #183
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...
- Question #184
Which two producer exceptions are examples of the class RetriableException? (Choose two.)
- Question #185
Which partition assignment minimizes partition movements between two assignments?
- Question #186
Which is true about topic compaction?
- Question #187
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...
- Question #188
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...
- Question #189
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...
- Question #190
Kafka producers can batch messages going to the same partition. Which statement is correct about producer batching?
- Question #191
What is the default maximum size of a message the Apache Kafka broker can accept?
- Question #192
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...
- Question #193
This schema excerpt is an example of which schema format?
- Question #194
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...
- Question #195
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...
- Question #196
What are three built-in abstractions in the Kafka Streams DSL? (Choose two.)
- Question #197
Which two statements about Kafka Connect single message transforms (SMT) are correct? (Choose two.)
- Question #198
Which statement describes the storage location for a sink connectors offsets?
- Question #199
Where are source connector offsets stored?
- Question #200
What is accomplished by producing data to a topic with a message key?
- Question #201
You need to configure a sink connector to write records that fail into a dead letter queue topic. Requirements: - Topic name: 'DLQ-Topic' - Headers containing error context need to...
- Question #202
You are developing a Java application including a Kafka consumer. - You need to integrate the Kafka's client logs with your own application's log - Your application is using log4j2...