Explanation:A user assigned either the userAdmin role on the admin database or the userAdminAnyDatabase can grant itself any privilege in the system. 3. Grant the user the role using the ________ method.
A. db.grantRole()
B. db.grantRolesToUser()
C. db.grantToUser()
D. All of the mentioned
Answer:A
Explanation:A user assigned either the userAdmin role on the admin database or the userAdminAnyDatabase can grant itself any privilege in the system. 3. Grant the user the role using the ________ method.
A. db.grantRole() B. db.grantRolesToUser() C. db.grantToUser() D. All of the mentioned
Explanation:If the user requires additional privileges, grant to the user the role, or roles, with the required set of privileges. 4. Which of the following method is used to identify the privileges granted by the roles ?