R4RIN
Articles
Java 8
MCQS
MongoDB MCQ Quiz Hub
MongoDB Mcq Question Set 6
Choose a topic to test your knowledge and improve your MongoDB skills
1. mongodump and mongorestore can operate against a running _______ process.
mongostore
mongorestore
mongod
None of the mentioned
2. For replica sets, mongodump also supports a point in time feature with the ________ option.
–oplog
–log
–op
None of the mentioned
3. If applications modify data while mongodump is creating a backup _________ will compete for resources with those applications.
mongostore
mongorestore
mongod
mongodump
4. The MongoDB ______ supports the backing up and restoring of MongoDB deployments
Cloud Manager
MMS
MonitorMMS
None of the mentioned
5. On Linux the ______ manager can create a snapshot.
LVM
SVM
MMS
All of the mentioned
6. Point out the correct statement.
The mechanics of snapshots depend on the underlying storage system
To get a consistent snapshot of a sharded system, you must disable the balancer
If your storage system does not support snapshots, you can copy the files directly using cp, rsync, or a similar tool
All of the Mentioned
7. When connected to a MongoDB instance, mongodump can adversely affect ______ performance.
mdump
mongodump
mongod
All of the Mentioned
8. 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.
primary
secondary
snaphot
None of the mentioned
9. Point out the wrong statement.
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
MongoDB Cloud Manager continually backs up MongoDB replica sets
Sharded cluster snapshots are easy to achieve with other MongoDB backup methods
None of the mentioned
10. ____ an on-premise solution, has similar functionality to the cloud version.
Opscore Manager
Ops Manager
Mongod
none of the mentioned
11. Ops Manager provides Ops Manager ________ and Ops Manager Backup, which helps users optimize clusters and mitigate operational risk.
Performance
Administration
Monitoring
None of the mentioned
12. Ops Manager _________ provides an interface for configuring MongoDB nodes and clusters and for upgrading your MongoDB deployment.
Automation
Performance
Monitoring
None of the mentioned
13. Ops Manager ______ provides scheduled snapshots and point-in-time recovery of your MongoDB replica sets and sharded clusters.
Automation
Performance
Monitoring
Backup
14. Sharded clusters snapshots temporarily stop the balancer via ________
Mongod
MMS
MonitorMMS
mongos
15. Ops Manager reads directly from the Backup Blockstore database and transfers files either through _______
TCP
HTTPS
MMS
All of the mentioned
16. Point out the correct statement.
The amount of oplog to keep per backup is configurable and affects the time window available for checkpoint and point-in-time restores
To get a consistent snapshot of a sharded system, you must enable the balancer
Backups produced by copying the underlying data do support point in time recovery
All of the Mentioned
17. Ops Manager maintains one _____ database for each backed-up replica set.
mdump
head
tail
All of the mentioned
18. The agent ships initial sync and oplog data over HTTPS back to ______
Opscore Manager
Ops Manager
mongod
none of the mentioned
19. Backup can also create snapshots of _________ that are run as single-member replica sets.
documents
standalones
backups
None of the mentioned
20. Which of the following document details the state and configuration of the replica set and statistics about its members?
replSetGetStatus
db.serverStatus()
db.stats()
None of the mentioned
21. ______ captures and returns the counts of database operations by type.
mongostat
mongod
mms
All of the Mentioned
22. Point out the correct statement.
Database commands cannot return statistics regarding the current database state with greater fidelity
Monitoring is a critical component of all database administration
The MongoDB distribution does not include utilities that quickly return statistics about instances’ performance and activity
All of the Mentioned
23. _____ tracks and reports the current read and write activity of a MongoDB instance, and reports these statistics on a per collection basis.
mongostat
mongod
mongotop
All of the Mentioned
24. _____ method is useful tool for identifying the database instance’s in-progress operations.
db.current
db.currentOp
db.Op
None of the mentioned
25. Point out the correct statement.
MMS offers point in time recovery of MongoDB replica sets
MongoDB provides a web interface that exposes diagnostic and monitoring information in a simple web page
db.Status() outputs an account of the state of a MongoDB instance
none of the mentioned
26. _______ returns a general overview of the status of the database, detailing disk usage, memory use, connection, journaling, and index access.
dbStats
db.serverStatus()
db.stats()
none of the mentioned
27. The ________ reflect the amount of storage used, the quantity of data contained in the database, and object, collection, and index counters.
dbStats
db.serverStatus()
db.statserver()
none of the mentioned
28. ____ provides statistics that resemble dbStats on the collection level.
dbStats
db.serverStatus()
db.statserver()
collstats
29. Replica set configuration requires that the _______ have a value that is consistent among all members of the set.
replSetName
instance
MMS
All of the Mentioned
30. Point out the correct statement.
Replica set configuration is straightforward
Keyfile must be less than one kilobyte in size
Keyfile may only contain characters in the base64 set and the file must not have group or “world” permissions on UNIX systems
All of the Mentioned
31. Setting _______ enables authentication and specifies a key file for the replica set member use to when authenticating to each other.
mongostat
mongod
keyFile
All of the Mentioned
32. ___ is /srv/mongodb, which specifies where MongoDB will store its data files.
dbPath
dbPathSts
db.Op
None of the mentioned
33. Point out the correct statement.
Config servers are not replica sets
Sharding requires a number of mongod instances with different configurations
The config servers store the cluster’s metadata, while the cluster distributes data among one or more shard servers
None of the mentioned
34. ___ bit builds of mongod enable journaling by default.
8
16
32
64
35. Which of the following provide acceptable performance levels for multiple mongod instances?
GridFS
SST
MMS
SSD
36. What is the size of Chunk by default?
64 MB
64 GB
64 KB
32 MB
37. Which of the following sets the database profiler level?
systemLog.verbosity
operationProfiling.mode
operationProfiling.slowOpThresholdMs
None of the mentioned
38. Which of the following document configures the threshold which determines whether a query is “slow” for the purpose of the logging system?
systemLog.verbosity
operationProfiling.mode
operationProfiling.slowOpThresholdMs
none of the mentioned
39. ____ contains a counter of the total number of clients with active operations in progress or queued.
globalLock.active
localLock.activeClients
globalLock.activeClients
All of the Mentioned
40. Point out the correct statement.
In MongoDB 3.0, cursor.explain() returns the indexOnly field to indicate whether the index covered a query
When an index covers a query, MongoDB can both match the query conditions and return the results using only the index keys
For read-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among mongod instances
All of the mentioned
41. The ___________ collection stores custom roles that administrators create and assign to users to provide access to specific resources.
admin.system.role
admin.system.roles
admin.system.roleasign
All of the Mentioned
42. The _________ field provides the amount of resident memory in use.
mem.resident
memory.resident
mem.resident
All of the Mentioned
43. Point out the correct statement.
MongoDB distributions are currently available for Mac OS X, Linux, Windows Server 2012, Windows Server 2008 R2 64bit, Windows 7 (64 bit), Windows Vista, and Solaris
The MongoDB distribution for Solaris include support for the WiredTiger storage engine
mongod will not start if dbPath contains data files created by a storage engine
none of the mentioned
44. When the TTL thread is active, you will see _______ operations in the output of db.currentOp().
read
update
delete
All of the Mentioned
45. MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____
rs.config()
rs.conf()
rs.confstats()
All of the mentioned
46. Which of the following represents Shared lock?
R
w
r
W
47. On Linux, use the ______ command to check if disk I/O is a bottleneck for your database.
stat
iostats
iostat
None of the mentioned
48. Which of the following storage engine is supported by default?
MMAPv1
WiredTiger
WirelessTiger
All of the Mentioned
49. Point out the correct statement.
Replica set configuration is complex
MongoDB includes support for two storage engines
MongoDB includes support for more than three storage engines
All of the Mentioned
50. All collections have a unique ________ lock that allows multiple clients to modify documents in different collections at the same time.
writer
readers-writer
readers
All of the Mentioned
Submit