Scaling - Cloudfront Flashcards

1
Q

What is Cloudfront?

A

can deliver content to your users faster by caching static and dynamic content at edge locations;

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

How is dynamic content delivered?

A

via HTTP cookies forwarded from the origin;

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

What other delivery methods are supported?

A

supports RTMP but it must be selected; web distributions also support media/live streaming via http/https

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

What objects can be origins?

A

S3, EC2, ELB or another web server; multiple origins can be configured

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

What the methods of invalidating a Cloudfront cache?

A
  1. Simply delete the file from the origin; wait for the TTL to expire
  2. Use AWS Console to request invalidation of all content or specific path
  3. Use CloudFront API to submit an invalidation request
  4. 3rd party tools
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How are you charged?

A

charged for S3 storage, data transfer from edge locations and your origin, also HTTP/HTTPS request from your origin, invalidation requests, Custom SSL certs

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

What is cache behavior?

A

allows configuration of any CloudFront URL path pattern for files on your website

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

How does configuration of the cache behavior affect website files?

A
  1. path pattern
  2. if multiple origins, which origin should cloudfront forward to
  3. forward query strings to your origin?
  4. access of certain files requires signed URLs?
  5. is HTTPs required or not for user access to files
  6. amount of time files remain in Cloudfront
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are geo-restrictions?

A

prevents users in selected countries from access your content; the request from a restricted country prompts a HTTP 403 code

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

Can zone apex records be leveraged and how?

A

yes; with Route 53, an alias record can be configured to map to the apex or root of your DNS name to your Cloud distribution (example.com versus www.example.com)

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