Juniper certification · Exam JN0-351

JN0-351 Mock Exam Page 3

Enterprise Routing and Switching Specialist (JNCIS-ENT)

Free JN0-351 mock exam questions 21–30, each with the answer and an explanation.

20 questions · 28 minutes · free, no sign-up

Free JN0-351 questions

21–30 of 31 free
Question 21 Choose 2
Which two statements about redundant trunk groups on EX Series switches are correct? (Choose two.)
Show answerHide answer

Correct answer: B, C If the active link fails, then the secondary link automatically takes over. Layer 2 control traffic is permitted on the secondary link

Explanation

Explanation:

B. If the active link fails, then the secondary link automatically takes over.
This is correct. When the active link in a redundant trunk group (RTG) fails, the secondary link immediately begins forwarding data traffic without waiting for Spanning Tree Protocol (STP) convergence, minimizing network downtime . This failover is automatic and does not require manual intervention.

C. Layer 2 control traffic is permitted on the secondary link.
This is correct. While data traffic is blocked on the secondary link, Layer 2 control traffic (such as LLDP) is still permitted to pass . This allows monitoring and management protocols to function even on the standby link, which is a key design feature of RTGs.

Why other options are wrong:

A. Redundant trunk groups load-balance traffic across two designated uplink interfaces.
Incorrect. RTGs do not perform load balancing. Data traffic is forwarded only on the active link; the secondary link remains in standby mode, blocking data traffic . This is an active/standby redundancy mechanism, not an active/active load-balancing solution.

D. Redundant trunk groups must be connected to the same aggregation switch.
Incorrect. RTGs are designed specifically for connecting an access switch to two different distribution or aggregation switches for redundancy . The example topology shows Switch 3 (access) connected to Switch 1 and Switch 2 (two separate distribution switches) . This provides device-level redundancy, which would be defeated if both links went to the same switch.

References:

Juniper TechLibrary: "Understanding Redundant Trunk Links on EX Series Switches" – "If the active link fails, the secondary link automatically starts forwarding data traffic without waiting for normal STP convergence. While data traffic is blocked on the secondary link, Layer 2 control traffic is still permitted"
Question 22 Choose 2
Which two statements are correct about tunnels? (Choose two.)
Show answerHide answer

Correct answer: B, D Tunnel endpoints must have a valid route to the remote tunnel endpoint. Tunnels add additional overhead to packet size.

Explanation

Explanation:

B. Tunnel endpoints must have a valid route to the remote tunnel endpoint.
This is correct. For any tunnel (GRE, IP-IP, MPLS, etc.), the local endpoint must have a route to the destination IP address of the remote tunnel endpoint. This route is typically through the underlying physical network. Without this, the encapsulated packets cannot be delivered to the remote peer, and the tunnel interface cannot transition to the Up state.

D. Tunnels add additional overhead to packet size.
This is correct. Tunneling encapsulates the original packet inside a new outer header (e.g., GRE adds 4 bytes; IP-IP adds 20 bytes; GRE over IPv4 adds 24 bytes total). Each tunnel type has its own encapsulation overhead. This added overhead increases the overall packet size, which can cause fragmentation if the resulting frame exceeds the MTU of the physical interface. To compensate, tunnel MTU is often reduced.

Why other options are wrong:

A. BFD cannot be used to monitor tunnels.
Incorrect. BFD (Bidirectional Forwarding Detection) can be and frequently is used to monitor tunnels. Many tunnel types, including GRE and IP-IP, support BFD over the tunnel interface. BFD provides rapid failure detection, faster than standard protocol timers (e.g., GRE keepalives or routing protocol hellos). This is a common design for high‑availability networks. Juniper devices support BFD over GRE and IP-IP tunnels.

C. IP-IP tunnels are stateful.
Incorrect. IP-IP tunnels (RFC 2003) are stateless. They simply encapsulate an IPv4 packet inside another IPv4 header with protocol 4. No state information is maintained about the tunnel session, no sequence numbers, no flow control, and no retransmission. The tunnel interface is Up as long as the endpoint IPs are reachable. In contrast, stateful tunnels (e.g., IPsec in tunnel mode with certain features) maintain security association state. IP-IP is purely stateless.

References:

Juniper TechLibrary: “Tunnel Overview” – “The tunnel source and destination addresses must be routable in the underlying network. All tunnels add encapsulation overhead.”

Juniper TechLibrary: “BFD for GRE Tunnels” – “BFD can be configured over GRE tunnels to provide fast failure detection.”
Question 23 Choose 2
You want to use filter-based forwarding (FBF) on your Internet peering router to loadbalance traffic to two directly connected ISPs based on the source address. Which two statements are correct in this scenario? (Choose two.)
Show answerHide answer

Correct answer: B, C FBF uses the forwarding routing instance type. RIB groups are used to copy routes from the inet. o routing table.

Explanation

Explanation:

B. FBF uses the forwarding routing instance type.
This is correct. Filter‑Based Forwarding (FBF) is Juniper's equivalent to Policy‑Based Routing (PBR) on other platforms . To implement FBF, you create a routing instance with instance-type forwarding . This type creates a separate routing table (e.g., instance-name.inet.0) but does not require interfaces to be bound to it. Instead, interfaces remain in the default instance (inet.0), and a firewall filter redirects selected traffic to the forwarding routing instance for path selection . This is precisely what you need for source‑based load balancing between two ISPs.

C. RIB groups are used to copy routes from the inet.0 routing table.
This is correct. RIB (Routing Information Base) groups allow you to share routes between different routing tables . In an FBF scenario where you create a forwarding routing instance (e.g., ISP-A.inet.0), that instance initially has no routes. To make it functional, you need to copy the necessary routes (default routes, ISP routes) from the main routing table inet.0 into the instance's table. This is accomplished by configuring a RIB group that specifies export-rib inet.0 and import-rib [ inet.0 instance-name.inet.0 ] . The export-rib statement defines the source table from which routes are advertised .

Why other options are wrong:

A. FBF uses the no-forwarding routing instance type.
Incorrect. The no-forwarding instance type creates a separate routing table in the control plane but does not create a corresponding forwarding table in the Packet Forwarding Engine (PFE) . As confirmed by Juniper community experts, "FBF into that instance does not work by design" because there is no hardware forwarding entry for the redirected traffic to use . The no-forwarding type is useful for running multiple routing protocol instances without traffic separation, but it cannot support FBF .

D. RIB groups are used to hide routes in the inet.0 routing table.
Incorrect. RIB groups are used to copy, share, or import routes between tables — not to hide them . The export-rib statement specifies the source table for route advertisement, while import-rib specifies destination tables . Hiding routes is not a function of RIB groups; route filtering and hiding are performed using routing policies and firewall filters.

References:

Juniper CLI Explorer: "instance-type forwarding" – "Provide support for filter‑based forwarding, where interfaces are not associated with instances"

Juniper Community: "FBF and routing-instance no-forward" – "no-forwarding does not have a corresponding forwarding table, hence FBF does not work by design"
Question 24 Choose 1
Click the Exhibit button.

You want to redistribute the static routes into BGP, but they do not show as BGP routes. What causes this result to occur?
Show answerHide answer

Correct answer: A The static routes do not have a valid next hop.

Explanation

Explanation:

For a static route to be successfully redistributed into BGP (or any dynamic routing protocol), the route must first be active in the routing table. A route is marked as active only if its next hop is valid and recursively resolvable through other active routes in the table.

Why Other Options Are Incorrect

B. The as-path parameter must be specified.
— Incorrect. The AS path attribute is automatically added by BGP when a route is advertised. You do not need to manually specify an AS path for static routes to be redistributed into BGP.

C. A community string must be configured.
— Incorrect. BGP communities are optional transitive attributes used for tagging and policy application. They are never a requirement for redistributing static routes into BGP.

D. The no-readvertise feature is specified.
— Incorrect. The no-readvertise parameter is a specific static route option that prevents a route from being exported from the routing table into any dynamic routing protocol. If no-readvertise were configured, the static routes would still appear in show route (as they do in the exhibit), but the export policy would not be able to readvertise them. However, the question asks what causes the static routes to not show as BGP routes after attempting redistribution. While no-readvertise is a valid reason, it is not the most correct answer here because:

The question implies a general troubleshooting scenario rather than a specific misconfiguration
The exhibit shows a routing table without indicating no-readvertise is configured
With static route redistribution, the first and most common issue to verify is next-hop validity

References

Juniper TechLibrary: "Static routes are eligible to be readvertised... To mark an IPv4 static route as being ineligible for readvertisement, include the no-readvertise statement"

Pupuweb (JN0-351 exam discussion): "For successful redistribution of static routes into BGP, the static routes must have a valid next hop"
Question 25 Choose 2
Which two statements are correct about IS-IS? (Choose two.)
Show answerHide answer

Correct answer: B, C IS-IS has two metric types and Junos sends both by default. IS-IS sends a maximum metric value of 63 by default.

Explanation

Explanation:

B. IS-IS has two metric types and Junos sends both by default.
IS-IS uses two Type-Length-Value (TLV) pairs for metrics: the original narrow metrics (TLVs 1, 2, 6, 8, 9, 10) with a maximum value of 63, and the newer wide metrics (TLVs 22, 23, 25, 135, 222, 223) for traffic engineering support . By default, Junos OS sends both pairs of TLVs, supporting interoperability with older and newer IS-IS implementations simultaneously .

C. IS-IS sends a maximum metric value of 63 by default.
The original IS-IS metric specification limits individual link metrics to a maximum value of 63 . Total path cost is limited to 1023 by default. This narrow metric is sent in the original TLV pair. Only when you configure the wide-metrics-only statement does Junos support the extended metric range up to 16,777,215 .

Why other options are wrong:

A. IS-IS uses IPv6 as its transport protocol in the Junos OS implementation.
Incorrect. IS-IS runs directly over Layer 2 (Data Link Layer) using ISO CLNS (Connectionless Network Service), not over IPv4 or IPv6 . Unlike OSPF, IS-IS does not require an IP transport protocol. However, Junos OS supports IS-IS for both IPv4 and IPv6 routing natively—IPv6 routes are carried within the same IS-IS protocol without requiring a separate version . The transport remains ISO CLNS, not IPv6.

D. IS-IS only allows you to configure two areas.
Incorrect. IS-IS supports a hierarchical two-level structure (Level 1 for intra-area routing, Level 2 for inter-area routing), but you can configure many areas within a domain . The "two" refers to the levels, not the quantity of areas. Each Level 1 router belongs to one area, but a domain can contain numerous areas connected via Level 2 routers.

References:

Juniper TechLibrary: "Understanding Wide IS-IS Metrics for Traffic Engineering" – "IS-IS generates two TLV pairs... By default, Junos OS supports the sending and receiving of wide metrics. Junos OS allows a maximum metric value of 63 and generates both pairs of TLVs."

Juniper TechLibrary:"IS-IS Overview" – "IS-IS runs directly over Layer 2... The configuration for IPv6 and IPv4 is identical in the Junos OS implementation of IS-IS."
Question 26 Choose 1
You are using tunnels in your network. It is important that the routes be specific enough to ensure that the tunnels are established. You need to prevent a route that is new to the network from being used. In this scenario, which type of route should be used?
Show answerHide answer

Correct answer: A aggregate

Explanation

Explanation:

The question describes a scenario where routes must be specific enough to ensure tunnels are established, but a new route introduced to the network must be prevented from being used. This requires a route type that is conditional—it only becomes active when more specific routes (the "new" routes) are absent, and it can be suppressed when those more specific routes appear.

Why Other Options Are Wrong

B. anycast
– Incorrect. Anycast is a forwarding method, not a route type. It involves advertising the same IP prefix from multiple locations. It does not inherently prevent new routes from being used.

C. static
– Incorrect. Static routes are manually configured and always active (provided the next hop is valid). They do not automatically suppress themselves when newer, more specific routes appear. A static route could accidentally override new learned routes unless carefully managed with preferences.

D. multicast
– Incorrect. Multicast refers to one‑to‑many communication and multicast routing protocols (e.g., PIM, IGMP). It is not a route type designed for conditional activation based on more specific routes.

References:

Juniper TechLibrary: "Understanding Aggregate Routes" – "An aggregate route is considered active only when at least one contributing route exists in the routing table."

JNCIS‑ENT Study Guide (Routing Policy & Aggregates) – "Aggregate routes can be suppressed using policies to prevent their advertisement when more‑specific routes are present."
Question 27 Choose 2
Which two statements are correct about link aggregation? (Choose two.)
Show answerHide answer

Correct answer: B, D Member links must use the same MTU. C.All RE-generated traffic traverses the lowest member link.

Explanation

Explanation:

B. Member links must use the same MTU.
This is correct. All member links in a Link Aggregation Group (LAG) must have consistent settings, including the same Maximum Transmission Unit (MTU), speed, and duplex mode. MTU mismatches can cause traffic drops or prevent the LAG from forming properly.

D. LAGs provide physical layer redundancy.
This is correct. Link Aggregation Groups provide redundancy by bundling multiple physical interfaces into a single logical link. If one member link fails, traffic continues on the remaining links without disruption. This increases overall network availability and reliability.

Why Other Options Are Wrong

A. IP traffic is hashed using source and destination MAC addresses.
Incorrect. By default, Juniper's implementation of 802.3ad (LAG) balances traffic based on Layer 3 information carried in the packet (source/destination IP addresses), not MAC addresses. While you can configure MAC-based hashing using the multiservice family option with source-mac and destination-mac statements, this is not the default behavior and is not standard for IP traffic.

C. All RE-generated traffic traverses the lowest member link.
Incorrect. Routing Engine (RE)-generated traffic does not always traverse the lowest member link. Traffic distribution depends on the hash algorithm used for load balancing. RE-generated control traffic can use any link in the LAG bundle based on the hashing mechanism, not exclusively the lowest-numbered member link.

References

Juniper TechLibrary:"Load Balancing for Aggregated Ethernet Interfaces" – Default LAG load balancing uses Layer 3 information, not MAC addresses

Juniper TechLibrary: "Understanding Virtual Chassis Port Link Aggregation" – "Link aggregation provides network redundancy by load-balancing traffic across all available links"
Question 28 Choose 2
You are asked to configure a redundant trunk group (RTG). Which two requirements would accomplish this task? (Choose two.)
Show answerHide answer

Correct answer: C, D Interfaces within an RTG must be configured as trunk ports. Both interfaces of an RTG must be configured to service the same VLANS

Explanation

✅ Explanation:

C. Interfaces within an RTG must be configured as trunk ports.
This is correct. A redundant trunk group (RTG) is, as the name implies, designed specifically for trunk interfaces. Juniper's official documentation explicitly states that before you configure an RTG, you must have "configured at least two interfaces with their port mode set to trunk". The trunk interfaces carry multiple VLANs between the access switch and distribution switches. While some community discussions suggest access ports might theoretically work, the Juniper certification expects the documented requirement: RTG interfaces must be trunk ports.

D. Both interfaces of an RTG must be configured to service the same VLANs.
This is correct. For an RTG to function properly, both member trunk interfaces must have identical VLAN configurations. Juniper's J-Web configuration guide explicitly lists as a prerequisite: "All the selected trunk interfaces to be added to the RTG have the same VLAN configuration". This ensures seamless failover—when the active link fails and the secondary link takes over, traffic continues flowing on the same VLANs without disruption.

❌ Why Other Options Are Wrong

A. The RTG must be participating in a Spanning Tree topology.
Incorrect. This is the opposite of a requirement. RTG is specifically designed as an alternative to Spanning Tree Protocol (STP) to achieve faster convergence. Juniper's documentation explicitly states: "The selected trunk interfaces are not part of a spanning-tree configuration". In fact, "an interface is not allowed to be in both a redundant trunk group and in a spanning-tree protocol topology at the same time". You must disable STP on all interfaces that are part of an RTG.

B. Interfaces within an RTG can be configured as access ports.
Incorrect. RTG is designed for trunk ports carrying multiple VLANs between distribution and access layers. While some online discussions debate whether access ports could work, Juniper's official documentation is clear: interfaces in an RTG must be configured with "port mode set to trunk". The feature is called "Redundant Trunk Group" for this reason.

📚 Reference

Juniper Networks Documentation:"Redundant Trunk Groups" - "Configured at least two interfaces with their port mode set to trunk"

Juniper J-Web Guide: "Configuring Redundant Trunk Groups" - RTG prerequisites include interfaces not part of spanning-tree and same VLAN configuration
Question 29 Choose 2
You deployed a new EX Series switch with DHCP snooping enabled and you do not see any entries in the snooping databases for an interface. Which two Juniper configurations for that interface caused this issue? (Choose two.)
Show answerHide answer

Correct answer: A, C The interface is configured as a disabled port. The interface is configured as a trunk port.

Explanation

Explanation:

A. The interface is configured as a trunk port.
This is correct because, by default, all trunk ports on an EX Series switch are trusted for DHCP snooping. DHCP snooping does not create binding entries for DHCP messages received on trusted ports. The switch only snoops and records IP-MAC bindings from DHCP messages received on untrusted access ports to secure the network against spoofing attacks.

C. The interface is configured as a disabled port.
This is correct. If an interface is administratively disabled (shut down), it cannot send or receive any traffic, including DHCP messages. Without DHCP traffic passing through the interface, the switch has no DHCP messages to snoop, and thus no entries are added to the DHCP snooping database for that interface.

❌ Why the Other Options Are Incorrect

B. MAC limiting is enabled on the interface.
MAC limiting is a feature that restricts the number of MAC addresses that can be learned on an interface. While it can be configured alongside DHCP snooping for port security, MAC limiting does not prevent DHCP snooping from creating binding entries. A device can successfully obtain a DHCP lease and have its IP-MAC binding recorded in the database until the MAC limit is exceeded.

D. Dynamic ARP inspection is enabled on the interface.
DAI relies on the DHCP snooping binding database to validate ARP packets. Enabling DAI does not stop DHCP snooping; in fact, in Juniper OS, configuring DAI automatically enables DHCP snooping on that VLAN. DAI actively uses the database entries created by DHCP snooping, so this configuration would not prevent the creation of those entries.

📚 Reference

Juniper Networks Documentation: "Understanding DHCP Snooping for Port Security on EX Series Switches" — "By default, all trunk ports on the switch are trusted and all access ports are untrusted for DHCP snooping."

Juniper Networks Documentation: "Enabling DHCP Snooping (CLI Procedure)" — "You configure DHCP snooping for each VLAN, not for each interface (port). By default, DHCP snooping is disabled for all VLANs."
Question 30 Choose 1
You have deployed a Juniper EX Series switch in the network. The switch receives a unicast frame destined to a MAC address that is not registered in the bridging table. Which statement describes the behavior of the switch?
Show answerHide answer

Correct answer: B The frame is flooded out all ports that are part of the same VLAN, except the receiving port.

Explanation

Explanation:

When a Juniper EX Series switch (or any Ethernet bridge/switch) receives a unicast frame whose destination MAC address is not present in its MAC address table (bridging table), the switch does not know which specific port the destination device resides on. This situation is called an unknown unicast.

Why other options are wrong:

A. The frame is flooded out all ports in all VLANs configured on the switch.
Incorrect. Flooding is limited to the specific VLAN associated with the frame. Flooding across all VLANs would violate Layer 2 domain separation and create major security and performance issues.

C. The switch performs an ARP request to discover the MAC address of the destination host.
Incorrect. ARP is used by IP hosts to resolve IP addresses to MAC addresses, not by a switch to find a MAC address for an incoming unicast frame. Switches do not generate ARP requests for unknown destination MACs.

D. The switch sends an error message to the sender declaring that the host is unreachable.
Incorrect. Ethernet switching does not provide error feedback for unknown unicast destinations. The switch simply floods the frame; if the destination does not exist, the frame is silently dropped.

Reference

JNCIS‑ENT Study Guide (Layer 2 Switching / Bridging) – "A switch floods unknown unicast frames out all ports in the same VLAN except the ingress port."

Juniper TechLibrary: “Ethernet Switching and VLANs” – “When a frame with an unknown destination MAC address arrives, the switch floods it to all ports within the VLAN to locate the destination.”
Full mock exam

Sit the JN0-351 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-351 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-351 mock exam
  • 65questions per mock
  • 90 mintime limit
  • 106questions in the bank
  • Newmock on every attempt