 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 47 Mcqs, each offering curated multiple-choice questions to sharpen your Mongodb knowledge and support exam preparation. Choose a topic below to get started.
| 1. | ____________ does not provide query execution information for the rejected plans. | 
| A. | serverstats | 
| B. | queryPlanner | 
| C. | executionStats | 
| D. | all of the mentioned | 
| Answer» D. all of the mentioned | |
| 2. | Which of the operator is used to access the query field of documents within system.profile? | 
| A. | $select | 
| B. | $retrieve | 
| C. | $query | 
| D. | None of the mentioned | 
| Answer» D. None of the mentioned | |
| 3. | In _____________ mode, MongoDB returns statistics describing the execution of the winning plan as well as statistics for the other candidate plans captured during plan selection. | 
| A. | somePlansExecution | 
| B. | allPlansExecution | 
| C. | rejPlansExecution | 
| D. | none of the mentioned | 
| Answer» C. rejPlansExecution | |
| 4. | All read preference modes except _______ may return stale data. | 
| A. | primary | 
| B. | primaryPreferred | 
| C. | secondary | 
| D. | none of the mentioned | 
| Answer» B. primaryPreferred | |
| 5. | For sharded collections, explain returns the __________ for each accessed shard. | 
| A. | clientInfo | 
| B. | serverInfo | 
| C. | serverplan | 
| D. | all of the mentioned | 
| Answer» C. serverplan | |
| 6. | The memory usage statuses metrics of the _________ output can provide insight into MongoDB’s memory use. | 
| A. | globalstats | 
| B. | serverStatus | 
| C. | locks.deadlockCount | 
| D. | all of the mentioned | 
| Answer» C. locks.deadlockCount | |
| 7. | If the query planner selects a collection scan, the explain result includes a _________ stage. | 
| A. | COLLSCAN | 
| B. | TABLESCAN | 
| C. | ROWSCAN | 
| D. | All of the mentioned | 
| Answer» B. TABLESCAN | |
| 8. | Which field does not support TTL indexes? | 
| A. | _identity | 
| B. | _option | 
| C. | _id | 
| D. | None of the mentioned | 
| Answer» D. None of the mentioned | |
| 9. | Which of the following is especially important in Sharded Clusters? | 
| A. | NSS | 
| B. | STP | 
| C. | NTP | 
| D. | SSD | 
| Answer» B. STP | |
| 10. | Which of the following command obtains a global write lock and will block other operations until it has completed? | 
| A. | ToCapped | 
| B. | isCapped | 
| C. | convertToCapped | 
| D. | None of the mentioned | 
| Answer» C. convertToCapped | |
| 11. | Which of the following preference does not affect the visibility of data? | 
| A. | read | 
| B. | write | 
| C. | read and write | 
| D. | none of the mentioned | 
| Answer» B. write | |
| 12. | ______ field contains total number of current clients that connect to the database instance. | 
| A. | available | 
| B. | current | 
| C. | always avail | 
| D. | none of the mentioned | 
| Answer» C. always avail | |
| 13. | Which of the following collection do not support the TTL property? | 
| A. | Compound indexes | 
| B. | Primary indexes | 
| C. | Composite indexes | 
| D. | All of the mentioned | 
| Answer» B. Primary indexes | |
| 14. | MongoDB’s _______ is a database profiling system that can help identify inefficient queries and operations. | 
| A. | Reporter | 
| B. | Executer | 
| C. | Profiler | 
| D. | None of the mentioned | 
| Answer» D. None of the mentioned | |
| 15. | ___________ convert a non-capped collection to a capped collection. | 
| A. | ToCapped | 
| B. | convertToCap | 
| C. | convertToCapped | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 16. | You cannot create a TTL index on a ________ collection. | 
| A. | Sharded | 
| B. | Capped | 
| C. | Primary | 
| D. | None of the mentioned | 
| Answer» C. Primary | |
| 17. | _________ command creates the capped collection and imports the data. | 
| A. | CollectionAsCapped | 
| B. | cloneCollection | 
| C. | cloneCollectionAsCapped | 
| D. | None of the mentioned | 
| Answer» D. None of the mentioned | |
| 18. | serverStatus includes all fields by default, except _________ | 
| A. | rangeDeleter | 
| B. | rangeDelete | 
| C. | rangeDEL | 
| D. | none of the mentioned | 
| Answer» C. rangeDEL | |
| 19. | Which of the following provides information on the MongoDB instance? | 
| A. | serverInfo | 
| B. | queryPlanner | 
| C. | executeStats | 
| D. | none of the mentioned | 
| Answer» B. queryPlanner | |
| 20. | _________ corresponds to the millis field returned by cursor.explain() in earlier versions of MongoDB. | 
| A. | executionMillis | 
| B. | executionTimeMillis | 
| C. | timemillis | 
| D. | all of the mentioned | 
| Answer» C. timemillis | |
| 21. | Which of the following should is used to check whether collection is capped or not? | 
| A. | isCAP() | 
| B. | isCapped() | 
| C. | isColl() | 
| D. | none of the mentioned | 
| Answer» C. isColl() | |
| 22. | If the query planner selects a _________ the explain result includes an IXSCAN stage. | 
| A. | Index | 
| B. | Replica Set | 
| C. | Document | 
| D. | None of the mentioned | 
| Answer» B. Replica Set | |
| 23. | ____________ returns information on the query plan for aggregate function. | 
| A. | Reporter | 
| B. | db.collection.explain() | 
| C. | db.collection.explainplan() | 
| D. | None of the mentioned | 
| Answer» C. db.collection.explainplan() | |
| 24. | Which of the following collections work in a way similar to circular buffers? | 
| A. | Capped | 
| B. | Secondary | 
| C. | Sharded | 
| D. | All of the mentioned | 
| Answer» B. Secondary | |
| 25. | Which of the following should not be used to provide extra capacity for reads? | 
| A. | primary | 
| B. | primaryPreferred | 
| C. | secondary | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 26. | Which of the following setting defines what constitutes a “slow” operation? | 
| A. | slowOpThresholdGs | 
| B. | fastOpThresholdMs | 
| C. | slowOpThresholdMs | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 27. | The TCP keepalive on the Azure load balancer is ______ seconds by default. | 
| A. | 100 | 
| B. | 200 | 
| C. | 240 | 
| D. | None of the mentioned | 
| Answer» B. 200 | |
| 28. | MongoDB stores tag sets in the replica set configuration object, which is the document returned by ____________ | 
| A. | rs.config() | 
| B. | rs.conf() | 
| C. | rs.confstats() | 
| D. | all of the mentioned | 
| Answer» C. rs.confstats() | |
| 29. | MongoDB reports its triggered page faults as the total number of page faults in ________ second. | 
| A. | 1 | 
| B. | 100 | 
| C. | 1000 | 
| D. | None of the mentioned | 
| Answer» B. 100 | |
| 30. | _____ is a command-line tool for monitoring network use. | 
| A. | bwm-ng | 
| B. | bwm-g | 
| C. | bwm-n | 
| D. | bwm-ngs | 
| Answer» B. bwm-g | |
| 31. | By default, db.collection.explain() runs in ___________ verbosity mode. | 
| A. | VerbosityMode | 
| B. | queryPlanner | 
| C. | executeStats | 
| D. | none of the mentioned | 
| Answer» C. executeStats | |
| 32. | Read preference modes are also available to clients connecting to a sharded cluster through ______________ | 
| A. | MMS | 
| B. | mongos | 
| C. | mongod | 
| D. | none of the mentioned | 
| Answer» C. mongod | |
| 33. | Which of the following parameter specifies the verbosity mode for the explain output? | 
| A. | verbosity | 
| B. | verbose | 
| C. | queryPlanner | 
| D. | none of the mentioned | 
| Answer» C. queryPlanner | |
| 34. | You can inspect __________ to check the amount of mapped memory that mongod is using. | 
| A. | mem.mapped | 
| B. | memory.resident | 
| C. | mem.resident | 
| D. | all of the mentioned | 
| Answer» B. memory.resident | |
| 35. | With the _______ storage engine, MongoDB uses memory-mapped files to store data. | 
| A. | MMAPv2 | 
| B. | MMAPv1 | 
| C. | WiredTiger | 
| D. | All of the mentioned | 
| Answer» C. WiredTiger | |
| 36. | You cannot use _________ to change the value of expireAfterSeconds of an existing index. | 
| A. | createIndex() | 
| B. | dropIndex() | 
| C. | removeIndex() | 
| D. | none of the mentioned | 
| Answer» B. dropIndex() | |
| 37. | Which of the following storage engine is supported by default? | 
| A. | MMAPv1 | 
| B. | WiredTiger | 
| C. | WirelessTiger | 
| D. | All of the mentioned | 
| Answer» B. WiredTiger | |
| 38. | The ________ command returns information regarding the number of open connections. | 
| A. | connPoolStats | 
| B. | connStats | 
| C. | serverstats | 
| D. | none of the mentioned | 
| Answer» B. connStats | |
| 39. | ________ do not typically provide sufficient performance to support a MongoDB deployment. | 
| A. | RAID-5 | 
| B. | RAID-10 | 
| C. | RAID-7 | 
| D. | None of the mentioned | 
| Answer» B. RAID-10 | |
| 40. | Which of the following should be avoided with MongoDB Deployments? | 
| A. | RAID-5 | 
| B. | RAID-10 | 
| C. | RAID-7 | 
| D. | RAID-0 | 
| Answer» E. | |
| 41. | With the WiredTiger storage engine, use of _______ is strongly recommended to avoid performance issues. | 
| A. | XFS | 
| B. | SSD | 
| C. | SST | 
| D. | All of the mentioned | 
| Answer» B. SSD | |
| 42. | Which of the following setting defines what constitutes a “slow” operation ?$# | 
| A. | slowOpThresholdGs | 
| B. | fastOpThresholdMs | 
| C. | slowOpThresholdMs | 
| D. | none of the mentioned | 
| Answer» D. none of the mentioned | |
| 43. | ______ field contains total number of current clients that connect to the database instance? | 
| A. | available | 
| B. | current | 
| C. | always avail | 
| D. | none of the mentioned | 
| Answer» C. always avail | |
| 44. | serverStatus includes all fields by default, except _________ . | 
| A. | rangeDeleter | 
| B. | rangeDelete | 
| C. | rangeDEL | 
| D. | none of the mentioned | 
| Answer» C. rangeDEL | |
| 45. | The __________ data structure value provides more granular information concerning the number of operations queued because of a lock. | 
| A. | currentQueue | 
| B. | curQueue | 
| C. | currentQu | 
| D. | none of the mentioned | 
| Answer» B. curQueue | |
| 46. | If __________ is high relative to uptime, the database has existed in a lock state for a significant amount of time. | 
| A. | globalLock.halfTime | 
| B. | globalLock.totalTime | 
| C. | globalLock.downTime | 
| D. | all of the mentioned | 
| Answer» C. globalLock.downTime | |
| 47. | ________ provide the number of times the lock acquisitions encountered deadlocks. | 
| A. | locks.deadlock | 
| B. | lock.deadlockCount | 
| C. | locks.deadlockCount | 
| D. | all of the mentioned | 
| Answer» D. all of the mentioned | |