Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 9 pages
Exam (elaborations)

NoSQL Final Exam Questions With Verified And Updated Answers

Document preview thumbnail
Preview 2 out of 9 pages

©THESTAR EXAM SOLUTIONS 2024/2025 ALL RIGHTS RESERVED. 1 | P a g e NoSQL Final Exam Questions With Verified And Updated Answers What factors let to the emergence of NoSQL databases? - answer1) 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? - answerEliminate 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 - answerVertical 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 - answer1) Do not use relational model ©THESTAR EXAM SOLUTIONS 2024/2025 ALL RIGHTS RESERVED. 2 | P a g e 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? - answerRelated 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? - answerDifferent 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 - answerA distributed computer system cannot simultaneously provide (1) consistency, (2) availability, and (3) partition tolerance Define consistency - answerThe 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 - answerEvery request received by a non-failing node must result in a response Every request receives a response about whether it was successful or failed

Content preview

©THESTAR EXAM SOLUTIONS 2024/2025

ALL RIGHTS RESERVED.



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


1|Page

, ©THESTAR EXAM SOLUTIONS 2024/2025

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

Document information

Uploaded on
November 24, 2024
Number of pages
9
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TheStar
3.7
(140)
Sold
709
Followers
178
Items
26617
Last sold
3 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions