adplus-dvertising
frame-decoration

Question

Point out the wrong statement.

a.

The rs.status() method is a wrapper that runs the replSetGetStatus database command

b.

rs.freeze() provides a wrapper around the database command replSetFreeze

c.

rs.init() initializes a new replica set

d.

None of the mentioned

Answer: (c).rs.init() initializes a new replica set

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 wrong statement.

Similar Questions

Discover Related MCQs

Q. _________ prevents the current member from seeking election as primary for a period of time.

Q. _________ returns the replica set configuration document.

Q. Point out the correct statement.

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.