BlackFriday 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
30 days 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
1 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
Rolland
16 hours ago
Option C) update users collection and restart mongodb with -auth option
upvoted 0 times
...
...
Lavonda
1 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
7 days ago
I agree, no need for any fancy commands like db.enableAuthenticationQ.
upvoted 0 times
...
Rosamond
21 days ago
Yeah, that's what I usually do too. It's simple and effective.
upvoted 0 times
...
Gianna
22 days 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
2 months ago
I think the correct answer is C) update users collection and restart mongodb with -auth option.
upvoted 0 times
...
Lasandra
2 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
1 months ago
I'm not familiar with that option, but I think sticking to option C would be safer.
upvoted 0 times
...
Leota
1 months ago
I'm not so sure, what about option D with db.enableAuthenticationQ?
upvoted 0 times
...
Annelle
1 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
2 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
2 months ago
Option C, of course! How else would you enable authentication without the -auth option? Obvious choice.
upvoted 0 times
...
...

Save Cancel