1.

MongoDB generates _______ values upon document creation to produce a unique identifier for the object.(a) ObjectId(b) CompId(c) DoctId(d) All of the mentionedThe question was posed to me by my college professor while I was bunking the class.My question comes from Sharded Cluster Behavior topic in portion Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Correct choice is (a) ObjectId

The best explanation: Some possible shard KEYS will allow your APPLICATION to take advantage of the increased WRITE capacity that the CLUSTER can provide, while others do not.



Discussion

No Comment Found

Related InterviewSolutions