ANS-C01 · Question #189
A company has a 2 Gbps AWS Direct Connect hosted connection from the company's office to a VPC in the ap-southeast-2 Region. A network engineer adds a 5 Gbps Direct Connect hosted connection from a…
The correct answer is A. Configure an outbound BGP policy from the router that is connected to the 2 Gbps connection. BGP prefers routes with a shorter AS_PATH over routes with a longer AS_PATH. By advertising routes with a longer AS_PATH attribute from the 2 Gbps connection, you can make those routes less preferable than the routes advertised from the 5 Gbps connection. This way, the VPC will…
Question
A company has a 2 Gbps AWS Direct Connect hosted connection from the company's office to a VPC in the ap-southeast-2 Region. A network engineer adds a 5 Gbps Direct Connect hosted connection from a different Direct Connect location in the same Region. The hosted connections are connected to different routers from the office with an iBGP session running in between the routers. The network engineer wants to ensure that the VPC uses the 5 Gbps hosted connection to route traffic to the office. Failover to the 2 Gbps hosted connection must occur when the 5 Gbps hosted connection is down. Which solution will meet these requirements?
Options
- AConfigure an outbound BGP policy from the router that is connected to the 2 Gbps connection.
- BAdvertise a longer prefix route from the router that is connected to the 2 Gbps connection.
- CAdvertise a less specific route from the router that is connected to the 5 Gbps connection.
- DConfigure an outbound BGP policy from the router that is connected to the 5 Gbps connection.
How the community answered
(62 responses)- A68% (42)
- B8% (5)
- C19% (12)
- D5% (3)
Explanation
BGP prefers routes with a shorter AS_PATH over routes with a longer AS_PATH. By advertising routes with a longer AS_PATH attribute from the 2 Gbps connection, you can make those routes less preferable than the routes advertised from the 5 Gbps connection. This way, the VPC will use the 5 Gbps connection to route traffic to the office, as long as it is available. If the 5 Gbps connection goes down, BGP will fail over to the 2 Gbps connection.
Topics
Community Discussion
No community discussion yet for this question.