1.

Point out the wrong statement.(a) The best way to ensure a field has unique values is to generate universally unique identifiers (UUID,) such as MongoDB’s ‘ObjectId values(b) Most deployments will not need to shard the files collection(c) The files collection is typically small, and only contains metadata(d) None of the mentionedThis question was addressed to me during an internship interview.Origin of the question is Sharded Cluster Data Management topic in portion Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Correct option is (d) NONE of the mentioned

The explanation is: None of the REQUIRED keys for GridFS LEND themselves to an EVEN distribution in a sharded SITUATION.



Discussion

No Comment Found

Related InterviewSolutions