
















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















































































Question 1. Which layer of the Internet hierarchy typically owns a global routing table and advertises routes to other ISPs? A) Access ISP B) Tier‑1 ISP C) Tier‑2 ISP D) Content Provider Answer: B Explanation: Tier‑1 ISPs sit at the top of the hierarchy, have no upstream providers, and exchange routes with other Tier‑1s, forming the global routing backbone. Question 2. What is the primary purpose of an Autonomous System Number (ASN) in BGP? A) To identify a specific router B) To indicate the IP address of a network C) To uniquely identify a collection of networks under a single routing policy D) To define the subnet mask for a prefix Answer: C Explanation: An ASN uniquely identifies an autonomous system, which is a group of IP networks that share a common routing policy. Question 3. Which of the following is a valid 32‑bit private ASN range? A) 64512‑ 65535 B) 65536‑ 65551 C) 4200000000‑ 4294967294 D) 0‑ 65535 Answer: C
Explanation: Private 32‑bit ASNs are in the range 4200000000‑4294967294, reserved for internal use. Question 4. In which scenario is BGP typically deployed? A) Single‑router LAN with static routes B) Multi‑homed enterprise with two upstream ISPs C) Small office with a single ISP connection D) Wireless mesh network using OSPF Answer: B Explanation: BGP is used for multi‑homing to manage multiple upstream connections and perform traffic engineering. Question 5. BGP is classified as which type of routing protocol? A) Interior Gateway Protocol (IGP) B) Exterior Gateway Protocol (EGP) C) Link‑state protocol D) Distance‑vector protocol Answer: B Explanation: BGP operates between autonomous systems, making it an Exterior Gateway Protocol. Question 6. Over which TCP port does BGP establish its sessions? A) 22 B) 80 C) 179 D) 443
Answer: B Explanation: eBGP (external BGP) peers reside in different ASes and exchange inter‑AS routing information. Question 10. What rule prevents iBGP peers from advertising routes learned from one iBGP neighbor to another iBGP neighbor? A) Route‑reflector rule B) Split‑horizon rule C) MED rule D) AS‑path loop rule Answer: B Explanation: The iBGP split‑horizon rule forbids advertising iBGP‑learned routes to other iBGP peers to avoid routing loops. Question 11. Which BGP information base contains routes that have been received from a neighbor but not yet selected as best? A) Local RIB B) Adj‑RIB‑In C) Adj‑RIB‑Out D) Forwarding Information Base (FIB) Answer: B Explanation: Adj‑RIB‑In stores all routes received from a specific neighbor prior to best‑path selection. Question 12. In BGP, the next‑hop attribute for iBGP‑learned routes is typically set to:
A) The IP address of the eBGP neighbor B) The router’s own loopback address C) The IP address of the peer that originated the route D) The IP address of the next router on the IGP path Answer: B Explanation: iBGP uses self‑next‑hop, usually the router’s loopback address, ensuring stability across the AS. Question 13. Which command on an Alcatel‑Lucent SR OS router sets the BGP Router ID? A) router-id <ip-address> B) bgp router-id <ip-address> C) set router-id <ip-address> D) configure router-id <ip-address> Answer: B Explanation: In SR OS, the BGP router ID is configured under the BGP hierarchy with bgp router- id. Question 14. To establish an eBGP session with a directly connected neighbor, which interface address is typically used? A) Loopback address of the local router B) Physical interface address that faces the neighbor C) Any address from the same subnet D) The address of the remote router’s loopback Answer: B Explanation: eBGP peers that are directly connected use the IP address of the physical interface that connects them.
Answer: A Explanation: After weight (Cisco‑specific), BGP compares Local Preference to select the best path. Question 18. Which BGP attribute is not advertised to eBGP peers by default? A) Local Preference B) AS‑Path C) MED D) Origin Answer: A Explanation: Local Preference is a well‑known discretionary attribute that is only advertised within the same AS (iBGP). Question 19. The MED attribute is primarily used to influence traffic entering an AS at: A) Multiple entry points B) A single entry point C) Any internal router D) The AS’s edge routers only when they are iBGP peers Answer: B Explanation: MED (Multi‑Exit Discriminator) is compared only between routes received from the same neighboring AS, making it useful for single‑point entry engineering. Question 20. Which BGP community value is defined as “no‑export” and prevents the route from being advertised to eBGP peers? A) 0: B) 65535:
Answer: B Explanation: The well‑known community 65535:65281 (no‑export) tells BGP not to send the route to any eBGP neighbor. Question 21. In SR OS, which statement component defines the matching criteria for a policy? A) from clause B) to clause C) action clause D) set clause Answer: A Explanation: The from clause specifies the match conditions (e.g., prefix‑list, AS‑path) for a policy‑statement. Question 22. What is the default behavior of an SR OS BGP import policy if no explicit match is found? A) Accept the route B) Reject the route C) Advertise the route to all peers D) Convert the route to static Answer: B Explanation: SR OS policies default to “deny” (reject) when no match occurs, ensuring explicit permits are required. Question 23. Which BGP attribute is used by route reflectors to prevent routing loops?
Question 26. When performing a soft reset inbound on a BGP neighbor, what is the effect? A) Clears all BGP sessions and restarts the process B) Re‑advertises all routes to the neighbor C) Re‑processes received routes without tearing down the TCP session D) Deletes all routes from the Local RIB Answer: C Explanation: Soft reset inbound re‑evaluates received routes against policies without resetting the TCP connection. Question 27. Which BGP attribute is considered discretionary but well‑known, meaning all BGP implementations must recognize it, yet it is optional to advertise? A) Atomic Aggregate B) Local Preference C) MED D) Originator‑ID Answer: B Explanation: Local Preference is a well‑known discretionary attribute; all routers understand it, but it is only used within an AS. Question 28. In a large AS, why is a full mesh of iBGP peers often impractical? A) Because iBGP does not support route reflection B) Because each iBGP session requires a separate AS number C) Because the number of sessions grows quadratically with the number of routers D) Because iBGP cannot carry IPv6 routes Answer: C
Explanation: A full mesh requires N*(N‑1)/2 sessions, which becomes unmanageable as N increases. Question 29. Which SR OS command creates a route reflector client group? A) bgp route-reflector client B) bgp group <name> type rr-client C) bgp neighbor <ip> rr-client D) bgp reflector client <name> Answer: B Explanation: The bgp group <name> type rr-client command defines a group of peers that act as RR clients. Question 30. What does the aggregate command with the summary‑only option do? A) Advertises both the summary and more‑specific prefixes B) Advertises only the summary prefix, suppressing more‑specifics C) Prevents the router from learning any routes for the aggregated block D) Generates a static route for the summarized network Answer: B Explanation: summary-only causes the router to advertise only the aggregated prefix, hiding the individual sub‑prefixes. Question 31. Which BGP attribute is used to indicate that a route was generated by aggregation? A) Atomic Aggregate B) Aggregator C) Origin
D) It selects the egress PE for the VPN traffic Answer: B Explanation: The RD prefixes a customer’s IPv4 prefix, making it unique across the MPLS backbone. Question 35. Which BGP community is used to prevent a route from being advertised to any BGP peer, including iBGP peers? A) no‑export (65535:65281) B) no‑advertise (65535:65282) C) internet (0:0) D) local‑as (65535:65283) Answer: B Explanation: The no‑advertise community (65535:65282) blocks the route from being sent to any BGP neighbor. Question 36. What is the effect of configuring a maximum‑prefix limit on a BGP neighbor in SR OS? A) It prevents the neighbor from receiving any routes B) It shuts down the BGP session if the limit is exceeded C) It filters routes larger than the specified prefix length D) It automatically aggregates routes beyond the limit Answer: B Explanation: When the received prefix count exceeds the configured maximum, SR OS can log a warning and optionally reset the session to protect resources. Question 37. Which BGP attribute is compared only when the routes are from the same neighboring AS?
A) Local Preference B) MED C) AS‑Path length D) Origin Answer: B Explanation: MED is only compared between routes received from the same external AS, allowing the AS to influence inbound traffic at a single entry point. Question 38. In SR OS, which command displays the Adj‑RIB‑In for a specific neighbor? A) show router bgp rib-in neighbor <ip> B) show bgp routes received neighbor <ip> C) show router bgp neighbor <ip> rib-in D) show bgp adj-rib-in <ip> Answer: C Explanation: show router bgp neighbor <ip> rib-in lists the routes stored in Adj‑RIB‑In for that neighbor. Question 39. Which BGP attribute is transitive and well‑known, meaning it must be passed unchanged across AS boundaries? A) Local Preference B) MED C) Origin D) Community Answer: C Explanation: Origin is a well‑known transitive attribute; all BGP speakers must understand and propagate it.
Answer: B Explanation: Prepending adds duplicate AS numbers, increasing the AS‑Path length, which makes the path less attractive to external ASes. Question 43. Which BGP command on SR OS is used to inject a static route into BGP using the network statement? A) bgp network <prefix>/<mask> B) bgp import static C) bgp advertise static D) bgp redistribute static Answer: A Explanation: The bgp network command tells BGP to originate the specified prefix if it is present in the routing table. Question 44. Which attribute is used by BGP to indicate that a route was generated by a router that performed aggregation? A) Aggregator B) Atomic Aggregate C) Origin D) MED Answer: B Explanation: The Atomic Aggregate attribute signals that the route has been aggregated, possibly discarding some path details. Question 45. In SR OS, which statement correctly applies a prefix‑list to an import policy? A) policy-statement <name> from prefix-list <list> then accept B) policy-statement <name> then from prefix-list <list> accept
C) policy-statement <name> from <list> then accept D) policy-statement <name> then accept from prefix-list <list> Answer: A Explanation: The from clause specifies the match (prefix‑list), followed by the action (then accept). Question 46. What is the purpose of the originator‑ID attribute in a route‑reflector environment? A) To identify the original AS that originated the route B) To prevent a route reflector from reflecting a route back to its originator C) To carry the MED value across the AS D) To indicate the router’s router‑ID in the AS path Answer: B Explanation: Originator‑ID records the router ID of the RR that first received the route, preventing loops by stopping the route from being reflected back. Question 47. Which of the following is a well‑known discretionary BGP attribute? A) AS‑Path B) NEXT_HOP C) LOCAL_PREF D) COMMUNITY Answer: C Explanation: LOCAL_PREF is well‑known (all routers must understand it) but discretionary (optional to advertise). Question 48. In an MPLS L3VPN, which BGP attribute carries the VPN‑specific routing information?
Question 51. Which of the following statements about BGP Confederations is true? A) All members share the same ASN in measurement tools B) Routes between confederation members are treated as external (eBGP) C) Confederation members must be directly connected D) The confederation uses a single Route Reflector for all members Answer: B Explanation: Within a confederation, members exchange routes as eBGP, but the confederation appears as a single AS to external peers. Question 52. In SR OS, which command is used to view the BGP RIB‑Out for a specific neighbor? A) show router bgp neighbor <ip> rib-out B) show bgp outbound <ip> C) show router bgp rib-out neighbor <ip> D) show bgp adj-rib-out <ip> Answer: A Explanation: show router bgp neighbor <ip> rib-out displays the routes that will be advertised to that neighbor. Question 53. Which BGP attribute is mandatory and must appear in every BGP UPDATE message? A) LOCAL_PREF B) MED C) ORIGIN D) COMMUNITY
Answer: C Explanation: ORIGIN is a mandatory attribute; every UPDATE must include it (IGP, EGP, or Incomplete). Question 54. What is the effect of configuring soft‑reset outbound on a BGP neighbor? A) The router re‑applies outbound policies and re‑advertises routes without tearing down the session B) The router clears all received routes from the neighbor C) The router restarts the BGP process D) The router forces a full hard reset of the session Answer: A Explanation: Soft‑reset outbound re‑processes the Adj‑RIB‑Out, applying export policies and sending updates without affecting the TCP session. Question 55. Which BGP attribute is not trainable across an AS and therefore never appears in iBGP updates? A) AS_PATH B) NEXT_HOP C) LOCAL_PREF D) ORIGIN Answer: C Explanation: LOCAL_PREF is not advertised to eBGP peers and is only shared within an AS via iBGP. Question 56. Producing a route‑reflector cluster requires assigning a unique identifier. Which attribute carries this identifier in BGP updates? A) Originator‑ID