+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()

Related questions

+1 vote
asked Apr 17, 2021 in MongoDB by rajeshsharma
+1 vote
asked Apr 17, 2021 in MongoDB by rajeshsharma
...