AWS Certified Cloud Practitioner — Question 778
A company wants to minimize network latency between its Amazon EC2 instances. The EC2 instances do not need to be highly available.
Which solution meets these requirements?
Answer options
- A. Use EC2 instances in a single Availability Zone.
- B. Use Amazon CloudFront as the database for the EC2 instances.
- C. Use EC2 instances in the same edge location and the same Availability Zone.
- D. Use EC2 instances in the same edge location and the same AWS Region.
Correct answer: A
Explanation
Deploying Amazon EC2 instances in a single Availability Zone ensures they are in close physical proximity, which minimizes network latency, though it sacrifices high availability. Amazon CloudFront is a content delivery network and cannot be used as a database, nor do edge locations host standard EC2 instances. Therefore, placing instances in a single Availability Zone is the only viable solution that meets the criteria.