• Home
  • Recent Q&A
  • Java
  • Cloud
  • JavaScript
  • Python
  • SQL
  • PHP
  • HTML
  • C++
  • Data Science
  • DBMS
  • Devops
  • Hadoop
  • Machine Learning
in MongoDB by
Q:
______ 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
...