A SysOps Administrator noticed that the cache hit ratio for an Amazon CloudFront distribution is less than 10%. Which collection of configuration changes will increase the cache hit ratio for the distribution? (Choose two.)
A.
Ensure that only required cookies, query strings, and headers are forwarded in the Cache Behavior Settings
B.
Change the Viewer Protocol Policy to use HTTPS only
C.
Configure the distribution to use presigned cookies and URLs to restrict access to the distribution
D.
Enable automatic compression of objects in the Cache Behavior Settings
E.
Increase the CloudFront time to live (TTL) settings in the Cache Behavior Settings
Forwarding Required Parameters: By ensuring that only required cookies, query strings, and headers are forwarded in the Cache Behavior Settings, unnecessary variations in requests are eliminated. This allows CloudFront to serve more responses from the cache, increasing the cache hit ratio.
Increasing Time to Live (TTL): Increasing the CloudFront time to live (TTL) settings in the Cache Behavior Settings extends the duration for which CloudFront caches the objects. A longer TTL increases the chances of serving the content from the cache, reducing the number of requests sent to the origin server and improving the cache hit ratio.
Answer is A and E
For A - We can improve your cache hit ratio by caching based on query string parameters, cookie values, request headers
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cache-hit-ratio.html
For E - We can modify TTL to improve your cache hit ratio
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Expiration.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
albert_kuo
9 months, 3 weeks agoTroyMcLure
2 years, 6 months agoRicardoD
2 years, 7 months agobinhdt2611
2 years, 7 months ago