adplus-dvertising
frame-decoration

Question

_______ runs a database command against the admin database of a mongos instance.

a.

sh._checkFullName()

b.

sh._adminCommand()

c.

sh.getBalancerLockDetails()

d.

all of the mentioned

Posted under MongoDB

Answer: (b).sh._adminCommand()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. _______ runs a database command against the admin database of a mongos instance.

Similar Questions

Discover Related MCQs

Q. Point out the correct statement.

Q. ________ tests to see if the mongo shell is connected to a mongos instance.

Q. _______ reports on the active balancer lock, if it exists.

Q. Point out the wrong statement.

Q. _________ reports on the last chunk migration.

Q. _________ removes an association between a range shard keys and a shard tag.

Q. _________ disable balancing on a single collection in a sharded database.

Q. _______ activates the sharded collection balancer process if previously disabled using sh.disableBalancing().

Q. ________ returns a boolean to report if the balancer is currently enabled.

Q. _______ enables the balancer and waits for balancing to start.

Q. Point out the correct statement.

Q. _________ waits for a change in ping state from one of the mongos in the sharded cluster.

Q. _______ forces an update to the cluster metadata cached by a mongos.

Q. Point out the wrong statement.

Q. Which of the following command that validates index on shard key?

Q. Which of the following command is used to determine split points?

Q. You can only issue listShards against the ________ database.

Q. _________ is an internal command that supports the sharding functionality.

Q. ________ command verifies that a process is a mongos.