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. Which of the following checks and repairs errors and inconsistencies in data storage?

repairDatabase
repairedDatabase
recoverDatabase
None of the above

2. Which of the following represent column in mongoDB?

document
database
collection
field

3. 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

4. Which of the following is/are feature of mongoDB?

Vertically scalable
Centralised database
c
All of the above

5. Instead of Primary Key mongoDB use?

Embedded Documents
Default key _id
mongod
mongo

6. Point out the correct statement.

For read-heavy applications, deploy sharding and add one or more shards to a sharded cluster to distribute load among mongod instances
Spikes in the number of available connections can also be the result of application or driver errors
For read-heavy applications, increase the size of your replica set and distribute read operations to secondary members
All of the above

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

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

8. Each index in MongoDB requires at least _________ of data space.

8KB
16KB
32KB
64KB

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

arrays
list
multiple values
All of the above

10. To display the results in a formatted way, you can use _______ method.

beautify()
simple()
pretty()
unify()

Results