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. Arrays type is used to store ________ into one key.

arrays
list
multiple values
All of the above

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

TRUE
FALSE
Can be true or false
Can not say

3. _id is ________ bytes hexadecimal number unique for every document in a collection.

4
8
10
12

4. MongoDB _________ method is used to delete a document from the collection.

drop()
remove()
delete()
None of the above

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

Capped
Embedded
External
References

6. drop() method will return _____, if the selected collection is dropped successfully, otherwise it will return ___________.

true, true
false, false
true, false
false, true

7. The limit on the number of namespaces depend on the ?

<database>.ns size
<document>.ns size
<field>.ns size
<row>.ns size

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. Which of the following is true about why to use Sharding?

In replication, all writes go to master node
Memory can't be large enough when active dataset is big
Vertical scaling is too expensive
All of the above

10. Which datatype is used to store binary data?

Code
Regular expression
Binary data
Object ID

Results