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. MongoDB ___________ command is used to drop a existing database.

db.drop()
db.dropDatabase()
db.deleteDatabase()
db.delete()

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

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

3. If you didn't create any database, then collections will be stored in _______ database.

local
mydb
temp
test

4. In MongoDB default database is ________.

local
mydb
test
temp

5. Arrays type is used to store ________ into one key.

arrays
list
multiple values
All of the above

6. What is the type of weights parameter in createIndex()?

Boolean
string
integer
document

7. The maximum value of weights parameter is:

999
9999
99999
99

8. The key consideration for the structure of your documents is the decision to embed or to use references

TRUE
FALSE
Can be true or false
Can not say

9. Min/ Max keys type is used to compare a value against the _____ BSON elements.

lowest
highest
lowest and highest
All of the above

10. A replica set is a group of ___________ instances that host the same data set.

cluster 
failover
mongod
Consensus 

Results