Security - NoSQL Data Models and CAP Theorem Flashcards

1
Q

Relational models separate the _____ from the _____ of the program

A

data
design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Data are stored in ____ that are related to prevent ________ and ________ _________.

A

tables
anomalies and inconsistent data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Realtional databases use SQL (Stuctured Query Language) to

A

insert, update, delete, and read data

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Limitations of Relational Databases

A

Large companies like google, yahoo, and amazon unable to support data and users on a single database platform.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

(Limitation of relational database) Small to midsized organization needed a

A

system to use that would allow them to query large datasets for customer relationship management or data warehousing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Large numbers of read and write operations needed to be

A

fast and this is difficult with highly normalized relational databases

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Limitations- Due to poor performance on ___ datasets, companies were upgrading hardware or adding memory

A

large

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

_____ was created to solve the need for good performance in large scale databases.

A

NoSQL (not only sql)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

_____ databases address scalability and availability of data as well

A

NoSQL

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Distributed Systems

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Larger companies require multiple physical servers. This is known as

A

a distributed system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is used to quickly find the location of a record

A

an index

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Distributed databases also require backups on

A

clusters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

ACID

A

Atomicity, consistency, isolation, and durability. These 4 properties are applied in relational database management systems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Atomicity

A

the unit cannot be divided further

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Consistency

A

refers to data integrity

17
Q

Isolation

A

means that transactions are not visible until they are complete

18
Q

Durability

A

indicates that data will remain on disk even in the event of a network failure

19
Q

BASE

A

acronym often used for NoSQL databases. BASE stands for basically available, soft state, eventually consistent

20
Q

Basically available

A

means that even if there is a failure in some parts of the system, the rest of the system will continue to function properly

21
Q

Soft state

A

means that data may be overwritten with more recent data

22
Q

Eventually consistent

A

refers to times when the database is in an inconsistent state. Some NoSQL databases keep multiple copies on multiple servers and therefore may be inconsistent for periods of time.

23
Q

CAP Theorem, also known as _____ Theorem, state that only _____ of three attributes (C, A, P) can be guaranteed on a system

A

Brewer’s
two

24
Q

CAP (what does the C stand for)

A

C = Consistency refers to consistent copies of data on different servers. This means that every read receives the most recent written data

25
CAP (what does the A stand for)
Availability means a response to every query
26
CAP (what does the P stand for)
Partition protection means that if a network connecting the database servers fails, then the servers will still be available. This means that even if the network goes down, the system will continue to operate
27
Categories of NoSQL Databases - Key Value:
All data are represented as a single key with an associated value. Associated technologies: DynamoDB, Oracle No SQL, Redis
28
Categories of NoSQL Databases - Document:
Data are represented as a key and a document. Documents are generally JSON or XML. Associated technologies: MongoDB, Cosmos DB, CouchDB
29
Categories of NoSQL Databases - Column-family:
Data are represented as a key and multiple values. Associated technologies: Cassandra, Bigtable, Hbase
30
Categories of NoSQL Databases - Graph:
Data are represented as a graph with nodes and edges. Associated technologies: OrientDB, Desis Labs, TigerGraph
31
Video explaining details about the four categories of NoSQL
https://devry.percipio.com/videos/0c098079-feaf-11e6-8638-0242c0a80b06?sharelink=JCm-FLjO_&allowFrame=true
32