AWS Solutions Architect · Design High-Performing Architectures · medium

A global news portal serves static images from Amazon S3 and dynamic personalized articles from an Application Load Balancer in us-east-1. Users in Asia and Europe experience slow TLS handshakes and high latency on both static and dynamic requests. Which single service improves performance for both static and dynamic HTTP/HTTPS traffic while supporting edge caching?

Published · Last updated · checked before publication — how we verify questions

Options

  • ADeploy an Amazon CloudFront distribution with origin cache behaviors for both the S3 bucket and the ALBCorrect answer
  • BEnable Amazon S3 Transfer Acceleration on the static bucket and switch the ALB to a Network Load Balancer
  • CConfigure Amazon Route 53 geolocation routing pointing directly to the single-Region ALB in us-east-1
  • DProvision an AWS Site-to-Site VPN from each regional ISP to a Virtual Private Gateway in us-east-1

Answer: A. Deploy an Amazon CloudFront distribution with origin cache behaviors for both the S3 bucket and the ALB

Amazon CloudFront terminates viewer TLS connections at nearby edge locations, caches static S3 objects at the edge, and routes dynamic requests to the ALB over persistent, optimized AWS backbone connections using cache behaviors. Global Accelerator does not cache HTTP content, and S3 Transfer Acceleration applies only to S3 uploads/downloads.

Why the other options are wrong

  • B. Enable Amazon S3 Transfer Acceleration on the static bucket and switch the ALB to a Network Load Balancer — S3 Transfer Acceleration does not accelerate dynamic requests to the Application Load Balancer.
  • C. Configure Amazon Route 53 geolocation routing pointing directly to the single-Region ALB in us-east-1 — Geolocation routing still sends all users directly across the public internet to the single us-east-1 origin.
  • D. Provision an AWS Site-to-Site VPN from each regional ISP to a Virtual Private Gateway in us-east-1 — Site-to-Site VPN is for private corporate network connectivity, not public viewer web acceleration.

All Design High-Performing Architectures questions and the topic overview →

AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.