AWS Cloudfront Flashcards

(16 cards)

1
Q

AWS CloudFront

A

Content Delivery Network, improves read performance, content cached at edge locations

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

What is the difference between CloudFront and S3 Cross Region Replication?

A

Cloudfront is good for static content that must be available everywhere, S3 Cross Region Replication is good for dynamic content that needs to be available at low latency in a few regions (must be setup for each region)

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

CloudFront Cache Key

A

Unique identifier for every object in the cache

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

Cache Policy

A

Cache can be based on:
- HTTP headers
- Cookies
- Query strings

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

True or false? All HTTP headers, cookies, and query strings that you include in the Cache Key are automatically included in origin requests

A

True

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

Origin Request Policy

A

Specify values you want to include in origin requests without including them in the Cache Key

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

CloudFront Cache Invalidation

A

Force and entire or partial cache refresh (bypassing TTL), can invalidate all files (*) or a special path eg. add new images to S3 bucket and want it to be seen immediately

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

VPC Origins

A

Allows you to deliver content from applications in VPC private subnets e.g ALB, NLB, EC2

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

CloudFront Geo Restriction

A

Restrict who can access your distribution via allow list / block list

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

CloudFront Signed URL

A

Allow access to a path no matter the origin, leverage caching features

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

CloudFront Signed URL process

A

Create trusted key group, private key is used by applications to sign URLs, public key used by CloudFront to verify URLs

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

True or false? Cost of data out is different for different edge locations?

A

true, eg. India is more expensive than US

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

CloudFront multiple origin

A

Route to different origins based on content type eg. api goes to ALB, others go to S3 bucket

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

CloudFront Origin groups

A

one primary and one secondary origin - if primary origin fails, second one is used

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

Field level encryption

A

Adds additional security along with HTTPS, data encrypted at edge location with public key and decrypted using private key at web server

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

CloudFront real time logs

A

Logs sent to Kinesis Data Streams for monitoring and analysis