To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
Suggested Answer: C
Get Premium C100DBA Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
13 comments · newest first
LO
Lorean
11 months ago
All of the above isn't right, just C!
JE
Jeannine
12 months ago
Wait, is there really a command called db.enableAuthenticationQ? Sounds weird.
LI
Linn
12 months ago
Definitely C, that's the correct way to do it!
RO
Rozella
12 months ago
I thought you just update the users collection?
BE
Bette
1 year ago
You need to restart MongoDB with the -auth option.
CA
Carolynn
1 year ago
I feel like option B is too broad; not all steps are necessary, but I definitely recall needing to update the users collection.
DO
Dorian
1 year ago
I’m a bit confused about whether we need to run a specific command like db.enableAuthenticationQ or just update the users collection.
EL
Ellsworth
1 year ago
I think we need to update the users collection, but I'm not sure if we have to restart MongoDB with the -auth option.
AN
Antonio
1 year ago
I remember practicing a similar question, and I think option C sounds right since authentication needs to be enabled during the restart.
CH
Cherry
1 year ago
I'm a little confused by this question. The options all seem relevant to cash management, so I'll need to think carefully about which one is truly the exception.
KE
Kenia
1 year ago
I'm a bit confused by all the different Oracle resources listed here. I'll need to review my notes on where to find Oracle product documentation. Maybe I can eliminate a few of the options that don't sound right.
CA
Candra
1 year ago
Ah, this is a tricky one. I remember there was some change related to VICs in one of the 3.x versions, but I can't recall the exact version number off the top of my head. I'll have to review my notes to be sure.
YU
Yuette
1 year ago
Hmm, I'm a bit unsure about this one. The options cover a range of accounting policy disclosures, so I'll need to really read through each one closely to determine the correct answer.