An origin returns Cache-Control: no-cache, no-store, private, but CloudFront reuses its responses for 60 seconds. The matching cache policy has a minimum TTL of 60 seconds and a default TTL of 300 seconds. Which change makes CloudFront honor these origin directives?
Show the answer
Correct answerA. Set the minimum TTL to 0 seconds.
AWhy this is right: A zero minimum TTL allows CloudFront to honor the origin's restrictive caching directives.
BWhy not this: Default TTL applies when origin freshness information is absent and does not override the minimum TTL.
CWhy not this: Forwarding a request header does not change CloudFront's treatment of the origin's response directives.
DWhy not this: A maximum TTL of 60 seconds still permits caching for the configured 60-second minimum.
A positive minimum TTL makes CloudFront cache responses for at least that duration, even with no-cache, no-store, or private directives. Setting minimum TTL to zero allows those directives to prevent reuse; changing default TTL does not remove the minimum.