1.

Use ________ to determine the current chunk ranges across the cluster.(a) sh.collects()(b) sh.status()(c) sh.results()(d) all of the mentionedThis question was posed to me in unit test.Enquiry is from Sharded Cluster Maintenance in chapter Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

The correct OPTION is (b) sh.status()

Explanation: To access the config database, connect to a mongos INSTANCE in a SHARDED CLUSTER, and use the FOLLOWING helper: use config



Discussion

No Comment Found

Related InterviewSolutions