A global web application needs a single-certificate HTTPS endpoint with path-based routing to multiple origins. It must also support caching for mostly static assets, while dynamic API responses must not be cached. Which configuration is most appropriate?

Answer

Use CloudFront with a single distribution, set separate cache behaviors for static paths with caching enabled, and route dynamic paths to an origin with caching disabled; attach an ACM certificate

Explanation

CloudFront supports HTTPS termination with ACM and path-based cache behaviors. Disabling caching on dynamic behaviors prevents stale API responses while still accelerating static content.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list