adplus-dvertising
frame-decoration

Question

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

a.

sh._checkMongos()

b.

sh.addShard()

c.

sh._lastMigration()

d.

all of the mentioned

Posted under MongoDB

Answer: (a).sh._checkMongos()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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