CloudFront Flashcards

1
Q

What is CloudFront?

A

Content Delivery Network (CDN) to distribute servers that deliver webpages and other content to a user based on geographical location of user, origin of webpage content delivery server.

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

How does CloudFront deliver objects at a lower latency?

A

It uses edge locations to cache copies of objects at lower latency

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

Can you clear the cache yourself in CloudFront?

A

Yes, but you will be charged

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

How to upload faster to S3

A

Transfer Acceleration

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

2 types of edge location collections for CloudFront

A

1) Web Distribution

2) RTMP

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

When to use Web Distribution CloudFront?

A

For websites, that don’t use flash.

S3 buckets or HTTP/HTTPS Server

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

When to use RTMP CloudFront?

A

Media Streaming

Uses Adobe real time messaging protocol

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

Max TTL for CloudFront

A

365 days

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

What does it mean if you receive a 5XX error?

A

server-side error

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

What does it mean when you receive a 4XX error

A

client-side error

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

How to customize content CloudFront delivers, or use signed URLs or signed cookies

A

Lambda@Edge

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

How to restrict certain countries from accessing content from CloudFront?

A

Whitelist for countries that can access content.

Blacklist for countries that are not allowed to access content.

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

Possible origin servers for CloudFront

A
S3 bucket
own HTTP server
EC2 instance
ELB
Route 53
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How to set up HTTPS communication with viewers using ELB and CloudFront

A
  • Set up Viewer Protocol Policy to use Redirect HTTP to HTTPS
  • Set Viewer Protocol Policy to use HTTPS Only
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How to setup HTTPS communication with origin and CloudFront?

A

SSL certificates

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

How to establish secure end-to-end SSL connection between orgin and end users using CloudFront?

A

Configure Origin Protocol Policy

Configure Viewer Protocol Policy (for cache behavior)

17
Q

What should you do if you get 504 errors from CloudFront?

A

Origin Failover

or

Use Lambda@Edge