AWS Certified DevOps Engineer – ProfessionalResilient Cloud SolutionsMedium

A global media company uses Amazon S3 for storing large video files that are accessed by a global audience. The company wants to optimize content delivery by caching frequently accessed content closer to users to reduce latency and offload requests from the origin S3 bucket. They also need to ensure that dynamic content, such as personalized user manifests, is served fresh, while static assets benefit from aggressive caching. Which AWS service should they use to achieve these requirements?

  1. AAmazon S3 Transfer Acceleration
  2. BAmazon CloudFront with multiple origin behaviors
  3. CAmazon VPC with Direct Connect
  4. DAWS Global Accelerator with endpoint groups
Show answer & explanation

Correct answer: B. Amazon CloudFront with multiple origin behaviors

Amazon CloudFront is a Content Delivery Network (CDN) that caches content at edge locations globally, reducing latency. Its ability to define multiple origin behaviors and cache policies allows for fine-grained control over caching for both static and dynamic content, which directly addresses the company's requirements.

Why the other options are wrong

  • A. Amazon S3 Transfer Acceleration speeds up uploads to S3 buckets over long distances, but it does not cache content for downloads to end-users or reduce latency for content delivery.
  • C. Amazon VPC with Direct Connect is for private network connectivity to AWS, not for global content delivery and caching to end-users.
  • D. AWS Global Accelerator improves availability and performance by directing traffic to optimal endpoints over the AWS global network, but it doesn't provide content caching at edge locations like CloudFront.

Amazon CloudFront

A fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency and high transfer speeds.

  • Uses edge locations for caching.
  • Reduces latency for global users.
  • Can serve content from multiple origins (e.g., S3, EC2, ELB).
  • Supports custom cache policies for dynamic and static content.

Memory trick: CloudFront: Caching Fast for Everyone.

More Resilient Cloud Solutions questions