AWS Certified Solutions Architect – Associate (SAA-C03) — Question 237

An application running on an Amazon EC2 instance in VPC-A needs to access files in another EC2 instance in VPC-B. Both VPCs are in separate AWS accounts. The network administrator needs to design a solution to configure secure access to EC2 instance in VPC-B from VPC-A. The connectivity should not have a single point of failure or bandwidth concerns.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

The correct answer is A, as a VPC peering connection allows direct communication between instances in different VPCs without a single point of failure, addressing both security and bandwidth concerns. Option B is incorrect because VPC gateway endpoints do not facilitate traffic between VPCs. Option C is not suitable because attaching a virtual private gateway primarily serves for VPN connections, not for direct VPC communication. Option D, while it suggests a private virtual interface, does not provide the direct VPC connectivity that is required in this scenario.