wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Mongodb Basics

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What is MongoDB?

a)

A) Relational Database Management System (RDBMS)

b)

B) Document-Oriented NoSQL Database

c)

C) Key-Value Store

d)

D) Graph Database

2.

Which language is primarily used for querying MongoDB?

a)

A) SQL

b)

B) C#

c)

C) JavaScript

d)

D) Python

3.

What does BSON stand for in MongoDB?

a)

A) Binary Object Notation

b)

B) Basic Object Serialization Notation

c)

C) Binary JSON

d)

D) Big Object Storage Notation

4.

What is a MongoDB database?

a)
  • A) A group of related collections.

b)
  • B) A group of related documents.

c)
  • C) A group of related tables.

d)
  • D) None of the mentioned above

5.
  1. A record in MongoDB is a:

a)
  • A) Document.

b)
  • B) Table.

c)
  • C) Application.

d)
  • D) None of the mentioned above.

6.

What type of data model does MongoDB use?

a)
  • A) Relational.

b)
  • B) Document-oriented.

c)
  • C) Key-value.

d)
  • D) Graph.

7.

Which of the following statements about MongoDB collections is true?

a)
  • A) Collections are equivalent to tables in relational databases.

b)
  • B) Collections store documents with a fixed schema.

c)
  • C) Collections can be nested within other collections.

d)
  • D) None of the mentioned above.

8.

What does CRUD stand for in the context of MongoDB operations?

a)

Create, Read, Update, Delete

b)

Copy, Remove, Update, Drop

c)

Collect, Retrieve, Unify, Deploy

d)

Connect, Render, Utilize, Deploy

9.

How does MongoDB handle schema flexibility compared to traditional relational databases?

a)

MongoDB enforces a rigid schema

b)

MongoDB has a dynamic schema

c)

MongoDB does not support schemas

d)

MongoDB requires explicit schema definitions for each collection

10.

What is the purpose of the "_id" field in MongoDB documents?

a)

It defines the data type of the document

b)

It represents the document's primary key

c)

It specifies the database name

d)

It determines the document's index