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. In MongoDB client, how to initiate a new replica set?

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

2. Replica set is transparent to the application.

TRUE
FALSE
Can be true or false
Can not say

3. MongoDB stores data records as ______.

ZSON documents.
JSON documents
BSON documents
WSON documents.

4. 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})

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

6. The default value of background Parameter is :

TRUE
FALSE
0
1

7. Point out the correct statement

High query rates can exhaust the CPU capacity of the server
Database systems with small data sets and high throughput applications can challenge the capacity of a single server
Smaller data sets exceed the storage capacity of a single machine
None of the above

8. MongoDB ______ is used to create database.

create database_name
use database_name
insert database_name
show database_name

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

10. Which of the following is not a Replica Set Features?

Automatic failover
Automatic recovery
Consensus election of primary
A cluster of only one nodes

Results