dynamoDB DAX Flashcards

1
Q

What is DynamoDB Accelerator (DAX)?

A

DynamoDB Accelerator (DAX) is a highly available in-memory cache for DynamoDB, capable of delivering response times in microseconds for millions of requests per second.

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

How many nodes are recommended for a highly available DAX cluster spread across AZs?

A

Three nodes are recommended for a highly available DAX cluster spread across Availability Zones (AZs).

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

What is a node in a DAX cluster?

A

A node is an EC2 instance with an instance of the DAX software and a single replica of the cached data.

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

How does DAX handle primary and replica nodes?

A

Nodes in a DAX cluster can be either primary or replica, but there is only one primary node decided by DAX.

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

What determines the read throughput of a DAX cluster?

A

The read throughput of a DAX cluster depends on its cluster size.

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

How can you scale a DAX cluster?

A

You can scale a DAX cluster horizontally or vertically.

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

Where does DAX run?

A

DAX runs in a Virtual Private Cloud (VPC) and is not accessible over the public internet.

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

What use cases is DAX ideal for?

A

DAX is ideal for read-intensive applications that require response times in microseconds, to mitigate the effects of hot partitions, and to cache large data sets that are repeatedly read to save Read Capacity Units (RCU).

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

What are the scenarios where DAX is not ideal?

A

DAX is not ideal for apps that require strongly consistent reads, write-heavy applications, or when an existing caching layer like Elasticache or Redis is already in use and custom caching logic is desired.

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