MCQOPTIONS
Saved Bookmarks
This section includes 8 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Command listIndexes.ok returning value 1 indicates ______________ |
| A. | failure |
| B. | success |
| C. | abnormal exit |
| D. | none of the mentioned |
| Answer» C. abnormal exit | |
| 2. |
You must have the __________ action on a role’s database to grant the role to another user. |
| A. | grantRole |
| B. | grantRoleAdm |
| C. | grantRolePrivilege |
| D. | none of the mentioned |
| Answer» B. grantRoleAdm | |
| 3. |
Data of .system.indexes can be accessed using ____________ |
| A. | listallIndexes |
| B. | listIndexes |
| C. | ViewIndexes |
| D. | SelectIndexes |
| Answer» C. ViewIndexes | |
| 4. |
You must have the _______ action on a database to create a new user on that database. |
| A. | createUser |
| B. | createSuperUser |
| C. | createSuUser |
| D. | all of the mentioned |
| Answer» B. createSuperUser | |
| 5. |
MongoDB stores user credentials in the protected admin.system._________ |
| A. | user |
| B. | capped |
| C. | cappeduser |
| D. | users |
| Answer» E. | |
| 6. |
_________ provides all the privileges of the read role. |
| A. | delete |
| B. | update |
| C. | readWrite |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 7. |
__________ consists of a specified resource and the actions permitted on the resource. |
| A. | privilege |
| B. | action |
| C. | command |
| D. | right |
| Answer» B. action | |
| 8. |
MongoDB employs _________ to govern access to a MongoDB system. |
| A. | RBAS |
| B. | RBAC |
| C. | RBCC |
| D. | None of the mentioned |
| Answer» C. RBCC | |