NoSQL Final Exam Questions With Verified
And Updated Answers
What factors let to the emergence of NoSQL databases? - answer✔1) Impedance mismatch:
differences between relational models and data structures used by applications that interact
with databases
2) Web services: shift to web services (using HTTP) in early 2000's, need more flexibility in data
structure
3) Big data: rapid data expansion -- either scale up or scale out
4) Clustered computing: RDBMS not optimized for clusters, ACID transactions degrade
performance at scale
How do NoSQL data models address impedance mismatch? - answer✔Eliminate the need for
object-relational mapping, simplify database interactions, and there is less code to write /
maintain
Store data the way you want to retrieve it
Explain horizontal vs. vertical scaling - answer✔Vertical scaling (scaling up): bigger machines,
more expensive and ultimately reaches upper limits
Horizontal scaling (scaling out): add more machines to cluster, cheaper at scale and more
resilient and reliable
General defining characteristics of NoSQL - answer✔1) Do not use relational model
ALL RIGHTS RESERVED.
2) Do not use SQL as query language
3) "schemaless"
4) Mostly designed for clusters
5) Usually open-source
6) specialized for specific use cases
7) Developed in early 2000's and on
What is aggregate orientation? - answer✔Related objects are grouped together and treated as
one unit
We communicate with the database in terms of aggregates
Clusters use aggregates as units of data distribution
What are the benefits of a dynamic schema? - answer✔Different records can have different
structures, not as rigid
In RDBMS, we must define structure beforehand and take database offline to make changes
State the CAP theorem - answer✔A distributed computer system cannot simultaneously
provide (1) consistency, (2) availability, and (3) partition tolerance
Define consistency - answer✔The client perceives that a set of operations has occurred all at
once
All clients see the same data
"Atomicity" and "Consistency" from ACID
Define availability - answer✔Every request received by a non-failing node must result in a
response
Every request receives a response about whether it was successful or failed
2|Page
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller TheStar. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $11.49. You're not tied to anything after your purchase.