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?
Suggested Answer: D
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
You cannot have more sink tasks (= consumers) than the number of partitions, so 2.
12 comments · newest first
AL
Albert
4 days ago
Definitely 2 tasks, that's how it works with partitions.
GA
Gayla
9 days ago
I thought it would be 6 tasks since there are 3 replicas!
AN
An
14 days ago
You can configure 2 tasks for the S3 connector.
KI
Kina
19 days ago
I’m surprised it’s not more than 2!
AL
Alva
24 days ago
Wait, how does that work with the replication factor?
XO
Xochitl
29 days ago
Definitely 2 tasks! Makes sense with the partitions.
JE
Jesus
1 month ago
I think it should be 6 tasks, right?
RO
Rozella
1 month ago
You can configure 2 tasks for the S3 connector.
WI
William
2 months ago
I’m confused about the replication factor's role here. Does it affect the number of tasks? I might guess C) 3, but I’m not confident.
LI
Lisha
2 months ago
I practiced a similar question, and I think it was about matching tasks to partitions. So, I’d go with D) 2.
LO
Lorrine
2 months ago
I’m not entirely sure, but I remember something about tasks being related to the replication factor too. Maybe B) 6?
PE
Pedro
2 months ago
I think the number of tasks should match the number of partitions, so I’m leaning towards D) 2.