AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 359

A company has a VPC in the us-west-1 Region and another VPC in the ap-southeast-2 Region. Network engineers set up an AWS Direct Connect connection from their data center to the us-east-1 Region. They create a private virtual interface (VIF) that references a Direct Connect gateway, which is then connected to virtual private gateways in both VPCs. When the setup is complete, the engineers cannot access resources in us-west-1 from ap-southeast-2.
What should the network engineers do to resolve this issue?

Answer options

Correct answer: C

Explanation

An AWS Direct Connect gateway does not support transitive routing, meaning it cannot be used to route traffic directly from one attached VPC to another. To enable communication between the two VPCs, a VPC peering connection must be established directly between them with the appropriate route table updates. The other options are incorrect because neither a Direct Connect gateway nor a virtual private gateway can act as a transit hub for VPC-to-VPC traffic.