Question
a.
sh.waitForBalancer()
b.
sh.startBalancer()
c.
sh.waitForPingChange()
d.
all of the mentioned
Posted under MongoDB
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. _________ waits for a change in ping state from one of the mongos in the sharded cluster.
Similar Questions
Discover Related MCQs
Q. Point out the correct statement.
View solution
Q. _______ enables the balancer and waits for balancing to start.
View solution
Q. ________ returns a boolean to report if the balancer is currently enabled.
View solution
Q. _______ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().
View solution
Q. _________ disable balancing on a single collection in a sharded database.
View solution
Q. _________ removes an association between a range shard keys and a shard tag.
View solution
Q. _________ reports on the last chunk migration.
View solution
Q. Point out the wrong statement.
View solution
Q. _______ reports on the active balancer lock, if it exists.
View solution
Q. ________ tests to see if the mongo shell is connected to a mongos instance.
View solution
Q. Point out the correct statement.
View solution
Q. _______ runs a database command against the admin database of a mongos instance.
View solution
Q. Which of the following parameter denotes name of the shard from which to remove a tag?
View solution
Q. Use ________ to ensure that the balancer migrates documents that exist within the specified range to a specific shard.
View solution
Q. Which of the following parameter represents minimum value of the shard key range to include in the tag?
View solution
Q. Each document in the tags holds the ________ of the sharded collection and a minimum shard key value.
View solution
Q. To assign a tag to a range of shard keys use the _________ method when connected to a mongos instance.
View solution
Q. Point out the wrong statement.
View solution
Q. ________ associates a shard with a tag or identifier.
View solution
Q. _________ is used to remove tags from a particular shard.
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MongoDB? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!