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. How many database present after mondb installation?

1
2
3
4

2. The maximum value of weights parameter is:

999
9999
99999
99

3. Which of th following expression is used to Inserts the value to an array in the resulting document?

$addToSet
$first
$push
$last

4. Apart from the find() method, there is findOne() method, that returns only one document.

TRUE
FALSE
Can be true or false
Can not say

5. ________ store the relationships between data by including links or references from one document to another.

Capped
Embedded
External
References

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

Boolean
string
integer
document

7. In MongoDB default database is ________.

local
mydb
test
temp

8. ______________ is the process of storing data records across multiple machines and it is MongoDB's approach to meeting the demands of data growth

Sharding
Config Servers
Query Routers
Projection

9. The basic syntax of insert() command is?

db.insertCOLLECTION_NAME(document)
db.COLLECTION_NAME.insert(document)
COLLECTION_NAME.insert(document)
db.COLLECTION_NAME.create(document)

10. Which method deletes multiple (specified) indexes on a collection?

dropIndexes()
dropIndex()
Both A and B can be used
getIndexes()

Results