adplus-dvertising
frame-decoration

Question

Point out the correct statement.

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

Answer: (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

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.

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

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

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

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

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

Q. Point out the correct statement.

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

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

Q. Point out the wrong statement.

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

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

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

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

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

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

Q. Point out the correct statement.

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

Q. You can return a list of the collections, with the following helper ______________

Q. Point out the wrong statement.