Explanation:db.getRole() wraps the rolesInfo command. 5. Point out the wrong statement :
A. You must have the createUser action on a database to create a new user on that database
B. You must have the grantRole action on a role’s database to grant the role to another user
C. If your MongoDB deployment has no users, you must connect to mongod using the localhost exception
D. None of the mentioned
Answer:A
Explanation:db.getRole() wraps the rolesInfo command. 5. Point out the wrong statement :
A. You must have the createUser action on a database to create a new user on that database B. You must have the grantRole action on a role’s database to grant the role to another user C. If your MongoDB deployment has no users, you must connect to mongod using the localhost exception D. None of the mentioned
Explanation:You can use –noauth option when starting mongod to gain full access the system. 6. ____________ removes a one or more roles from a user on the current database.