Elasticache Flashcards

1
Q

There are 3 design patterns for Elasticache, what are they and what do they do?

A

Lazy Loading: All read data is stored in cache - but cache can become stale
Write Through: Adds or updates data in cache when data is written to DB - no stale data
Session Store: Supports TTL. Use for temporary session data.

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

Do either of the Elasticache engines support IAM authorizations?

A

No. Neither.

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

By default - is Elasticache:

  • Multi AZ
  • Encrypted at Rest
  • Encrypted in Transit
A

it can be multi-AZ, but this needs to be enabled.

Data is not encrypted at rest or in transit by default.

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

How do you authenticate to Reddis and Memcached

A

ReddisAuth (Username/Pwd) and SASL for Memcached

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

What is the cost model for elasticache

A

Pay per hour based on EC2 instance type

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

Is a cached version of data considered an authoritative version? If so, under what conditions?

A

A Cached version is considered authoritative until the ttl expires

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