CloudFront Flashcards

1
Q

What is AWS CloudFront?

A

Content Delivery Network (CDN)

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

Are you protected against DDOS attacks when using CloudFront?

A

Yes

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

What can be used as CloudFront origins?

A

S3 bucket, any custom http backend (load balancer, EC2)

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

What access control policies are involved when using CloudFront with an S3 bucket?

A

S3 bucket policy plus the Origin Access Control

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

What is the difference between CloudFront and using S3 cross region replication?

A

Using CloudFront files are available globally, files are cached for a TTL, good for static content that must be available everywhere. S3 cross region replication must be setup for each region, read-only, good for dynamic content that needs to be available at low-latency in a few regions.

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

What is the difference between the cache policy and the origin request policy

A

Cache policy defines what can be used as the cache key for requests, anything used as the key is automatically forwarded as part of origin requests. The origin request policy lets you specify other parts of the request to forward to the origin.

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

Can CloudFront be used to send traffic to a private EC2 instance not publicly available?

A

No the EC2 instance must be public

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

When you’re configuring a CloudFront distribution to use Signed URLs/Cookies, it is recommended to use Trusted Key Group signer instead of CloudFront Key Pair. OR should you use CloudFront Key Pair instead of Trusted Key Group?

A

You should use a Trusted Key Group instead of a CloudFront Key Pair.

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