Database Foundations & Landscape Quiz

Q1. Relational vs NoSQL Models: Which of the following correctly characterizes a key difference between relational databases and NoSQL databases?




Q2. For which application scenario would a NoSQL data store likely be more suitable than a relational database?




Q3. Which statement best differentiates ACID transactions from BASE principles in databases?




Q4. According to the CAP theorem, what must a distributed database sacrifice in the event of a network partition?




Q5. Which of the following is a characteristic of an OLTP (online transactional processing) system as compared to an OLAP (online analytical processing) system?




Q6. A column-oriented storage layout provides which advantage over a traditional row-oriented storage layout?




Q7. What is a common performance trade-off when adding more indexes to a database table?




Q8. Which data structure is most commonly used to implement a general-purpose index that supports range queries in relational databases?




Q9. What is the primary role of the query optimizer in a relational database system?




Q10. What is the primary purpose of a Write-Ahead Log (WAL) in database systems?




Q11. In many database workloads, what is often the primary performance bottleneck as data volumes grow large?




Q12. In a high-concurrency transactional system, many transactions are trying to update the same set of rows. Which bottleneck is likely to degrade performance in this scenario?




Q13. Which ACID property is specifically responsible for preventing one transaction’s intermediate effects from being visible to other concurrent transactions?




Q14. The ACID properties are a foundation of transaction management. What do the letters A-C-I-D stand for?




Q15. The term "consistency" has different meanings in ACID vs the CAP theorem. Which choice correctly distinguishes these two uses of "consistency"?




system-design