Question #1057
A company hosts a static website on Amazon S3 and uses Amazon Route 53 for DNS routing. Due to a surge in global traffic, users are experiencing higher latency. The company needs to improve latency in the most cost-efficient manner.
Which solution best meets these requirements?
Configure cross-region replication for the S3 bucket across all AWS Regions. Implement Route 53 geolocation-based routing policies.
Set up an Amazon CloudFront distribution with the S3 bucket as the origin. Update the Route 53 alias record to point to the CloudFront distribution.
Enable S3 Transfer Acceleration and modify the Route 53 records to direct traffic to the accelerated endpoint.
Deploy AWS Global Accelerator, associate the static website's endpoint, and update Route 53 to route traffic through the accelerator's static IPs.
Explanation
Answer B is correct because:
- Amazon CloudFront caches static website content at edge locations worldwide, reducing latency by serving users from the nearest location.
- It integrates seamlessly with S3 as the origin, requiring minimal configuration.
- CloudFront is cost-efficient for static content delivery, as it charges based on data transfer and requests, avoiding the expense of replicating S3 buckets across regions (Option A) or using Global Accelerator (Option D).
Why other options are incorrect:
- Option A: Cross-region replication across all regions is costly and complex to manage. Geolocation routing alone does not cache content at edge locations.
- Option C: S3 Transfer Acceleration optimizes uploads to S3 but does not cache content globally like CloudFront, making it less effective for static website delivery.
- Option D: Global Accelerator improves routing but does not cache content, making it less efficient and more expensive than CloudFront for static websites.
Key Points:
- Use CloudFront for low-latency global delivery of static content.
- Route 53 alias records can point directly to CloudFront distributions.
- CloudFront reduces origin server load and costs compared to multi-region replication.
Answer
The correct answer is: B