WorksheetsMongoDB
Total questions: 19
Worksheet time: 10mins
Point out the correct statement
MongoDB is classified as a NoSQL database
MongoDB favors XML format more than JSON
MongoDB is column oriented database store
All of the mentioned
Which of the following format is supported by MongoDB?
SQL
XML
BSON
All of the mentioned
MongoDB has been adopted as ________ software by a number of major websites and services.
Frontend
Proprietary
Backend
All of the mentioned
MongoDB is a _________ database that provides high performance, high availability, and easy scalability.
Graph
Key value
Document
All of the mentioned
NoSQL databases is used mainly for handling large volumes of ______________ data.
Unstructured
Structured
Semi-structured
All of the mentioned
Collection is a group of MongoDB ___________?
Database
Document
Row
Table
Port number for Mongodb
3000
8080
27017
127
How to get the list of databases in your system?
display dbs
db
show db
show dbs
How to create a database in mongodb?
create databaseName
new databaseName
use databaseName
None of the above
Which of the following method is used to query documents in collections?
move
shell
find
replace
What is the correct order to create a routing module ?
1.Create express Router Instance.
2.Require express
3.module.exports
4.Create Route Handler function
1324
2134
2143
1234
What is the correct order to create a routing module ?
1.Create express Router Instance.
2.Require express
3.module.exports
4.Create Route Handler function
1324
2134
2143
1234
What is mongoose ?
A middleware used to work with MongoDB
code name of MongoDb in Express.
Which of the following statements need not be a part of the mongoose database integration module ?
require express
require mongoose
creating a schema
creating a model
Which method is used to access (get) a query parameter's value in the latest versions of Express ?
req.params
req.param()
req.query
req.query()
What is mongoose ?
A middleware used to work with MongoDB
code name of MongoDb in Express.
Which of the following statements need not be a part of the mongoose database integration module ?
require express
require mongoose
creating a schema
creating a model
Which method is used to access (get) a query parameter's value in the latest versions of Express ?
req.params
req.param()
req.query
req.query()
Which HTTP method is advised to send sensitive information like password and OTP while sending it to the application server ?
GET
POST
DELETE
