Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
NoSQL & Modern DatabasesEasy
Q1. NoSQL stands for:
- A.Not Only SQL format✓ Correct
- B.Newer SQL approach
- C.Non-Standard Queries
- D.No Structured Queries
Explanation
NoSQL stands for 'Not Only SQL', indicating these databases support more than traditional SQL.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q2. Which of the following is a NoSQL database?
- A.MySQL
- B.PostgreSQL
- C.Oracle DB
- D.MongoDB✓ Correct
Explanation
MongoDB is a popular NoSQL document-oriented database.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q3. NoSQL databases are designed primarily for:
- A.Replacing all SQL databases entirely in every use case now
- B.Only relational data organized in normalized table schemas
- C.Small structured datasets only stored in relational tables
- D.Scalability and handling large volumes of unstructured data✓ Correct
Explanation
NoSQL databases are designed for scalability, flexibility, and handling large volumes of varied data.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q4. A document-oriented database stores data as:
- A.Graphs with nodes and edge links
- B.Fixed-size blocks on the disk drive
- C.Tables with rows and columns only
- D.Documents (typically JSON or BSON)✓ Correct
Explanation
Document databases store data as semi-structured documents, commonly in JSON or BSON format.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q5. A key-value store maps:
- A.Tables to their schemas
- B.Rows to table columns
- C.Queries to result sets
- D.A unique key to a value✓ Correct
Explanation
A key-value store is the simplest NoSQL model, mapping unique keys to associated values.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q6. Redis is an example of a:
- A.Key-value store✓ Correct
- B.Column-family store
- C.Graph database
- D.Relational database
Explanation
Redis is an in-memory key-value store known for high performance.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q7. A column-family store organizes data into:
- A.Documents in JSON format
- B.Traditional rows and tables
- C.Columns and column families✓ Correct
- D.Graphs with node and edges
Explanation
Column-family stores group related columns into column families for efficient access patterns.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q8. Apache Cassandra is an example of a:
- A.Relational database
- B.Document database
- C.Graph database
- D.Column-family store✓ Correct
Explanation
Apache Cassandra is a distributed column-family NoSQL database.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q9. A graph database stores data as:
- A.Documents in JSON formats
- B.Key-value pairs only stored
- C.Nodes, edges, and properties✓ Correct
- D.Tables and rows of records
Explanation
Graph databases use nodes (entities), edges (relationships), and properties to store and query data.
Report an error in this question
NoSQL & Modern DatabasesEasy
Q10. Neo4j is an example of a:
- A.Document database
- B.Key-value store
- C.Relational database
- D.Graph database✓ Correct
Explanation
Neo4j is a popular graph database that uses the property graph model.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q11. The BASE properties in NoSQL stand for:
- A.Batch Analysis, Stable Environment for data processing
- B.Binary Access, Sequential Evaluation of stored records
- C.Basic Access, Secure Entry with authentication support
- D.Basically Available, Soft state, Eventually consistent✓ Correct
Explanation
BASE stands for Basically Available, Soft state, and Eventually consistent.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q12. NoSQL databases typically favor:
- A.Strong consistency over availability in all distributed environments
- B.Availability and partition tolerance over strong consistency (AP in CAP)✓ Correct
- C.Neither availability nor consistency for distributed data systems
- D.Only consistency without any consideration for availability at all
Explanation
Many NoSQL databases prioritize availability and partition tolerance, accepting eventual consistency.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q13. Sharding in NoSQL databases refers to:
- A.Compressing data to reduce storage on each server node
- B.Horizontally partitioning data across multiple servers✓ Correct
- C.Vertically splitting a table into separate column groups
- D.Encrypting data before storing it on distributed servers
Explanation
Sharding distributes data horizontally across multiple servers (shards) for scalability.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q14. MongoDB stores data in which format?
- A.CSV (Comma Separated)
- B.Plain text (Flat file)
- C.XML (Markup Language)
- D.BSON (Binary JSON)✓ Correct
Explanation
MongoDB stores documents in BSON (Binary JSON), an efficient binary representation of JSON.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q15. In MongoDB, a collection is analogous to:
- A.A column in a relational database
- B.A database in a relational system
- C.A table in a relational database✓ Correct
- D.A row in a relational database
Explanation
A MongoDB collection is roughly equivalent to a table in a relational database.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q16. MapReduce in NoSQL is used for:
- A.Managing transactions and ensuring ACID properties on the data
- B.Creating indexes on columns for improving data retrieval speed
- C.Single-record queries for retrieving individual data items fast
- D.Processing large datasets in parallel across distributed systems✓ Correct
Explanation
MapReduce is a programming model for processing large datasets in parallel across a cluster.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q17. Which NoSQL database type is best for social network relationship queries?
- A.Key-value store
- B.Document database
- C.Column-family store
- D.Graph database✓ Correct
Explanation
Graph databases excel at traversing relationships, making them ideal for social network queries.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q18. Denormalization in NoSQL is common because:
- A.It reduces storage requirements on each server in cluster
- B.It enforces referential integrity between related records
- C.It avoids expensive joins and improves read performance✓ Correct
- D.It simplifies updates by reducing the number of writes
Explanation
NoSQL databases often denormalize data to avoid joins (which many don't support) and improve read performance.
Report an error in this question
NoSQL & Modern DatabasesMedium
Q19. Apache HBase is built on top of:
- A.MongoDB
- B.Redis
- C.Hadoop HDFS✓ Correct
- D.MySQL
Explanation
HBase is a column-family NoSQL database that runs on top of the Hadoop Distributed File System (HDFS).
Report an error in this question
NoSQL & Modern DatabasesMedium
Q20. Eventual consistency in NoSQL means:
- A.No consistency is guaranteed between replicas at any point in time whatsoever
- B.Data is never consistent across replicas regardless of the time that passes
- C.All reads always return the latest written value from any replica in the cluster
- D.All replicas will converge to the same state given enough time without new updates✓ Correct
Explanation
Eventual consistency guarantees that replicas will become consistent over time if no new writes occur.
Report an error in this question
NoSQL & Modern DatabasesHard
Q21. The concept of tunable consistency in Cassandra means:
- A.Consistency cannot be changed once the Cassandra cluster has been configured
- B.Only strong consistency is available for all queries in the entire cluster
- C.The consistency level can be configured per query (ONE, QUORUM, ALL, etc.)✓ Correct
- D.Only eventual consistency is possible and no other level can be selected
Explanation
Cassandra allows setting consistency levels per query: ONE, QUORUM, ALL, etc., trading consistency for performance.
Report an error in this question
NoSQL & Modern DatabasesHard
Q22. A wide-column store differs from a traditional columnar database in that:
- A.It is identical to a relational database model
- B.All rows must have the same columns defined
- C.Each row can have a different set of columns✓ Correct
- D.It uses only fixed schemas without flexibility
Explanation
Wide-column stores allow each row to have a different set of columns, providing schema flexibility.
Report an error in this question
NoSQL & Modern DatabasesHard
Q23. CRDTs (Conflict-free Replicated Data Types) are used in distributed NoSQL to:
- A.Automatically resolve conflicts in replicated data without coordination✓ Correct
- B.Compress data to reduce the network transfer size between replica sites
- C.Encrypt data before replicating it across the distributed cluster nodes
- D.Create indexes on replicated data for faster query retrieval operations
Explanation
CRDTs are data structures designed to be replicated across nodes and automatically resolve conflicts.
Report an error in this question
NoSQL & Modern DatabasesHard
Q24. The gossip protocol in distributed NoSQL systems is used for:
- A.Transaction management for multi-site commit control
- B.Index creation on distributed data across all nodes
- C.Query optimization for distributed join operations
- D.Spreading information about cluster state across nodes✓ Correct
Explanation
The gossip protocol allows nodes to share state information (membership, failure detection) in a decentralized way.
Report an error in this question
NoSQL & Modern DatabasesHard
Q25. NewSQL databases aim to provide:
- A.Only NoSQL features without any ACID guarantee support
- B.No guarantees at all for either consistency or scaling
- C.SQL-like guarantees (ACID) with NoSQL-like scalability✓ Correct
- D.Only traditional SQL features without scalability gains
Explanation
NewSQL databases combine the scalability of NoSQL with the ACID guarantees and SQL interface of relational systems.
Report an error in this question
NoSQL & Modern DatabasesHard
Q26. Examples of NewSQL databases include:
- A.Google Spanner, CockroachDB, VoltDB✓ Correct
- B.All of the above are NewSQL types
- C.MongoDB, Redis, Apache Cassandra
- D.MySQL, PostgreSQL, Oracle Database
Explanation
Google Spanner, CockroachDB, and VoltDB are NewSQL databases offering distributed ACID transactions.
Report an error in this question
NoSQL & Modern DatabasesHard
Q27. The LSM (Log-Structured Merge) tree used in many NoSQL databases provides:
- A.Only sequential reads without support for random access query patterns
- B.High read throughput only without any optimization for write operations
- C.High write throughput by buffering writes in memory and merging to disk✓ Correct
- D.No performance benefits over traditional B-tree index structures at all
Explanation
LSM trees optimize write performance by batching writes in memory (memtable) and periodically merging to sorted disk files.
Report an error in this question
NoSQL & Modern DatabasesHard
Q28. Google's Bigtable is:
- A.A traditional relational database with SQL support
- B.A key-value store only without column family data
- C.A distributed, sparse, multi-dimensional sorted map✓ Correct
- D.A graph database using nodes and edge connections
Explanation
Bigtable is a sparse, distributed, persistent multi-dimensional sorted map indexed by row key, column key, and timestamp.
Report an error in this question
NoSQL & Modern DatabasesHard
Q29. Amazon DynamoDB uses:
- A.B+ trees for all data storage and access
- B.Consistent hashing for data partitioning✓ Correct
- C.Only single-node storage without sharding
- D.Relational tables internally for all data
Explanation
DynamoDB uses consistent hashing to partition data across nodes for scalable and predictable performance.
Report an error in this question
NoSQL & Modern DatabasesHard
Q30. Multi-model databases support:
- A.Only relational data organized in standard normalized table format on disk
- B.Only flat files stored sequentially without any structured data model in use
- C.Multiple data models (document, graph, key-value) in a single database engine✓ Correct
- D.Only one data model such as relational without any support for other models
Explanation
Multi-model databases like ArangoDB support multiple data models within a single integrated database engine.
Report an error in this question