Which of the following are built-in roles for user management in MongoDB?

Prepare for the MongoDB Sales Aptitude Test with interactive flashcards and multiple-choice questions. Each question includes detailed explanations. Ace your exam!

The correct response identifies built-in roles for user management in MongoDB, specifically highlighting the roles of "read," "readWrite," and "dbAdmin."

The "read" role permits users to read data from a database, allowing them access to view collections and documents within that database. The "readWrite" role expands on this by giving users the ability not only to read documents but also to insert, update, and delete documents. The "dbAdmin" role provides administrative privileges on a database, enabling the user to perform tasks such as creating and modifying indexes, gathering statistics, and managing the database’s configuration. These roles are essential in establishing user permissions and managing access to data effectively in a MongoDB environment.

Other choices do contain some relevant terms, but they either mix roles that are not standard built-in roles or include roles that do not exist within MongoDB’s user management framework. For instance, while "admin" and "userAdmin" are indeed built-in roles, the inclusion of "readAnyDatabase" is not part of the standard set of roles that MongoDB provides directly. The mention of "readOnly" and "delete" in other options does not accurately reflect MongoDB’s built-in roles either, further confirming that the

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy