MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 7

Choose a topic to test your knowledge and improve your MongoDB skills

1. _____ supports concurrent access by readers and writers to the documents in a collection.




2. MongoDB uses ________ logging to an on-disk journal.




3. The ________ command returns information regarding the number of open connections.




4. ____ do not typically provide sufficient performance to support a MongoDB deployment.




5. Which of the following should be avoided with MongoDB Deployments?




6. With the WiredTiger storage engine, use of _______ is strongly recommended to avoid performance issues




7. Point out the correct statement.




8. MongoDB requires a filesystem that supports ______ on directories.




9. MongoDB Cloud Manager provides integration with Amazon Web Services (AWS) and lets you deploy new ______ instances directly from MongoDB Cloud Manager.




10. Point out the wrong statement.




11. WiredTiger can compress collection data using either snappy or zlib compression library.




12. Which of the following is especially important in Sharded Clusters?




13. The TCP keepalive on the Azure load balancer is ______ seconds by default.




14. _____ is a command-line tool for monitoring network use.




15. MongoDB supports tagging a range of _______ key values to associate that range with a shard or group of shards.




16. Point out the correct statement.




17. The _______ migrates chunks of documents in a sharded collection to the shards associated with a tag.




18. Point out the wrong statement.




19. By default, an application directs its ______ operations to the primary member in a replica set.




20. Which of the following should not be used to provide extra capacity for reads?




21. Read preference modes are also available to clients connecting to a sharded cluster through ______




22. All read preference modes except _______ may return stale data.




23. Which of the following preference does not affect the visibility of data?




24. Which of the following collections work in a way similar to circular buffers?




25. Point out the correct statement.




26. ____ stores a log of the operations in a replica set.




27. _____ is also used to pre-allocate space for an ordinary collection.




28. Point out the wrong statement.




29. If you perform a ________ on a capped collection with no ordering specified, MongoDB guarantees that the ordering of results is the same as the insertion order.




30. Which of the following should is used to check whether collection is capped or not?




31. ______ convert a non-capped collection to a capped collection.




32. ____ command creates the capped collection and imports the data.




33. Which of the following command obtains a global write lock and will block other operations until it has completed?




34. Which of the following collection do not support the TTL property?




35. Point out the correct statement.




36. If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.




37. Point out the correct statement.




38. Secondary members replicate _________ operations from the primary.




39. A collection with a TTL index has __________ enabled.




40. Which field does not support TTL indexes?




41. You cannot use _________ to change the value of expireAfterSeconds of an existing index.




42. You cannot create a TTL index on a ________ collection.




43. Which of the following setting defines what constitutes a “slow” operation?




44. Point out the correct statement.




45. _____ provide the number of times the lock acquisitions encountered deadlocks.




46. If __________ is high relative to uptime, the database has existed in a lock state for a significant amount of time.




47. Point out the wrong statement.




48. The __________ data structure value provides more granular information concerning the number of operations queued because of a lock.




49. serverStatus includes all fields by default, except ____




50. ____ field contains total number of current clients that connect to the database instance.