1.

Point out the wrong statement.(a) For hash-based sharding, MongoDB divides the data set into ranges determined by the shard key values to provide hash based partitioning(b) Cloud-based providers may only allow users to provision smaller instances(c) For hash based partitioning, MongoDB computes a hash of a field’s value, and then uses these hashes to create chunks(d) All of the mentionedThis question was addressed to me in final exam.My doubt stems from Sharding Concepts in portion Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Right choice is (a) For hash-BASED sharding, MongoDB divides the data set into ranges determined by the shard KEY values to PROVIDE hash based PARTITIONING

Easiest explanation: For range-based sharding, MongoDB divides the data set into ranges determined by the shard key values to provide range based partitioning.



Discussion

No Comment Found

Related InterviewSolutions