dynamoDB Global Tables Flashcards

1
Q

What does DynamoDB Global Tables allow you to do?

A

DynamoDB Global Tables allows you to automatically replicate tables across AWS regions.

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

How are tables synchronized in DynamoDB Global Tables?

A

Tables are synchronized via DynamoDB Streams.

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

What Streams view type should be enabled to use Global Tables?

A

To use global tables, enable the NEW_AND_OLD_IMAGES Streams view type.

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

What conflict resolution strategy does DynamoDB use?

A

DynamoDB uses LAST WRITER WINS to resolve conflicts.

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

Is failover automatic in DynamoDB Global Tables?

A

No, failover is not automatic. If a region goes down, you need to implement failover in your application.

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

What should be considered when selecting regions in DynamoDB Global Tables?

A

You still need to consider latency. Latency will be higher the further away data has to be replicated.

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

What is PartiQL used for in DynamoDB?

A

PartiQL allows you to run SQL queries on DynamoDB tables.

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

What are the requirements for running queries with PartiQL?

A

Table and column names need to match case when using PartiQL.

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

Can WHERE clauses be used on non-partitioned key columns in DynamoDB PartiQL?

A

Yes, WHERE clauses can be used on non-partitioned key columns, but under the covers, PartiQL will just run a full SCAN and filter the results.

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

What should be used to keep DynamoDB PartiQL queries efficient?

A

Use indexes to keep DynamoDB PartiQL queries efficient.

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