1.

Which of the following allows the user to view the information of any user in the given database?(a) createUser(b) viewUser(c) killCursors(d) all of the mentionedI have been asked this question during an interview.I'd like to ask this question from Collection-Level Access Control in chapter Production Checklist, Security Concepts and Network Security of MongoDB

Answer» RIGHT OPTION is (b) viewUser

Easiest EXPLANATION: To provide user ADMINISTRATORS, MongoDB has USERADMIN and userAdminAnyDatabase roles.


Discussion

No Comment Found

Related InterviewSolutions