Question
a.
Hashed keys do not work well with fields that increase monotonically like ObjectId values or timestamps
b.
If you shard an empty collection using a hashed shard key, MongoDB will automatically create and migrate chunks so that each shard has two chunks
c.
Hashed keys work well with ObjectId values only
d.
All of the mentioned
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. Point out the correct statement.
Similar Questions
Discover Related MCQs
Q. You can control how many chunks MongoDB will create with the ___________ parameter.
View solution
Q. MongoDB automatically computes the hashes when resolving queries using ______ indexes.
View solution
Q. MongoDB generates _______ values upon document creation to produce a unique identifier for the object.
View solution
Q. A shard key that increases monotonically will not hinder performance if most of your write operations are ____ operations.
View solution
Q. The mongos provides an interface for applications to interact with sharded clusters that hides the complexity of data ______
View solution
Q. The _________ process is responsible for redistributing the chunks of a sharded collection evenly among the shards for every sharded collection.
View solution
Q. Point out the correct statement.
View solution
Q. Use _______ migration to distribute data during bulk inserts.
View solution
Q. The balancer process sends the _______ command to the source shard.
View solution
Q. Point out the wrong statement.
View solution
Q. The source shard is responsible for incoming ______ operations for the chunk.
View solution
Q. ________ can alter the behavior so that the delete phase of the current migration blocks the start of the next chunk migration.
View solution
Q. The default value _________ becomes true for all chunk migrations.
View solution
Q. You can set the _________ option on the balancer configuration to set different write concern semantics.
View solution
Q. With __________ enabled, the source shard archives the documents in the migrated chunks in a directory named after the collection namespace.
View solution
Q. The ________ collection stores a document for each change to the metadata of a sharded collection.
View solution
Q. Point out the correct statement.
View solution
Q. The _________ collection stores a document for each sharded collection in the cluster.
View solution
Q. You can return a list of the collections, with the following helper ______________
View solution
Q. Point out the wrong statement.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!