Learn how using Amazon CloudFront with an Application Load Balancer origin provides a cost-optimized way to improve global delivery of dynamic web content to millions of users.
Table of Contents
Question
A company hosts its main public web application in one AWS Region across multiple Availability Zones. The application uses an Amazon EC2 Auto Scaling group and an Application Load Balancer (ALB).
A web development team needs a cost-optimized compute solution to improve the company’s ability to serve dynamic content globally to millions of customers.
Which solution will meet these requirements?
A. Create an Amazon CloudFront distribution. Configure the existing ALB as the origin.
B. Use Amazon Route 53 to serve traffic to the ALB and EC2 instances based on the geographic location of each customer.
C. Create an Amazon S3 bucket with public read access enabled. Migrate the web application to the S3 bucket. Configure the S3 bucket for website hosting.
D. Use AWS Direct Connect to directly serve content from the web application to the location of each customer.
Answer
A. Create an Amazon CloudFront distribution. Configure the existing ALB as the origin.
Explanation
A company looking to cost-effectively improve its ability to serve dynamic web content globally to millions of customers should create an Amazon CloudFront distribution and configure their existing Application Load Balancer (ALB) as the origin.
CloudFront is a fast content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to customers globally with low latency and high transfer speeds. CloudFront caches content at edge locations around the world so content is delivered to users with the best possible performance.
Using CloudFront with an ALB origin allows the existing web application architecture to remain unchanged. The ALB will continue to distribute traffic across the EC2 instances in the Auto Scaling group. CloudFront will accelerate delivery of the dynamic content globally by caching at edge locations closer to end users.
This is a very cost-effective approach compared to the other options presented:
- Route 53 geo-routing to the ALB and EC2 instances would not provide caching and acceleration benefits
- Migrating to S3 static website hosting would require re-architecting the application and prevent serving dynamic content
- Using Direct Connect would be very expensive and impractical for serving millions of global customers
Therefore, using Amazon CloudFront with the ALB as the origin is the best solution to meet the requirements of improving global delivery of dynamic content in a cost-optimized manner. The CDN caching and acceleration capabilities of CloudFront are ideal for this use case.
Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification exam assessment practice question and answer (Q&A) dump including multiple choice questions (MCQ) and objective type questions, with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Associate SAA-C03 exam and earn Amazon AWS Certified Solutions Architect – Associate SAA-C03 certification.