This Quiz contains totally 25 Questions each carry 1 point for you.
1. Which of the following is a NoSQL database?
PostgreSQL
MongoDB
MySQL
OracleDB
Correct!
Wrong!
2. In MongoDB, a document is composed of what?
Tables and rows
JSON-like fields
Schemas
SQL Queries
Correct!
Wrong!
3. What does MongoDB use for storage?
JSON
XML
BSON
HTML
Correct!
Wrong!
4. What is a replica set in MongoDB?
It's a set of documents
It's a set of databases
It's a group of MongoDB processes that maintain the same data set
It's a group of MongoDB users
Correct!
Wrong!
5. Which of the following is true about MongoDB?
It doesn't support ad-hoc queries
It only supports SQL queries
It uses a relational data model
It supports ad-hoc queries
Correct!
Wrong!
6. What is a "shard" in MongoDB?
A single piece of data
A replication process
A horizontal partition of data in a database
A backup process
Correct!
Wrong!
7. How does MongoDB handle transactions?
It doesn't support transactions
It supports multi-document transactions
It only supports transactions on a single document
It requires SQL for transactions
Correct!
Wrong!
8. Which type of indexing does MongoDB support?
Primary indexing only
Secondary indexing only
Both primary and secondary indexing
No indexing
Correct!
Wrong!
9. What is MongoDB Atlas?
A graphical interface for MongoDB
A cloud-based MongoDB service
A MongoDB certification
An indexing tool for MongoDB
Correct!
Wrong!
10. How is data consistency achieved in MongoDB?
Through eventual consistency
Through immediate consistency
Through a two-phase commit
Data consistency is not guaranteed in MongoDB
Correct!
Wrong!
11. What does the "M" in ACID transactions stand for?
Mobile
Monolithic
MongoDB
MongoDB doesn't support ACID transactions
Correct!
Wrong!
12. Which of these commands is used to create a database in MongoDB?
CREATE DATABASE
use DATABASE_NAME
DATABASE CREATE
DATABASE_NAME CREATE
Correct!
Wrong!
13. What is GridFS in MongoDB?
A tool for managing geospatial data
A tool for handling and storing large files
A grid layout for MongoDB's interface
None of the above
Correct!
Wrong!
14. Which language can you use to write scripts in MongoDB?
JavaScript
Python
SQL
C++
Correct!
Wrong!
15. How is data organized in MongoDB?
In tables
In documents and collections
In rows and columns
In cubes
Correct!
Wrong!
16. What is a cursor in MongoDB?
A database administrator
A reference to the result set of a query
A type of data storage
A replication set
Correct!
Wrong!
17. What does CRUD stand for in MongoDB?
Create, Record, Update, Delete
Create, Retrieve, Update, Delete
Connect, Record, Update, Delete
Connect, Retrieve, Update, Delete
Correct!
Wrong!
18. What type of join does MongoDB support?
Inner join
Left outer join
Right outer join
Full outer join
Correct!
Wrong!
19. Which command is used to start MongoDB service on UNIX systems?
mongod
start mongodb
mongo start
run mongodb
Correct!
Wrong!
20. What are "hot" and "cold" data in the context of MongoDB?
Data that is frequently accessed vs data that is rarely accessed
Data that is encrypted vs data that is not encrypted
Data that is stored in the cloud vs data that is stored locally
Data that is stored in BSON format vs data that is stored in JSON format
Correct!
Wrong!
21. What does the MongoDB command "db.collection.drop()" do?
Deletes a document
Deletes a collection
Drops an index
Drops a database
Correct!
Wrong!
22. In MongoDB, what is "sharding" used for?
Backup and recovery
Indexing
Scaling out (horizontal scaling)
Encryption
Correct!
Wrong!
23. How can you update a document in MongoDB?
Using the UPDATE command
Using the SET command
Using the UPDATE DOCUMENT command
Using the db.collection.update() method
Correct!
Wrong!
24. What is a "collection" in MongoDB?
A group of databases
A group of documents
A group of users
A group of indices
Correct!
Wrong!
25. Which of the following is not a core MongoDB feature?
Document-oriented storage
Full index support
Replication & high availability
Stored procedures
Correct!
Wrong!
Share the quiz to show your results !
Subscribe to see your results
Ignore & go to results
MongoDB Project & Revision – Quiz
You got %%score%% of %%total%% right
%%description%%
%%description%%
Loading...
