Question
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
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Point out the wrong statement.
Similar Questions
Discover Related MCQs
Q. Which of the following method is used to identify the privileges granted by the roles?
View solution
Q. Grant the user the role using the ________ method.
View solution
Q. Point out the correct statement.
View solution
Q. To view a role’s information, you must be explicitly granted the role or must have the _________ action on the role’s database.
View solution
Q. ______________ enables a set of internal commands useful for internal testing operations.
View solution
Q. enableLocalhostAuthBypass is not available using _________ database command.
View solution
Q. The ________ client authentication allows clients to authenticate to servers with certificates rather than with a username and password.
View solution
Q. Point out the wrong statement.
View solution
Q. If you need to disable access control for any reason, restart the process with ______ setting.
View solution
Q. If you use the localhost exception when deploying a new MongoDB system, the first user you create must be in the ________ database.
View solution
Q. Point out the correct statement.
View solution
Q. If you create the user administrator before enabling access control, MongoDB disables the ________ exception.
View solution
Q. MongoDB supports the execution of JavaScript code for certain server-side operations like ____________
View solution
Q. Which of the following is used to display the replica set configuration object?
View solution
Q. _____________ is used to initiate relica member set.
View solution
Q. To generate pseudo-random data to use for a keyfile, issue the following __________ command.
View solution
Q. Use the __________ option to ensure that MongoDB listens for connections from applications on configured addresses.
View solution
Q. Point out the wrong statement.
View solution
Q. ___________ allows administrators to define and limit the resources and operations that a user can access.
View solution
Q. With ___________ enabled, MongoDB forces all clients to identify themselves before granting access to the server.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!