SAA-C03 Question 123
Single answerA global e-commerce company is experiencing high latencies for customers accessing its website from different regions worldwide. The backend servers are hosted on Amazon EC2 instances within a single AWS Region. The company wants to improve website performance for international users by caching static content (such as images, CSS, and JavaScript) closer to their locations. What is the most appropriate solution to address this requirement?
- A
Use Amazon CloudFront to distribute and cache static content across edge locations globally.
- B
Increase the instance size of the backend Amazon EC2 servers to handle more traffic.
- C
Deploy additional Amazon EC2 instances in multiple AWS Regions to reduce latency for international users.
- D
Create an S3 bucket in each AWS Region and use cross-region replication to serve static content.
Show answer and explanation
Correct answer: A
Explanation
Amazon CloudFront is specifically designed to handle scenarios like this by caching content at edge locations closest to users. It minimizes latency by serving cached content from the nearest edge location and supports static and dynamic content delivery. This makes it the most appropriate choice for improving website performance for international users.
- A. Correct.
This is correct. Amazon CloudFront is an edge accelerator (Content Delivery Network, or CDN) that caches static and dynamic content at edge locations close to users, reducing latency and improving performance.
- B. Incorrect.
This is incorrect. While increasing the size of the EC2 instances might improve backend processing for high traffic, it does not address the latency caused by the geographical distance between users and the servers.
- C. Incorrect.
This is incorrect. Deploying additional EC2 instances in multiple regions might reduce latency, but it requires significant management overhead and does not provide caching capabilities at edge locations.
- D. Incorrect.
This is incorrect. Using S3 buckets with cross-region replication could distribute content across regions, but it does not provide the global edge caching and acceleration benefits of Amazon CloudFront.