AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 116
Your company has a high-availability hybrid solution that utilizes a two Direct Connect connections and a backup VPN connection. For some reason, traffic is preferring the VPN connection instead of the direct connection. You have prepended a longer AS_PATH on the VPN connection, but AWS still prefers it over the
Direct Connect connections.
What might you be able to do to fix this issue?
Answer options
- A. Advertise a less specific prefix on the VPN.
- B. Remove the prepended AS_PATH.
- C. Reconfigure the VPN as a static VPN instead of dynamic.
- D. Increase the MED on the VPN.
Correct answer: A
Explanation
The correct answer is A because advertising a less specific prefix on the VPN will typically make it less preferred compared to more specific routes like those from Direct Connect. The other options either do not address the root cause of the preference or may inadvertently make the situation worse, such as increasing the MED (option D) or removing the prepended AS_PATH (option B), which could result in the VPN being preferred even more.