Elasticache Flashcards

1
Q

What is Elasticache?

A

A managed cloud-based web service that provides an in-memory cache.

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

What benefit does in-memory cache provide?

A

Provides retrievals from a much faster in-memory cache. reduces reliance on slow disk-based retrievals.

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

What is caching?

A

storing of queries for later use. Reduces latency since the application does not repeat queries of the DB, but gets the needed information directly from the cache.

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

What are the types of Elasticache?

A

memcached

Redis

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

What is Memcached?

A

a widely adopted memory object caching system

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

Will existing Memcached enabled environments work with AWS Memcached Elasticache service?

A

yes

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

What is Redis?

A

A popular open-source in-memory key-value store that supports data structures such as sorted-sets and lists.

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

True or false: Elasticache Redis service supports master/slave replication?

A

True

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

True or false: Elasticache Redis service supports multi-AZ?

A

True

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

True or False: Elasticache Memcached supports multi-AZ?

A

False. Only Redis supports Multi-AZ

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

When should you use elasticache?

A

When your application is read heavy and your DB is overutilized by non-OLAP transactions. OLAP transactions should be offloaded to Redshift.

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

When should you be careful about using Elasticache?

A

When your application is write heavy.

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

Why should you be careful about using Elasticache when your application is write heavy?

A

When you write to a DB, elasticache will not know about the change until the TTL expires. Users will not get the latest information.

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