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 namespace file defaults to ?

4 MB
8 MB
16 MB
32 MB

2. Regular expression datatype is used to store regular expression.

TRUE
FALSE
Can be true or false
Can not say

3. Which of the following provides information on the MongoDB instance?

serverInfo
queryPlanner
executeStats
None of the above

4. To insert data into MongoDB collection, you need to use MongoDB's __________ method.

save()
insert()
Both A and B
Can not say

5. ____________ scaling adds more CPU and storage resources to increase capacity.

Horizontal
Vertical
Partition
All of the above

6. Documents in the same collection do not need to have the same set of fields or structure, and common fields in a collection's documents may hold different types of data is known as ?

dynamic schema
mongod
mongo
Embedded Documents

7. The basic syntax of Aggregation is?

db.COLLECTION_NAME.aggregate ({key:1})
db.COLLECTION_NAME.aggregation (AGGREGATE_OPERATION)
db.COLLECTION_NAME.aggregate (AGGREGATE_OPERATION)
aggregate (AGGREGATE_OPERATION)

8. What is true about $skip stages in aggregation framework ?

This is a filtering operation and thus this can reduce the amount of documents that are given as input to the next stage.
This limits the amount of documents to look at, by the given number starting from the current positions.
With this, it is possible to skip forward in the list of documents for a given amount of documents.
None of the above

9. GridFS is useful only for storing files that exceed 16MB

TRUE
FALSE
Can be true or false
Can not say

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

Results