AWS Certified Cloud Practitioner (CLF-C02) — Question 274
A company wants to use Amazon EC2 instances to provide a static website to users all over the world. The company needs to minimize latency for the users.
Which solution meets these requirements?
Answer options
- A. Use EC2 instances in multiple edge locations.
- B. Use EC2 instances in the same Availability Zone but in different AWS Regions.
- C. Use Amazon CloudFront with the EC2 instances configured as the source.
- D. Use EC2 instances in the same Availability Zone but in different AWS accounts.
Correct answer: C
Explanation
Amazon CloudFront is a global Content Delivery Network (CDN) that caches static content at edge locations, significantly reducing latency by serving users from the closest geographic location. EC2 instances cannot be run directly in edge locations, and deploying them in different accounts or specific Availability Zones does not automatically optimize global traffic routing. Therefore, using CloudFront with EC2 as the source is the most effective solution to minimize latency.