AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 197
You have two Direct Connect connections and two VPN connections to your network. Site A is VPN 10.1.0.0/24 AS 65000 65000, Site B is VPN 10.1.0.252/30 AS
65000, Site C is DX 10.0.0.0/8 AS 65000 and Site D is DX 10.0.0.0/16 AS 65000 65000 65000. Which site will AWS choose to reach your network?
Answer options
- A. Site A: VPN 10.0.1.0/24 AS 65000 65000
- B. Site B: VPN 10.0.1.252/30 AS 65000 65000 65000
- C. Site C: DX 10.0.0.0/8 AS 65000
- D. Site D: DX 10.0.0.0/16
Correct answer: B
Explanation
AWS prioritizes paths based on BGP attributes, where a lower AS path value is preferred. Site B has the shortest AS path and is a VPN connection, which gives it a higher preference compared to the other options that either have longer AS paths or are not the most optimal route.