adplus-dvertising
frame-decoration

Question

Which of the following method is used for managing user?

a.

db.createUser()

b.

db.User()

c.

db.superuser()

d.

none of the mentioned

Posted under MongoDB

Answer: (a).db.createUser()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following method is used for managing user?

Similar Questions

Discover Related MCQs

Q. Point out the correct statement.

Q. MongoDB stores user information in the _________ collection.

Q. Which of the following authentication method is used by default by MongoDB?

Q. Point out the wrong statement.

Q. _________ is a challenge-response mechanism that authenticates users through passwords.

Q. MongoDB supports _________ certificate authentication for use with a secure TLS/SSL connection.

Q. MongoDB __________ supports authentication using a Kerberos service.

Q. MongoDB Enterprise supports proxy authentication through ___________

Q. Every MongoDB mongod and mongos instance (or mongod.exe or mongos.exe on Windows) must have an associated ___________

Q. MongoDB employs _________ to govern access to a MongoDB system.

Q. Point out the correct statement.

Q. __________ consists of a specified resource and the actions permitted on the resource.

Q. _________ provides all the privileges of the read role.

Q. Point out the wrong statement.

Q. MongoDB stores user credentials in the protected admin.system._________

Q. You must have the _______ action on a database to create a new user on that database.

Q. Data of <database>.system.indexes can be accessed using ____________

Q. You must have the __________ action on a role’s database to grant the role to another user.

Q. Command listIndexes.ok returning value 1 indicates ______________

Q. Administrators can implement collection-level access control through user-defined __________