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

You have 4 Direct Connect connections from your datacenter. Site A advertises 172.16.0.0/16 AS 65000, Site B advertises 172.16.0.128/25 AS 65000 65000
65000, Site C advertises 172.0.0.0/8 AS 65000 and Site D advertises 172.16.0.0/24 AS 65000. Which site will AWS choose to reach your network?

Answer options

Correct answer: B

Explanation

AWS selects the most specific route when multiple routes are available. Site B's advertisement of 172.16.0.128/25 is more specific than the others, making it the preferred route. Sites A, C, and D are less specific and therefore not chosen.