Which collection of configuration changes will increase the cache hit ratio for the distribution?
(Choose two.)
Ensure that only required cookies, query strings, and headers are forwarded in the Cache Behavior Settings
Change the Viewer Protocol Policy to use HTTPS only
Configure the distribution to use presigned cookies and URLs to restrict access to the distribution
Enable automatic compression of objects in the Cache Behavior Settings
Increase the CloudFront time to live (TTL) settings in the Cache Behavior Settings
Explanations:
Forwarding only the necessary cookies, query strings, and headers ensures fewer variations in cacheable content, leading to better cache utilization and an improved cache hit ratio.
Changing the Viewer Protocol Policy to HTTPS only does not directly affect the cache hit ratio. It relates to security, but it does not improve caching performance.
Configuring presigned cookies and URLs restricts access to content but does not impact the cache hit ratio. It’s a security feature rather than a caching optimization.
Enabling automatic compression of objects reduces object size but does not directly affect the cache hit ratio. Compression mainly affects performance and bandwidth.
Increasing the TTL settings allows cached content to remain in the CloudFront cache for a longer period, reducing the need to fetch objects from the origin, which increases the cache hit ratio.