JN0-281 practice question 23 of 35
Which of the following is a key factor in BGP's route selection process?
Full set: 271 questionsThe BGP route selection process is a deterministic algorithm that evaluates multiple path attributes to select a single best path for each prefix. One of the most fundamental and earliest attributes considered in this process is the AS path length. BGP prefers the path with the shortest AS path, meaning the route that has traversed the fewest autonomous systems to reach the destination. This attribute is a core component of BGP's path-vector nature and is a key factor in preventing routing loops in inter-domain routing.
A. Administrative distance is a router-local value used to compare routes from different protocols (e.g., OSPF vs. BGP), not for selecting between multiple BGP routes.
B. Subnet mask length is used in the general forwarding decision (longest-prefix match), but it is not an attribute used within the BGP algorithm to select the best path for a specific prefix.
C. Link state is a metric used by Interior Gateway Protocols like OSPF and IS-IS, not by the path-vector protocol BGP.
1. Juniper Networks Documentation, "Junos OS Routing Protocols Library for Routing Devices," BGP Path Selection. It lists the default order of evaluation, stating, "AS path—Choose the path with the shortest AS path length."
2. IETF RFC 4271, "A Border Gateway Protocol 4 (BGP-4)," Section 9.1.2.2: Path Selection. The decision process explicitly includes comparing the length of the ASPATH attribute: "(d) if the paths were not learned from the same neighboring AS, the local BGP speaker MAY select the path with the shortest ASPATH."
Keep practicing
Take the free JN0-281 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other JN0-281 practice questions
- Question 1Which of the following are correct methods for configuring VLANs on a Junos OS switch? (C…
- Question 2Which of the following best describes the OSPF router ID selection process?
- Question 3Which of the following is true about the OSPF Link-State Advertisement (LSA) types?
- Question 4Which OSPF packet type is used to establish and maintain neighbor relationships between O…
- Question 5What is the primary role of OSPF’s Link-State Advertisement (LSA)?
- Question 6What is the function of the OSPF Designated Router (DR)?
