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

2. Collection is a group of MongoDB ___________?

Database
Document
Field
None of the above

3. To create index in descending order, the value of key is?

1
0
-1
infinite

4. _________ returns the queryPlanner information for the evaluated method.

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

5. What is true about Replication?

Replication is the process of synchronizing data across multiple servers.
Replication provides redundancy and increases data availability with multiple copies of data on different database servers.
Replication protects a database from the loss of a single server.
All of the above

6. Which of the following true about mongoDB?

MongoDB is a cross-platform
MongoDB is a document oriented database
MongoDB provides high performance
All of the above

7. The default value of default_language Parameter is :

Mongo
DB
Mongod
English

8. Which of th following expression is used to gets the first document from the source documents according to the grouping?

$addToSet
$first
$push
$last

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

cluster 
failover
mongod
Consensus 

10. The namespace file defaults to ?

4 MB
8 MB
16 MB
32 MB

Results