nerdexam
MongoDB

C100DBA · Question #106

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

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.

Security

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.

Topics

#authentication#user management#mongod startup options
Full C100DBA Practice