MongoDB Quiz


Play this quiz that will help you to excel in MongoDB certification exams, placements etc. This MongoDB quiz consist of 10 questions that you need to solve in 10 minutes. We’ve specially designed this quiz so that you can quickly acquaint to the pattern of questions you can be asked in placement drives, certification exams etc. This test enables you to assess your knowledge of MongoDB.

Take the Free Practice Test



MongoDB MCQs

Practice MongoDB MCQ Questions, which will help you to understand database related concepts.

MongoDB Quiz

Try Free MongoDB Quiz, to start a quiz you need to login first, after login you will get start quiz button and then by clicking on that you can start quiz. You will get 10 Minutes to answer all questions.

MongoDB Quiz

1. Each shard stores ________ data as the cluster grows.

less
more
equal
Can not say

2. The system generated _id field is?

A 12 byte hexadecimal value
A 16 byte octal value
A 12 byte decimal value
A 10 bytes binary value

3. Which of the following provides information on the MongoDB instance?

serverInfo
queryPlanner
executeStats
None of the above

4. In MongoDB client, how to initiate a new replica set?

rs.initiate() 
rs.conf()
rs.status()
None of the above

5. Which of the following checks and repairs errors and inconsistencies in data storage?

repairDatabase
repairedDatabase
recoverDatabase
None of the above

6. Which method returns the description of all the indexes int the collection?

putIndexes()
setIndexes()
getIndexes()
All of the above

7. Which of the following iis correct syntax of createindex?

db.COLLECTION_NAME.createIndex({KEY:1})
COLLECTION_NAME.createIndex({KEY:1})
db.COLLECTION_NAME.createIndex
db.createIndex({KEY:1})

8. Which command returns a document that provides an overview of the database process's state?

serverStatus 
currentQueue
currentQu
clientStatus

9. GridFS is useful only for storing files that exceed 16MB

TRUE
FALSE
Can be true or false
Can not say

10. Which of the following is not a Replica Set Features?

Automatic failover
Automatic recovery
Consensus election of primary
A cluster of only one nodes

Results