Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

NoSQL & MongoDB

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does NoSQL stand for?

a)

Not Optimized SQL

b)

Non-SQL Databases

c)

Not Only SQL

d)

Non-Structured Query Language

2.

Which of the following is a key feature of NoSQL databases?

a)

Fixed schema

b)

Joins required for data retrieval

c)

Flexible schema

d)

Limited scalability

3.

Which type of scaling is commonly associated with NoSQL databases?

a)

Vertical scaling

b)

Horizontal scaling

c)

Diagonal scaling

d)

None of the above

4.

In MongoDB, data is stored in which format?

a)

Tables

b)

Rows and columns

c)

Documents

d)

Key-Value Pairs

5.

Which type of NoSQL database is MongoDB?

a)

Key-Value Store

b)

Document Database

c)

Wide-Column Store

d)

Graph Database

6.

What is a BSON document?

a)

A type of SQL query

b)

A compressed version of JSON

c)

Binary representation of JSON

d)

None of the above

7.

What is the process of increasing the capacity of a single machine called?

a)

Horizontal scaling

b)

Load balancing

c)

Vertical scaling

d)

Sharding

8.

Which of the following is NOT a type of NoSQL database?

a)

Document databases

b)

Key-Value databases

c)

Wide-column stores

d)

Relational databases

9.

In MongoDB, what is used to uniquely identify a document?

a)

_docID

b)

_id

c)

docUUID

d)

document_key

10.

What is a disadvantage of vertical scaling?

a)

High implementation cost

b)

Increased latency

c)

Single-point failure

d)

Requires load balancers

11.

Which NoSQL database type uses nodes and edges to store data?

a)

Document database

b)

Graph database

c)

Key-Value store

d)

Wide-column store

12.

What does the term "schema-less" refer to in NoSQL databases?

a)

The database does not store any data

b)

Data is stored without a predefined structure

c)

The database uses a strict schema

d)

Data retrieval is impossible without a schema

13.

Which database system is known for using tables and joins for data storage?

a)

NoSQL

b)

MongoDB

c)

RDBMS

d)

Cassandra

14.

What is the main advantage of horizontal scaling?

a)

Cost savings

b)

No single-point of failure

c)

Requires fewer servers

d)

Higher hardware dependency

15.

In MongoDB, which feature makes queries fast?

a)

Data normalization

b)

Complex joins

c)

Data stored together that is accessed together

d)

Use of indexes

16.

Which of the following is an example of a vertical scaling solution?

a)

Adding more servers

b)

Increasing memory and storage on a single server

c)

Implementing a load balancer

d)

Sharding the database

17.

What makes NoSQL suitable for Agile development environments?

a)

Rigid schema design

b)

Flexibility and scalability

c)

High cost and complexity

d)

Limited data structure support

18.

How does MongoDB handle large volumes of data in terms of performance?

a)

By using vertical scaling

b)

Through the use of normalization

c)

By storing data in JSON-like documents

d)

By avoiding joins and using embedded documents

19.

Which of the following is a disadvantage of horizontal scaling?

a)

Single-point failure

b)

Expensive to implement

c)

Low latency

d)

Requires fewer servers

20.

What is a common use case for NoSQL databases like MongoDB?

a)

Complex relational data storage

b)

Small datasets with little variation

c)

Real-time analytics and large-scale distributed systems

d)

Static data with fixed schema