______ can be used to check if the connected node is primary or not?
(1)rs.status()
(2)db.isMaster()
(3)rs.conf()
(4)rs.initiate()
Correct answer is:-(2)db.isMaster()