CloudFront Flashcards

1
Q

Difference in location for CF Functions and Lambda@Edge

A

CF Functions reside at the 218+ Edge Locations

Lambda@Edge exists at the 13 Regional Edge Locations – closer to the origin

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

How to configure CF Standard (Access) Logs? Where and how often are they delivered?

A

Configure on a distribution, send to S3. Sent multiple times an hour, but can delay up to 24 hours

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

What are CF Real-time logs, and how to configure?

A

Within-seconds logs. Delivered to KDS. From there, you can build your own consumer, or use KDS —> KDF —> S3

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

What is the point of CF Origin Groups?

A

Failover. With origins in an origin group (primary / secondary), you can configure failover

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

I can use URL paths in my CF distribution to route to many different origins. How does Lambda@Edge improve upon this?

A

By running code in response to requests. Can make decisions on more factors – headers, cookies, query strings, viewer country, etc.

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

What is “S3 Zone Apex Support,” and why is it relevant to CloudFront?

A

This refers to the power of an Alias record to point from a root domain to another AWS resource (in this case, S3) So this allows you to point 222323.cloudfront.net –> examplebucket.s3.amazonaws.com, as for static website hosting

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