Courseiva
ServiceshardMultiple ChoiceObjective-mapped

350-501 Services Practice Question

Exhibit

router bgp 65000
 neighbor 192.168.1.1 remote-as 64512
 address-family ipv4 unicast
  neighbor 192.168.1.1 route-map SET_COMMUNITY in
 !
route-map SET_COMMUNITY permit 10
 match ip address prefix-list MATCH_CUST_A
 set community 65000:100 additive
!
route-map SET_COMMUNITY deny 20
!
ip prefix-list MATCH_CUST_A seq 5 permit 10.1.0.0/16 le 24

Refer to the exhibit. A service provider is receiving BGP prefixes from a customer (AS 64512). The provider wants to tag all routes from that customer that match prefix 10.1.0.0/16 or more specific with community 65000:100, while not modifying other routes. After applying the configuration, which statement is true?

⚠ Common exam trap

Cisco often tests the misconception that a route-map with a match clause and no explicit deny will reject non-matching routes, when in fact unmatched routes are still permitted and unchanged unless a deny sequence is present.

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

Only routes matching 10.1.0.0/16 or more specific will have the community added; other routes remain unchanged.

The configuration uses a route-map applied to the neighbor with a match clause referencing a prefix-list that permits 10.1.0.0/16 le 32. This matches the exact prefix and any more specific prefix (up to /32). The set community 65000:100 action adds the community without using the additive keyword, but because the route-map does not contain a deny clause for non-matching routes, all routes are still accepted; only matching routes have the community added. Thus, only routes matching 10.1.0.0/16 or more specific will have community 65000:100 added, and other routes remain unchanged.

Answer analysis

Option-by-option breakdown

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

  • Only routes matching 10.1.0.0/16 or more specific will have the community added; other routes remain unchanged.

    Why this is correct

    The route-map permits matching routes with additive community, denies others without affecting acceptance.

  • Routes with a mask longer than /24 will be rejected by the prefix-list.

    Why it's wrong here

    The le 24 allows masks up to /24, not longer.

  • All routes from the customer will have their communities replaced with 65000:100.

    Why it's wrong here

    The additive keyword appends, not replaces.

  • Routes not matching the prefix-list will be denied and not installed.

    Why it's wrong here

    Deny in route-map does not filter routes; it only skips setting community.

Visual reference

Source Router + ACL permit 10.0.0.0/8 deny any Server 10.0.0.5 ✓ 192.168.1.1 ✗ dropped ACLs evaluate top-down; first match wins — implicit deny all at end

About these practice questions

One of 971 original 350-501 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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-501 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-501 exam.