1.

Grant the user the role using the ________ method.(a) db.grantRole()(b) db.grantRolesToUser()(c) db.grantToUser()(d) all of the mentionedI got this question in quiz.This interesting question is from User and Role Management in section Production Checklist, Security Concepts and Network Security of MongoDB

Answer»

Right CHOICE is (B) db.grantRolesToUser()

EXPLANATION: If the user requires ADDITIONAL privileges, GRANT to the user the role, or roles, with the required set of privileges.



Discussion

No Comment Found

Related InterviewSolutions