How will you read all the messages from a topic in your KSQL query?
Answer(s): C
Consumers can set auto.offset.reset property to earliest to start consuming from beginning. For KSQL, SET 'auto.offset.reset'='earliest';
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?
Answer(s): D
You cannot have more sink tasks (= consumers) than the number of partitions, so 2.
Producing with a key allows to...
Answer(s): B
Keys are necessary if you require strong ordering or grouping for messages that share the same key. If you require that messages with the same key are always seen in the correct order, attaching a key to messages will ensure messages with the same key always go to the same partition in a topic. Kafka guarantees order within a partition, but not across partitions in a topic, so alternatively not providing a key - which will result in round-robin distribution across partitions - will not maintain such order.
Select all the way for one consumer to subscribe simultaneously to the following topics - topic.history, topic.sports, topic.politics? (Select two)
Answer(s): A,D
Multiple topics can be passed as a list or regex pattern.
Post your Comments and Discuss Confluent CCDAK exam with other Community members:
Testbear commented on June 13, 2023 please upload ITALY upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the CCDAK content, but please register or login to continue.