Juniper certification · Exam JN0-364

JN0-364 Mock Exam Page 2

Service Provider Routing and Switching - Specialist (JNCIS-SP)

Free JN0-364 mock exam questions 11–19, each with the answer and an explanation.

19 questions · 27 minutes · free, no sign-up

Free JN0-364 questions

11–19 of 19 free
Question 11 Choose 1
You have configured an MPLS LSP that begins on R1 and terminates on R5 using the Junos default settings. Referring to the exhibit, which router will perform only label swap operations?
Show answerHide answer

Correct answer: B R3

Explanation

Explanation:

In a standard MPLS Label Switched Path (LSP), routers perform different operations based on their position in the path:

Ingress LSR (R1): Perfroms a Label Push. It receives an unlabeled IP packet, determines the forwarding class/destination, and pushes a label onto the packet before sending it to the next hop.

Transit LSR (R3): Performs a Label Swap. It receives a labeled packet, looks up the label in the mpls.0 table, and swaps the incoming label with a new outgoing label toward the next hop.

Penultimate LSR (R4): Performs PHP (Penultimate Hop Popping) by default in Junos. Because R5 (the egress) advertises an "Implicit Null" label (Label 3) to R4, R4 will pop the label and send a raw IP packet to R5.

Egress LSR (R5): Performs a Route Lookup. Since the label was already popped by R4, R5 receives an IP packet and performs a standard lookup in inet.0.

Why the Other Options are Incorrect

A. R4: As the penultimate hop, it performs a pop operation (removing the label) rather than a swap, ensuring the egress router (R5) doesn't have to perform two lookups (one for the label and one for the IP).

C. R5: As the egress router, it handles the final packet. Under default Junos settings (PHP), it receives the packet with no label at all.

D. R1: As the ingress router, it performs a push operation to initiate the MPLS journey.

References

RFC 3031: Multiprotocol Label Switching Architecture, defining the roles of Ingress, Transit, and Egress LSRs.

Juniper Networks Technical Publication: Junos OS MPLS Configuration Guide, section on "Label Operations and PHP."
Question 12 Choose 1
By default, which routing table contains a list of all ingress LSPs?
Show answerHide answer

Correct answer: B inet.3

Explanation

Explanation:

In Junos OS, the inet.3 table is specifically designated as the MPLS Path Information Table. It is the primary location where the local router stores information about all Label Switched Paths (LSPs) for which it acts as the ingress node.

When an LSP is successfully established (via RSVP or LDP), the exit point (egress) of that LSP is placed into the inet.3 routing table. This table is then used by BGP to resolve its next-hop addresses. If BGP finds a match for its next hop in inet.3, it knows it can forward that traffic through an MPLS tunnel instead of using standard IP routing.

It is important to note that, by default, the routes in inet.3 are only used for BGP next-hop resolution and are not used for standard IPv4 traffic lookups unless specifically configured otherwise (such as using traffic-engineering bgp-igp-both-ribs).

Why the Other Options are Incorrect

A. inet.2:
This table is used for Multicast Source Discovery Protocol (MSDP) and is involved in Unicast Reverse Path Forwarding (uRPF) checks for multicast traffic. It does not store LSP information.

C. inet.1:
This table is used to store multicast forwarding cache information (the Multicast Forwarding Information Base).

D. inet.0:
This is the default IPv4 unicast routing table. While it contains routes learned via IGPs (OSPF, IS-IS) and BGP, it does not store ingress LSP information by default.

References

Juniper Networks Technical Publication: Junos OS MPLS Configuration Guide, section on "MPLS Routing Tables."

JNCIS-SP Study Materials: Domain: MPLS Operations and Next-Hop Resolution.

Day One: Configuring MPLS: Explains the functional difference between inet.3 (for BGP) and mpls.0 (for transit).
TopicTunnels
Question 13 Choose 2
Which two statements regarding GRE and IP-IP tunnels are correct? (Choose two.)
Show answerHide answer

Correct answer: A, D These tunnels add additional overhead to the packets that traverse them.These tunnels do not offer encryption mechanisms.

Explanation

Explanation:

Both GRE (Generic Routing Encapsulation) and IP-IP (IP-in-IP) are tunneling protocols used to encapsulate one packet inside another to transport data across a network.

Overhead (A):
When a packet is tunneled, a new delivery header is prepended to the original packet.

Lack of Encryption (D):
By default, both GRE and IP-IP are "clear-text" tunneling protocols. They provide a logical path for data but do not provide confidentiality, integrity, or authentication. If security is required, these tunnels must be wrapped within IPsec to encrypt the payload.

Why the Other Options are Incorrect

B. These tunnels do not add any overhead:
This is mathematically impossible in networking. Any encapsulation process requires at least a new header to route the packet to the tunnel endpoint, which inherently adds bytes (overhead) to the original payload.

C. These tunnels offer secure encryption mechanisms:
This is a common misconception. While GRE is often used with IPsec, GRE itself has no built-in encryption capability. It simply "hides" the inner protocol (like OSPF or IS-IS) so it can be routed over an IP network.

References

RFC 2784: Generic Routing Encapsulation (GRE), which defines the protocol and its header structure.

RFC 2003: IP Encapsulation within IP, detailing the IP-in-IP mechanism and its 20-byte overhead.
Question 14 Choose 2
Exhibit:

user@Router-1> show route 172.24/16
inet.0: 9 destinations, 9 routes (9 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both
...
172.24.0.0/24 *[OSPF/150] 01:31:31, metric 0, tag 0
> to 172.20.0.2 via ge-0/0/2.0
to 172.20.1.2 via ge-0/0/3.0
user@Router-1> show route forwarding-table
Routing table: default.inet

Internet:

Destination Type RtRef Next hop Type Index NhRef Netif
...
172.24.0.0/24 user 0
172.20.0.2 ucst 551 2 ge-0/0/2.0
172.20.1.2 ucst 552 2 ge-0/0/3.0

Referring to the exhibit, which two statements are true? (Choose two.)
Show answerHide answer

Correct answer: A, C The router is performing default route load-balancing behavior.This router will only choose the next hop with a > next to it in the routing table.

Explanation

Explanation:

The exhibit shows a discrepancy between the Routing Table (RIB) and the Forwarding Table (FIB), which is the key to understanding how Junos handles multiple equal-cost paths by default.

Routing Table Behavior (C):
In the show route output, two next hops are listed for the 172.24.0.0/24 route. However, notice the > symbol next to the first next hop (to 172.20.0.2 via ge-0/0/2.0). In Junos, this symbol identifies the selected path that is actually installed in the forwarding engine. Even though OSPF has provided two equal-cost paths, the routing engine selects only one to be active by default.

Default Load-Balancing (A):
By default, Junos performs "per-prefix" load balancing (which essentially means no load balancing for a single destination). Even if multiple equal-cost paths exist in the RIB, only one next hop is pushed to the Forwarding Table (FIB). The show route forwarding-table output confirms this: although it lists both potential next hops, it lacks the "ulst" (unicast list) or "indr" (indirect) structures typically seen when active load balancing is configured.

Why the Other Options are Incorrect

B. The default route load-balancing behavior of this router has been modified:
If the behavior had been modified (typically via a policy-statement with then load-balance per-packet applied to the forwarding table), the show route forwarding-table output would show a multipath or list entry, and the show route output would likely show both routes as active (both having the * and > symbols).

D. This router will choose both next hops in the routing table:
As shown by the single > in the routing table and the lack of a balanced structure in the forwarding table, the router is only using one physical interface to reach that destination.

References

Juniper Networks Technical Publication: Junos OS Routing Protocols Configuration Guide, section on "Configuring Load Balancing."

JNCIS-SP Study Guide: Domain: Routing Policy and Load Balancing.
TopicIPv6
Question 15 Choose 2
Which two protocols would be used for dynamic routing in IPv6 environments? (Choose two.)
Show answerHide answer

Correct answer: B, D IS-ISBGP

Explanation

Explanation:

To support IPv6 routing, dynamic routing protocols must be capable of carrying 128-bit addresses and handling IPv6-specific next-hop attributes.

IS-IS (B):
IS-IS is a link-state protocol that uses Type-Length-Values (TLVs) to carry routing information. Because it runs directly on Layer 2 (using its own CLNS encapsulation) rather than on top of IP, it was easily extended to support IPv6. By simply adding new TLVs (specifically TLV 236 for IPv6 Reachability and TLV 232 for IPv6 Interface Address), IS-IS can carry both IPv4 and IPv6 information simultaneously within the same adjacencies (Multi-Topology IS-IS).

BGP (D):
Multiprotocol BGP (MP-BGP), defined in RFC 4760, allows BGP to carry routing information for multiple "Address Families." By enabling the family inet6 unicast NLRI (Network Layer Reachability Information), BGP can exchange IPv6 prefixes. It remains the standard protocol for routing IPv6 across Autonomous Systems.

Why the Other Options are Incorrect

A. IGMP:
The Internet Group Management Protocol is used for IPv4 multicast group management (hosts signaling to routers that they want to receive a multicast stream). In IPv6, this function is replaced by MLD (Multicast Listener Discovery). Neither is a dynamic routing protocol.

C. OSPFv2:
OSPF version 2 was designed strictly for IPv4. While it is a dynamic routing protocol, it cannot carry IPv6 prefixes. To route IPv6 using OSPF, you must use OSPFv3, which was rewritten to be address-family independent.

References

RFC 4760: Multiprotocol Extensions for BGP-4.
RFC 5308: Routing IPv6 with IS-IS.
Juniper Networks Technical Publication: Junos OS IPv6 Configuration Guide.
Question 16 Choose 1
What prevents routing loops in a single-area OSPF network?
Show answerHide answer

Correct answer: A The Dijkstra algorithm

Explanation

Explanation:

OSPF (Open Shortest Path First) is a link-state routing protocol. Within a single area, the primary mechanism for preventing loops is the fundamental way link-state protocols process map data.

Complete Topology Map: Every router in a single OSPF area maintains an identical Link-State Database (LSDB). This database is essentially a map of every router and every link in the area.

The Dijkstra Algorithm (Shortest Path First): Each router independently runs the Dijkstra algorithm using itself as the root (the starting point). Because every router is calculating the shortest path based on a complete, identical map of the network, the resulting paths are mathematically guaranteed to be loop-free.

Loop Prevention vs. Distance Vector:
Unlike Distance Vector protocols, which only know the "distance" and "direction" to a destination (and thus can fall victim to "rumors" or count-to-infinity loops), OSPF routers know exactly how every piece of the puzzle fits together.

Why the Other Options are Incorrect

B. Routing policies:
Routing policies in Junos are used to manipulate which routes are accepted or advertised, but they are not the underlying mechanism that prevents loops in a link-state protocol.

C. The Bellman-Ford algorithm:
This algorithm is used by Distance Vector protocols (like RIP). Bellman-Ford is susceptible to routing loops, which is why protocols using it require additional mechanisms like Split Horizon, Poison Reverse, and Hold-down timers.

D. Forwarding policies:
Forwarding policies (such as Filter-Based Forwarding) dictate how packets are handled at the hardware level but do not participate in the calculation of a loop-free control plane topology.

References:

RFC 2328:OSPF Version 2, which specifies the use of the Dijkstra algorithm for path calculation.

Juniper Networks Technical Publication: Junos OS Routing Protocols Configuration Guide, Chapter: "OSPF Overview."
Question 17 Choose 1
You are monitoring OSPF on a router and notice frequent state changes between Full and Down. Which condition would cause this behavior?
Show answerHide answer

Correct answer: A physical interface flapping

Question 18 Choose 1
Exhibit:

user@R10> show configuration protocols isis
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface lo0.0;
source-packet-routing {
srgb start-label 300000 index-range 10000;
}
level 1 disable;
level 2 wide-metrics-only;
reference-bandwidth 100g;

You have a network of ten routers that have all been configured with an identical SRGB. The exhibit shows the IS-IS configuration from a router called R10. The other nine routers do not yet have an IPv4 shortest-path SR-MPLS LSP to this router. Which missing part of the configuration must you add on R10 to solve this problem?
Show answerHide answer

Correct answer: D R10 must be configured with an explicit IPv4 node SID.

Question 19 Choose 1
For two or more switches to participate in the same MSTP region, which parameter must match?
Show answerHide answer

Correct answer: A Region name

That's the last free question

You've seen the free 30% (19 of 65 questions). Full access unlocks every question and full-length JN0-364 mock exams (65 questions, 90 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the JN0-364 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-364 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full JN0-364 mock exam
  • 65questions per mock
  • 90 mintime limit
  • 65questions in the bank
  • Newmock on every attempt