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 required cookies, query strings, and headers reduces the complexity of cache keys, leading to better cache utilization and fewer cache misses.
Changing the Viewer Protocol Policy to HTTPS only does not impact the cache hit ratio directly. It only influences the protocol used by viewers.
Using presigned cookies and URLs restricts access but does not necessarily improve cache hits. It may even add complexity to cache behavior.
Enabling automatic compression may reduce the object size but does not directly improve the cache hit ratio. Compression affects data transfer, not caching efficiency.
Increasing the TTL settings ensures that objects remain in the cache for a longer period, reducing the number of requests to the origin and improving the cache hit ratio.