Cross-Account VPC Peering for High Availability
Short answer
A Set up a VPC peering connection between VPC-A and VPC-B to provide a scalable, highly available, and secure private network link without single points of failure.
Question
Which solution will meet these requirements?
Key Takeaways
The question tests the ability to distinguish between peering (infrastructure-based) and gateway/VPN solutions (appliance-based) regarding high availability and bandwidth constraints.
To connect EC2 instances across separate AWS accounts securely without single points of failure, use VPC peering. This guide explains why peering is superior to gateways or VPNs for this scenario.
Common mistake: Choosing VPC Gateway Endpoints (B) because they sound more secure, but they only support S3 and DynamoDB, not EC2 traffic.
Expert Analysis
VPC Peering Eliminates Single Points of Failure
VPC peering connects two VPCs using the existing AWS infrastructure, functioning as a private network link without requiring gateways or physical hardware. This design ensures there is no single point of failure and avoids bandwidth bottlenecks associated with managed appliances. As noted in community comments, this approach allows direct communication between EC2 instances across different AWS accounts using private IPs.
Why Other Options Fail the Constraints
Option B is invalid because VPC gateway endpoints are restricted to S3 and DynamoDB; they cannot be used for EC2 instance-to-instance connectivity. Option C introduces a virtual private gateway and VPN connection, which creates a single point of failure at the customer gateway and limits bandwidth based on the tunnel capacity. Similarly, Option D relies on Direct Connect, which involves physical colocation and specific bandwidth tiers that do not fit the "no bandwidth concerns" requirement for simple VPC-to-VPC access.
The Trap: Overthinking Security
Candidates often choose Option B thinking it provides better isolation than peering. While endpoints offer high security for data services, they are architecturally incorrect here. Peering is the only solution that meets the strict HA and scalability constraints while allowing secure cross-account EC2 communication.
Official Reference
https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
When a question mentions 'no single point of failure' or 'bandwidth concerns' regarding VPC connectivity, immediately rule out options involving gateways, VPNs, or NAT devices. These appliances introduce potential bottlenecks and failure points. Look for solutions that leverage native AWS infrastructure, such as VPC peering or Transit Gateway, which scale automatically.
Frequently Asked Questions
Can VPC peering be used between VPCs in different regions?
Why can't I use a VPC endpoint for EC2-to-EC2 traffic?
Community Votes
93% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 22 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 22
-
cookieMr 👍 20 Answered AA VPC peering connection allows secure communication between instances in different VPCs using private IP addresses without the need for internet gateways, VPN connections, or NAT devices. By setting it up, the application running in VPC-A can directly access the EC2 in VPC-B without going through the public internet or any single point of failure. B is incorrect because VPC gateway endpoints are used for accessing S3 or DynamoDB from a VPC without going over the internet. They are not designed for establishing connectivity between EC2 instances in different VPCs. C is incorrect because it would require configuring a VPN connection between the VPCs. This would introduce additional complexity and potential single points of failure. D is incorrect because creating a private VIF and adding routes would be applicable for establishing a direct connection between on-premises infrastructure and VPC-B using Direct Connect, but it is not suitable for the scenario of communication between EC2 instances in separate VPCs within different AWS accounts.
-
pentium75 👍 5 Answered AB is wrong because "VPC gateway endpoint" is for S3 or DynamoDB, not EC2 C is overkill, would require a second gateway in VPC-A, not be HA and have limited bandwidth D is wrong because VIF is for Direct Connect, has nothing to do with VPC-to-VPC communication
-
michellemeloc 👍 5 Answered A"You can create a VPC peering connection between your own VPCs, or with a VPC in another AWS account." https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
-
waiyiu9981 👍 5 Answered Aa public discussion thread on this question
-
JayBee65 👍 4Your logic is correct but security is not a requirement here - the requirements are "The connectivity should not have a single point of failure or bandwidth concerns." A VPC gateway endpoint" would form a single point of failure, so B is incorrect, (and C and D are incorrect for the same reason, they create single points of failure).
Show 17 more comments
-
im6h 👍 4No, VPC Peering can use across account. https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
-
PDR 👍 3 Answered Acorrect answer is A and as mentioned by JayBee65 below, key reason being that solution should not have a single point of failure and bandwidth restrictions the following paragraph is taken from the AWS docs page linked below that backs this up "AWS uses the existing infrastructure of a VPC to create a VPC peering connection; it is neither a gateway nor a VPN connection, and does not rely on a separate piece of physical hardware. There is no single point of failure for communication or a bandwidth bottleneck." https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
-
Faridtnx 👍 3 Answered AYou can create a VPC peering connection between your own VPCs, or with a VPC in another AWS account. Peering within the same AZ is free of charge.
-
mhmt4438 👍 3 Answered ACorrect answer is A
-
Ruffyit 👍 2AWS uses the existing infrastructure of a VPC to create a VPC peering connection; it is neither a gateway nor a VPN connection, and does not rely on a separate piece of physical hardware. There is no single point of failure for communication or a bandwidth bottleneck. https://docs.aws.amazon.com/vpc/latest/peering/what-is-vpc-peering.html
-
Aninina 👍 2 Answered AVPC peering allows resources in different VPCs to communicate with each other as if they were within the same network. This solution would establish a direct network route between VPC-A and VPC-B, eliminating the need for a single point of failure or bandwidth concerns.
-
LuckyAro 👍 2 Answered BA VPC endpoint gateway to the EC2 Instance is more specific and more secure than forming a VPC peering that exposes the whole of the VPC infrastructure just for one connection.
-
lostmagnet001 👍 2 Answered AI get a little confused about B and A but, because, with a VPC endpoint in B it will work too access from A.
-
pentium75 👍 2B is about a Gateway endpoint, which can be used to connect to S3 or DynamoDB, NOT to another EC2 instance.
-
Guru4Cloud 👍 2 Answered AA. Set up a VPC peering connection between VPC-A and VPC-B
-
GPFT 👍 2vpc gw endpoint just dynamo and s3
-
omoakin 👍 2DDDDDDDDDDDDDD
-
drgabelive 👍 1 Answered AVPC peering creates a private network connection between two VPCs, even when those VPCs belong to different AWS accounts. Understand the problem The company has two VPCs in separate AWS accounts. - VPC-A: Contains the EC2 instance that needs to access files. - VPC-B: Contains the EC2 instance that stores the files. - The connection must be secure. - It must not have a single point of failure. - It must not have bandwidth concerns. The company needs private network connectivity between the two VPCs.
-
MNotABot 👍 1https://www.bing.com/search?pglt=41&q=can+we+do+VPC+peering+across+AWS+accounts&cvid=48a8ceecc85a429c9ddd698b01055890&aqs=edge..69i57j0l8j69i11004.10897j0j1&FORM=ANNAB1&PC=LCTS
-
omoakin 👍 1This is the only viable solution Create a private virtual interface (VIF) for the EC2 instance running in VPC-B and add appropriate routes from VPC-A
-
satyaammm 👍 1 Answered AVPC peering is the most suitable here.
-
Anmol_1010 👍 1D, VPC PEERINGVIS IN SAME ACCOUNT
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →