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 represent column in mongoDB?

document
database
collection
field

2. _________provide the number of times the lock acquisitions encountered deadlocks.

locks.deadlock
lock.deadlockCount
lock.deadlock
locks.deadlockCount

3. Which of th following expression is used to gets the maximum of the corresponding values from all documents in the collection?

$sum
$push
$min
$max

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

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

5. The default value of default_language Parameter is :

Mongo
DB
Mongod
English

6. With which storage engine, MongoDB uses memory-mapped files to store data?

MMAPv2
MMAPv1
WiredTiger
All of the above

7. Replica set is transparent to the application.

TRUE
FALSE
Can be true or false
Can not say

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

9. In MongoDB, At which level write operations are atomic?

Collection
Document
Field
Row

10. Which method deletes multiple (specified) indexes on a collection?

dropIndexes()
dropIndex()
Both A and B can be used
getIndexes()

Results