Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Confluent CCAAK Exam - Topic 4 Question 4 Discussion

Your Kafka cluster has four brokers. The topic t1 on the cluster has two partitions, and it has a replication factor of three. You create a Consumer Group with four consumers, which subscribes to t1.In the scenario above, how many Controllers are in the Kafka cluster?
A) One
B) two
C) three
D) Four

Confluent CCAAK Exam - Topic 4 Question 4 Discussion

Actual exam question for Confluent's CCAAK exam
Question #: 4
Topic #: 4
[All CCAAK Questions]

Your Kafka cluster has four brokers. The topic t1 on the cluster has two partitions, and it has a replication factor of three. You create a Consumer Group with four consumers, which subscribes to t1.

In the scenario above, how many Controllers are in the Kafka cluster?

Show Suggested Answer Hide Answer
Suggested Answer: A

In a Kafka cluster, only one broker acts as the Controller at any given time. The Controller is responsible for managing cluster metadata, such as partition leadership and broker status. Even if the cluster has multiple brokers (in this case, four), only one is elected as the Controller, and others serve as regular brokers. If the current Controller fails, another broker is automatically elected to take its place.


Contribute your Thoughts:

0/2000 characters
Eloisa
7 months ago
I’m pretty sure it’s one too, but I’m still learning!
upvoted 0 times
...
Sheron
7 months ago
Yup, one Controller manages the whole cluster.
upvoted 0 times
...
Lorenza
7 months ago
Totally agree, it’s always just one!
upvoted 0 times
...
Stevie
7 months ago
Wait, I thought there could be more than one?
upvoted 0 times
...
Ciara
8 months ago
There’s only one Controller in a Kafka cluster.
upvoted 0 times
...
Jerlene
8 months ago
I feel like I read that there can only be one active Controller at a time, but I’m not 100% confident about that.
upvoted 0 times
...
Sophia
8 months ago
This question seems familiar. I practiced one where it asked about the number of partitions and replicas, but I don’t recall the Controller part clearly.
upvoted 0 times
...
Annabelle
8 months ago
I’m not entirely sure, but I remember something about Controllers being unique in a cluster. So maybe it’s A?
upvoted 0 times
...
Jeanice
9 months ago
I think there’s only one Controller in a Kafka cluster, right? It manages the brokers and partitions.
upvoted 0 times
...
Loise
9 months ago
This is a tricky one. I know the Controller is responsible for managing the cluster, but I'm not sure if the number of brokers, partitions, or consumers has any bearing on the number of Controllers. I'll have to think about this a bit more before answering.
upvoted 0 times
...
Shad
9 months ago
Okay, let me think this through. The number of brokers, partitions, and consumers doesn't seem directly relevant to the number of Controllers. I believe there is typically only one active Controller in a Kafka cluster, so I'll go with option A.
upvoted 0 times
...
Jose
9 months ago
Hmm, I'm a bit confused on this one. The question mentions a topic with two partitions and a replication factor of three, as well as a Consumer Group with four consumers. I'm not sure how those details relate to the number of Controllers in the cluster.
upvoted 0 times
...
Octavio
9 months ago
I think the key here is understanding the role of the Controller in a Kafka cluster. Since the question mentions a cluster with four brokers, my guess is that there would be one Controller managing the cluster.
upvoted 0 times
...
Madelyn
12 months ago
Alright, let's see here... If there are four brokers and the topic has a replication factor of three, then the number of Controllers must be B) two. It's simple math, really. Or is it? *laughs nervously*
upvoted 0 times
Avery
10 months ago
Oh, I see. Thanks for the clarification!
upvoted 0 times
...
Camellia
11 months ago
Yes, that's correct. The number of Controllers in the Kafka cluster is two.
upvoted 0 times
...
Isaac
11 months ago
I think the answer is B) two.
upvoted 0 times
...
...
Gabriele
12 months ago
I'm stumped. Is the answer A) One? Or maybe it's C) three? Kafka is such a mind-bending technology, it's no wonder they're paying us so much to figure it out.
upvoted 0 times
Mozell
11 months ago
B) two
upvoted 0 times
...
Trevor
11 months ago
A) One
upvoted 0 times
...
Jade
11 months ago
B) two
upvoted 0 times
...
Bettina
11 months ago
A) One
upvoted 0 times
...
...
Edna
12 months ago
This question is a piece of cake! The answer is clearly B) two. How else would the Kafka cluster have a replication factor of three with only four brokers?
upvoted 0 times
...
Stephania
1 year ago
D) Four? Really? That can't be right. I'm confident the answer is B) two, just like Diane said.
upvoted 0 times
Jolanda
11 months ago
B) two
upvoted 0 times
...
Reed
11 months ago
A) One
upvoted 0 times
...
...
Maryanne
1 year ago
Hmm, I'm not sure about this one. I'll go with C) three, since there are four brokers and the replication factor is three.
upvoted 0 times
Darci
11 months ago
User 3: I'm going with D) Four
upvoted 0 times
...
Melita
11 months ago
User 2: I believe it's C) three
upvoted 0 times
...
Howard
12 months ago
User 1: I think the answer is A) One
upvoted 0 times
...
...
Pearlene
1 year ago
I agree with Hildred. The answer is D) Four because each broker can potentially be a Controller.
upvoted 0 times
...
Hildred
1 year ago
I believe the answer is D) Four because each broker can act as a Controller in case of failure.
upvoted 0 times
...
Linwood
1 year ago
I think the answer is A) One.
upvoted 0 times
...
Diane
1 year ago
I think the answer is B) two. The topic has a replication factor of three, so there must be three brokers, and one of them is the Controller.
upvoted 0 times
Judy
1 year ago
Oh, I see. Thanks for clarifying.
upvoted 0 times
...
Jackie
1 year ago
No, the correct answer is A) One.
upvoted 0 times
...
Dannette
1 year ago
I think the answer is B) two.
upvoted 0 times
...
...

Save Cancel