Caching Flashcards

1
Q

Is CloudFront an Internal or External Cache

A

External

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

Is Elasticache an Internal or External Cache

A

Internal

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

Is DAX an Internal or External Cache

A

Internal

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

Is Global Accelerator an Internal or External Cache

A

External

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

What is CloudFront?

A
  • Its AWS’s CDN (Content Delivery Network)
  • Allows is to push content to Edge Location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How is CloudFront related to edge locations?

A

CloudFront allows us to push content into Edge Locations

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

Why Consider using CloudFront?

A
  • Defaults to HTTPS
  • Allows the use of certificates
  • Allows you to put a secure connection on S3 static websites
  • Can use it to front non AWS applications
  • Can force expiration of content before TTL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Can you pick specific Countries when using Cloud Front? Edge Locations? What can you pick?

A

Cannot pick countries or edge locaitons. You pick general regions

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

Why might you use signed URLs or signed cookies?

A

To restrict access. These are basically temporary access points

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

How can you add additional security to CloudFront?

A

You can enable WAF

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

How do you block connections using CloudFront?

A

Best way is using Web Application firewall (WAF)

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

What is ElastiCache?

A

Its a managed version of Memcached and Redis. it allows you to spin up these two tools easily.

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

Why might you use Memcached?

A
  • Simple database cache ONLY.
  • No typical DB features.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Why might you use Redis?

A
  • Supported as a caching solution
  • functions as a standalone database (NoSQL)
  • can failover and supports multi-AZ
  • supports backups
  • Is a good option if DynamoDB isn’t available and you need NOSQL
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Can Memcached exist on its own as a database?

A

No.

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

What is DAX?

A
  • Dynamo DB Accelerator
  • In-Memory Cache
  • Go from milliseconds to microseconds
  • Lives in a VPC
  • Highly available
17
Q

Can DAX be used for anything else other than DynamoDB?

A

No.

18
Q

What is Global Accelerator?

A

Increases application performance and helps deal with IP caching

19
Q

Describe how Global Accelerator helps an application

A
  • Global accelerator sits between users and your load balancer and offers two IPs that never change, even if the ELB does.
20
Q

I say IP Caching you say…

A

Global Accelerator!

21
Q

How do you secure access to an Elasticache Redis cluster?

A

Use the AUTH commant

22
Q

What are CloudFront Origin Groups for origin failover used for

A

Designates a primary and secondary origin when the primary returns specific HTTP failures

23
Q

What methods could you use to increase your cache hit ratio when using CloudFront?

A
  1. Increase the TTL longer could mean stale images
  2. Configure the distribution to forward requests that will return unique objects
  3. Remove the accept encoding header when compression isn’t needed
  4. Serve media content using HTTP