Home / CSE MCQs / MongoDB MCQs :: Discussion

Discussion :: MongoDB MCQs

  1. _________ returns the replica set configuration document.
  2. A.
    rs.freeze()
    B.
    rs.conf()
    C.
    rs.printReplicationInfo()
    D.
    None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    rs.conf() returns a document that contains the current replica set configuration.


Be The First To Comment