AWS Certified DevOps Engineer – ProfessionalResilient Cloud SolutionsEasy
A media company uses Amazon S3 to store large video files that are accessed by a global audience. The company wants to improve content delivery performance and reduce the load on its origin S3 bucket, especially during peak viewing hours. They also require custom domain support and SSL/TLS encryption for all content served. Which AWS service should the company use?
- AAmazon Route 53 with latency-based routing to multiple S3 buckets.
- BAWS Global Accelerator with S3 as an endpoint.
- CAmazon CloudFront distribution with S3 as the origin.
- DAmazon EC2 instances with NGINX configured as a reverse proxy.
Show answer & explanationAnswer & explanation
Correct answer: C. Amazon CloudFront distribution with S3 as the origin.
Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations globally, reducing latency and origin load. It supports custom domains and SSL/TLS encryption, making it ideal for serving static content like video files.
Why the other options are wrong
- A. Route 53 with latency-based routing could direct users to closer S3 buckets, but S3 itself does not cache content at edge locations, nor does it provide custom domain SSL/TLS out-of-the-box for direct access in the same way CloudFront does.
- B. AWS Global Accelerator improves performance for TCP/UDP traffic by routing users through the AWS global network, but it's not a CDN for caching static content and doesn't inherently reduce origin load in the same way CloudFront does for HTTP/S.
- D. EC2 instances with NGINX would require significant operational overhead, manual scaling, and would not provide global edge caching.
Amazon CloudFront
Amazon CloudFront is 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.
- Caches content at edge locations worldwide.
- Reduces latency and offloads origin servers.
- Supports custom domains and SSL/TLS encryption.
- Integrates seamlessly with S3, EC2, and other AWS services.
Memory trick: CloudFront is the global delivery truck, bringing content closer to every customer.