How will you find out all the partitions where one or more of the replicas for the partition are not in-sync with the leader?
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
tick time is 2000 ms, and initLimit is the config taken into account when establishing a connection to Zookeeper, so the answer is 2000 * 20 = 40000 ms = 40s
34 comments · newest first
AM
Amie
10 months ago
Just to clarify, --unavailable-partitions won't show what we need, right?
PA
Paola
11 months ago
I thought we were supposed to use Zookeeper for this?
AD
Adell
11 months ago
Wait, are we sure about using --broker-list?
PE
Penney
11 months ago
I agree, C is definitely the way to go!
LO
Lonna
11 months ago
Option C is the right command for under-replicated partitions.
LE
Lemuel
12 months ago
I definitely remember that `--describe` is important, but I’m confused about the difference between unavailable and under-replicated partitions. I might have to guess here.
BR
Broderick
12 months ago
I feel like the Zookeeper options might be outdated, but I can't remember if we discussed that in class. I think I lean towards option A or C.
GA
Gary
12 months ago
I remember practicing with `kafka-topics.sh`, and I think option C sounds familiar, but I can't recall if it was specifically for under-replicated partitions.
BE
Bernardine
1 year ago
I think the command for checking under-replicated partitions is the one with `--under-replicated-partitions`, but I'm not sure if it should be with Zookeeper or the bootstrap server.
NI
Nidia
1 year ago
Ah, I think I've got it! This is a straightforward question, and the answer is right there in the options.
AN
Anglea
1 year ago
The key here is to find the command that will show us the partitions with out-of-sync replicas. I'm pretty sure I know the right answer, but I'll review the options one more time just to be safe.
MA
Marsha
1 year ago
I'm a bit confused by the wording of this question. I'll need to re-read it a few times to make sure I understand what it's asking.
SH
Shenika
1 year ago
Okay, I think I know the answer to this one. Let me double-check the options just to be sure.
SH
Shakira
1 year ago
Hmm, this looks like a tricky one. I'll need to think through the different options carefully.
MA
Mauricio
1 year ago
Option C is the clear winner here. Who needs Zookeeper when you've got the broker list, am I right?
IZ
Izetta
1 year ago
No need to complicate things with Zookeeper when you don't have to.
MO
Monte
1 year ago
Yeah, using the broker list makes it much simpler.
AL
Alease
1 year ago
I agree, option C is definitely the way to go.
WH
Whitley
1 year ago
Haha, I wonder if the exam writers are trying to trick us with those Zookeeper options. Gotta love Kafka's command-line tools!
MI
Mignon
1 year ago
D) kafka-topics.sh --zookeeper localhost:2181 --describe --under-replicated-partitions
GL
Glenn
1 year ago
C) kafka-topics.sh --broker-list localhost:9092 --describe --under-replicated-partitions
AL
Alyce
1 year ago
B) kafka-topics.sh --zookeeper localhost:2181 --describe --unavailable- partitions
HO
Hollis
1 year ago
A) kafka-topics.sh --bootstrap-server localhost:9092 --describe --unavailable- partitions
DA
Dawne
1 year ago
I agree, C is the way to go. The --under-replicated-partitions option is the most specific to what we're looking for.
JE
Jeannetta
1 year ago
User 2: Yeah, the --under-replicated-partitions option is the most specific.
EV
Evelynn
1 year ago
User 1: I think we should use option C.
ST
Stephaine
2 years ago
But option C makes more sense because it specifies the broker list directly
DO
Dominga
2 years ago
Option C looks like the correct way to find out the under-replicated partitions. Using the --broker-list option seems more direct than going through Zookeeper.
CH
Chau
1 year ago
Let's try it out and see if we can find the partitions.
ST
Stephaine
1 year ago
I agree, it's easier than going through Zookeeper.
LA
Layla
1 year ago
Yeah, using --broker-list seems more straightforward.
MA
Mabelle
1 year ago
I think option C is the way to go.
SH
Shonda
2 years ago
I disagree, I believe the correct answer is D) kafka-topics.sh --zookeeper localhost:2181 --describe --under-replicated-partitions
ST
Stephaine
2 years ago
I think the answer is C) kafka-topics.sh --broker-list localhost:9092 --describe --under-replicated-partitions