1.

_________ waits for a change in ping state from one of the mongos in the sharded cluster.(a) sh.waitForBalancer()(b) sh.startBalancer()(c) sh.waitForPingChange()(d) all of the mentionedThis question was addressed to me in semester exam.The above asked question is from Sharded Cluster Data Management topic in portion Sharding Concepts, Mechanics and Sharded Cluster of MongoDB

Answer»

Correct option is (c) sh.waitForPingChange()

EXPLANATION: sh.waitForBalancer() waits for the BALANCER state to CHANGE.



Discussion

No Comment Found

Related InterviewSolutions