Question

Difficulty: MediumVPC Connectivity and Routing Troubleshooting

A SysOps administrator is troubleshooting a connectivity issue between two VPCs: VPC A (10.100.0.0/1610.100.0.0/16) and VPC B (10.200.0.0/1610.200.0.0/16). The VPCs were previously communicating successfully via a VPC peering connection. After a recent configuration cleanup, instances in VPC A can no longer reach instances in VPC B. The administrator checks the route table for VPC A's subnet and finds the following entry:

DestinationTargetStatus
10.100.0.0/1610.100.0.0/16localActive
10.200.0.0/1610.200.0.0/16pcx-0a1b2c3d4e5f6g7h8Blackhole

Which action must the administrator take to restore connectivity?

  1. A
    Update the Network Access Control List (NACL) rules for VPC A to explicitly allow outbound traffic to VPC B's CIDR block on ephemeral ports (1024655351024-65535), which will change the status to Active.
  2. B
    Add a default route (0.0.0.0/00.0.0.0/0) pointing to an Internet Gateway in VPC A's route table to allow the peering connection to resolve the destination subnet's IP addresses over the public internet.
  3. Update the route table for VPC A to target the active VPC peering connection ID, and ensure that the route table in VPC B is also updated to target the active peering connection.Answer
  4. D
    Associate the subnet route tables in both VPCs with a Gateway VPC Endpoint to redirect the peering traffic and bypass the invalid routing target.

Answer

Update the route table for VPC A to target the active VPC peering connection ID, and ensure that the route table in VPC B is also updated to target the active peering connection.
The correct answer is to update the route tables in both VPCs to target the active VPC peering connection ID. A route status of Blackhole indicates that the target of the route (such as a deleted peering connection or network interface) is no longer available. Updating the route table with the correct, active peering connection ID restores the route's status to Active. Because VPC peering requires bidirectional routing, the route table in the peer VPC must also be updated.

Step-by-Step Solution

1
Analyze the route table status in VPC A.
The destination route for VPC B (10.200.0.0/1610.200.0.0/16) points to pcx-0a1b2c3d4e5f6g7h8 and has a status of Blackhole.
This status indicates the specified target VPC peering connection was deleted or is inactive.
2
Identify the active VPC peering connection ID.
A new VPC peering connection should be active or needs to be established between VPC A and VPC B.
Since the old peering connection was deleted during the cleanup, a new connection must be targeted to restore routing.
3
Update the route tables in both VPC A and VPC B.
Replace the target in VPC A's route table with the new active peering ID, and perform the corresponding route update in VPC B's route table.
VPC peering is bidirectional, so both route tables must have active routes pointing to the active peering connection ID for traffic to flow.

Key Concept

VPC Peering Routing and Blackhole Route Status
Rate this question