Explanation:rs.conf() returns a document that contains the current replica set configuration. 5. Point out the correct statement :
A. rs.printinfo() prints a formatted report of the replica set member’s oplog
B. The output of rs.printReplicationInfo() is identical to that of db.printReplicationInfo()
C. rs.printReplicationInfo() formats and prints the data returned by db.allReplicationInfo()
D. None of the mentioned
Answer:A
Explanation:rs.conf() returns a document that contains the current replica set configuration. 5. Point out the correct statement :
A. rs.printinfo() prints a formatted report of the replica set member’s oplog B. The output of rs.printReplicationInfo() is identical to that of db.printReplicationInfo() C. rs.printReplicationInfo() formats and prints the data returned by db.allReplicationInfo() D. None of the mentioned
Explanation:The rs.printReplicationInfo() in the mongo shell does not return JSON. 6. ________ prints a report of the status of the replica set from the perspective of the primary.