+1 vote
in MongoDB by
______ can be used to check if the connected node is primary or not?

Pick the best answer from given options

a) rs.status()

b) db.isMaster()

c) rs.conf()

d) rs.initiate()

1 Answer

0 votes
by

Correct answer for above question is : b) db.isMaster()

...