Google News
logo
MongoDB - Quiz(MCQ)
Which of the following method is used for managing user?
A)
db
B)
db.User()
C)
db.superuser()
D)
db.createUser()

Correct Answer :   db.createUser()


Explanation : MongoDB provides the db.createUser() to add and manage user information.

Advertisement