You want to perform table lookups against a KTable everytime a new record is received from the KStream. What is the output of KStream-KTable join?
A. KTable
B. GlobalKTable
C. You choose between KStream or KTable
D. Kstream
You are doing complex calculations using a machine learning framework on records fetched from a Kafka topic. It takes more about 6 minutes to process a record batch, and the consumer enters rebalances even though it's still running. How can you improve this scenario?
A. Increase max.poll.interval.ms to 600000
B. Increase heartbeat.interval.ms to 600000
C. Increase session.timeout.ms to 600000
D. Add consumers to the consumer group and kill them right away
The exactly once guarantee in the Kafka Streams is for which flow of data?
A. Kafka => Kafka
B. Kafka => External
C. External => Kafka
You are using JDBC source connector to copy data from a table to Kafka topic. There is one connector created with max.tasks equal to 2 deployed on a cluster of 3 workers. How many tasks are launched?
A. 3
B. 2
C. 1
D. 6
while (true) {
ConsumerRecords
consumer.commitSync();
} catch (CommitFailedException e) {
log.error("commit failed", e)
}
for (ConsumerRecord
{
System.out.printf("topic = %s, partition = %s, offset =
%d, customer = %s, country = %s
",
record.topic(), record.partition(),
record.offset(), record.key(), record.value());
}
}
What kind of delivery guarantee this consumer offers?
A. Exactly-once
B. At-least-once
C. At-most-once
Where are the ACLs stored in a Kafka cluster by default?
A. Inside the broker's data directory
B. Under Zookeeper node /kafka-acl/
C. In Kafka topic __kafka_acls
D. Inside the Zookeeper's data directory
StreamsBuilder builder = new StreamsBuilder();
KStream
KTable
.mapValues(textLine -> textLine.toLowerCase())
.flatMapValues(textLine -> Arrays.asList(textLine.split("\W+"))) .selectKey((key, word) -> word)
.groupByKey()
.count(Materialized.as("Counts"));
wordCounts.toStream().to("word-count-output", Produced.with(Serdes.String(), Serdes.Long()));
builder.build();
What is an adequate topic configuration for the topic word-count-output?
A. max.message.bytes=10000000
B. cleanup.policy=delete
C. compression.type=lz4
D. cleanup.policy=compact
How can you gracefully make a Kafka consumer to stop immediately polling data from Kafka and gracefully shut down a consumer application?
A. Call consumer.wakeUp() and catch a WakeUpException
B. Call consumer.poll() in another thread
C. Kill the consumer thread
To enhance compression, I can increase the chances of batching by using
A. acks=all
B. linger.ms=20
C. batch.size=65536
D. max.message.size=10MB
You want to sink data from a Kafka topic to S3 using Kafka Connect. There are 10 brokers in the cluster, the topic has 2 partitions with replication factor of 3. How many tasks will you configure for the S3 connector?
A. 10
B. 6
C. 3
D. 2
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.