Explore topic-wise MCQs in Mongodb.

This section includes 2 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.

1.

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
2.

Data of <database>.system.indexes can be accessed using ____________

A. listallIndexes
B. listIndexes
C. ViewIndexes
D. SelectIndexes
Answer» C. ViewIndexes