Question 1 of 30
In a service provider network, a network engineer is tasked with implementing route filtering to manage the distribution of BGP routes. The engineer needs to ensure that only specific prefixes are advertised to a peer while preventing the advertisement of certain internal prefixes. The engineer decides to use prefix lists and route maps for this purpose. Given a scenario where the prefix list allows the advertisement of prefixes 192.168.1.0/24 and 10.0.0.0/8, but the internal prefixes 172.16.0.0/12 should not be advertised, which configuration will effectively achieve this filtering?
Use a route map that matches the prefix list and applies it to the outbound direction of the BGP neighbor configuration.
Configure a prefix list that denies the internal prefixes and permits all other prefixes without applying it to the BGP neighbor.
Implement a route filter on the inbound direction of the BGP neighbor to block the internal prefixes only.
Create a prefix list that permits the internal prefixes and applies it to the outbound direction of the BGP neighbor.