AWS Certified Cloud Practitioner — Question 512
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 a single Availability Zone.
- B. Use EC2 instances across multiple Availability Zones in the same AWS Region.
- C. Use Amazon CloudFront with the EC2 instances configured as the source.
- D. Use EC2 instances in the same edge location and the same AWS Region.
Correct answer: C
Explanation
Amazon CloudFront is a content delivery network (CDN) that caches content at edge locations worldwide, which minimizes latency for global users. Deploying EC2 instances in a single region or Availability Zone (Options A, B, and D) cannot provide low latency globally. Furthermore, EC2 instances cannot be run directly inside CloudFront edge locations.