ElastiCache Flashcards

1
Q

Amazon ElastiCache can be used to significantly improve latency and throughput for:

A
  • Read-heavy application workloads (such as social networking, gaming, media sharing and Q&A portals)
  • Compute-intensive workloads (such as a recommendation engine) by allowing you to store the objects that are often read in cache.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Amazon ElastiCache for Redis supports

A

Advanced data structures, you can augment the database tier to provide features (such as leaderboard, counting, session and tracking) that are not easily achievable via databases in a cost-effective way.

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

Why Redis instead of Memcached?

A

Redis offers
- snapshots facility
- replication
- transactions

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

What is Elasticache for Redis “cluster mode”?

A

Data partitioned across up to 500 shards

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

What happens to the data when you add an Elasticache for Redis read replica to a cluster?

A
  • all of the data from the primary is copied to the new node.
  • the changes written to the primary node are asynchronously propagated to all the read replicas.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you improve fault tolerance and reduce write downtime to a Elasticache for Redis cluster?

A

Enable Multi-AZ with Automatic Failover for your Redis (cluster mode disabled) cluster with replicas.

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

What happens when a Multi-AZ Elasticache for Redis (Cluster mode disabled) node fails?

A

The role of primary node will automatically fail over to one of the read replicas. There is no need to create and provision a new primary node, because ElastiCache will handle this transparently.

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

Can you manually promote any of the Elasticache for Redis (Cluster mode) replica nodes to primary?

A

You cannot manually promote any of the Elasticache for Redis (Cluster mode) replica nodes to primary.

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