Data Stores Flashcards

1
Q

What is a data store?

A

A data store is a repository for persistently storing and managing collections of data which include not just repositories like databases, but also simpler store types such as simple files, emails etc.

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

What are important features of a data store?

A
  1. Data persistence
  2. IOPS and Throughput
  3. Consistency
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is persistent data storage?

A

Data that is durable and remains after reboots, restarts and power cycles

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

What are the types of data persistence?

A
  1. Persistent
  2. Transient
  3. Ephemeral
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What core AWS services use persistent data storage?

A
  1. Glacier

2. RDS

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

What is transient data storage?

A

Data that is stored temporarily and passed along to another process or persistent store

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

What core AWS services use transient data storage?

A
  1. SQS

2. SNS

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

What is ephemeral data storage?

A

Data that is lost when instances or services are stopped

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

What core AWS services use ephemeral data storage?

A
  1. Instance store

2. memcached

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

What is IOPS?

A

Input/Output operations per second which measures how fast we can read and write to a device

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

What is throughput?

A

How much data we can transfer at any given time

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

What is data consistency?

A

A matter of keeping things in order like a set of ground rules so that data behaves in the same way

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

What are the consistency models?

A
  1. ACID

2. BASE

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

What is the ACID model?

A

Atomic – transactions are “all or nothing” (no partial transactions)

Consistent – transactions must be valid (not corrupted)

Isolated – transactions can’t interfere with one another

Durable – completed transaction must stick around

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

What is the BASE model?

A

Basic Availability – values availability even if stale

Soft-state – might not be instantly consistent across stores

Eventual consistency – will achieve consistency at some point

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