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

If you have one VPC peered with two VPCs with overlapping CIDRs, which route will be more preferred?

Answer options

Correct answer: C

Explanation

AWS VPC routing tables always prioritize the most specific route, which is determined by the longest prefix match. Since /32 represents a single host route, 10.1.1.5/32 is the most specific destination prefix among the options and will be preferred over the broader /24, /16, and /8 networks.