AWS Certified Advanced Networking – Specialty (ANS-C01)Network Management and OperationsMedium

A media company streams large volumes of video content globally using Amazon CloudFront and S3. They want to optimize the cost of data transfer out of AWS while maintaining high performance for their global audience. What is the MOST cost-effective strategy to achieve this?

  1. ALeverage CloudFront's global edge network to cache content closer to users.
  2. BStore all content in a single S3 bucket in the closest Region to the majority of users.
  3. CUse S3 Transfer Acceleration for uploading content to S3.
  4. DMigrate all content to EC2 instances and serve it directly from there using custom CDN.
Show answer & explanation

Correct answer: A. Leverage CloudFront's global edge network to cache content closer to users.

CloudFront's primary function is to cache content at edge locations globally, closer to users. This significantly reduces data transfer costs from the origin (S3) and improves performance by serving content from the nearest edge, rather than directly from the S3 bucket in a single region. CloudFront's data transfer out rates are also generally lower than direct S3 data transfer out rates.

Why the other options are wrong

  • B. Storing in a single S3 bucket and serving directly would incur high data transfer costs for users far from that Region and increase latency.
  • C. S3 Transfer Acceleration speeds up uploads to S3, but doesn't reduce data transfer costs for content served out to end-users.
  • D. Migrating to EC2 instances and building a custom CDN is complex, costly, and unlikely to be more cost-effective or performant than CloudFront for global content delivery.

CloudFront Cost Optimization

Amazon CloudFront helps optimize data transfer costs by caching content at edge locations, reducing traffic from the origin and leveraging lower data transfer out rates.

  • Reduces latency for global users by serving content from edge caches.
  • Lower data transfer out costs compared to direct S3 or EC2 egress.
  • Protects origin servers from direct traffic spikes.

Memory trick: To 'cut' global 'content' 'costs', use 'CloudFront' 'edges'.

More Network Management and Operations questions