ANS-C01 Network Implementation Practice Question
A company is using AWS Direct Connect with a private virtual interface (VIF) to connect its on-premises data center to a VPC. The VPC has a virtual private gateway (VGW) attached. The company has recently added a second VPC and wants to use the same Direct Connect connection to access both VPCs. The network engineer proposes using a Direct Connect gateway (DXGW) with two private VIFs, one for each VPC. However, the engineer wants to minimize complexity and cost. Which configuration should the engineer use to allow both VPCs to use the same Direct Connect connection?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a Direct Connect gateway and associate it with the private VIF. Then associate both VPCs' virtual private gateways with the Direct Connect gateway.
A Direct Connect gateway (DXGW) can be associated with a single private virtual interface (VIF) and then attached to multiple virtual private gateways (VGWs) in different VPCs, allowing both VPCs to use the same Direct Connect connection with minimal complexity and cost. Option B is incorrect because it requires creating two private VIFs, increasing cost and complexity. Option C is incorrect because a public VIF is used for accessing public AWS services, not for connecting to VPCs. Option D is incorrect because a single private VIF cannot be directly attached to multiple VPCs; a DXGW is needed to aggregate the connections.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Create a Direct Connect gateway and associate it with the private VIF. Then associate both VPCs' virtual private gateways with the Direct Connect gateway.
Why this is correct
DXGW allows one VIF to reach multiple VPCs.
- ✗
Create a private VIF for each VPC on the same Direct Connect connection.
Why it's wrong here
Multiple VIFs on same connection are possible but increase complexity.
- ✗
Create a public virtual interface on the Direct Connect connection and attach both VPCs to it.
Why it's wrong here
Public VIF is for accessing public AWS services, not VPCs.
- ✗
Create a single private VIF and attach both VPCs directly to it.
Why it's wrong here
A private VIF can only be attached to one VGW (or DXGW).
Go deeper
Related to this question
About these practice questions
This ANS-C01 question is part of Courseiva's 1,621-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
Same concept, more angles
1 more way this is tested on ANS-C01
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A company has a Direct Connect connection with a private VIF to a VPC. They want to extend this connectivity to multiple VPCs in the same region without creating additional VIFs. Which solution should they implement?
hard- A.Provision additional private VIFs for each VPC
- B.Use VPC peering between the VPCs
- C.Use a Transit VPC with VPN connections
- ✓ D.Use a Direct Connect Gateway and attach the VPCs
Why D: A Direct Connect Gateway (DX Gateway) is a managed service that allows you to associate a single private virtual interface (VIF) with up to 10 VPCs in the same AWS Region (or across Regions with inter-region peering). This enables the company to extend their existing Direct Connect connection to multiple VPCs without provisioning additional VIFs, simplifying management and reducing costs.
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This ANS-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ANS-C01 exam.