CloudFront Flashcards

1
Q

What does CDN stand for?

A

Content Delivery Network

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

What is a Content Delivery Network?

A

A Content Delivery Network is a system of distributed servers that deliver web content to a user based on the geographic locations of the user, the origin of the webpage, and a content delivery space.

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

What is an Edge Location?

A

A location where content is cached. (This is separate from an AWS Region/AZ)

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

In the context of CloudFront and Content Delivery Networks, what is an origin? What are some examples of origins?

A

The origin of all the files that the CDN will distribute.

This can be an S3 bucket, an EC2 instance, an Elastic Load Balancer, or Route53

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

In the context of CloudFront, what is a Distribution?

A

the name given to the CDN, which consists of a collection of edge locations

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

Are edge locations read-only?

A

No. You can write to an edge location too!

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

What is Amazon CloudFront?

A

CloudFront is the AWS-integrated CDN

CloudFront can be used to deliver your entire website, including dynamic, static, streaming, and interactive content, using a global network of edge locations.

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

Why is Amazon CloudFront good for performance?

A

Geographic Cacheing. Requests for your content are automatically routed to the nearest edge location, so content is delivered with best performance possible.

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

What does RTMP stand for?

A

Real-Time Messaging Protocol

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

What are the 2 types of distributions used for CloudFront?

A
  • Web Distribution - for websites
  • RTMP - for media streaming
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Can you clear cached objects in an edge location?

A

Yes, but you will be charged. (Invalidating the Cache)

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

In the context of CloudFront, what is the Time To Live?

A

How long objects are cached in an edge location.

This is a configurable amount.

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

What does TTL stand for?

A

Time To Live

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

What are the areas for which you are charged in CloudFront?

A
  • Data Transfer Out
    • To the internet from the edge locations
    • from cloudfront to the origin server
  • Requests
    • HTTP/HTTPs
    • Origin Shield
    • Invalidation
    • Field Level Encryption
    • Real-Time Log
  • Dedicated IP Custom SSL certificates associated with a Cloudfront Distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Suppose you have specific items in CloudFront that you want to keep in the cache longer than normal. How can you accomplish this?

A

Utilize a Cache-Control header for these items

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