MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 18

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

1. The _______ collection holds documents for each tagged shard key range in the cluster.




2. Split empty chunks in your collection by manually performing the ______ command on chunks.




3. Point out the correct statement.




4. MongoDB provides the _________ command to combine contiguous chunk ranges into a single chunk.




5. Use ________ to determine the current chunk ranges across the cluster.




6. Point out the wrong statement.




7. ______ splits the chunk that contains the shard key value specified by the query at the chunk’s median point.




8. _____ splits a chunk at the shard key value specified by the query.




9. sh.splitFind () Splits the chunk that contains the shard key value specified by the query at the chunk’s ______ point.




10. The mergeChunks command requires at least _______ empty input chunk.




11. The chunkSize and ________ options, passed at startup to the mongos, do not affect the chunk size after you have initialized the cluster.




12. The preferred way to clear the _________ flag from a chunk is to attempt to split the chunk.




13. Point out the correct statement.




14. ____ is used to remove tags from a particular shard.




15. _____ associates a shard with a tag or identifier.




16. Point out the wrong statement.




17. To assign a tag to a range of shard keys use the _________ method when connected to a mongos instance.




18. Each document in the tags holds the ________ of the sharded collection and a minimum shard key value.




19. Which of the following parameter represents minimum value of the shard key range to include in the tag?




20. Use ________ to ensure that the balancer migrates documents that exist within the specified range to a specific shard.




21. Which of the following parameter denotes name of the shard from which to remove a tag?




22. ____ runs a database command against the admin database of a mongos instance.




23. Point out the correct statement.




24. ____ tests to see if the mongo shell is connected to a mongos instance.




25. ____ reports on the active balancer lock, if it exists.




26. Point out the wrong statement.




27. _____ reports on the last chunk migration.




28. _____ removes an association between a range shard keys and a shard tag.




29. ______ disable balancing on a single collection in a sharded database.




30. _____ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().




31. _____ returns a boolean to report if the balancer is currently enabled.




32. ____ enables the balancer and waits for balancing to start.




33. Point out the correct statement.




34. ____ waits for a change in ping state from one of the mongos in the sharded cluster.




35. ____ forces an update to the cluster metadata cached by a mongos.




36. Point out the wrong statement.




37. Which of the following command that validates index on shard key?




38. Which of the following command is used to determine split points?




39. You can only issue listShards against the ________ database.




40. ______ is an internal command that supports the sharding functionality.




41. _____ command verifies that a process is a mongos.




42. Which of the following is not a feature for NoSQL databases?




43. Which of the following statement is correct with respect to mongoDB?




44. Which of the following is/are feature of mongoDB?




45. Which of the following represent column in mongoDB?




46. The system generated _id field is?




47. Which of the following true about mongoDB?




48. Collection is a group of MongoDB ______?




49. A developer want to develop a database for LFC system where the data stored is mostly in similar manner. Which database should use?




50. Documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data is known as ?