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. The update() method updates the values in the existing document.

TRUE
FALSE
Can be true or false
Can not say

2. Double type is used to store floating point values.

Yes
No
Can be yes or no
Can not say

3. How many database present after mondb installation?

1
2
3
4

4. Instead of Primary Key mongoDB use?

Embedded Documents
Default key _id
mongod
mongo

5. MongoDB supports sharding through the configuration of a sharded ______

shapes
clusters
sets
All of the above

6. Which of th following expression is used to gets the maximum of the corresponding values from all documents in the collection?

$sum
$push
$min
$max

7. MongoDB ___________ command is used to drop a existing database.

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

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. _________ returns the queryPlanner information for the evaluated method.

db.explain()
db.collection.explain()
collection.explain()
explain()

10. Which stages in aggregation framework is a filtering operation and thus this can reduce the amount of documents that are given as input to the next stage?

$limit
$match
Both A and B can be used
None of the above

Results