Databases Flashcards

1
Q

What are OLTP Workloads

A

Customer orders, banking, payments, booking systems, RDS is great for these small transactions

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

What is OLAP and what is best to use

A

More for querying/reporting instead of transaction processing. Best with something like Redshift

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

Read Replicas

A

Primarily used for scaling, not disastedr recovery. Requires automatic backup

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

Multi-AZ

A

An exact copy of prod DB in another AZ. Used for disaster recovery.

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

In the event of a failure, how do you point your system to use another RDS in Multi-AZ?

A

AWS automatically failovers to standby instance

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

DynamoDB

A

Store on SSD.

Can be eventually or strongly consistent reads

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

Eventually Consistent Reads

A

Consistency across all copies of data is usually reached within a second

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

Strongly consistent read

A

returns a result that reflects all writes

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

DynamoDb allows the following reads

A

eventual, strong and transactional

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

DynamoDB has the following write options

A

standard and transactional

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

What are ACID requirements and which technology provides this?

A

Atomicy, consistency, isolation and durability.

DynamoDB Transactions provides this

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

DynamoDB Streams

A

Time-ordered sequence of item-level changes in a table

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

Global Tables

A

Globally distributed apps.

good for adding redundancy to DynamoDB

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