ElastiCache Flashcards

1
Q

What are the available cache stores in RDS?

A

Managed Redis or Memcached

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

What are some of the uses of elasticache?

A

User session store

Helps reduce load off of database for read intensive workloads

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

What are some of the features of Redis for HA and scaling?

Does Redis support backup and restore?

How does Redis support Data durability?

What is a Redis sorted set?

A

Multi AZ with Auto-failover
Read Replicas to scale reads and have high availability

Yes

Data Durability using append only file (AOF) persistence

A prioritized list feature called Redis Sorted Sets. That can be used to store/retrieve leaderboard type information

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

What is memcached?

Does Memcached support HA (Replication), persistence or backup and restore?

What is memcached multi-node support?

A

Network attached in memory cache

No

Supports multithreading

Multi-node for partitioning of data. A node is a fixed-size chunk of secure, network-attached RAM.
A Memcached cluster can have from 1 to 40 nodes.
Memcached clusters scale horizontally easily by adding or removing nodes.

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

Is there IAM authentication in ElastiCache?

A

They do not support IAM authentication.

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

What are the IAM policies used for in ElastiCache?

A

IAM policies on ElastiCache are only used for AWS API level security

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

What are some of the security features of Redis?

A

Can set password/token when you create a redis cluster
This is an extra layer of security on top of security groups

Supports SSL

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

What are some of the security features of Memcached?

A

Supports SASL-based auth.

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

What are the 3 caching patterns?

A

Lazy loading - All the read data is cached and can become stale in cache

Write through - adds or update data in the cache when written to DB (No stale data)

Session store - Store temporary session data in a cache using TTL

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