🔥 3-day streak
AWS Certified CloudOps Engineer - Associate40 / 159
Question 40 of 159

A company serves a website through Amazon CloudFront with an Application Load Balancer origin. Static assets under /static/* are cached correctly, but API responses under /api/* are being served stale and are also ignoring session-specific results because CloudFront caches responses regardless of the Authorization header and query strings. The default cache behavior uses a caching policy with a long TTL. A CloudOps engineer must ensure that /api/* requests always reach the origin with the Authorization header and all query strings forwarded, while keeping /static/* cached. What is the MOST appropriate solution?

Reviewed for accuracy · Report an issueNext question