Courseiva
mediumMultiple Choice

350-401 Practice Question: Examine the following BGP configuration on a…

Examine the following BGP configuration on a Cisco IOS-XE router: ```

router bgp 65000

bgp default local-preference 150

neighbor 10.1.1.1 remote-as 65001
 neighbor 10.1.1.1 password cisco123
 neighbor 10.1.1.1 route-map SET-MED out

! route-map SET-MED permit 10 set metric 50 ``` What is the effect of the route-map on outbound updates to 10.1.1.1?

⚠ Common exam trap

Cisco often tests the distinction between 'route-map out' (affects outbound updates) and 'route-map in' (affects inbound updates), and the trap here is assuming the route-map filters routes when it actually sets an attribute without any match conditions.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

The MED value of routes advertised to 10.1.1.1 is set to 50.

The route-map SET-MED is applied to outbound updates to neighbor 10.1.1.1 using the 'route-map SET-MED out' command. The route-map permits all routes (no match statement) and sets the MED (Multi-Exit Discriminator) attribute to 50. This means that when the local router advertises routes to this eBGP neighbor, the MED value in those updates will be 50, influencing the neighbor's inbound path selection.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    The MED value of routes advertised to 10.1.1.1 is set to 50.

    Why this is correct

    This route-map is applied to BGP routes before they are sent to the peer, and it explicitly uses a set command that assigns the Multi-Exit Discriminator (MED) value of 50 to all advertised routes. MED is a non-transitive BGP attribute that influences the peer's inbound path selection, with a lower value preferred over a higher one. Therefore, the statement is correct: the MED of routes advertised to 10.1.1.1 is set to 50.

  • ✗

    The local preference of routes received from 10.1.1.1 is set to 150.

    Why it's wrong here

    Local preference is a BGP attribute that is set globally on the router or via a route-map on incoming routes, not on routes being advertised to a neighbor. This route-map, which is applied in the outbound direction, modifies attributes like MED, not local preference. Additionally, a value of 150 for local preference is a common configuration but would require a specific 'set local-preference' command, which is not part of this route-map. Hence, the statement is incorrect.

  • ✗

    The route-map filters routes; only those with metric 50 are advertised.

    Why it's wrong here

    A route-map that sets the MED attribute does not perform filtering because it has no 'match' criteria and does not use 'permit' or 'deny' logic to selectively drop routes. Instead, it acts as a policy that modifies attributes of all routes that are permitted through the map. The phrase 'only those with metric 50 are advertised' confuses the set operation with a conditional filter; MED is being assigned, not compared against an existing value for filtering purposes.

  • ✗

    The password is applied to the BGP session, but the route-map is ignored due to the password.

    Why it's wrong here

    Configuring a BGP session password (MD5 authentication) and applying a route-map to a neighbor are independent configuration tasks that operate at different layers. The password authenticates the TCP transport connection, while the route-map controls BGP attribute modification during the update exchange. There is no functional interaction that would cause the route-map to be ignored; both features can coexist on the same neighbor without affecting each other's operation.

About these practice questions

This 350-401 question is part of Courseiva's 1,923-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 350-401 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 350-401 exam.