Table of Contents
Question
A company wants its Amazon EC2 instances to provide a low-latency static website to global users. What should the company do to meet this requirement?
A. Use the EC2 instances in multiple edge locations.
B. Use an Application Load Balancer with the EC2 instances configured as the target.
C. Use the EC2 instances in the same Availability Zone but in different AWS Regions.
D. Use Amazon Cloud Front with the EC2 instances configured as the source.
Answer
D. Use Amazon Cloud Front with the EC2 instances configured as the source.
Explanation
The correct answer is D. Use Amazon Cloud Front with the EC2 instances configured as the source.
Amazon CloudFront is a Content Delivery Network (CDN) that can be used to deliver static content to users around the world with low latency. CloudFront caches content in edge locations that are close to users, so the content can be delivered from the edge location instead of from the origin server. This can significantly reduce latency for users who are located far away from the origin server.
In this scenario, the company can use Amazon CloudFront to deliver the static website to global users. The EC2 instances would be configured as the source for the CloudFront distribution. This means that the content would be stored on the EC2 instances and then served by CloudFront to users.
The other answer choices are not as effective in reducing latency for global users.
- Option A: Using the EC2 instances in multiple edge locations would not improve latency, as the edge locations are still within the same AWS Region.
- Option B: Using an Application Load Balancer would not improve latency, as the Application Load Balancer would still need to forward requests to the EC2 instances.
- Option C: Using the EC2 instances in the same Availability Zone but in different AWS Regions would improve latency slightly, but not as much as using Amazon Cloud Front.
Therefore, the correct answer is D. Use Amazon Cloud Front with the EC2 instances configured as the source.
Here are some additional considerations for delivering a static website with low latency using Amazon CloudFront:
- Use the AWS Global Accelerator to improve the performance of CloudFront by optimizing the routing of traffic to the closest edge location.
- Use a caching policy that optimizes for latency.
- Use the CloudFront performance dashboard to monitor the performance of your distribution and identify any potential bottlenecks.
By following these best practices, you can deliver a static website with low latency to global users using Amazon CloudFront.
Amazon AWS Certified Cloud Practitioner CLF-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Cloud Practitioner CLF-C02 exam and earn Amazon AWS Certified Cloud Practitioner CLF-C02 certification.