
Ultimate access to all questions.
Answer-first summary for fast verification
Answer: Deploy an Amazon CloudFront web distribution in front of the S3 bucket.
## Explanation **Amazon CloudFront** is the most cost-effective solution for this scenario because: 1. **Content Delivery Network (CDN)**: CloudFront is AWS's global content delivery network that caches static content (videos and images) at edge locations worldwide. 2. **Same content for all users**: Since the media files are identical for all users, CloudFront can effectively cache them at edge locations, reducing the load on the origin S3 bucket. 3. **Reduced latency**: With millions of users worldwide, CloudFront serves content from the nearest edge location, improving performance. 4. **Cost-effective**: CloudFront reduces data transfer costs from S3 and offloads requests from the origin, making it more cost-effective than other options. **Why other options are not optimal**: - **A. AWS Global Accelerator**: Optimizes network routing but doesn't cache content. It would still hit the origin for every request. - **C. ElastiCache for Redis**: In-memory caching solution, but would require additional infrastructure and doesn't provide global edge caching. - **D. ElastiCache for Memcached**: Similar to Redis, but less feature-rich and still doesn't provide global edge caching. **Key benefits of CloudFront**: - **Edge caching**: Content cached at 400+ edge locations worldwide - **Reduced origin load**: Only cache misses reach the S3 origin - **Lower data transfer costs**: Reduced egress from S3 - **Better performance**: Lower latency for global users - **S3 integration**: Native integration with S3 as origin
Author: LeetQuiz Editorial Team
No comments yet.
A gaming company hosts a browser-based application on AWS. The users of the application consume a large number of videos and images that are stored in Amazon S3. This content is the same for all users.
The application has increased in popularity, and millions of users worldwide accessing these media files. The company wants to provide the files to the users while reducing the load on the origin.
Which solution meets these requirements MOST cost-effectively?
A
Deploy an AWS Global Accelerator accelerator in front of the web servers.
B
Deploy an Amazon CloudFront web distribution in front of the S3 bucket.
C
Deploy an Amazon ElastiCache for Redis instance in front of the web servers.
D
Deploy an Amazon ElastiCache for Memcached instance in front of the web servers.