NEW
Font size
WorksheetsMongodb Basics
Total questions: 10
Worksheet time: 5mins
What is MongoDB?
A) Relational Database Management System (RDBMS)
B) Document-Oriented NoSQL Database
C) Key-Value Store
D) Graph Database
Which language is primarily used for querying MongoDB?
A) SQL
B) C#
C) JavaScript
D) Python
What does BSON stand for in MongoDB?
A) Binary Object Notation
B) Basic Object Serialization Notation
C) Binary JSON
D) Big Object Storage Notation
What is a MongoDB database?
A) A group of related collections.
B) A group of related documents.
C) A group of related tables.
D) None of the mentioned above
A record in MongoDB is a:
A) Document.
B) Table.
C) Application.
D) None of the mentioned above.
What type of data model does MongoDB use?
A) Relational.
B) Document-oriented.
C) Key-value.
D) Graph.
Which of the following statements about MongoDB collections is true?
A) Collections are equivalent to tables in relational databases.
B) Collections store documents with a fixed schema.
C) Collections can be nested within other collections.
D) None of the mentioned above.
What does CRUD stand for in the context of MongoDB operations?
Create, Read, Update, Delete
Copy, Remove, Update, Drop
Collect, Retrieve, Unify, Deploy
Connect, Render, Utilize, Deploy
How does MongoDB handle schema flexibility compared to traditional relational databases?
MongoDB enforces a rigid schema
MongoDB has a dynamic schema
MongoDB does not support schemas
MongoDB requires explicit schema definitions for each collection
What is the purpose of the "_id" field in MongoDB documents?
It defines the data type of the document
It represents the document's primary key
It specifies the database name
It determines the document's index
