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

MongoDB C100DBA Exam - Topic 1 Question 87 Discussion

Posted by Lashawnda on May 12, 2024 at 10:10 PM

You are in a sharded cluster. What will you do prior to initiating backup in sharded cluster?

Suggested Answer: A

Get Premium C100DBA Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
35 comments · newest first
IR
Irene 10 months ago
100% agree, sh.stopBalancer is the way to go!
AP
Apolonia 11 months ago
I always thought stopping the balancer was optional.
TA
Tanesha 11 months ago
Wait, is sh.stopserverQ even a thing?
AN
Annice 11 months ago
Yeah, definitely not db.stopserver().
GU
Gussie 11 months ago
Gotta run sh.stopBalancer() before backup!
DO
Doretha 12 months ago
I remember that stopping the server isn't necessary for backups, so it has to be one of the balancer commands. I hope I chose the right one!
LE
Leoma 12 months ago
I'm a bit confused about the difference between `db.stopBalancer()` and `sh.stopBalancer()`. I feel like I might have mixed them up in my notes.
ST
Starr 12 months ago
I practiced a similar question, and I believe the correct command is `sh.stopBalancer()`. It makes sense to stop the balancer in a sharded cluster.
KA
Kaitlyn 1 year ago
I think we need to stop the balancer before taking a backup, but I can't remember if it's `db.stopBalancer()` or `sh.stopBalancer()`.
MI
Milly 1 year ago
I've got this! The correct answer is A - db.stopBalancer(). Stopping the balancer is the crucial first step before backing up a sharded cluster. Confident I'll get this one right.
JO
Johna 1 year ago
I'm not 100% sure about this one. I'll have to carefully read through the options and think it through step-by-step. Gotta make sure I don't miss anything important.
SY
Sylvia 1 year ago
Easy peasy! The answer is clearly C - sh.stopBalancer(). That's the standard procedure for preparing a sharded cluster for backup operations.
LO
Louann 1 year ago
Okay, let me think this through. I'm a bit confused between the different stop commands here. I'll need to double-check the MongoDB documentation to make sure I get this right.
BA
Barabara 1 year ago
Hmm, this looks like a tricky one. I think I'll go with option A - db.stopBalancer(). That seems like the logical step before initiating a backup in a sharded cluster.
OD
Odette 1 year ago
Option A with Spot Instances could work, but I'm not sure if that's the "least amount of administrative effort" as the question asks for.
MA
Madonna 1 year ago
The ps command is a classic Unix utility, so it's probably from one of the major Unix variants. I'll go with C for Linux.
JO
Jose 1 year ago
Wait, I'm a bit confused. Do I need to go through the Insert tab to rename the worksheet? I'm not sure, but I'll try option A just in case.
MA
Mattie 1 year ago
I remember studying mismatches in VPN configurations, but I can't recall all the specifics. I think interesting traffic might be involved here, though.
ID
Idella 1 year ago
I heard the balancer in a sharded cluster is so good, it can even stop itself. Now that's some serious multitasking!
MI
Micheal 1 year ago
↳ replying to Idella
C) sh.stopBalancer()
CA
Carline 1 year ago
↳ replying to Idella
I always make sure to stop the balancer before initiating a backup.
BE
Bernadine 1 year ago
↳ replying to Idella
A) db.stopBalancer()
AL
Allene 1 year ago
B) db.stopserver() would be a great way to stop the server, but it won't help with the backup process in a sharded cluster. Guess I'll have to read the question more carefully next time.
SH
Shalon 1 year ago
A) db.stopBalancer() sounds like a good idea, but it's not the right command for a sharded cluster. Gotta love those tricky MongoDB questions!
RO
Rose 1 year ago
↳ replying to Shalon
A) Oh, I see. Thanks for the clarification! I'll remember to use sh.stopBalancer() before initiating a backup in a sharded cluster.
TO
Tommy 1 year ago
↳ replying to Shalon
B) C) sh.stopBalancer() is the correct command to stop the balancer in a sharded cluster.
ET
Ettie 1 year ago
↳ replying to Shalon
A) db.stopBalancer() sounds like a good idea, but it's not the right command for a sharded cluster.
NI
Nina 1 year ago
I was about to choose D) sh.stopserverQ, but then I remembered that's not a real MongoDB command. I'm glad I double-checked the options.
ST
Stevie 1 year ago
↳ replying to Nina
C) sh.stopBalancer() is another valid option to stop the balancer before backup.
CO
Colette 1 year ago
↳ replying to Nina
Yes, it's important to use the right MongoDB command for the task.
ED
Edwin 1 year ago
↳ replying to Nina
A) db.stopBalancer() is the correct command to use before initiating backup in a sharded cluster.
QU
Quentin 1 year ago
The correct answer is C) sh.stopBalancer(). You need to stop the balancer before taking a backup in a sharded cluster, otherwise the data might be in an inconsistent state.
RO
Rosalia 1 year ago
I'm not sure, but I think C) sh.stopBalancer() could also be a valid option
JA
Janae 1 year ago
I agree with Daron, stopping the balancer before backup makes sense
DA
Daron 2 years ago
I think the answer is A) db.stopBalancer()
0/2000 characters

Save Cancel