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
- A. 10.1.0.0/16
- B. 10.0.0.0/8
- C. 10.1.1.5/32
- D. 10.1.1.0/24
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.