AWS Certified Cloud Practitioner — Question 928
A company wants to ensure that two Amazon EC2 instances are in separate data centers with minimal communication latency between the data centers.
How can the company meet this requirement?
Answer options
- A. Place the EC2 instances in two separate AWS Regions connected with a VPC peering connection.
- B. Place the EC2 instances in two separate Availability Zones within the same AWS Region.
- C. Place one EC2 instance on premises and the other in an AWS Region. Then connect them by using an AWS VPN connection.
- D. Place both EC2 instances in a placement group for dedicated bandwidth.
Correct answer: B
Explanation
AWS Availability Zones are isolated locations within an AWS Region that are physically separate but connected through low-latency, high-throughput networking. Placing EC2 instances in two separate Availability Zones within the same region achieves physical separation across data centers while maintaining minimal communication latency. Other options, such as using different regions or on-premises connections, introduce much higher latency, while placement groups do not guarantee separate data center locations.