1.

Which of the following method is used for managing user?(a) db.createUser()(b) db.User()(c) db.superuser()(d) none of the mentionedI have been asked this question during an interview for a job.My doubt stems from Authentication in section Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

The CORRECT OPTION is (a) db.createUser()

Explanation: MongoDB provides the db.createUser() to ADD and manage user INFORMATION.



Discussion

No Comment Found

Related InterviewSolutions