Your producer is producing at a very high rate and the batches are completely full each time. How can you improve the producer throughput? (select two)
A. Enable compression
B. Disable compression
C. Increase batch.size
D. Decrease batch.size
E. Decrease linger.ms
F. Increase linger.ms
To transform data from a Kafka topic to another one, I should use
A. Kafka Connect Sink
B. Kafka Connect Source
C. Consumer + Producer
D. Kafka Streams
To prevent network-induced duplicates when producing to Kafka, I should use
A. max.in.flight.requests.per.connection=1
B. enable.idempotence=true
C. retries=200000
D. batch.size=1
The rule "same key goes to the same partition" is true unless...
A. the number of producer changes
B. the number of kafka broker changes
C. the number of partition changes
D. the replication factor changes
When is the onCompletion() method called?
private class ProducerCallback implements Callback {
@Override
public void onCompletion(RecordMetadata recordMetadata, Exception e) {
if (e != null) {
e.printStackTrace();
}
}
}
ProducerRecord
new ProducerRecord<>("topic1", "key1", "value1");
producer.send(record, new ProducerCallback());
A. When the message is partitioned and batched successfully
B. When message is serialized successfully
C. When the broker response is received
D. When send() method is called
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 A.
A. "test_binary" will receive
B. binary data
C. avro data
D. json data
E. base64 encoded data, it will need to decode it
Which of the following is true regarding thread safety in the Java Kafka Clients?
A. One Producer can be safely used in multiple threads
B. One Consumer can be safely used in multiple threads
C. One Consumer needs to run in one thread
D. One Producer needs to be run in one thread
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?
A. kafka-topics.sh --bootstrap-server localhost:9092 --describe --unavailable- partitions
B. kafka-topics.sh --zookeeper localhost:2181 --describe --unavailable- partitions
C. kafka-topics.sh --broker-list localhost:9092 --describe --under-replicated-partitions
D. kafka-topics.sh --zookeeper localhost:2181 --describe --under-replicated-partitions
A bank uses a Kafka cluster for credit card payments. What should be the value of the property unclean.leader.election.enable?
A. FALSE
B. TRUE
How do you create a topic named test with 3 partitions and 3 replicas using the Kafka CLI?
A. bin/kafka-topics.sh --create --broker-list localhost:9092 --replication-factor 3 --partitions 3 --topic test
B. bin/kafka-topics-create.sh --zookeeper localhost:9092 --replication-factor 3 --partitions 3 --topic test
C. bin/kafka-topics.sh --create --bootstrap-server localhost:9092 --replication-factor 3 -- partitions 3 --topic test
D. bin/kafka-topics.sh --create --bootstrap-server localhost:2181 --replication-factor 3 -- partitions 3 --topic test
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Confluent exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your CCDAK exam preparations and Confluent certification application, do not hesitate to visit our Vcedump.com to find your solutions here.