Explanation:serverStatus outputs an account of the state of a MongoDB instance. 10.Which of the following document details the state and configuration of the replica set and statistics about its members ?
A. replSetGetStatus
B. db.serverStatus()
C. db.stats()
D. None of the mentioned
Answer:A
Explanation:serverStatus outputs an account of the state of a MongoDB instance. 10.Which of the following document details the state and configuration of the replica set and statistics about its members ?
A. replSetGetStatus B. db.serverStatus() C. db.stats() D. None of the mentioned
Explanation:The replSetGetStatus command (rs.status() from the shell) returns an overview of your replica set’s status. Sanfoundry Global Education & Learning Series – MongoDB.