Design Resilient Architectures

A subnet route table contains 10.40.0.0/16 to a deleted VPC peering connection, 10.0.0.0/8 to a transit gateway, and a default route to a NAT gateway. The transit gateway has working connectivity to all of 10.40.0.0/16; which change restores access to that network while preserving other routing?

Show the answer

Correct answerC. Replace the 10.40.0.0/16 route target with the transit gateway.

AWhy not this: The added route restores access only to 10.40.0.0/24, not the entire required network.

BWhy not this: Recreating the broader route does not override the more specific route to the deleted connection.

CWhy this is right: The specific route will select a working target for the entire destination network without changing other destinations.

DWhy not this: The default route cannot override the more specific route to the deleted peering connection.

Longest prefix matching selects the 10.40.0.0/16 route even when its target is unavailable. Replacing its target restores the full destination range; changing the default route cannot override a more specific route.