

MCQOPTIONS
Saved Bookmarks
This section includes 13 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
1. |
______ is used to load all the scripts saved in the system.js collection for the current database. |
A. | db.loadServerScripts() |
B. | db.loadScripts() |
C. | db.loadServerScriptsjs() |
D. | none of the mentioned |
Answer» B. db.loadScripts() | |
2. |
Which of the following can store JavaScript functions for reuse? |
A. | store.js |
B. | system.js |
C. | system.store.js |
D. | save.js |
Answer» C. system.store.js | |
3. |
Which of the following The collection holds special JavaScript code for use in server side JavaScript? |
A. | <database>.system.jserver |
B. | <database>.system.jscript |
C. | <database>.system.js |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
4. |
The
|
A. | serverinfo |
B. | indexes |
C. | profiling |
D. | all of the mentioned |
Answer» C. profiling | |
5. |
The ___________ collection stores the user’s authentication credentials as well as any roles assigned to the user. |
A. | admin.system.auth |
B. | admin.system.users |
C. | admin.system.usersauth |
D. | all of the mentioned |
Answer» C. admin.system.usersauth | |
6. |
In replica sets, each ________ maintains a connection to all other members of the set. |
A. | serverInfo |
B. | mongod |
C. | mongos |
D. | none of the mentioned |
Answer» C. mongos | |
7. |
_______IS_USED_TO_LOAD_ALL_THE_SCRIPTS_SAVED_IN_THE_SYSTEM.JS_COLLECTION_FOR_THE_CURRENT_DATABASE.?$ |
A. | db.loadServerScripts() |
B. | db.loadScripts() |
C. | db.loadServerScriptsjs() |
D. | none of the mentioned |
Answer» B. db.loadScripts() | |
8. |
In replica sets, each ________ maintains a connection to all other members of the set.$ |
A. | serverInfo |
B. | mongod |
C. | mongos |
D. | none of the mentioned |
Answer» C. mongos | |
9. |
Which of the following can store JavaScript functions for reuse ? |
A. | store.js |
B. | system.js |
C. | system.store.js |
D. | save.js |
Answer» C. system.store.js | |
10. |
Which of the following The collection holds special JavaScript code for use in server side JavaScript ? |
A. | <database>.system.jserver |
B. | <database>.system.jscript |
C. | <database>.system.js |
D. | none of the mentioned |
Answer» D. none of the mentioned | |
11. |
The
|
A. | serverinfo |
B. | indexes |
C. | profiling |
D. | all of the mentioned |
Answer» C. profiling | |
12. |
The ___________ collection stores the user’s authentication credentials as well as any roles assigned to the user$ |
A. | admin.system.auth |
B. | admin.system.users |
C. | admin.system.usersauth |
D. | all of the mentioned |
Answer» C. admin.system.usersauth | |
13. |
MongoDB stores additional instance-local metadata in the _______ database. |
A. | Master |
B. | Model |
C. | Local |
D. | All of the mentioned |
Answer» D. All of the mentioned | |