AWS Certified Solutions Architect – Associate (SAA-C03)Design High-Performing ArchitecturesEasy

A global e-commerce company needs to serve static content (images, CSS, JavaScript) to its customers worldwide with the lowest possible latency and highest availability. The content is stored in a single Amazon S3 bucket in us-east-1. The solution must also protect against DDoS attacks and integrate seamlessly with existing AWS services.

  1. AConfigure S3 bucket as a static website host.
  2. BUse an Application Load Balancer (ALB) in front of the S3 bucket.
  3. CCreate a separate S3 bucket in each AWS region and use Route 53 latency-based routing.
  4. DImplement Amazon CloudFront with the S3 bucket as an origin.
Show answer & explanation

Correct answer: D. Implement Amazon CloudFront with the S3 bucket as an origin.

Amazon CloudFront is a global content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency and high transfer speeds. By using an S3 bucket as an origin, CloudFront caches content at edge locations closer to users, reducing latency and offloading requests from the origin, while also providing DDoS protection.

Why the other options are wrong

  • A. S3 static website hosting serves content directly from S3, but without a CDN, it won't provide global low latency or DDoS protection.
  • B. ALB is for HTTP/HTTPS traffic to EC2 instances or other targets, not directly for S3 content distribution in a global low-latency manner.
  • C. While this would reduce latency for regional users, it's more complex to manage, doesn't offer inherent DDoS protection, and isn't as efficient as a CDN for global distribution.

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.

  • Caches content at edge locations worldwide.
  • Reduces latency for end-users.
  • Integrates with AWS WAF for DDoS protection.
  • Supports various origins like S3 buckets, EC2, and custom HTTP servers.

Memory trick: CloudFront: Content Fast, Everywhere, First.

More Design High-Performing Architectures questions