Suppose you have 6 brokers and you decide to create a topic with 10 partitions and a replication factor of 3. The brokers 0 and 1 are on rack A, the brokers 2 and 3 are on rack B, and the brokers 4 and 5 are on rack C. If the leader for partition 0 is on broker 4, and the first replica is on broker 2, which broker can host the last replica? (select two)
Suggested Answer: B, E
Get Premium CCDAK Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
When you create a new topic, partitions replicas are spreads across racks to maintain availability. Hence, the Rack A, which currently does not hold the topic partition, will be selected for the last replica
26 comments · newest first
BI
Billi
1 month ago
Yeah, I’d go with 1 and 5 too. Need to avoid rack B for the last replica!
YU
Yun
1 month ago
I feel like broker 5 is a good choice. It's in a different rack.
GE
Gerald
2 months ago
Agreed! So, maybe brokers 1 and 5?
LE
Leota
2 months ago
This question is tricky! I think the last replica can't be on rack B.
MA
Marshall
2 months ago
I’d go with D) 5 and F) 3. They’re on different racks!
EI
Eileen
2 months ago
So, if broker 4 is the leader and broker 2 is the first replica, we can't use those racks.
JA
Jamal
2 months ago
Right! We need to avoid placing replicas on the same rack.
DA
Dante
2 months ago
This question is tricky! I think it’s about rack awareness.
AL
Alpha
3 months ago
I’m leaning towards B and E. But I see the rack issue too.
JE
Jenelle
3 months ago
I agree with D and F. We need to avoid rack A for the last replica.
TE
Telma
3 months ago
I feel confused about the replication factor. Is it really necessary?
JA
Janey
3 months ago
I think the answer is D and F. They are in different racks.
RE
Reiko
3 months ago
So, is it really true that we can't have replicas on the same rack?
GI
Gilma
4 months ago
I think it has to be on a different rack, so D and F make sense.
LA
Lang
5 months ago
Wait, why can't it be on broker 1?
DA
Dawne
5 months ago
Definitely options D and F!
DA
Dana
5 months ago
The last replica can't be on the same rack as the leader or first replica.
AD
Adela
6 months ago
I agree, it has to be 5 or 3 for sure!
WI
Willie
6 months ago
Wait, why can't it be on broker 1?
TA
Talia
6 months ago
I think it could be broker 5 or 3.
GL
Gladys
6 months ago
Definitely, it has to be on rack C or A.
EN
Enola
6 months ago
The last replica can't be on the same rack as the leader.
RO
Rodrigo
6 months ago
I’m confused about the options. Can’t the last replica be on broker 3 too? It seems like it fits the criteria.
TR
Tracey
7 months ago
I practiced a similar question, and I think the last replica could be on broker 5 since it's on a different rack from both the leader and the first replica.
LU
Luis
7 months ago
I'm not entirely sure, but I remember something about balancing replicas across racks to avoid single points of failure. Maybe brokers 1 or 5?
AP
Apolonia
7 months ago
I think the last replica needs to be on a different rack from the leader and the first replica, so it can't be on broker 2.