MongoDB
C100DBA · Question #106
C100DBA Question #106: Real Exam Question with Answer & Explanation
Sign in or unlock C100DBA to reveal the answer and full explanation for question #106. The question stem and answer options stay visible for context.
Question
To add a new user and enable authentication in MongoDB, which of the following steps need be executed?
Options
- Aupdate users collection and restart mongodb
- BAll of the above
- Cupdate users collection and restart mongodb with -auth option
- Dupdate users collection and run db.enableAuthenticationQ
Unlock C100DBA to see the answer
You've previewed enough free C100DBA questions. Unlock C100DBA for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.