Concepts Flashcards

1
Q

What are the 3 types of data store persistence?

A

Persistent
Transient
Ephemeral

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

What is persistent data store?

A

Durable, persists after reboots, restarts, power cycles, etc. Think S3, Glacier, RDS.

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

What is transient data store?

A

temporarily stored data until passed to another process of data store. Think SQS, SNS

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

What is ephemeral data store?

A

Data that is lost once the process ends. Think EC2 Instance Store, Memcached

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

What is the difference between IOPS and throughput?

A

IOPS is a measure of read and write speed

Throughput is a measure of how much data can be moved at a time.

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

What are the two consistency models?

A

ACID and BASE

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

What does ACID stand for in the ACID consistency model?

A

Atomic
Consistent
Isolated
Durable

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

What does Atomic mean in the ACID consistency model?

A

Transactions are all or nothing (no partial stores)

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

What does Consistence mean in the ACID consistency model?

A

Transactions must be valid

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

What does isolated mean in the ACID consistency model?

A

Transactions can’t interfere with one another (one transaction can’t effect another)

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

What does Durable mean in the ACID consistency model?

A

Completed transactions must stick around

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

What does BASE stand for in the BASE consistency model?

A

Basic Availability
Soft-state
Eventual Consistency

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

What does Basic Availability mean in the BASE consistency model?

A

values availability even if the data is stale

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

What does soft-state mean in the BASE consistency model?

A

Might not be instantly consistent accross data stores

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

What does Eventual Consistency mean in the BASE consistency model?

A

Will achieve consistency at some point

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

Under which circumstance is the BASE consistency model prefered?

A

When ability to scale large is neccessary