CloudFront and AWS Global Accelerator Flashcards

1
Q

What is CloudFront?

A

Content delivery system that caches content at the edge for low latency, globally

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

Can CloudFront be used to ingress data?

A

Yes, it can be used to ingress data into S3 with transfer acceleration

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

What are 2 difference between CloudFront and S3 cross region replication?

A
  • CloudFront is easier to set up globally - CRR has to be set up for each region you want replication to occur in
  • CF caches files for a specific TTL, whereas CRR is almost real-time updates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can CloudFront connect to private EC2 instances?

A

It must pass through an ALB - it does not have direct access to the private instances

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

How does geo-restriction work in CloudFront?

A

You create an allowlist and a blocklist, then users’ IPs are cross referenced to find out what country they are in and thus what content they are allowed to access

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

How do price classes work?

A

Price classes are separated by what regions and how many regions you want to supply to, e.g. Price class 100 is essentially just Europe and North America

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

What is a cache invalidation in CloudFront?

A

A command you’ve issued to manually force a refresh of a path or everything in a cache

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

Why use a cache invalidation in CloudFront?

A

If you want to manually refresh the cache because you’ve recently updated cached content and it should/needs to be updated

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

What is AnyCast IP?

A

All servers hold the same IP address and the client is routed to the nearest one, e.g. send this letter to “the nearest ice cream shop” - you don’t know where it is but you want it to be sent to the nearest one

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

What is unicast IP?

A

One server holds one IP address. Distinctly different/opposite from anycast IP

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

What is Global Accelerator?

A

Getting a customer to connect to their nearest edge location and then traversing the AWS network as opposed to the internet

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

What type of IPs are relevant to Global Accelerator?

A

AnyCast IPs - the edge locations have static AnyCast IPs so when the customer asks to connect they are simply routed to the closest one

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

What are 2 differences between Global Accelerator and CloudFront?

A
  • GA content is served from a central location, just faster than if it was over the internet, whereas CF content is served at the edge.
  • GA is a better fit for applications whereas CF is for static content
How well did you know this?
1
Not at all
2
3
4
5
Perfectly