AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 307

Which of the following is true when you don't configure Amazon CloudFront to forward cookies to your origin?

Answer options

Correct answer: A

Explanation

When CloudFront is configured not to forward cookies to the origin, it removes the Cookie header from the forwarded viewer requests. This behavior maximizes cache hit ratios because CloudFront does not need to partition the cache based on unique cookie values. The other options are incorrect because CloudFront does not block viewer requests, cannot cache by cookies when forwarding is disabled, and is not a code deployment service.