Google News
logo
MongoDB - Quiz(MCQ)
__________ prints a report of the status of the replica set from the perspective of the secondaries.
A)
rs.help()
B)
rs.printReplication()
C)
rs.printSlaveReplicationInfo()
D)
None of the above

Correct Answer :   rs.printSlaveReplicationInfo()


Explanation : rs.printSlaveReplicationInfo() returns a formatted report of the status of a replica set from the perspective of the secondary member of the set.

Advertisement