MCQOPTIONS
Saved Bookmarks
This section includes 62 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which of the following allows the user to view the information of any user in the given database? |
| A. | createUser |
| B. | viewUser |
| C. | killCursors |
| D. | all of the mentioned |
| Answer» C. killCursors | |
| 52. |
For each _______ the Kerberos Key Distribution Center (KDC) maintains a database of the realm’s principal and the principal’s associated “secret keys”. |
| A. | key |
| B. | realm |
| C. | document |
| D. | none of the mentioned |
| Answer» C. document | |
| 53. |
_________ deletes from a shard the orphaned documents whose shard key values fall into a single continuous range. |
| A. | listallshards |
| B. | cleanup |
| C. | cleanupOrphaned |
| D. | SelectIndexes |
| Answer» D. SelectIndexes | |
| 54. |
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 | |
| 55. |
Point out the wrong statement. |
| A. | The “hard” ulimit refers to the maximum number of processes that a user can have active at any time |
| B. | The “soft” ulimit refers to the minimum number of processes that a user can have active at any time |
| C. | ulimit will modify both “hard” and “soft” values unless the -H or -S modifiers are specified when modifying limit values |
| D. | None of the mentioned |
| Answer» C. ulimit will modify both “hard” and “soft” values unless the -H or -S modifiers are specified when modifying limit values | |
| 56. |
The .system.indexes collection lists all the _________ in the database. |
| A. | serverinfo |
| B. | indexes |
| C. | profiling |
| D. | all of the mentioned |
| Answer» C. profiling | |
| 57. |
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 | |
| 58. |
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 | |
| 59. |
Point out the correct statement. |
| A. | You can limit the number of incoming connections using the maxConnections run-time option |
| B. | mongos instances maintain a connection pool to each shard so that the mongos can reuse connections |
| C. | You can use the limit command at the system prompt to check system limits |
| D. | All of the mentioned |
| Answer» C. You can use the limit command at the system prompt to check system limits | |
| 60. |
______ 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() | |
| 61. |
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 | |
| 62. |
Which of the following information is captured by database profiler? |
| A. | Read operations |
| B. | Write operations |
| C. | Cursor Operations |
| D. | All of the mentioned |
| Answer» E. | |