This set of MongoDB Multiple Choice Questions & Answers (MCQs) focuses on “Operational Strategies”.
1. On Linux the ______ manager can create a snapshot.
a) LVM
b) SVM
c) MMS
d) All of the mentioned
View Answer
Explanation: You can create a backup by copying MongoDB’s underlying data files.
2. Point out the correct statement.
a) The mechanics of snapshots depend on the underlying storage system
b) To get a consistent snapshot of a sharded system, you must disable the balancer
c) If your storage system does not support snapshots, you can copy the files directly using cp, rsync, or a similar tool
d) All of the mentioned
View Answer
Explanation: Backups produced by copying the underlying data do not support point in time recovery for replica sets and are difficult to manage for larger sharded clusters.
3. When connected to a MongoDB instance, mongodump can adversely affect ______ performance.
a) mdump
b) mongodump
c) mongod
d) all of the mentioned
View Answer
Explanation: If your data is larger than system memory, the queries will push the working set out of memory.
4. To mitigate the impact of mongodump on the performance of the replica set, use mongodump to capture backups from a _________ member of a replica set.
a) primary
b) secondary
c) snaphot
d) none of the mentioned
View Answer
Explanation: Alternatively, you can shut down a secondary and use mongodump with the data files directly.
5. Point out the wrong statement.
a) If you shut down a secondary to capture data with mongodump ensure that the operation can complete before its oplog becomes too stale to continue replicating
b) MongoDB Cloud Manager continually backs up MongoDB replica sets
c) Sharded cluster snapshots are easy to achieve with other MongoDB backup methods
d) None of the mentioned
View Answer
Explanation: Sharded cluster snapshots are difficult to achieve with other MongoDB backup methods.
6. ________ an on-premise solution, has similar functionality to the cloud version.
a) Opscore Manager
b) Ops Manager
c) Mongod
d) None of the mentioned
View Answer
Explanation: This tool is available with Enterprise Advanced subscriptions.
7. Ops Manager provides Ops Manager ________ and Ops Manager Backup, which helps users optimize clusters and mitigate operational risk.
a) Performance
b) Administration
c) Monitoring
d) None of the mentioned
View Answer
Explanation: Ops Manager is a package for managing MongoDB deployments.
8. 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
View Answer
Explanation: Ops Manager Monitoring provides real-time reporting, visualization, and alerting on key database and hardware indicators.
9. 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
View Answer
Explanation: Backup can also create snapshots of standalones that are run as single-member replica sets.
10. Sharded clusters snapshots temporarily stop the balancer via ______________
a) Mongod
b) MMS
c) MonitorMMS
d) mongos
View Answer
Explanation: Backup takes and stores snapshots based on a user-defined snapshot retention policy.
Sanfoundry Global Education & Learning Series – MongoDB.
Here’s the list of Best Books in MongoDB.
- Apply for Programming Internship
- Check MongoDB Books
- Check Information Technology Books
- Practice Programming MCQs