MongoDB MCQ Quiz Hub

MongoDB Mcq Question Set 17

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

1. To provide high availability and data consistency, in a production sharded cluster, each shard is a _____




2. ______ interface with client applications and direct operations to the appropriate shard or shards.




3. A sharded cluster can contain __________ query router to divide the client request load.




4. Point out the correct statement.




5. _____ servers store the cluster’s metadata.




6. The query router uses __________ to target operations to specific shards.




7. Point out the wrong statement.




8. Production sharded clusters have exactly ______ config servers.




9. A _________ key is either an indexed field or an indexed compound field that exists in every document in the collection.




10. To divide the shard key values into chunks, MongoDB uses _____ based partitioning.




11. With hash based partitioning, two documents with _____ shard key values are unlikely to be part of the same chunk.




12. __ based partitioning, by contrast, ensures an even distribution of data at the expense of efficient range queries.




13. MongoDB allows administrators to direct the balancing policy using ______ aware sharding.




14. Point out the correct statement.




15. Tags are the primary mechanism to control the behavior of the _______ and the distribution of chunks in a cluster.




16. How many background process runs behind balanced cluster?




17. Point out the wrong statement.




18. _____ is a background process that keeps chunks from growing too large.




19. The shards manage _______ migrations as a background operation between an origin shard and a destination shard.




20. For most deployments, the default value of chunk is _____ megabytes is ideal.




21. The ______ instances are the routers for the cluster.




22. A single sharded cluster must have exclusive use of its _______ servers.




23. When a chunk grows beyond the chunk size, MongoDB attempts to split the chunk into smaller chunks, always based on ranges in the _____




24. Point out the correct statement.




25. The index on the shard key cannot be a _________ index.




26. Hashed shard keys use a ________ index of a single field as the shard key to partition data across your sharded cluster.




27. Point out the correct statement.




28. You can control how many chunks MongoDB will create with the ___________ parameter.




29. MongoDB automatically computes the hashes when resolving queries using ______ indexes.




30. MongoDB generates _______ values upon document creation to produce a unique identifier for the object.




31. A shard key that increases monotonically will not hinder performance if most of your write operations are ____ operations.




32. The mongos provides an interface for applications to interact with sharded clusters that hides the complexity of data ______




33. The _________ process is responsible for redistributing the chunks of a sharded collection evenly among the shards for every sharded collection.




34. Point out the correct statement.




35. Use _______ migration to distribute data during bulk inserts.




36. The balancer process sends the _______ command to the source shard.




37. Point out the wrong statement.




38. The source shard is responsible for incoming ______ operations for the chunk.




39. _____ can alter the behavior so that the delete phase of the current migration blocks the start of the next chunk migration.




40. The default value _________ becomes true for all chunk migrations.




41. You can set the _________ option on the balancer configuration to set different write concern semantics.




42. With __________ enabled, the source shard archives the documents in the migrated chunks in a directory named after the collection namespace.




43. The ________ collection stores a document for each change to the metadata of a sharded collection.




44. Point out the correct statement.




45. The _________ collection stores a document for each sharded collection in the cluster.




46. You can return a list of the collections, with the following helper ______




47. Point out the wrong statement.




48. _____ is a string that holds the address of the client, a mongos instance that initiates this change.




49. The _______ collection keeps track of the active components in the sharded cluster.




50. If the collection is empty then MongoDB will create the index as part of the ________