Google News
logo
MongoDB - Quiz(MCQ)
_______ prints a report of the status of the replica set from the perspective of the primary.
A)
rs.freeze()
B)
rs.printconf()
C)
secondary
D)
rs.printReplicationInfo()

Correct Answer :   rs.printReplicationInfo()


Explanation : Typically you will use db.fsyncUnlock() following a database backup operation.

Advertisement