adplus-dvertising
frame-decoration

Question

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

Posted under MongoDB

Answer: (b).The output of rs.printReplicationInfo() is identical to that of db.printReplicationInfo()

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Point out the correct statement.

Similar Questions

Discover Related MCQs

Q. ________ prints a report of the status of the replica set from the perspective of the primary.

Q. _________ re-configures a replica set by applying a new replica set configuration object.

Q. __________ sets the member that this replica set member will sync from, overriding the default sync target selection logic.

Q. rs.reconfig() provides a wrapper around the ___________ command.

Q. ________ sets the slaveOk property for the current connection.

Q. Before mongod creates an oplog, you can specify its size with the __________ option.

Q. Point out the wrong statement.

Q. The oplog must translate multi-updates into individual operations in order to maintain ____________

Q. Use _________ from a secondary member and the replication status output to assess the current state of replication.

Q. Point out the correct statement.

Q. For a member to sync from another, both members must have the same value for the _________ setting.

Q. Secondaries apply operations from the primary asynchronously to provide __________ consistency.

Q. When ______________ is true, the mongod instance saves all documents migrated from the shard to the moveChunk directory of the storage.dbPath.

Q. Replication _______ is a delay between operation on the primary and the application of that operation from the oplog to the secondary.

Q. A delayed member may show as 0 seconds behind the primary when the inactivity period on the primary is greater than the ________ value.

Q. _________ shut down the mongod instance for one of the non-primary members of your replica set.

Q. Point out the wrong statement.

Q. To finish the rolling maintenance operation, step down the primary with the _________ method.

Q. You also can force a member never to become primary by setting its priority value to ___________

Q. Point out the correct statement.