NoSQL Database Techniques Overview
NoSQL Database Techniques Overview
C) New SQL
A) MySQL
B) MongoDB
C) PostgreSQL
D) Oracle
Answer: B) MongoDB
A) Document-based
B) Column-family store
C) Key-value store
D) Graph-based
Answer: A) Document-based
A) MongoDB
B) Neo4j
C) Redis
D) Cassandra
Answer: C) Redis
A) MongoDB
B) Cassandra
C) Neo4j
D) HBase
Answer: C) Neo4j
Page 1 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
A) MySQL
B) MongoDB
C) Cassandra
D) Redis
Answer: C) Cassandra
A) MongoDB
B) MySQL
C) Neo4j
D) HBase
Answer: B) MySQL
A) Key-value stores
B) Relational databases
C) SQL databases
D) None of the above
Answer: A) Key-value stores
A) MongoDB
B) Neo4j
C) Cassandra
D) HBase
Answer: B) Neo4j
Page 2 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
A) Document model
B) Column-family model
C) Key-value model
D) Graph model
Answer: B) Column-family model
A) MongoDB
B) MySQL
C) Neo4j
D) PostgreSQL
Answer: A) MongoDB
17. What makes NoSQL databases ideal for handling big data
applications?
Page 3 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
A) Cassandra
B) Neo4j
C) MongoDB
D) HBase
Answer: B) Neo4j
22. Which NoSQL database is best known for its ability to scale
horizontally?
A) MongoDB
B) MySQL
C) Cassandra
D) Neo4j
Answer: C) Cassandra
A) High cost
B) Limited scalability
C) Better flexibility
D) High latency
Answer: B) Limited scalability
Page 4 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
A) When the data is highly structured and fits into rows and
columns
B) When handling large, unstructured data that requires
flexible schema
C) When high transaction integrity is required
D) When the database needs to handle relational data with
complex queries
Answer: B) When handling large, unstructured data that
requires flexible schema
A) MongoDB
B) HBase
C) Neo4j
D) MySQL
Answer: B) HBase
A) Key-value store
B) Column-family store
C) Document store
D) Graph database
Answer: D) Graph database
Page 5 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
Page 6 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1. Explain briefly about aggregate data models with a neat diagram 10 K2 CO1
and examples
2. What are document databases? List and explain features of 10 K2 CO1
document databases.
3. Define key value store. List out some popular key value 10 K2 CO1
databases. Explain how all the data is stored in a single bucket of
key value data store
4. Elaborate on the causes that led to the emergence of NoSQL 10 K2 CO1
5. Discuss on the value of the relational database 10 K1 CO1
6. Give a comparison study on the relational databases and the 10 K2 CO1
NOSQL stores
7. Write short note on the following: 10 K2 CO1
a. MongoDB
b. Cassandra
c. HBASE
d. Neo4j
8. Explain briefly about impedance mismatch with a neat diagram 10 K2 CO1
9. Define NoSQl and describe the four types of NoSQL database 10 K1 CO1
10. Give a brief description on Application and Integration Databases 10 K2 CO1
Unit 2 (CO2,CO3)
Page 7 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1 K1 CO2
In the context of MapReduce, which phase is responsible for
distributing the work across multiple nodes?
3. 1 K1 CO2
Which of the following distribution models is based on having
multiple copies of data stored on separate servers to increase
availability?
(a) Sharding
(b) Master-Slave Replication
(c) Peer-to-Peer Replication
(d) Single Server
4. 1 K1 CO2
What is the main advantage of using master-slave replication?
5. 1 K1 CO2
In a sharded database system, what is typically used to
determine which shard a given record belongs to?
Page 8 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1 K1 CO2
Which of the following is a key feature of peer-to-peer
replication?
(a) One master node controls all read and write operations
(b) All nodes are equal, and they share read and write operations
(c) There is only one node for storing data
(d) Only the slave nodes handle write operations
Answer: (b) All nodes are equal, and they share read and write
operations
7. 1 K1 CO2
What does combining sharding and replication aim to
achieve?
8. 1 K1 CO2
Which of the following is a disadvantage of sharding in a
database?
9. 1 K1 CO2
Which model distributes data and assigns partitions based on a
specific rule (e.g., hash, range)?
(a) Sharding
(b) Master-Slave Replication
(c) Peer-to-Peer Replication
(d) Single Server
Page 9 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1 K1 CO2
Which of the following is true about the master node in a
master-slave replication model?
11. 1 K1 CO2
In the context of MapReduce, what is the Shuffle phase
responsible for?
12. 1 K1 CO2
Which of the following is NOT a characteristic of peer-to-peer
replication?
13. 1 K1 CO2
What happens if a shard fails in a sharded database system?
Page 10 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1 K1 CO2
In a master-slave replication system, what happens when the
master node fails?
15. 1 K1 CO2
Which of the following best describes a "single server"
distribution model?
16. 1 K2 CO3
Which of the following is a drawback of using document
databases for large-scale applications?
a) They lack the ability to scale horizontally.
b) They do not support complex queries and joins.
c) They cannot be used in real-time applications.
d) They provide limited availability.
Answer:
b) They do not support complex queries and joins.
17. 1 K2 CO3
Which of the following best describes peer-to-peer replication
in document databases?
a) All nodes are identical, and any node can handle both read and
write operations.
b) Only one node is active, and all other nodes are read-only.
c) Data is stored on a master node, and the slave nodes only handle
queries.
d) Nodes are organized in a hierarchical structure with a central
coordinator.
Answer:
a) All nodes are identical, and any node can handle both read and
write operations.
Page 11 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
1 K1 CO3
When should you avoid using document databases?
a) When the application requires flexible schema and high
scalability.
b) When complex transactions spanning multiple operations are
needed.
c) When you need to perform large-scale data aggregation and
analytics.
d) When you are handling semi-structured or unstructured data.
Answer:
b) When complex transactions spanning multiple operations are
needed.
19. 1 K1 CO3
28. Which of the following is NOT typically a feature of
document databases?
a) Support for JSON and BSON data formats.
b) Strong consistency and ACID transactions across distributed
nodes.
c) Horizontal scaling through sharding.
d) Flexible schema that supports various data structures.
Answer:
b) Strong consistency and ACID transactions across distributed
nodes.
20. 1 K2 CO3
What is the purpose of indexing in MongoDB?
a) To enforce consistency across multiple servers.
b) To speed up query processing by allowing faster lookups.
c) To store large datasets efficiently in a single document.
d) To automatically replicate data across nodes.
Answer:
b) To speed up query processing by allowing faster lookups.
Page 12 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
● a) Strong consistency
● b) Eventual consistency
● c) Immediate consistency
● d) No consistency
23. Which of the following is a suitable use case for a Document 1 K1 CO3
Database?
● a) Banking applications
● b) Content management systems
● c) Real-time complex transactions
● d) Data warehousing
● a) CSV
● b) JSON
● c) XML
● d) All of the above
Page 13 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
27. What is the key advantage of using Document Databases for 1 K2 CO3
Content Management Systems (CMS)?
28. Why are Document Databases suitable for web analytics or 1 K2 CO3
real-time analytics applications?
Page 14 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
Page 15 of 16
CAT1 _QB_20ITEL609 / NoSQL Database Techniques
Page 16 of 16