nerdexam
Amazon

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…

Submitted by jakub_pl· Mar 6, 2026Hybrid Connectivity

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)
  • A
    68% (42)
  • B
    8% (5)
  • C
    19% (12)
  • D
    5% (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

#Direct Connect#BGP routing#AS_PATH prepending#failover

Community Discussion

No community discussion yet for this question.

Full ANS-C01 Practice