How to meet encrypted private IP connectivity over Direct Connect with least overhead?
A company has an application that runs on premises. The application needs to communicate with an application that runs in a VPC on AWS. The communication between the applications must be encrypted and must use private IP addresses. The communication cannot travel across the public internet. The company has established a 1 Gbps AWS Direct Connect connection between the on-premises location and AWS. Which solution will meet the connectivity requirements with the LEAST operational overhead?
Community Votes
79% of anonymous learners picked answer B. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
This question tests the private IP VPN feature over Direct Connect: it must be attached to a transit gateway and use a transit VIF or private VIF with a Direct Connect gateway, not a public VIF or a VGW-based VPN.
For encrypted private IP communication over AWS Direct Connect without internet transit, the correct design uses a transit VIF, Direct Connect gateway, and transit gateway with an AWS Site-to-Site VPN private IP VPN attachment. Community consensus favors option B, as it is both valid and operationally efficient.
The most common wrong answer is A, because candidates see only one VPC and assume a private VIF attached to the VPC's virtual private gateway is simpler. However, a private IP VPN connection to a virtual private gateway is not the supported architecture for encrypted private IP traffic over Direct Connect; public VIF also appears attractive but is invalid for private IP VPN.
Community Discussion (10 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Understanding the Requirement
The company needs on-premises and AWS applications to communicate privately and securely. Encryption is required, private IP addresses must be used, and the path must never traverse the public internet. The existing 1 Gbps AWS Direct Connect link is the physical foundation. The solution must also be the least operational overhead, meaning fully managed AWS services are preferred over third-party appliances.
Why Option B Is Correct
Option B creates a transit gateway and configures a transit VIF on the Direct Connect connection. The transit VIF is associated with a Direct Connect gateway, which in turn is associated with the new transit gateway. Then an AWS Site-to-Site VPN private IP VPN connection is attached to the transit gateway.
This architecture is the supported AWS pattern for encrypted private IP connectivity over Direct Connect. The IPsec tunnels use private IP addresses on both ends, and the physical path stays entirely on the Direct Connect link. No public internet or public VIF is involved. Because the solution uses AWS-managed components (Direct Connect Gateway and Transit Gateway), there is no firewall or virtual appliance to operate, making it the least operational overhead.
Why Option A Fails
Option A uses a private VIF associated with the VPC's virtual private gateway and then adds a Site-to-Site VPN private IP VPN to that VGW. A standard Direct Connect private VIF already provides private Layer 3 connectivity, but it does not encrypt traffic. Adding an IPsec VPN connection to a VGW over a private VIF is not the correct pattern for private IP VPN; AWS private IP VPN is designed around a Transit Gateway attachment. The VGW VPN endpoint is publicly reachable, so without a public VIF or internet path, the VPN tunnel cannot establish. Therefore A does not meet the encryption or private-only requirements.
Why Option C Fails
Option C uses a public VIF and attempts to associate it with a Direct Connect gateway and transit gateway. Public VIFs are used for AWS public services such as S3 or DynamoDB and cannot be associated with a Direct Connect gateway or transit gateway. Additionally, private IP VPN cannot run over a public VIF. Although a public VIF physically travels over Direct Connect, it is not a private-IP solution and is architecturally invalid for this scenario.
Why Option D Fails
Option D correctly sets up a transit VIF, Direct Connect gateway, and transit gateway, but then adds a third-party firewall in a new VPC and connects the VPN to that firewall. While this could satisfy encryption and private IP requirements, it significantly increases operational overhead because you must deploy, patch, monitor, and manage a third-party virtual appliance. The question asks for the least operational overhead, and AWS-native private IP VPN to the transit gateway is more operationally efficient.
Community Consensus
The community strongly favored option B (68 votes) over option A (18 votes). One comment from Blitz1 correctly summarizes the failures: A cannot use a Site-to-Site VPN with a private VIF, C cannot combine a public VIF with a transit gateway/Direct Connect gateway, and D's third-party firewall adds unnecessary overhead. Another comment from AzureDP900 also notes that B meets all requirements with the least operational overhead by using AWS-managed services.
Official Reference
Exam Strategy
When a question asks for both encryption and private IP addresses over Direct Connect, look for a solution that combines a transit VIF, a Direct Connect gateway, and a Transit Gateway with a private IP Site-to-Site VPN. Eliminate any option using a public VIF or a third-party appliance, as those either violate the private-only requirement or introduce unnecessary operational overhead.
Related Analysis
Practice All ANS-C01 Questions
Access 137 questions with complete answers and detailed explanations.
View Full ANS-C01 Practice Test →