ElastiCache Flashcards

1
Q

Elasticache

A

In-memory data stores

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

Benefit

Elasticache

A

Very low latency

Elasticache

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

Use cases (2)

Elasticache

A
  • Database layer caching
  • Session storage

Elasticache

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

benefit to DB

Elasticache

A

reduces load for intensive read workloads

Elasticache

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

stateless session management

Elasticache

A

user sessions stored in one cache for many instances of application

Elasticache

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

fully managed

Elasticache

A

AWS takes care of security, patching, DR

Elasticache

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

application requirement

Elasticache

A

major changes in application required

Elasticache

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

REDIS

Elasticache

A

DB Caching

Elasticache

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

features (4)

REDIS

A
  • scaling
  • replicas
  • multi-AZ
  • backup

REDIS

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

supports sets and sorted sets

REDIS

A

groups of unique strings

REDIS

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

MEMCACHED

Elasticache

A

session state storage

Elasticache

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

sharding

MEMCACHED

A

muli-node partitioning of data

MEMCACHED

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

feature

MEMCACHED

A

multithreaded architecture

MEMCACHED

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

Authentication supported (2)

REDIS

A
  • IAM Authentication
  • Redis AUTH

REDIS

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

IAM policy usage

REDIS

A

API-level security only

REDIS

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

Redis AUTH

REDIS

A

extra security in addition to security groups

REDIS

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

can set this when creating a cluster

Redis AUTH

A

password/token

Redis AUTH

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

feature supported

Redis AUTH

A

SSL in flight encryption

Redis AUTH

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

authentication feature

MEMCACHED

A

SASL-based authentication

MEMCACHED

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

Elacticache patterns (3)

Elasticache

A
  • Lazy loading
  • write through
  • session

Elasticache

21
Q

Lazy loading

Elacticache pattern

A

all read data is cached

Elacticache pattern

22
Q

Write through

Elacticache pattern

A

data is added or updated in cache when written to DB

Elacticache pattern

23
Q

benefit

Write through

A

data is never stale

Write through

24
Q

Redis with sorted sets use case

REDIS

A

gaming leaderboard

REDIS

25
Q

In-memory data stores

A

Elasticache

26
Q

Very low latency

Elasticache

A

Benefit

Elasticache

27
Q
  • Database layer caching
  • Session storage

Elasticache

A

Use cases (2)

Elasticache

28
Q

reduces load for intensive read workloads

Elasticache

A

benefit to DB

Elasticache

29
Q

user sessions stored in one cache for many instances of application

Elasticache

A

stateless session management

Elasticache

30
Q

AWS takes care of security, patching, DR

Elasticache

A

fully managed

Elasticache

31
Q

major changes in application required

Elasticache

A

application requirement

Elasticache

32
Q

DB Caching

Elasticache

A

REDIS

Elasticache

33
Q
  • scaling
  • replicas
  • multi-AZ
  • backup

REDIS

A

features (4)

REDIS

34
Q

groups of unique strings

REDIS

A

supports sets and sorted sets

REDIS

35
Q

session state storage

Elasticache

A

MEMCACHED

Elasticache

36
Q

muli-node partitioning of data

MEMCACHED

A

sharding

MEMCACHED

37
Q

multithreaded architecture

MEMCACHED

A

feature

MEMCACHED

38
Q
  • IAM Authentication
  • Redis AUTH

REDIS

A

Authentication supported (2)

REDIS

39
Q

API-level security only

REDIS

A

IAM policy usage

REDIS

40
Q

extra security in addition to security groups

REDIS

A

Redis AUTH

REDIS

41
Q

password/token

Redis AUTH

A

can set this when creating a cluster

Redis AUTH

42
Q

SSL in flight encryption

Redis AUTH

A

feature supported

Redis AUTH

43
Q

SASL-based authentication

MEMCACHED

A

authentication feature

MEMCACHED

44
Q
  • Lazy loading
  • write through
  • session

Elasticache

A

Elacticache patterns (3)

Elasticache

45
Q

all read data is cached

Elacticache pattern

A

Lazy loading

Elacticache pattern

46
Q

data is added or updated in cache when written to DB

Elacticache pattern

A

Write through

Elacticache pattern

47
Q

data is never stale

Write through

A

benefit

Write through

48
Q

gaming leaderboard

REDIS

A

Redis with sorted sets use case

REDIS