
Answer-first summary for fast verification
Answer: Use Amazon CloudFront with the S3 bucket as its origin.
## Explanation **Correct Answer: D - Use Amazon CloudFront with the S3 bucket as its origin.** ### Why this is the correct solution: 1. **Global Content Delivery**: Amazon CloudFront is a Content Delivery Network (CDN) that caches static content at edge locations worldwide, delivering content to users with low latency from locations closest to them. 2. **Scalability for Millions of Views**: CloudFront is designed to handle massive traffic loads (millions of views) efficiently without requiring changes to the origin S3 bucket. 3. **Cost-Effective**: CloudFront reduces data transfer costs from S3 by caching content at edge locations, minimizing requests to the origin S3 bucket. 4. **Performance Optimization**: Static HTML pages are ideal for CDN caching, as they don't change frequently (daily reports). ### Why other options are incorrect: **A. Generate presigned URLs for the files.** - Presigned URLs are for temporary access to private S3 objects, not for public static website hosting. - This doesn't address global performance or scalability requirements. **B. Use cross-Region replication to all Regions.** - S3 Cross-Region Replication would create copies in multiple regions, but users would still need to access S3 directly. - This doesn't provide edge caching or optimized global delivery. - More expensive than CloudFront for global content distribution. **C. Use the geoproximity feature of Amazon Route 53.** - Route 53 geoproximity routing directs users to the nearest AWS region based on geographic location. - While this helps with DNS routing, it doesn't provide edge caching or optimize content delivery like a CDN. - Users would still access S3 directly from different regions, which is less efficient than edge caching. ### Best Practice Architecture: The optimal solution is to: 1. Store static HTML files in an S3 bucket 2. Configure CloudFront distribution with the S3 bucket as origin 3. Enable appropriate cache settings for static content 4. Use CloudFront's global edge network to serve content efficiently worldwide This architecture provides low latency, high availability, scalability, and cost-effectiveness for serving static content to a global audience.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
Organizers for a global event want to put daily reports online as static HTML pages. The pages are expected to generate millions of views from users around the world. The files are stored in an Amazon S3 bucket. A solutions architect has been asked to design an efficient and effective solution.
Which action should the solutions architect take to accomplish this?
A
Generate presigned URLs for the files.
B
Use cross-Region replication to all Regions.
C
Use the geoproximity feature of Amazon Route 53.
D
Use Amazon CloudFront with the S3 bucket as its origin.