AWS Certified Advanced Networking - Specialty

AWS Certified Advanced Networking - Specialty

Get started today

Ultimate access to all questions.


How should a network engineer configure BGP to prioritize the us-east-1 Direct Connect link as the primary connection and use the af-south-1 Direct Connect link as a secondary connection to AWS?




Explanation:

To ensure that af-south-1 is used as a secondary link to AWS, the network engineer should configure BGP in such a way that the us-east-1 link is preferred over the af-south-1 link. This can be achieved by setting a higher local preference value for the us-east-1 link, making it the preferred path. The community tags 7224:7100 and 7224:7300 are used to influence route selection within AWS. The community tag 7224:7100 is used to indicate that the route should be advertised to all AWS regions, while 7224:7300 is used to indicate that the route should be advertised to the local AWS region only. Therefore, to make us-east-1 the primary link, it should be configured with community tag 7224:7100 and a higher local preference value (200), while the af-south-1 link should be configured with community tag 7224:7300 and a lower local preference value (50). This setup ensures that traffic prefers the us-east-1 link but can failover to the af-south-1 link if necessary.