Topic 1 Question 298
A SysOps administrator manages the caching of an Amazon CloudFront distribution that serves pages of a website, The SysOps administrator needs to configure the distribution so that the TTL of individual pages can vary. The TTL of the individual pages must remain within the maximum TLL and the minimum TTL that are set for the distribution.
Which solution will meet these requirements?
Create an AWS Lambda function that calls the Createlnvalidation API operation when a change in cache time is necessary.
Add a Cache-Control: max-age directive to the object at the origin when content is being returned to CloudFront.
Add a no-cache header through a Lambda@Edge function in response to the Viewer response.
Add.an Expires header through a CloudFront function in response to the Viewer response.
ユーザの投票
コメント(5)
- 正解だと思う選択肢: B
I'm believing that applying a custom "max-age" to individual "*.html" files ("individual pages") is the solution. (remove my duplicate response)
👍 3Gomer2023/06/09 - 正解だと思う選択肢: B
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html#expiration-individual-objects "The Cache-Control max-age directive lets you specify how long (in seconds) that you want an object to remain in the cache before CloudFront gets the object again from the origin server" "The Expires header field lets you specify an expiration date and time using the format specified in RFC 2616, Hypertext Transfer Protocol -- HTTP/1.1 Section 3.3.1, Full Date, for example: Sat, 27 Jun 2015 23:59:59 GMT"
👍 2TwinSpark2023/09/27 I'm believing that applying a custom "max-age" to individual "*.html" files ("individual pages") is the solution.
👍 1Gomer2023/06/09
シャッフルモード