cloudfront Flashcards
(29 cards)
By default, each object stays in an edge location for ??? hours before it expires.
By default, each object stays in an edge location for 24 hours before it expires.
The minimum expiration time is ??? seconds; there isn’t a maximum expiration time limit.
The minimum expiration time is 0 seconds; there isn’t a maximum expiration time limit.
Using CloudFront can help you accomplish a variety of goals.
CloudFront can speed up the delivery of your static content (for example, images, style sheets, JavaScript, and so on) to viewers across the globe.
Using S3 together with CloudFront has a number of advantages…
… including the option to use Origin Access Identity (OAI) to easily restrict access to your S3 content.
CloudFront offers several options for streaming your media to global viewers—both pre-recorded files and live events.
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.
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.
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.
You can specify any combination of up to ??? Amazon S3 buckets, channels, and/or HTTP servers as your origins.
You can specify any combination of up to 25 Amazon S3 buckets, channels, and/or HTTP servers as your origins.
The number of files that you can serve per distribution is ???.
The number of files that you can serve per distribution is unlimited.
You can’t serve Adobe Flash multimedia content over HTTP or HTTPS, but you can serve it using a CloudFront ???? distribution.
You can’t serve Adobe Flash multimedia content over HTTP or HTTPS, but you can serve it using a CloudFront RTMP distribution.
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.
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.
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://???
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.
When you update your distribution, be aware that a number of ??? fields are required that are not required to create a distribution.
When you update your distribution, be aware that a number of additional fields are required that are not required to create a distribution.
If you want to delete an origin, you must first ??? or ??? the cache behaviors that are associated with that origin.
If you want to delete an origin, you must first edit or delete the cache behaviors that are associated with that origin.
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.
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.
The files must be publicly ??? unless you secure your content in Amazon S3 by using a CloudFront origin access identity.
The files must be publicly readable unless you secure your content in Amazon S3 by using a CloudFront origin access identity.
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.
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.
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.
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.
The default timeout is ?? seconds. You can change the value to be from ? to ?? seconds.
The default timeout is 30 seconds. You can change the value to be from 4 to 60 seconds.
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.
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.
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.
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.
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.
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.
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 ??.
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.
The HTTPS port that the custom origin listens on. Valid values include ports 80, 443, and 1024 to 65535. The default value is port ???.
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.
The functionality that you can configure for each cache behavior includes:
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.