AWS Certified Advanced Networking – Specialty (ANS-C01) — Question 154

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?

Answer options

Correct answer: A

Explanation

The correct answer is A because configuring an outbound BGP policy to advertise routes with a longer AS_PATH from the 2 Gbps connection will ensure that the 5 Gbps connection is preferred. Options B and C do not effectively prioritize the 5 Gbps connection, while option D incorrectly suggests changing the priority of the 5 Gbps connection instead of the 2 Gbps connection.