1.

Point out the correct statement.(a) To provide user administrators, MongoDB has userAdmin and userAdminAnyDatabase roles(b) A user administrator can grant any privilege in the database and can create new ones(c) Specifically, a user with the userAdmin role can grant itself any privilege in the database(d) All of the mentionedThe question was asked in a national level competition.This interesting question is from User and Role Management in portion Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

The CORRECT answer is (d) All of the mentioned

For explanation I would say: A user assigned either the userAdmin role on the ADMIN DATABASE or the USERADMINANYDATABASE can grant itself any privilege in the system.



Discussion

No Comment Found

Related InterviewSolutions