Soru

Zorluk: OrtaVPC Connectivity and Routing Troubleshooting

A SysOps Administrator is troubleshooting a connectivity issue between two VPCs in the us-east-1 Region. VPC A has a CIDR block of 10.10.0.0/1610.10.0.0/16, and VPC B has a CIDR block of 10.20.0.0/1610.20.0.0/16. Both VPCs are attached to an AWS Transit Gateway. Amazon EC2 instances in VPC A are unable to communicate with EC2 instances in VPC B. The security groups and network ACLs in both VPCs allow all traffic. Which of the following routing configuration steps must the SysOps Administrator perform to resolve this connectivity issue? (Select TWO.)

  1. Add a route in the VPC A subnet route tables with a destination of 10.20.0.0/1610.20.0.0/16 targeting the Transit Gateway, and a route in the VPC B subnet route tables with a destination of 10.10.0.0/1610.10.0.0/16 targeting the Transit Gateway.Cevap
  2. Ensure the Transit Gateway route table contains routes for 10.10.0.0/1610.10.0.0/16 pointing to the VPC A attachment and 10.20.0.0/1610.20.0.0/16 pointing to the VPC B attachment.Cevap
  3. C
    Add a route targeting the Internet Gateway in the VPC A subnet route tables with a destination of 10.20.0.0/1610.20.0.0/16.
  4. D
    Enable route propagation in the VPC subnet route tables to automatically discover the CIDR block of the peered VPC.
  5. E
    Deploy a NAT Gateway in each VPC and update the subnet route tables to route all cross-VPC traffic through the NAT Gateway.

Cevap

Add a route in the subnet route tables of both VPCs targeting the Transit Gateway, and ensure the Transit Gateway route table has routes for both VPC CIDR blocks pointing to their respective attachments.
To establish two-way communication between two VPCs attached to a Transit Gateway, you must update routing at both layers: the VPC subnet route tables and the Transit Gateway route table. First, each VPC subnet route table needs a route for the remote VPC CIDR block targeting the Transit Gateway. Second, the Transit Gateway route table must have routes mapping each VPC CIDR block to its respective Transit Gateway attachment.

Adım Adım Çözüm

1
Analyze the VPC subnet route tables.
Determine if routes exist for the remote VPC CIDR blocks targeting the Transit Gateway.
For traffic to leave a VPC towards a Transit Gateway, the subnet route table must have a specific route directing that traffic to the Transit Gateway resource.
2
Analyze the Transit Gateway route tables.
Ensure the Transit Gateway route table has associations and routes pointing to the destination VPC attachments.
The Transit Gateway needs to know how to route the traffic it receives to the correct destination attachment.

Anahtar Kavram

VPC routing via Transit Gateway requires updating both the VPC subnet route tables and the Transit Gateway route tables.
Bu soruyu puanla