Login
Remember
Register
Ask a Question
______ can be used to check if the connected node is primary or not?
+1
vote
asked
Apr 17, 2021
in
MongoDB
by
rajeshsharma
______ 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()
mongodb
mongodb-mcq
mongodo-interview-questions
mongodb-questions-answers
mongodb-best-questions
top-50-mongodb-mcq
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Apr 17, 2021
by
rajeshsharma
Correct answer for above question is : b) db.isMaster()
...