Cyber Monday 2024! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

MongoDB Exam C100DBA Topic 6 Question 100 Discussion

Actual exam question for MongoDB's C100DBA exam
Question #: 100
Topic #: 6
[All C100DBA Questions]

To add a new user and enable authentication in MongoDB, which of the following steps need be executed?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Keneth
2 months ago
Option D, definitely. Who needs authentication when you can just run a secret command to enable it? It's like a hidden cheat code for your MongoDB server.
upvoted 0 times
...
Sue
2 months ago
All of the above? What is this, a choose-your-own-adventure book? I'm going with the simple, straightforward option C. Gotta love those good ol' MongoDB basics.
upvoted 0 times
Barney
19 days ago
Yeah, no need to overcomplicate things. Option C is the way to go.
upvoted 0 times
...
Andra
22 days ago
That's the one I would go with too. Simple and effective.
upvoted 0 times
...
Rolland
24 days ago
Option C) update users collection and restart mongodb with -auth option
upvoted 0 times
...
...
Lavonda
2 months ago
Wait, there's a db.enableAuthenticationQ command? Sounds like someone's been watching too many sci-fi movies. I'll stick with the good ol' -auth option, thank you very much.
upvoted 0 times
Sabra
30 days ago
I agree, no need for any fancy commands like db.enableAuthenticationQ.
upvoted 0 times
...
Rosamond
1 months ago
Yeah, that's what I usually do too. It's simple and effective.
upvoted 0 times
...
Gianna
2 months ago
I think the correct step is to update users collection and restart mongodb with -auth option.
upvoted 0 times
...
...
Avery
2 months ago
I'm not sure, but I think D) update users collection and run db.enableAuthenticationQ could also be a valid option. It seems like a straightforward way to enable authentication in MongoDB.
upvoted 0 times
...
Eura
2 months ago
I agree with Narcisa, option C) makes sense because enabling authentication requires updating users collection and restarting mongodb with -auth option.
upvoted 0 times
...
Narcisa
3 months ago
I think the correct answer is C) update users collection and restart mongodb with -auth option.
upvoted 0 times
...
Lasandra
3 months ago
Hmm, I'm not sure. Restarting MongoDB with the -auth option sounds like the way to go, but what about that db.enableAuthenticationQ thing? Intriguing...
upvoted 0 times
Pamela
2 months ago
I'm not familiar with that option, but I think sticking to option C would be safer.
upvoted 0 times
...
Leota
2 months ago
I'm not so sure, what about option D with db.enableAuthenticationQ?
upvoted 0 times
...
Annelle
2 months ago
I agree, enabling authentication with the -auth option seems like the right step.
upvoted 0 times
...
Vallie
2 months ago
I think option C is the way to go, update users collection and restart mongodb with -auth option.
upvoted 0 times
...
...
Omega
3 months ago
Option C, of course! How else would you enable authentication without the -auth option? Obvious choice.
upvoted 0 times
Adrianna
2 months ago
I agree, option C is the correct one. Updating users collection and restarting with -auth is necessary for enabling authentication.
upvoted 0 times
...
Pansy
3 months ago
Option C, of course! How else would you enable authentication without the -auth option? Obvious choice.
upvoted 0 times
...
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77