DynamoDB Flashcards

1
Q

What’s Amazon’s DynamoDB?

A

Amazon describes DynamoDB as a DB but it’s best seen as a B-tree data structure in the cloud

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

What’s the difference between DynamoDB and Redis?

A

DynamoDB and Redis are very similar, but unlike Redis DynamoDB is immediately consistent and highly durable. If you put something in DynamoDB you can be sure it will never get lost

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

What’s the difference between DynamoDB and RDS when it comes to suitability?

A

DynamoDB => is suitable for web applications

RDS => Suitable for ad hoc queries, data warehousing, and Online Analytical Processing

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

What’s the difference between DynamoDB and RDS when it comes to data structure?

A

DynamoDB => Schemaless. Can manage structured in a semistructured data, including JSON

RDS => The relational model requires a structure with row, table, and columns

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

What’s the difference between DynamoDB and RDS in relation to sorting?

A

DynamoDB => If you want to aggregate data sorting and filtering, you need to retrieve the whole data and sort it after.

RDS => You can sort the query on data side.

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

What is the downside of DynamoDB?

A

DynamoDB requires the data sorting to be done after querying and it’s more expensive them S3.

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