Home / CSE MCQs / MongoDB MCQs :: MongoDB Replication Concept, Process, Set

CSE MCQs :: MongoDB MCQs

  1. If the oplog is shorter than the slaveDelay window, the _______ member cannot successfully replicate operations.
  2. A.
    hidden
    B.
    delayed
    C.
    priority
    D.
    All of the mentioned

  3. A second data center hosts one priority 0 member that cannot become :
  4. A.
    primary
    B.
    write
    C.
    view
    D.
    Secondary

  5. _________ member is used to support dedicated functions, such as backup or reporting.
  6. A.
    Hidden
    B.
    Primary
    C.
    ViewState
    D.
    None of the mentioned

  7. Sometimes the failover process may require a ____________ during operation.
  8. A.
    savepoint
    B.
    rollback
    C.
    commit
    D.
    None of the mentioned

  9. If the current primary becomes unavailable, the replica set holds an ______ to choose which of the secondaries becomes the new primary.
  10. A.
    election
    B.
    replication
    C.
    clasification
    D.
    None of the mentioned

  11. A replica set can have only ________ primary.
  12. A.
    One
    B.
    Two
    C.
    Three
    D.
    All of the mentioned

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

  15. Use _________ from a secondary member and the replication status output to assess the current state of replication
  16. A.
    db.getReplInfo()
    B.
    db.getReplicationInfo()
    C.
    rs.printReplicationInfo()
    D.
    None of the mentioned