A CloudFront cache behavior serves public and personalized responses; personalized responses include Cache-Control: no-store. Its cache policy has a minimum TTL of 60 seconds, and personalized responses are being cached. Which change allows CloudFront to honor no-store while retaining caching for public responses?
Show the answer
Correct answerC. Set the minimum TTL to zero.
AWhy not this: Default TTL applies when origin expiration information is absent and does not remove the positive minimum TTL.
BWhy not this: Invalidation removes existing objects but does not prevent subsequent personalized responses from being cached.
CWhy this is right: A zero minimum TTL allows CloudFront to respect no-store while caching public responses according to their cache directives.
DWhy not this: Forwarding cookies does not remove the minimum TTL that overrides the origin's no-store directive.
A positive minimum TTL causes CloudFront to cache responses for at least that duration, even with no-store. Setting it to zero permits origin cache directives to prevent caching; changing the default TTL does not override the minimum.