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. Replica set is transparent to the application.

TRUE
FALSE
Can be true or false
Can not say

2. How to create index in mongoDB?

index()
createIndex()
putIndex()
getIndex()

3. Instead of Primary Key mongoDB use?

Embedded Documents
Default key _id
mongod
mongo

4. Collection is a group of MongoDB ___________?

Database
Document
Field
None of the above

5. Which of the following iis correct syntax of createindex?

db.COLLECTION_NAME.createIndex({KEY:1})
COLLECTION_NAME.createIndex({KEY:1})
db.COLLECTION_NAME.createIndex
db.createIndex({KEY:1})

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

TRUE
FALSE
Can be true or false
Can not say

7. The default value of default_language Parameter is :

Mongo
DB
Mongod
English

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

8KB
16KB
32KB
64KB

9. In MongoDB client, how to initiate a new replica set?

rs.initiate() 
rs.conf()
rs.status()
None of the above

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

1
0
-1
infinite

Results