CS22512 qn bank
CS22512 qn bank
CS22512 qn bank
NOSQL DATABASES
Unit 1
NoSQL DATABASES
Regulation 2022
2 mark:
1. What is NoSQL, and how does it differ from traditional SQL databases?
2. Describe the main types of NoSQL databases.
3. What are the key characteristics of Document Data Stores?
4. Explain the concept of Key-Value Data Stores.
5. List two advantages of using NoSQL databases over traditional SQL databases.
6. How does NoSQL handle scalability differently than SQL databases?
7. What is eventual consistency in NoSQL databases?
8. Name two performance benefits of NoSQL databases.
9. What is the primary use case for Document Data Stores?
10. Describe a scenario where Key-Value Data Stores would be the best choice.
11. Mention two popular NoSQL databases used in industry.
12. How does MongoDB store and retrieve data?
13. What is HBase, and what type of NoSQL database is it?
14. Describe the key features of Neo4J.
15. How do Document Data Stores handle schema changes?
16. What are the common operations performed in Key-Value Data Stores?
17. Explain the concept of sharding in NoSQL databases.
18. How does MongoDB achieve high availability?
19. Describe the architecture of HBase.
20. What is the primary advantage of using Neo4J for graph data?
13 Mark:
1. Discuss the evolution of NoSQL databases. Explain the factors that led to their
development and how they have transformed data storage and management.
2. Compare and contrast the four main types of NoSQL databases: Document Data
Stores, Key-Value Stores, Column Family Stores, and Graph Databases. Provide
examples and use cases for each type.
3. Explain in detail the architecture and data model of MongoDB. How does MongoDB
manage scalability and high availability? Include a discussion on its replication and
sharding mechanisms.
1
4. Describe the architecture of HBase. How does it differ from traditional relational
databases and other NoSQL databases? Discuss its data model, storage format, and
use cases.
5. What is Neo4J, and how does it handle graph data? Discuss its architecture, query
language (Cypher), and key features that make it suitable for graph-based applications.
6. Evaluate the advantages and disadvantages of NoSQL databases compared to
traditional relational databases. Discuss scenarios where NoSQL would be preferred
over SQL and vice versa.
7. Describe the concept of scalability in NoSQL databases. Compare vertical and
horizontal scaling, and explain how NoSQL databases achieve horizontal scalability.
8. Analyze the performance characteristics of NoSQL databases. Discuss factors that
affect performance, such as data distribution, indexing, and query optimization.
Provide examples of performance tuning techniques.
9. Design a NoSQL database schema for a real-world application, such as an e-commerce
platform or social media network. Explain your choice of NoSQL database type, the
schema design, and how it meets the application's requirements for scalability,
performance, and data consistency.
10. Case Study: Choose one NoSQL database (MongoDB, HBase, or Neo4J) and provide an
in-depth analysis of a real-world application that uses this database. Discuss the
application's requirements, how the NoSQL database was implemented, and the
benefits and challenges encountered during implementation.
15 mark:
1. Explain the principles and challenges of data consistency, availability, and partition
tolerance in distributed NoSQL databases. How does the CAP theorem influence the
design and architecture of NoSQL systems? Provide examples of how different NoSQL
databases prioritize these principles.
2. Discuss the differences between schema-on-read and schema-on-write approaches.
How do NoSQL databases implement schema-on-read, and what are the advantages
and disadvantages of this approach compared to traditional relational databases?
Provide examples to illustrate your points.
3. Detail the process of designing a NoSQL database schema for a content management
system (CMS). Consider the types of data, the relationships between entities, and the
need for scalability and performance. Justify your choice of NoSQL database type and
explain how the schema supports efficient data retrieval and storage.
4. Analyze the role of indexing and querying in NoSQL databases. Compare and contrast
indexing techniques used in Document Data Stores (like MongoDB), Column Family
Stores (like HBase), and Graph Databases (like Neo4J). Discuss how indexing impacts
query performance and provide examples of common query patterns and optimization
strategies.
5. Evaluate the use of NoSQL databases in big data analytics. Discuss the integration of
NoSQL databases with big data processing frameworks like Apache Hadoop and
2
Apache Spark. Provide examples of use cases where NoSQL databases enhance the
capabilities of big data analytics, focusing on aspects such as data ingestion, real-time
processing, and analytics performance.