
Answer-first summary for fast verification
Answer: By deploying the instances in different Availability Zones within the same AWS Region.
The correct answer is B. In AWS, an Availability Zone is a physical data center within an AWS Region. By placing EC2 instances in two separate Availability Zones within the same Region, the company ensures that the instances are in different physical data centers while benefiting from the low-latency, high-throughput network connectivity provided within the same Region. This setup meets the requirement of having separate data centers with minimal communication latency. Option A would increase latency due to inter-Region data transfer. Option C introduces additional complexity and potential latency with an on-premises instance and a VPN connection. Option D, while it does provide low-latency networking within an Availability Zone, does not address the requirement of having the instances in separate data centers.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
How should a company deploy two Amazon EC2 instances to ensure they are in distinct data centers while maintaining low communication latency?
A
By deploying the instances in separate AWS Regions and connecting them with a VPC peering connection.
B
By deploying the instances in different Availability Zones within the same AWS Region.
C
By having one instance on-premises and the other in an AWS Region, connected via an AWS VPN.
D
By using a placement group to provide dedicated bandwidth for the instances within an Availability Zone.
No comments yet.