A media company has an S3 bucket as the origin for a global website. They need to minimize origin load while ensuring that when a new version is uploaded, old content is not served for more than 5 minutes. Which approach best meets this?

Answer

Use CloudFront with an Origin Access Identity and set the cache behavior TTL to 300 seconds, updating object keys for new versions

Explanation

CloudFront reduces origin load, and controlling TTL to 300 seconds ensures stale content persists for at most about 5 minutes; versioned object keys avoid collision with cached objects.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error

Related questions

Your S3 bucket stores sensitive documents. You must ensure that objects are encrypted at rest, HTTPS is required for all access, and access should be revoked automatically if a user’s session is older than 15 minutes. Which combination best satisfies these requirements?

View question →

A legacy application writes files to the local disk and expects low-latency shared access from multiple compute nodes. You need to modernize with managed services, but you cannot tolerate frequent data loss. Which solution is most appropriate?

View question →

A solution uses SQS to decouple order processing. The system requires exactly-once processing semantics for critical payments (no duplicates) and must tolerate transient failures. Which design best achieves this using AWS-native features?

View question →

You must redesign an environment to meet RTO/RPO targets while reducing costs. The current stack is a single EBS-backed EC2 instance running critical workloads. Which option is the best fit for a warm-standby strategy with automated failover?

View question →

A company runs an on-demand web tier that must handle sudden spikes. They also need a durable, low-latency cache shared across instances. Which approach best satisfies both scaling and consistency requirements while minimizing operational effort?

View question →

You are building a multi-tenant SaaS on AWS. Tenants must be isolated at the data layer, and you need to prevent cross-tenant access even if an application bug occurs. Which architecture provides the strongest isolation with manageable operations?

View question →

QuestionBack to list