MCQOPTIONS
Saved Bookmarks
This section includes 23 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Ops Manager _________ provides an interface for configuring MongoDB nodes and clusters and for upgrading your MongoDB deployment. |
| A. | Automation |
| B. | Performance |
| C. | Monitoring |
| D. | None of the mentioned |
| Answer» B. Performance | |
| 2. |
Ops Manager ______ provides scheduled snapshots and point-in-time recovery of your MongoDB replica sets and sharded clusters. |
| A. | Automation |
| B. | Performance |
| C. | Monitoring |
| D. | Backup |
| Answer» E. | |
| 3. |
Sharded clusters snapshots temporarily stop the balancer via : |
| A. | Mongod |
| B. | MMS |
| C. | MonitorMMS |
| D. | mongos |
| Answer» E. | |
| 4. |
Ops Manager reads directly from the Backup Blockstore database and transfers files either through : |
| A. | TCP |
| B. | HTTPS |
| C. | MMS |
| D. | All of the mentioned |
| Answer» C. MMS | |
| 5. |
Which of the following command returns quickly and does not impact MongoDB performance ? |
| A. | dbStats |
| B. | db.serverStatus() |
| C. | db.stats() |
| D. | none of the mentioned |
| Answer» C. db.stats() | |
| 6. |
________ provides statistics that resemble dbStats on the collection level |
| A. | dbStats |
| B. | db.serverStatus() |
| C. | db.statserver() |
| D. | collstats |
| Answer» E. | |
| 7. |
_________ allows only one agent of each type per machine and will remove additional agents. |
| A. | Automation |
| B. | Performance |
| C. | Monitoring |
| D. | Backup |
| Answer» B. Performance | |
| 8. |
__________ returns the JavaScript representation in the form of a string literal |
| A. | toStringJava() |
| B. | toString() |
| C. | String() |
| D. | none of the mentioned |
| Answer» C. String() | |
| 9. |
Which of the following query is used to generate a new ObjectId, use the ObjectId() constructor with no argument |
| A. | x = ObjectIdAdd() |
| B. | x = addObjectId() |
| C. | x = ObjectId() |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 10. |
Which of the the following data structures are documents in MongoDB ? |
| A. | All database records |
| B. | Query selectors |
| C. | Update definitions |
| D. | All of the mentioned |
| Answer» E. | |
| 11. |
Updates that include _________ of field names may result in the reordering of fields in the document. |
| A. | Renaming |
| B. | Joining |
| C. | Nesting |
| D. | None of the mentioned |
| Answer» B. Joining | |
| 12. |
MongoDB uses the ________ notation to access the elements of an array and to access the fields of an embedded document. |
| A. | Dot |
| B. | Array |
| C. | Nested Sets |
| D. | None of the mentioned |
| Answer» B. Array | |
| 13. |
User-defined indexes on multiple fields is called : |
| A. | composite index |
| B. | secondary index |
| C. | compound index |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 14. |
The $rename operator logically performs an _______ of both the old name and the new name. |
| A. | $unset |
| B. | $set |
| C. | $Nested |
| D. | None of the mentioned |
| Answer» B. $set | |
| 15. |
An application communicates with MongoDB by way of a client library, called : |
| A. | Driver |
| B. | Parent |
| C. | Rank |
| D. | None of the mentioned |
| Answer» B. Parent | |
| 16. |
Index keys that are of the _______ type are more efficiently stored in the index. |
| A. | Materialized Paths |
| B. | BinData |
| C. | String |
| D. | None of the mentioned |
| Answer» C. String | |
| 17. |
The ___ field contains the sequence number of the chunk. |
| A. | x |
| B. | array |
| C. | field |
| D. | n |
| Answer» E. | |
| 18. |
The GridFS index allows efficient retrieval of __________ using the files_id and n values |
| A. | chunks |
| B. | files |
| C. | bson |
| D. | none of the mentioned |
| Answer» B. files | |
| 19. |
The MongoDB ______ supports the backing up and restoring of MongoDB deployments. |
| A. | Cloud Manager |
| B. | MMS |
| C. | MonitorMMS |
| D. | None of the mentioned |
| Answer» B. MMS | |
| 20. |
If applications modify data while mongodump is creating a backup, _________ will compete for resources with those applications. |
| A. | mongostore |
| B. | mongorestore |
| C. | mongod |
| D. | mongodump |
| Answer» E. | |
| 21. |
For replica sets, mongodump also supports a point in time feature with the ________ option |
| A. | –oplog |
| B. | –log |
| C. | –op |
| D. | None of the mentioned |
| Answer» B. –log | |
| 22. |
Which of the following sets the database profiler level ? |
| A. | systemLog.verbosity |
| B. | operationProfiling.mode |
| C. | operationProfiling.slowOpThresholdMs |
| D. | none of the mentioned |
| Answer» C. operationProfiling.slowOpThresholdMs | |
| 23. |
On Linux, use the ______ command to check if disk I/O is a bottleneck for your database. |
| A. | stat |
| B. | iostats |
| C. | iostat |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |