1.

_________ is an internal command that supports the sharding functionality.(a) getBalancerHost()(b) getShardMap(c) enableSharding()(d) all of the mentionedThe question was posed to me during a job interview.Query is from Sharded Cluster Data Management topic in division Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Right option is (B) getShardMap

To EXPLAIN I would say: sh.getBalancerHost() RETURNS the name of a mongos that’s responsible for the BALANCER PROCESS.



Discussion

No Comment Found

Related InterviewSolutions