cloudfront Flashcards

1
Q

By default, each object stays in an edge location for ??? hours before it expires.

A

By default, each object stays in an edge location for 24 hours before it expires.

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

The minimum expiration time is ??? seconds; there isn’t a maximum expiration time limit.

A

The minimum expiration time is 0 seconds; there isn’t a maximum expiration time limit.

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

Using CloudFront can help you accomplish a variety of goals.

A

CloudFront can speed up the delivery of your static content (for example, images, style sheets, JavaScript, and so on) to viewers across the globe.

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

Using S3 together with CloudFront has a number of advantages…

A

… including the option to use Origin Access Identity (OAI) to easily restrict access to your S3 content.

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

CloudFront offers several options for streaming your media to global viewers—both pre-recorded files and live events.

A

For on-demand streaming, you can use CloudFront to stream in common formats such as MPEG DASH, Apple HLS, Microsoft Smooth Streaming, and CMAF, to any device. For broadcasting a live stream, you can cache media fragments at the edge, so that multiple requests for the manifest file that delivers the fragments in the right order can be combined, to reduce the load on your origin server.

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

When you configure HTTPS with CloudFront, you already have secure end-to-end connections to origin servers. When you add field-level encryption, you can protect specific data throughout system processing in addition to HTTPS security, so that only certain applications at your origin can see the data.

A

To set up field-level encryption, you add a public key to CloudFront, and then specify the set of fields that you want to be encrypted with the key.

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

You can specify any combination of up to ??? Amazon S3 buckets, channels, and/or HTTP servers as your origins.

A

You can specify any combination of up to 25 Amazon S3 buckets, channels, and/or HTTP servers as your origins.

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

The number of files that you can serve per distribution is ???.

A

The number of files that you can serve per distribution is unlimited.

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

You can’t serve Adobe Flash multimedia content over HTTP or HTTPS, but you can serve it using a CloudFront ???? distribution.

A

You can’t serve Adobe Flash multimedia content over HTTP or HTTPS, but you can serve it using a CloudFront RTMP distribution.

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

When you update a distribution by using the UpdateDistribution CloudFront API action, there are (more || less) required fields than when you create a distribution by using CreateDistribution.

A

When you update a distribution by using the UpdateDistribution CloudFront API action, there are more required fields than when you create a distribution by using CreateDistribution.

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

if CloudFront returns d111111abcdef8.cloudfront.net as the domain name for your distribution, the URL for the file image.jpg in an Amazon S3 bucket or in the root directory on an HTTP server will be http://???

A

if CloudFront returns d111111abcdef8.cloudfront.net as the domain name for your distribution, the URL for the file image.jpg in an Amazon S3 bucket or in the root directory on an HTTP server will be http://d111111abcdef8.cloudfront.net/image.jpg.

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

When you update your distribution, be aware that a number of ??? fields are required that are not required to create a distribution.

A

When you update your distribution, be aware that a number of additional fields are required that are not required to create a distribution.

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

If you want to delete an origin, you must first ??? or ??? the cache behaviors that are associated with that origin.

A

If you want to delete an origin, you must first edit or delete the cache behaviors that are associated with that origin.

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

If the bucket is configured as a website, enter the Amazon S3 static website ??? ??? for your bucket; do not select the bucket name from the list in the Origin Domain Name field.

A

If the bucket is configured as a website, enter the Amazon S3 static website hosting endpoint for your bucket; do not select the bucket name from the list in the Origin Domain Name field.

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

The files must be publicly ??? unless you secure your content in Amazon S3 by using a CloudFront origin access identity.

A

The files must be publicly readable unless you secure your content in Amazon S3 by using a CloudFront origin access identity.

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

If you want CloudFront to request your content from a directory in your AWS resource or your custom origin, enter the directory path, beginning with a slash (/). CloudFront appends the directory path to the value of Origin Domain Name, for example, cf-origin.example.com/production/images. ??? a slash (/) at the end of the path.

A

If you want CloudFront to request your content from a directory in your AWS resource or your custom origin, enter the directory path, beginning with a slash (/). CloudFront appends the directory path to the value of Origin Domain Name, for example, cf-origin.example.com/production/images. Do not add a slash (/) at the end of the path.

17
Q

If your origin is an Amazon S3 bucket configured as a website endpoint, you must choose ???. Amazon S3 doesn’t support HTTPS connections for website endpoints.

A

If your origin is an Amazon S3 bucket configured as a website endpoint, you must choose HTTP. Amazon S3 doesn’t support HTTPS connections for website endpoints.

18
Q

The default timeout is ?? seconds. You can change the value to be from ? to ?? seconds.

A

The default timeout is 30 seconds. You can change the value to be from 4 to 60 seconds.

19
Q

GET and HEAD requests – If the origin doesn’t respond before the read timeout elapses or if the origin stops responding for the configured timeout, CloudFront drops the connection and tries two more times to contact the origin. After the ??? try, if the origin doesn’t respond before the read timeout elapses, CloudFront doesn’t try again until it receives another request for content on the same origin.

A

GET and HEAD requests – If the origin doesn’t respond before the read timeout elapses or if the origin stops responding for the configured timeout, CloudFront drops the connection and tries two more times to contact the origin. After the third try, if the origin doesn’t respond before the read timeout elapses, CloudFront doesn’t try again until it receives another request for content on the same origin.

20
Q

DELETE, OPTIONS, PATCH, PUT, and POST requests – If the origin doesn’t respond before the read timeout elapses, CloudFront drops the connection and ??? again to contact the origin. The client can resubmit the request if necessary.

A

DELETE, OPTIONS, PATCH, PUT, and POST requests – If the origin doesn’t respond before the read timeout elapses, CloudFront drops the connection and doesn’t try again to contact the origin. The client can resubmit the request if necessary.

21
Q

For the Origin Keep-alive Timeout value to have an effect, your origin must be configured to allow persistent connections. The default timeout is ??? seconds. You can change the value to a number from ??? to ??? seconds.

A

For the Origin Keep-alive Timeout value to have an effect, your origin must be configured to allow persistent connections. The default timeout is 5 seconds. You can change the value to a number from 1 to 60 seconds.

22
Q

Does not apply to an Amazon S3 bucket unless it’s configured as a website endpoint. Optional. The HTTP port that the custom origin listens on. Valid values include ports ??, ??? and ????to ?????. The default value is port ??.

A

Does not apply to an Amazon S3 bucket unless it’s configured as a website endpoint. Optional. The HTTP port that the custom origin listens on. Valid values include ports 80, 443, and 1024 to 65535. The default value is port 80.

23
Q

The HTTPS port that the custom origin listens on. Valid values include ports 80, 443, and 1024 to 65535. The default value is port ???.

A

The HTTPS port that the custom origin listens on. Valid values include ports 80, 443, and 1024 to 65535. The default value is port 443.

24
Q

The functionality that you can configure for each cache behavior includes:

A

The functionality that you can configure for each cache behavior includes:

The path pattern. If you have configured multiple origins for your CloudFront distribution, which origin you want CloudFront to forward your requests to. Whether to forward query strings to your origin. Whether accessing the specified files requires signed URLs. Whether to require users to use HTTPS to access those files. The minimum amount of time that those files stay in the CloudFront cache regardless of the value of any Cache-Control headers that your origin adds to the files.

25
Q

After you create a distribution, you can create additional cache behaviors that define how CloudFront responds when it receives a request for objects that match a path pattern, for example, *.jpg.

If you create additional cache behaviors, the default cache behavior is always the ??? to be processed.

A

After you create a distribution, you can create additional cache behaviors that define how CloudFront responds when it receives a request for objects that match a path pattern, for example, *.jpg.

If you create additional cache behaviors, the default cache behavior is always the last to be processed.

26
Q

A path pattern (for example, images/*.jpg) specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are ??? in the distribution. The ??? match determines which cache behavior is applied to that request.

A

A path pattern (for example, images/*.jpg) specifies which requests you want this cache behavior to apply to. When CloudFront receives an end-user request, the requested path is compared with path patterns in the order in which cache behaviors are listed in the distribution. The first match determines which cache behavior is applied to that request.

27
Q

When you create a new distribution, the value of Path Pattern for the default cache behavior is set to ??? and cannot be changed. This value causes CloudFront to forward ??? requests for your objects to the origin that you specified in the Origin Domain Name field. If the request for an object does not match the path pattern for any of the other cache behaviors, CloudFront applies the behavior that you specify in the ??? cache behavior.

A

When you create a new distribution, the value of Path Pattern for the default cache behavior is set to * (all files) and cannot be changed. This value causes CloudFront to forward all requests for your objects to the origin that you specified in the Origin Domain Name field. If the request for an object does not match the path pattern for any of the other cache behaviors, CloudFront applies the behavior that you specify in the default cache behavior.

28
Q

The path you specify applies to requests for all files in the specified directory and in subdirectories below the specified directory. CloudFront ??? query strings or cookies when evaluating the path pattern.

A

The path you specify applies to requests for all files in the specified directory and in subdirectories below the specified directory. CloudFront does not consider query strings or cookies when evaluating the path pattern.

29
Q

For example, if an images directory contains product1 and product2 subdirectories, the path pattern images/*.jpg applies to requests for any .jpg file in the images, ???, and ??? directories.

A

For example, if an images directory contains product1 and product2 subdirectories, the path pattern images/*.jpg applies to requests for any .jpg file in the images, images/product1, and images/product2 directories.