Home / CSE MCQs / MongoDB MCQs :: MongoDB Monitoring, Optimization Strategies

CSE MCQs :: MongoDB MCQs

  1. Which of the following should is used to check whether collection is capped or not ?
  2. A.
    isCAP()
    B.
    isCapped()
    C.
    isColl()
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  3. ___________ is also used to pre-allocate space for an ordinary collection.
  4. A.
    db.createCollection.
    B.
    db.create
    C.
    db.createColl
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  5. If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.
  6. A.
    fsynconce()
    B.
    fsync()
    C.
    sync()
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  7. MongoDB stores tag sets in the replica set configuration object, which is the document returned by _____ .
  8. A.
    rs.config()
    B.
    rs.conf()
    C.
    rs.confstats()
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  9. If the indexed field in a document is not a _____ or an array that holds a date value(s), the document will not expire.
  10. A.
    DATE
    B.
    TIME
    C.
    DATETIME
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  11. If __________ is high relative to uptime, the database has existed in a lock state for a significant amount of time.
  12. A.
    globalLock.halfTime
    B.
    globalLock.totalTime
    C.
    globalLock.downTime
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  13. serverStatus includes all fields by default, except _________ .
  14. A.
    rangeDeleter
    B.
    rangeDelete
    C.
    rangeDEL
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  15. The _________ field provides the amount of resident memory in use.
  16. A.
    mem.resident
    B.
    memory.resident
    C.
    mem.resident
    D.
    All of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  17. Which of the following parameter specifies the verbosity mode for the explain output ?
  18. A.
    verbosity
    B.
    verbose
    C.
    queryPlanner
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum


  19. The ________ command returns information regarding the number of open connections
  20. A.
    connPoolStats
    B.
    connStats
    C.
    serverstats
    D.
    None of the mentioned

    View Answer

    Workspace

    Discuss Discuss in Forum