MCQOPTIONS
Saved Bookmarks
This section includes 12 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
mongorestore recreates indexes recorded by _____________ |
| A. | bsondump |
| B. | mongodump |
| C. | mongostore |
| D. | all of the mentioned |
| Answer» C. mongostore | |
| 2. |
Use ______ to apply the changes to the new primary after rollback. |
| A. | mongostore |
| B. | mongorestore |
| C. | restore |
| D. | none of the mentioned |
| Answer» C. restore | |
| 3. |
_________ is used to read the contents of the rollback files. |
| A. | bsondumpdata |
| B. | bsondp |
| C. | bsondump |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 4. |
The names of rollback files have the following form. |
| A. | <database>.<collection>.<timestamp>.bson. |
| B. | <database>.<collection>.<tp>.bson. |
| C. | <database>.<collection>.<timestamp>.json. |
| D. | None of the mentioned |
| Answer» B. <database>.<collection>.<tp>.bson. | |
| 5. |
MongoDB writes the rollback data to BSON files in the rollback/ folder under the database’s ________ directory. |
| A. | dbPath |
| B. | logPath |
| C. | dataPath |
| D. | all of the mentioned |
| Answer» B. logPath | |
| 6. |
MONGORESTORE_RECREATES_INDEXES_RECORDED_BY_:?$ |
| A. | bsondump |
| B. | mongodump |
| C. | mongostore |
| D. | all of the mentioned |
| Answer» C. mongostore | |
| 7. |
Use ______ to apply the changes to the new primary after rollback? |
| A. | mongostore |
| B. | mongorestore |
| C. | restore |
| D. | none of the mentioned |
| Answer» C. restore | |
| 8. |
_________ is used to read the contents of the rollback files? |
| A. | bsondumpdata |
| B. | bsondp |
| C. | bsondump |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 9. |
MongoDB writes the rollback data to BSON files in the rollback/ folder under the database’s ________ directory.$ |
| A. | dbPath |
| B. | logPath |
| C. | dataPath |
| D. | all of the mentioned |
| Answer» B. logPath | |
| 10. |
Sometimes the failover process may require a ____________ during operation. |
| A. | savepoint |
| B. | rollback |
| C. | commit |
| D. | none of the mentioned |
| Answer» C. commit | |
| 11. |
Failover allows a ________ member to become primary if primary is unavailable. |
| A. | Hidden |
| B. | Primary |
| C. | ViewState |
| D. | Secondary |
| Answer» E. | |
| 12. |
Replica sets provide high availability using automatic ________ |
| A. | failover |
| B. | replication |
| C. | failure |
| D. | all of the mentioned |
| Answer» B. replication | |