1.

A _________ key is either an indexed field or an indexed compound field that exists in every document in the collection.(a) cluster(b) shard(c) partition(d) all of the mentionedI had been asked this question in a job interview.This intriguing question comes from Sharding Concepts in division Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Right ANSWER is (B) shard

To elaborate: SHARDING PARTITIONS a collection’s data by the shard KEY.



Discussion

No Comment Found

Related InterviewSolutions