Courseiva

CCNA BGP Advanced Questions

46 questions · BGP Advanced · All types, answers revealed

1
Multi-Selecteasy

Which TWO BGP attributes are classified as well-known mandatory attributes that must be recognized by all BGP implementations? (Choose TWO)

Select 2 answers
A.COMMUNITIES
B.MULTI_EXIT_DISC
C.AS_PATH
D.LOCAL_PREF
E.NEXT_HOP
AnswersC, E

AS_PATH is a well-known mandatory attribute.

Why this answer

The well-known mandatory BGP attributes are AS_Path, NEXT_HOP, and ORIGIN. Among the choices, AS_PATH and NEXT_HOP are well-known mandatory attributes.

2
MCQeasy

An engineer needs to ensure that a Junos router balances BGP traffic across multiple paths with unequal IGP costs. Which feature must be configured to achieve this?

A.Setting the MED attribute to zero on all incoming EBGP updates.
B.BGP multipath with the 'as-path-relax' or equivalent multipath options enabled.
C.Configuring static routes with identical preferences for every BGP prefix.
D.Enabling BGP Route Reflection on the local routing engine.
AnswerB

Relaxing strict AS path or IGP cost checks allows multipath load balancing across paths with different metrics.

Why this answer

By default, BGP multipath requires equal cost. To allow paths with different costs, 'as-path-multipath' or variance-based multipath configurations are required depending on specific Junos platform support, but generally standard multipath requires equal IGP cost unless specific multipath relaxation options are set.

3
MCQeasy

Which command allows an administrator to view the active BGP routes along with their associated communities on a Junos device?

A.show route protocol bgp extensive
B.show bgp group summary
C.show bgp neighbor extensive
D.show route forwarding-table protocol bgp
AnswerA

The 'extensive' output includes detailed route attributes such as communities, AS path, and origin.

Why this answer

The 'show route protocol bgp' command with the 'extensive' modifier displays detailed path attributes including BGP communities.

4
MCQhard

You are troubleshooting a BGP route selection issue on a Junos device. Two otherwise identical paths are received from external peers. According to the standard BGP route selection algorithm implemented by Junos, which tie-breaking attribute is evaluated immediately AFTER comparing the Router ID (RID) of the advertising routers?

A.AS path length
B.Multi-Exit Discriminator (MED)
C.Cluster list length
D.Lowest neighbor IP address
AnswerD

The Junos BGP decision process evaluates the lowest neighbor IP address immediately after comparing the router ID.

Why this answer

In the Junos BGP route selection algorithm, after comparing local preference, AS path length, origin, MED, eBGP over iBGP, IGP metric to next hop, and router ID (lowest router ID), the next step evaluates the neighbor IP address (lowest neighbor IP address).

5
MCQhard

An enterprise network uses a BGP route reflector (RR) architecture where client routers reflect routes to each other. A non-client router sends a route with an Originator ID and Cluster List to the RR. How does the route reflector handle these attributes when reflecting the route to other clients?

A.It removes the Originator ID and replaces the Cluster List with its own cluster ID.
B.It increments the Originator ID value by one and clears the Cluster List.
C.It leaves the Originator ID intact and appends its own cluster ID to the Cluster List.
D.It clears both the Originator ID and Cluster List to reset loop detection for the local cluster.
AnswerC

The RR preserves the Originator ID and adds its local cluster ID to the front of the Cluster List.

Why this answer

A route reflector leaves the Originator ID untouched and prepends its own Cluster ID to the existing Cluster List to prevent routing loops.

6
Multi-Selecthard

An administrator is troubleshooting BGP route reflector operations in a Junos environment. Which TWO statements regarding route reflection behavior and loop prevention are correct? (Choose two)

Select 2 answers
A.Route reflectors change the BGP next hop to their own IP address when reflecting routes to clients by default.
B.A route reflector ignores any advertised route that contains its own local Cluster ID in the Cluster List.
C.The Originator ID is a 4-byte value created by the route reflector to identify the client that injected the route.
D.Route reflectors remove the AS_PATH attribute when reflecting routes to internal non-client peers.
E.Route reflectors modify the Local Preference attribute to zero for all reflected routes.
AnswersB, C

Cluster Lists prevent routing loops between clustered route reflectors by rejecting paths containing the local cluster ID.

Why this answer

Route reflectors use Originator ID to prevent loops from clients and Cluster Lists to prevent loops between cluster route reflectors.

7
MCQmedium

An administrator configures a BGP routing policy to match routes with community members using regex matching in Junos. Which statement accurately describes how Junos represents standard BGP communities in policy matching?

A.Communities are defined within policy-options using community members specified in AS:number format and matched via community-list.
B.Community matching in Junos requires explicit activation under the forwarding-options hierarchy.
C.Communities must be converted to extended communities before any regular expression can be applied.
D.Communities are matched exclusively using hexadecimal bitmasks in policy match conditions.
AnswerA

Junos uses named community lists with AS:number syntax to match BGP communities.

Why this answer

In Junos, standard BGP communities are represented as target communities or community sets in the form of autonomous_system:identifier or named community lists.

8
Multi-Selectmedium

Which THREE optional BGP attributes are supported and processed by Junos routing devices? (Choose three)

Select 3 answers
A.COMMUNITY
B.LOCAL_WEIGHT
C.ATOMIC_AGGREGATE
D.NEXT_HOP_OVERRIDE
E.MED (Multi-Exit Discriminator)
AnswersA, C, E

Community attributes are fully supported and widely used in Junos policies.

Why this answer

Junos supports standard optional attributes such as MED, Communities, and Atomic Aggregate.

9
Multi-Selecteasy

Which TWO well-known BGP communities are recognized universally to control route propagation? (Choose two)

Select 2 answers
A.no-export
B.local-only
C.transit-only
D.no-peer
E.no-advertise
AnswersA, E

no-export prevents advertising outside the local AS or confederation.

Why this answer

NO_EXPORT and NO_ADVERTISE are standard well-known communities.

10
MCQhard

During BGP route resolution on Junos, an indirect next hop is encountered. What mechanism does Junos use to resolve this indirect next hop to a direct forwarding next hop?

A.BGP Link-State (BGP-LS) topology databases.
B.Multiprotocol Label Switching (MPLS) label imposition without routing table participation.
C.Recursive lookups through the routing table using the active IGP or static route entries.
D.Address Resolution Protocol (ARP) directly against the BGP peer IP address.
AnswerC

Junos performs recursive lookups in the routing table to resolve BGP next hops via the resolving protocol (IGP).

Why this answer

Junos relies on the underlying IGP (OSPF or IS-IS) or static routes to resolve indirect BGP next hops to direct interface and gateway forwarding entries.

11
MCQmedium

You are configuring a BGP Route Reflector (RR) in a Junos environment. To prevent routing loops within the iBGP cluster, what mechanism does the route reflector use to track the path of reflected routes?

A.MED comparison and router ID tie-breakers
B.AS Path prepending and local preference manipulation
C.TTL security decrement and loose reverse path forwarding
D.Cluster List and Originator ID attributes
AnswerD

Cluster List and Originator ID are the standard BGP path attributes designed specifically for route reflection loop prevention.

Why this answer

Route reflectors use the 'Originator ID' (a 4-byte attribute containing the router ID of the route originator) and the 'Cluster List' (a sequence of cluster IDs through which the route has passed) to prevent routing loops.

12
MCQhard

An enterprise is designing a BGP confederation to reduce iBGP mesh complexity across multiple data centers. Which statement is correct regarding how confederation members interact with BGP attributes?

A.Confederations eliminate the need for any internal iBGP peering within the member sub-ASes.
B.The next-hop IP address is always modified when routes are passed between member sub-ASes within the confederation.
C.Local Preference is automatically reset to zero whenever a route crosses a sub-AS boundary inside a confederation.
D.Sub-AS numbers are preserved in AS_CONFED_SEQUENCE segments inside the confederation but are replaced by the confederation identifier when advertising to external peers.
AnswerD

Confederation member AS numbers are encapsulated in confederation-specific path segments internally and hidden from external peers.

Why this answer

Within a BGP confederation, sub-AS numbers are stripped as routes leave the confederation and are replaced by the confederation identifier. However, within the confederation, sub-AS numbers are kept in the AS_CONFED_SEQUENCE and AS_CONFED_SET path segments to prevent loops, and MED/Local Preference are preserved across member sub-AS boundaries.

13
MCQeasy

An administrator needs to ensure that a Junos routing device performs unequal-cost multi-path (UCMP) load balancing across multiple BGP paths with different local preferences or path attributes. Which BGP feature must be enabled to allow multipath load balancing across paths with different AS path lengths?

A.set protocols bgp multipath as-path-ignore
B.set protocols bgp family inet unicast multipath relax
C.set routing-options rib inet.0 multipath
D.set protocols bgp load-balance per-packet
AnswerA

The as-path-ignore parameter allows Junos to consider paths for BGP multipath even if their AS path lengths do not match exactly.

Why this answer

By default, Junos multipath requires multiple attributes (such as AS path length) to match. To allow BGP multipath even when AS path lengths differ (as long as they have the same length numerically, or using 'as-path-ignore'), the 'as-path-ignore' statement under protocols bgp multipath must be configured.

14
MCQhard

A BGP routing policy on a Junos router uses an 'as-path' regular expression '^[0-9]+$' in a match condition. Which routes will this regular expression match?

A.Routes that contain internal confederation segments.
B.Routes whose AS path contains exactly one AS number ( originated from a directly connected neighboring AS ).
C.Routes whose AS path starts with local AS 65000 and has multiple hops.
D.Any route originating from any AS path of any length.
AnswerB

The anchors ^ and $, combined with digits and plus sign, match exactly a single AS number in the path.

Why this answer

The regex '^[0-9]+$' matches an AS path that consists of exactly one autonomous system number (from the beginning to the end of the path string).

15
MCQeasy

Which command should an engineer use on a Junos device to verify whether a BGP next hop is successfully resolved via the routing table?

A.show route protocol bgp next-hop
B.show bgp neighbor detail
C.show route forwarding-table destination
D.show bgp summary
AnswerA

This command is specifically designed to inspect BGP next-hop resolution state in Junos.

Why this answer

The 'show route protocol bgp next-hop' command displays all BGP next hops and indicates whether they are resolved in the routing table.

16
Multi-Selecthard

Which THREE actions occur during the BGP next-hop resolution process on a Junos device when evaluating an eBGP-learned route? (Choose THREE)

Select 3 answers
A.The BGP next-hop IP address is automatically rewritten to the local router loopback address by default for eBGP.
B.The resolved next-hop information along with the egress interface and MAC address are installed into the forwarding table.
C.Junos checks the active routing table (RIB) to find a resolving route for the BGP next-hop IP address.
D.Junos automatically ignores next-hop resolution if multipath is enabled.
E.If the next-hop IP address resolves to a discard or reject route, the BGP route is considered unusable and is hidden.
AnswersB, C, E

Once resolved, the forwarding plane programs the next hop with specific interface and adjacency details.

Why this answer

When eBGP routes are learned, the next hop is typically the IP address of the external peer. Junos must resolve this next-hop IP in the routing table (RIB-local) via an active IGP or static route, verify that the resolving route is valid and active, and program the forwarding table (FIB) with the resolved next hop.

17
MCQmedium

An enterprise network uses BGP communities to tag routes at regional branch offices. Headquarters needs to strip these specific communities from routes before advertising them to external transit providers. Which Junos routing policy action accomplishes this?

A.community delete target_community
B.community set target_community
C.as-path-remove target_community
D.metric set 0
AnswerA

The 'community delete' action removes the matched community string from the route.

Why this answer

Using the 'community delete' action within a routing policy removes specified communities from routes matching the policy.

18
MCQeasy

Which Junos configuration hierarchy is used to define a BGP peer group to simplify neighbor configurations?

A.routing-options autonomous-system
B.interfaces <interface-name> unit 0 family inet bgp
C.protocols bgp group <group-name>
D.policy-options community
AnswerC

The 'protocols bgp group' hierarchy allows shared configuration parameters across multiple BGP neighbors.

Why this answer

BGP peer groups and neighbor settings are configured under the 'protocols bgp group' hierarchy in Junos.

19
MCQmedium

An engineer is troubleshooting a BGP route reflection topology where a non-client IBGP peer sends a route to a route reflector. Will the route reflector reflect this route to other non-client IBGP peers?

A.Yes, all routes received by a route reflector are reflected to all peers regardless of client status.
B.No, route reflectors never reflect routes received from any IBGP peer.
C.No, routes received from a non-client peer are only reflected to client peers, not to other non-client peers.
D.Yes, provided the routes contain the same Cluster ID as the receiving non-client peer.
AnswerC

Non-client routes are reflected only to clients, enforcing partial mesh requirements for non-clients.

Why this answer

A route reflector reflects routes from clients to clients, clients to non-clients, and non-clients to clients, but it does NOT reflect routes received from a non-client to other non-client peers.

20
MCQeasy

You want to tag specific BGP routes with a community value using a Junos policy framework. Which configuration snippet correctly defines a community named 'CUSTOM-COMM' with value 65000:100?

A.set routing-options community-list CUSTOM-COMM value 65000:100
B.set protocols bgp group external community CUSTOM-COMM 65000:100
C.set policy-options community CUSTOM-COMM members 65000:100
D.set policy-options policy-statement CUSTOM-COMM community 65000:100
AnswerC

This is the correct syntax to define a BGP community member in Junos policy options.

Why this answer

In Junos, BGP communities are defined under 'policy-options community' with a name and the community value specified in format AS:number or target:AS:number.

21
Multi-Selecthard

When designing a BGP confederation architecture, which TWO rules govern how sub-AS numbers and attributes behave across confederation boundaries? (Choose two)

Select 2 answers
A.Sub-AS numbers are included in AS_CONFED_SEQUENCE attributes and are stripped when exiting the confederation.
B.External peers outside the confederation treat the confederation as a single autonomous system.
C.BGP multipath cannot be enabled across different member ASNs within the same confederation.
D.MED values are automatically removed across member AS boundaries regardless of configuration.
E.Local preference is discarded when passing routes between different member ASNs inside the confederation.
AnswersA, B

Confederation member ASNs are encapsulated in AS_CONFED segments and stripped at the outer boundary.

Why this answer

Confederations use AS_CONFED_SEQUENCE and AS_CONFED_SET segments to track internal paths, and strip them when advertising to external peers outside the confederation.

22
Multi-Selecteasy

Which TWO actions can be performed using Junos BGP routing policies? (Choose two)

Select 2 answers
A.Modifying the local preference attribute of incoming IBGP routes.
B.Dynamically altering the BGP session TCP handshake port numbers.
C.Filtering routes based on AS path regular expressions.
D.Adjusting the BGP keepalive timer values dynamically via policy match actions.
E.Manually assigning physical interface MTU sizes for BGP sessions.
AnswersA, C

Policies can set or adjust local preference for internal paths.

Why this answer

Junos routing policies can filter routes and modify path attributes such as local preference or MED.

23
MCQeasy

An operator configures a BGP routing policy to modify the Local Preference attribute. Under which BGP neighbor relationship type can Local Preference be advertised and evaluated?

A.BGP confederation member AS boundaries only
B.Both EBGP and IBGP peers equally
C.External BGP (EBGP) peers only
D.Internal BGP (IBGP) peers only
AnswerD

Local Preference is strictly an IBGP attribute used for routing within an autonomous system.

Why this answer

Local Preference is an IBGP attribute and is exchanged only between internal BGP peers within the same autonomous system.

24
Multi-Selecteasy

Which TWO statements describe characteristics of BGP route reflectors? (Choose two)

Select 2 answers
A.They rewrite the AS path length attribute for all reflected client routes.
B.They replace the underlying IGP entirely for packet forwarding.
C.They operate exclusively at Layer 2 switching boundaries.
D.They eliminate the requirement for a full-mesh IBGP topology within an autonomous system.
E.They require all internal non-client routers to maintain a full mesh with each other.
AnswersD, E

Route reflectors reduce IBGP sessions from n(n-1)/2 to a hub-and-spoke design.

Why this answer

Route reflectors reduce IBGP mesh requirements and reflect routes according to strict client/non-client rules.

25
Multi-Selecteasy

Which TWO attributes are considered transitive BGP path attributes? (Choose two)

Select 2 answers
A.MED (Multi-Exit Discriminator)
B.ORIGINATOR_ID
C.LOCAL_PREF
D.COMMUNITY
E.AS_PATH
AnswersD, E

COMMUNITY is an optional transitive attribute.

Why this answer

AS_PATH and COMMUNITY are standard well-known transitive and optional transitive attributes respectively, whereas LOCAL_PREF is well-known discretionary (non-transitive across AS).

26
MCQmedium

An engineer notices that a Junos device is not installing a BGP route into the forwarding table because the BGP next hop is unresolved. Which tool or command can be used to troubleshoot how the BGP next hop is being resolved in the Junos routing table?

A.show route resolution
B.show bgp summary
C.show bgp group
D.show route advertising-protocol bgp
AnswerA

The show route resolution command specifically details how Junos resolves next hops through active routing table entries.

Why this answer

To check BGP next-hop resolution, the 'show route resolution' command displays how next hops are resolved via the routing table (RIB-local), showing whether an active IGP or static route covers the BGP next-hop IP address.

27
MCQmedium

An administrator applies a policy containing 'as-path-prepend "65001 65001"' to outbound BGP updates sent to an external provider. What is the primary objective of this configuration?

A.To force the external peer to drop all updates due to an AS path loop check failure.
B.To enable BGP multipath load balancing across multiple external links.
C.To establish a confederation sub-AS relationship with the external provider.
D.To artificially increase the AS path length attribute to make this path less preferred by inbound traffic.
AnswerD

AS path prepending is a standard traffic engineering technique to make a route less attractive by lengthening the AS path.

Why this answer

Prepending the local AS number multiple times increases the AS path length attribute, making the path less desirable to external peers and manipulating inbound traffic engineering.

28
MCQmedium

When configuring a BGP confederation, how are external peers outside the confederation affected by the internal sub-AS structure?

A.They require explicit configuration of every member AS in their own EBGP import filters.
B.They see all member AS numbers prepended individually in the AS path.
C.They see only the top-level confederation AS number in the AS path attribute.
D.They reject all updates originating from a confederation due to AS path validation failures.
AnswerC

Confederation encapsulation hides internal sub-AS routing details from external ASNs.

Why this answer

External peers outside the confederation see only the top-level confederation AS number, as internal member AS numbers are stripped when exiting the confederation boundary.

29
MCQhard

A Junos router receives a BGP route containing multiple extended and large communities. The administrator writes a routing policy to filter routes based on large communities. Which format is used to define a large community in Junos policy-options?

A.as-number:identifier
B.large-community:global_administrator:local_data1:local_data2
C.target:as-number:identifier
D.ipv4-address:identifier
AnswerB

Junos uses the three-part format for defining large communities.

Why this answer

Large communities in Junos policy-options are defined using the format large-community:global_administrator:local_data1:local_data2.

30
MCQeasy

Which BGP community is a well-known transitive community used to prevent a route from being advertised outside of a local autonomous system?

A.no-peer
B.local-as
C.no-export
D.no-advertise
AnswerC

The NO_EXPORT community prevents routes from being advertised outside the local autonomous system.

Why this answer

The NO_EXPORT well-known community instructs a BGP peer not to advertise the affected route to any external BGP peers.

31
MCQhard

An administrator implements BGP entropy labels and path load balancing on a Junos routing platform. During packet forwarding for a BGP-learned IPv4 prefix with multiple equal-cost paths, how does Junos determine the output interface when hash-based load balancing is active?

A.Hashing selected packet header fields to compute an index into the set of resolved BGP next hops.
B.Using the lowest MED value among the multipath entries for every packet transmission.
C.Consulting the BGP Route Reflector cluster list to determine the optimal egress port.
D.Round-robin packet scheduling across all available BGP next hops regardless of flow headers.
AnswerA

Hash-based load balancing uses packet header fields to index into the BGP multipath next-hop array.

Why this answer

Junos hashes packet header fields (such as source/destination IP, ports, and optional hash keys or entropy labels) to select a specific path from the available BGP multipaths.

32
MCQhard

In a BGP confederation setup, two member ASNs (65001 and 65002) belong to a larger confederation AS (65100). When routes are advertised between these two member ASs, how is the AS path attribute handled?

A.The confederation AS number is prepended to the front of the path, removing all member AS numbers.
B.The member AS numbers are completely stripped and replaced by the confederation AS number.
C.The route is dropped by the receiving member AS due to an inter-AS loop prevention violation.
D.The member AS numbers are placed in AS_CONFED_SEQUENCE segments and are not treated as external AS hops.
AnswerD

AS_CONFED_SEQUENCE attributes track paths inside the confederation without affecting external AS path length calculations.

Why this answer

Confederation member AS numbers are included in the AS_CONFED_SEQUENCE attribute and are stripped when the route exits the confederation boundary.

33
MCQmedium

An engineer needs to ensure that routes received from an external BGP peer are evaluated using multipath load balancing across different next hops. By default, Junos requires several conditions to be met for multipath. Which condition is mandatory for BGP multipath to consider two paths as valid candidates?

A.The peer IP addresses must reside on the exact same subnet.
B.The IGP metric to the BGP next hop must be identical for all participating paths.
C.The advertising router IDs must be identical.
D.The cluster lists must be completely empty.
AnswerB

Equal IGP metric to the next hop is one of the strict default requirements for Junos BGP multipath unless explicitly relaxed.

Why this answer

To qualify for BGP multipath in Junos, multiple attributes must match by default, including AS path length, local preference, origin, MED, and the IGP metric to the respective next hops must be equal (or within an acceptable variance if configured).

34
MCQhard

An operator configures BGP attribute value manipulation using a Junos routing policy. Specifically, the policy uses 'as-path-action prepend' combined with community matching. When is this outbound policy evaluated relative to BGP route selection?

A.During the initial import processing from EBGP peers before next-hop resolution.
B.When advertising routes to a BGP peer, after the best path has been chosen.
C.Before the best path is selected, affecting the local routing table calculation.
D.During the route selection algorithm right after MED comparison.
AnswerB

Export policies apply to outgoing updates after the local router has determined its best path.

Why this answer

Outbound export policies are evaluated when advertising routes to peers, after the best path has been selected locally.

35
MCQhard

A network engineer is configuring a Junos routing device to use BGP Prefix-Independent Convergence (PIC) edge for faster failover. What is the fundamental mechanism that enables BGP PIC to achieve sub-second convergence upon primary path failure?

A.It bypasses the routing table entirely and queries the BGP route reflector directly upon failure.
B.It pre-installs a backup loop-free alternate (LFA) next hop in the forwarding plane for rapid hardware switching.
C.It forces the IGP to recalculate shortest paths immediately using fast-reroute without BGP participation.
D.It increases the BGP keepalive and hold timers to prevent session tearing during link flaps.
AnswerB

PIC pre-computes backup paths in the forwarding table, decoupling convergence time from the number of prefixes.

Why this answer

BGP PIC pre-computes a backup loop-free alternate next hop and installs it in the forwarding table alongside the primary next hop, allowing hardware-based failover.

36
Multi-Selecthard

An engineer is configuring BGP route resolution and next-hop tracking in Junos. Which TWO circumstances will cause a BGP next hop to be marked as unresolved or unusable? (Choose two)

Select 2 answers
A.The BGP next-hop IP address matches a directly connected interface subnet on the router.
B.The BGP neighbor session is established over a loopback interface using multihop.
C.The resolving route has an active loop-free alternate backup path installed.
D.The resolving route in the IGP routing table points to a discard or reject dead-end route.
E.No active route exists in the routing table to reach the BGP next-hop address.
AnswersD, E

Discard or reject resolving routes invalidate BGP next-hop resolution.

Why this answer

BGP next hops become unusable if the resolving route in the IGP table is missing, points to a discard/reject route, or lacks reachability.

37
Multi-Selectmedium

When configuring a BGP route reflector cluster in Junos, which THREE guidelines or operational behaviors should an engineer keep in mind? (Choose THREE)

Select 3 answers
A.A route reflector must never reflect routes received from a non-client peer back to other non-client peers.
B.Clients of a route reflector must be configured in a full iBGP mesh with each other.
C.Route reflectors automatically modify the AS_PATH attribute of all reflected routes.
D.The Originator ID attribute is added by the route reflector to prevent routing loops from client peers.
E.Redundant route reflectors within the same cluster must be configured with the same cluster ID.
AnswersA, D, E

Standard iBGP full-mesh rules apply between non-client peers; a route reflector reflects routes from clients to all clients and non-clients, and from non-clients to clients only.

Why this answer

Route reflectors reflect routes between clients and non-clients. Loop prevention uses Originator ID and Cluster List. Redundant RRs in the same cluster must share the same cluster ID to prevent routing loops and oscillation.

38
MCQhard

A Junos router is configured with BGP path selection, and multiple paths arrive with different MED values. Under what specific condition does Junos compare the MED values of paths from different autonomous systems during route selection?

A.Junos compares MEDs from different ASs when the AS path lengths are completely identical.
B.Junos compares MEDs from different ASs only when the 'always-compare-med' statement is configured under protocols bgp.
C.Junos never compares MEDs from different ASs under any circumstance.
D.Junos compares MEDs from different ASs automatically if the routes share the same IGP metric.
AnswerB

The 'always-compare-med' command forces MED comparison across different autonomous systems.

Why this answer

By default, Junos (like standard BGP implementations) only compares MEDs from different ASs if the 'always-compare-med' configuration is explicitly enabled.

39
Multi-Selectmedium

Which THREE methods can be used on Junos devices to influence inbound BGP traffic selection from external ASNs? (Choose three)

Select 3 answers
A.Adjusting the local preference attribute on incoming EBGP updates.
B.AS path prepending outbound to external peers.
C.Utilizing provider-supported BGP communities to influence upstream routing policies.
D.Changing the local router's weight attribute for incoming EBGP routes.
E.Sending specific MED values to external peers.
AnswersB, C, E

Prepending lengthens the AS path, making the path less desirable to external peers.

Why this answer

Inbound traffic from external peers can be influenced by AS path prepending, modifying MED, or utilizing specific BGP communities accepted by transit providers.

40
MCQeasy

An administrator is reviewing the BGP route selection process on a Junos device and notices that two paths have identical weights, local preferences, AS path lengths, origins, and MEDs. Which tie-breaking criterion does Junos evaluate next in the BGP route selection algorithm?

A.Preference for internal (IBGP) paths over external (EBGP) paths
B.Preference for the lowest IGP metric to the BGP next hop
C.Preference for the oldest route
D.Preference for the lowest router ID
AnswerA

Junos prefers IBGP paths over EBGP paths during the standard BGP route selection tie-breaking steps when earlier attributes are equal.

Why this answer

After comparing weight, local preference, AS path length, origin, and MED, Junos checks the routing table to prefer routes learned via internal peer (IBGP) over external peer (EBGP) before moving to router ID and IGP cost.

41
MCQmedium

A network engineer has configured BGP multipath on a Junos routing device using the 'multipath' statement under the routing-options bgp hierarchy. However, traffic is still only utilizing a single path. Which condition must be met for BGP multipath to become active for a destination prefix?

A.Multipath requires BGP prefix-independent convergence (PIC) to be explicitly enabled on all routing engines.
B.The next hops must be directly connected interfaces without relying on IGP resolution.
C.All paths must originate from the exact same autonomous system in the AS path attribute.
D.All competing BGP paths must have identical AS path lengths, local preference, origin, and MED.
AnswerD

Junos requires key attributes including AS path length, local preference, origin, and MED to match for multipath consideration.

Why this answer

For BGP multipath to be valid in Junos, the paths must have matching AS path lengths, local preferences, origins, and MEDs, along with valid next-hop resolution through the IGP.

42
Multi-Selectmedium

Which THREE conditions must be met for a Junos routing device to consider two BGP paths as valid candidates for multipath load balancing when standard multipath is configured? (Choose three)

Select 3 answers
A.The next hops must be resolvable via active routing table entries.
B.The paths must have identical local preference values.
C.The router IDs of the advertising peers must be identical.
D.The AS path lengths must be identical.
E.The route advertisement intervals must be synchronized across all peers.
AnswersA, B, D

Next-hop reachability and resolution via IGP or direct connection are mandatory.

Why this answer

Standard BGP multipath in Junos requires matching AS path lengths, local preferences, and valid IGP next-hop resolution, among other consistent attributes.

43
MCQmedium

A network administrator wants to advertise an aggregate BGP route while suppressing the more specific component routes from being sent to external peers. Which Junos routing-options configuration achieves this?

A.Configure the aggregate route with the 'summary-only' parameter under routing-options bgp.
B.Enable BGP dampening on the aggregate route and disable it on the component routes.
C.Apply a routing policy that sets the NO_EXPORT community on all component routes.
D.Configure an aggregate route with the 'discard' policy and apply an export policy that drops component routes.
AnswerA

The 'summary-only' parameter suppresses specific component routes when advertising the aggregate prefix.

Why this answer

Using the 'aggregate' statement with the 'summary-only' option generates the aggregate prefix and suppresses all component specific routes.

44
Multi-Selectmedium

Which THREE parameters are part of the standard Junos BGP route selection algorithm prior to evaluating the router ID? (Choose three)

Select 3 answers
A.Cluster List length
B.Weight (local to the router)
C.Local Preference
D.MED (Multi-Exit Discriminator)
E.Originator ID value
AnswersB, C, D

Weight is evaluated first in Junos BGP path selection.

Why this answer

Before router ID, Junos evaluates Weight, Local Preference, AS path length, Origin, MED, and IBGP vs EBGP preference.

45
MCQmedium

A network designer needs to implement BGP route reflection where multiple route reflectors are deployed in the same cluster to provide redundancy. What parameter must be identical across all route reflectors in that same cluster to prevent routing loops?

A.AS Path Prepend count
B.Local Preference value
C.Cluster ID
D.Router ID
AnswerC

Route reflectors in the same cluster must be configured with the identical Cluster ID.

Why this answer

Route reflectors within the same cluster must share the same Cluster ID so they can recognize and ignore routes reflected by their peer route reflector.

46
MCQmedium

An administrator configures BGP dampening on a Junos router to mitigate the impact of flapping routes. When a route exceeds the reuse threshold after being suppressed, what happens to its penalty value?

A.The penalty value is locked at the reuse threshold value indefinitely.
B.The penalty value is doubled to discourage further flapping.
C.The penalty value is instantly reset to zero.
D.The penalty value continues to decay exponentially until it drops to zero.
AnswerD

Penalties decay gradually over time based on the configured half-life.

Why this answer

When a dampened route's penalty decays below the reuse threshold, the route becomes eligible again, and its penalty continues to decay exponentially toward zero.

Ready to test yourself?

Try a timed practice session using only BGP Advanced questions.