Courseiva

Juniper Networks Certified Associate Junos JNCIA-Junos (JN0-106) — Questions 226–300

326 questions total · 5 pages · All types, answers revealed

Page 3

Page 4 of 5

Page 5
226
MCQmedium

A network engineer needs to commit a configuration change but wants to ensure the change can be easily reverted if it causes issues. Which approach should the engineer take?

A.Use the 'commit and-quit' command to apply changes.
B.Use the 'commit confirmed' command with a timeout.
C.Use the 'commit check' command before committing.
D.Use the 'rollback 0' command after committing.
AnswerB

The 'commit confirmed' command with a timeout (e.g., 'commit confirmed 5') activates the configuration for a temporary interval, defaulting to 10 minutes. If the administrator does not issue a confirming 'commit' before the timer expires, Junos automatically rolls back to the previous configuration. This self-reverting behavior prevents permanent lockouts caused by misconfigured access settings.

Why this answer

The 'commit confirmed' command allows the engineer to commit a configuration change with a default timeout of 10 minutes (configurable). If the change causes issues and the engineer does not confirm the commit within the timeout period, Junos automatically reverts to the previous active configuration, providing a safe rollback mechanism.

Exam trap

The trap here is that candidates often confuse 'commit check' (syntax validation) with a rollback mechanism, or assume 'rollback 0' provides automatic reversion, when in fact it requires manual execution after the fact.

How to eliminate wrong answers

Option A is wrong because 'commit and-quit' is not a valid Junos command; the correct command is 'commit and-quit' to exit the configuration mode after committing, but it does not provide any automatic rollback capability. Option C is wrong because 'commit check' only validates the syntax and semantics of the candidate configuration without applying it; it does not allow reverting a change after it has been committed. Option D is wrong because 'rollback 0' reverts to the most recently committed configuration, but it must be issued manually after the change is already active, and it does not provide an automatic or timed rollback.

227
Multi-Selecthard

Which three characteristics are true for OSPF? (Choose three.)

Select 3 answers
A.Uses the Bellman-Ford algorithm
B.Supports VLSM (Variable Length Subnet Masks)
C.Uses cost as the metric
D.Uses the SPF (Shortest Path First) algorithm
E.Is classful and does not support VLSM
AnswersB, C, D

OSPF is a classless routing protocol, meaning it carries the subnet mask in its routing updates, enabling VLSM and CIDR. This allows different interfaces on the same network to use different-length subnet masks, optimizing address space utilization. In contrast, classful protocols like RIPv1 cannot advertise subnet masks and thus cannot support VLSM, whereas OSPF's type-1 and type-3 LSAs explicitly include the mask.

Why this answer

OSPF is a link-state routing protocol that supports VLSM (Variable Length Subnet Masks), so option B is correct because it carries subnet mask information in its LSAs, allowing classless, hierarchical addressing. Option C is correct because OSPF's default metric is cost, which is derived from interface bandwidth (reference bandwidth divided by interface bandwidth). Option D is correct because OSPF uses the Dijkstra Shortest Path First (SPF) algorithm to compute the loop-free shortest-path tree from the link-state database.

Option A is incorrect because the Bellman-Ford algorithm is used by distance-vector protocols such as RIP, not OSPF. Option E is incorrect because OSPF is classless and explicitly supports VLSM, contradicting the statement.

Exam trap

The trap here is that candidates often confuse OSPF's metric (cost) with hop count or bandwidth, or mistakenly think OSPF is classful like RIPv1, but OSPF is inherently classless and uses a link-state algorithm, not Bellman-Ford.

228
MCQmedium

An engineer issues the 'rollback 3' command in configuration mode. What is the effect?

A.The candidate configuration is saved as the third rollback slot.
B.The candidate configuration is replaced with the configuration from three commits ago.
C.The active configuration is replaced with the candidate configuration.
D.The device reboots and loads configuration version 3.
AnswerB

When an engineer issues 'rollback 3' in Junos configuration mode, Junos loads the configuration snapshot that was active exactly three commits ago from the rollback store into the candidate configuration. Rollback identifies the desired version by its commit counter offset from the current committed configuration, not by a slot number in a list. The candidate now contains that older configuration, which must be reviewed and committed to make it active.

Why this answer

The 'rollback 3' command in Junos configuration mode replaces the current candidate configuration with the configuration from the third most recent commit. Junos maintains up to 50 rollback slots (numbered 0 through 49), where slot 0 is the most recent commit, slot 1 is the commit before that, and so on. Therefore, 'rollback 3' retrieves the configuration saved three commits ago, overwriting any uncommitted changes in the candidate configuration.

Exam trap

The trap here is that candidates often confuse 'rollback' with 'commit' or 'save' operations, mistakenly thinking it saves the current candidate configuration rather than retrieving a previous one, or they assume it directly modifies the active configuration without requiring a subsequent commit.

How to eliminate wrong answers

Option A is wrong because the 'rollback' command does not save the candidate configuration; it retrieves a previously committed configuration from a rollback slot. Saving the candidate configuration to a specific rollback slot is done with the 'commit confirm' or 'commit at' commands, not 'rollback'. Option C is wrong because the 'rollback' command does not replace the active (running) configuration; it only modifies the candidate configuration, which must then be committed to become active.

Option D is wrong because 'rollback' does not cause a reboot or load a configuration version from a file; it simply loads a previously committed configuration into the candidate configuration space from the device's rollback database.

229
MCQeasy

You are a network administrator for a service provider that uses Juniper MX series routers to provide MPLS VPN services to customers. Management has requested that you implement a secure out-of-band management (OOBM) solution for all MX routers to ensure that management traffic is isolated from the production network, reducing the risk of unauthorized access and management plane attacks. You are tasked with designing the OOBM solution using a dedicated management interface (me0) and a separate management routing instance. Which of the following best practices should you follow?

A.Place me0 in the inet.0 routing table and rely on static routes
B.Enable VLAN tagging on me0 to separate management traffic into different subnets
C.Configure the me0 interface in the default routing instance with a simple ACL
D.Create a dedicated routing instance for management, assign me0 to it, and apply a firewall filter to restrict access
AnswerD

Creating a dedicated routing instance creates a separate RIB/FIB context for management, so me0's traffic never shares routes with production. Assigning me0 to that instance ensures incoming and outgoing management packets use only that isolated table. Applying a firewall filter on the interface or within the instance provides granular control over allowed sources/ports, while the routing-instance separation prevents transit use and route leakages. This combination is the recommended approach for out-of-band management isolation in Junos.

Why this answer

It follows Juniper's best practice for OOBM: creating a dedicated management routing instance (e.g., mgmt_junos) and assigning the me0 interface to it. This ensures management traffic is completely isolated from the production routing table (inet.0), preventing management plane attacks and unauthorized access. Applying a firewall filter on the me0 interface further restricts access to only authorized management hosts, aligning with security hardening guidelines.

Exam trap

The trap here is that candidates assume VLAN tagging (Option B) is a valid method for separating management traffic on any interface, but the me0 interface on Juniper MX routers does not support VLAN tagging as it is a dedicated Layer 3 out-of-band port, not a trunk port.

How to eliminate wrong answers

Option A is wrong because placing me0 in the inet.0 routing table mixes management traffic with production traffic, defeating the purpose of OOBM isolation and exposing the management plane to potential attacks. Option B is wrong because VLAN tagging on me0 is not supported; the me0 interface is a dedicated out-of-band management port that operates at Layer 3 and does not support subinterfaces or VLAN tagging. Option C is wrong because keeping me0 in the default routing instance (inet.0) does not isolate management traffic; a simple ACL is insufficient for full isolation, and the default instance is shared with production routes, violating OOBM principles.

230
MCQhard

Refer to the exhibit. The route for 192.168.0.0/16 is hidden. What is the most likely reason?

A.The BGP next-hop is unreachable
B.The route has a lower local preference
C.The route has a longer AS path
D.The route has a higher MED value
AnswerA

In Junos, a BGP route is considered 'hidden' when it cannot be installed into the inet.0 routing table because its BGP next-hop address is not resolvable by an active IPv4 or IPv6 route. The route remains in the BGP database (Adj-RIB-In) but is excluded from forwarding and from best-path selection. Use 'show route protocol bgp hidden' to display such routes; as soon as next-hop reachability is restored, the route becomes visible and active.

Why this answer

In JUNOS, a BGP route is hidden when the next-hop address is not reachable via any active route in the routing table. The router cannot install the route into the forwarding table because it lacks a valid path to the next-hop, causing the route to be marked as hidden. This is a common issue when the next-hop is not covered by a directly connected or static route, or when the IGP route to the next-hop is missing.

Exam trap

The trap here is that candidates often confuse route selection attributes (like local preference, AS path, MED) with route installation conditions, assuming a less preferred attribute hides the route, when in fact only next-hop unreachability or policy-based rejection can cause a route to be hidden in JUNOS.

How to eliminate wrong answers

Option B is wrong because local preference is a BGP path attribute used for route selection within an AS, but it does not cause a route to be hidden; a lower local preference would simply make the route less preferred but still active. Option C is wrong because a longer AS path affects route selection by making the route less preferred, but it does not hide the route; the route remains visible in the routing table. Option D is wrong because a higher MED value influences route selection between multiple paths to the same prefix, but it does not cause a route to be hidden; the route would still be active if the next-hop is reachable.

231
MCQmedium

An organization has two ISPs and wants to load-balance traffic equally across both links for all outbound traffic. Which routing configuration approach should be used?

A.Configure two static default routes with different metric values.
B.Configure policy-based routing to match all traffic and forward to both ISPs.
C.Configure two static default routes with equal metric values and enable ECMP.
D.Establish BGP sessions with both ISPs and rely on BGP path selection.
AnswerC

In Junos, two static default routes with equal metrics have the same preference and are both installed in the routing table as equal-cost paths. To actually balance traffic, you must enable ECMP, typically by configuring 'load-balance per-packet' in the forwarding options or a policy statement. This allows Junos to distribute flows across both ISPs while maintaining per-flow consistency, which is essential for TCP sessions.

Why this answer

Configuring two static default routes with equal metric values and enabling Equal-Cost Multi-Path (ECMP) allows the Juniper device to load-balance outbound traffic equally across both ISP links. ECMP uses per-flow or per-packet load balancing based on the hash of source/destination IP addresses and ports, ensuring traffic is distributed evenly without relying on dynamic routing protocols.

Exam trap

The trap here is that candidates often confuse metric (cost) with preference (administrative distance) in Junos, assuming that different metric values still allow load balancing, whereas Junos requires equal metric values for ECMP to activate.

How to eliminate wrong answers

Option A is wrong because configuring two static default routes with different metric values results in only the route with the lower metric being active in the routing table, providing failover but not load balancing. Option B is wrong because policy-based routing (PBR) can forward traffic based on match criteria, but it does not inherently load-balance equally across two links without additional configuration like filter-based forwarding and per-packet load balancing, which is not the standard approach for simple equal load sharing. Option D is wrong because establishing BGP sessions with both ISPs and relying on BGP path selection does not guarantee equal load balancing; BGP selects only the best path based on attributes like local preference and AS path length, and additional configuration (e.g., multipath) is required to enable ECMP for BGP routes.

232
MCQmedium

Refer to the exhibit. The router has a default static route and a static route to 10.0.0.0/24. An engineer updates the next-hop for the default route from 192.168.1.1 to 192.168.1.2. Which command should the engineer use to verify that the change is active?

A.show route 192.168.1.2
B.ping 192.168.1.2
C.show route 0.0.0.0/0
D.show route protocol static
AnswerC

The `show route 0.0.0.0/0` command directly queries the IPv4 default prefix in the inet.0 routing table, and Junos will display the active default route along with its next-hop IP address, outgoing interface, and route preference (administrative distance). This is the definitive way to confirm that a default static route is installed and to see exactly where traffic for unmatched destinations will be forwarded. If multiple default routes exist, this command shows only the active one—the one selected by lowest preference—while hidden routes are flagged or omitted. This focused lookup is the most precise verification of the default route itself.

Why this answer

The command 'show route 0.0.0.0/0' displays the routing table entry for the default route, including its next-hop address. After changing the next-hop from 192.168.1.1 to 192.168.1.2, this command confirms the active route has the updated next-hop. It directly verifies the specific prefix that was modified.

Exam trap

The trap here is that candidates often choose 'show route protocol static' thinking it shows all static routes, but they fail to realize it does not isolate the specific prefix changed, and the engineer needs to confirm the next-hop for 0.0.0.0/0, not just any static route.

How to eliminate wrong answers

Option A is wrong because 'show route 192.168.1.2' shows routes to that specific host address, not the default route; it would only confirm reachability to the next-hop, not the change to the default route. Option B is wrong because 'ping 192.168.1.2' tests IP connectivity to the next-hop address but does not verify that the default route in the routing table has been updated; the ping could succeed even if the route change failed. Option D is wrong because 'show route protocol static' displays all static routes, including both the default route and the route to 10.0.0.0/24, but it does not focus on the specific prefix 0.0.0.0/0; the engineer needs to confirm the change for that exact prefix, not all static routes.

233
MCQeasy

A host needs to verify that its assigned IP address is not already in use on the network. Which type of packet does the host send?

A.ARP reply with its own MAC address
B.ARP request with target IP set to its own IP
C.Gratuitous ARP reply
D.ARP request with target IP set to the default gateway
AnswerB

The standard DAD probe is an ARP request with the sender IP and protocol address set to 0.0.0.0 and the target IP set to the host's own intended address, broadcast to the local segment. Per RFC 5227, the host then waits to see whether any device answers; if a reply or another ARP announcement arrives, the address is already in use. This is often called an ARP probe, and it explicitly asks the network 'does anyone own this IP?' before the host commits to it.

Why this answer

When a host wants to verify that its assigned IP address is not already in use on the network, it sends an ARP request with the target IP set to its own IP address. This is known as a gratuitous ARP request, and if another host responds with an ARP reply, it indicates an IP address conflict. This process is part of the Duplicate Address Detection (DAD) mechanism, commonly used in IPv4 networks to ensure uniqueness before the address is fully configured.

Exam trap

The trap here is that candidates often confuse a gratuitous ARP reply (used to announce an address) with a gratuitous ARP request (used for duplicate address detection), leading them to select option C instead of B.

How to eliminate wrong answers

Option A is wrong because an ARP reply with its own MAC address is a response, not a probe; the host must first send a request to check for conflicts, not assume its address is free. Option C is wrong because a gratuitous ARP reply is typically sent to update other hosts' ARP caches after an address is confirmed, not to detect duplicates; the detection phase uses a gratuitous ARP request (target IP = own IP). Option D is wrong because an ARP request with target IP set to the default gateway is used to resolve the gateway's MAC address for outbound traffic, not to verify the host's own IP address uniqueness.

234
MCQeasy

Refer to the exhibit. If the administrator now enters the command 'delete interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24' and then commits, what will be the result?

A.Only the address 192.168.1.1/24 will be removed, and 192.168.1.2/24 will remain.
B.The commit will fail due to an attempt to delete a non-existent address.
C.The entire unit 0 will be deleted.
D.Both addresses will be removed from the configuration.
AnswerA

In Junos, the delete command operates on the exact hierarchy node identified by the address. The configuration node for 192.168.1.1/24 is a separate leaf under unit 0's family inet address list. Deleting that specific leaf removes only that address, leaving 192.168.1.2/24 intact in the same unit. This is standard behavior when using the explicit address form of the delete command.

Why this answer

The 'delete' command in Junos is hierarchical and targets the exact configuration hierarchy specified. In this case, the command specifies 'address 192.168.1.1/24' under 'family inet', so only that specific address is removed. The other address (192.168.1.2/24) remains because it is a separate leaf under the same 'address' statement and is not affected by the deletion.

Exam trap

The trap here is that candidates may assume deleting one address under a 'family inet' block will remove all addresses, similar to how some other platforms (e.g., Cisco IOS) treat the 'ip address' command as replacing the entire address list, but Junos treats each address as an independent leaf.

How to eliminate wrong answers

Option B is wrong because the address 192.168.1.1/24 does exist in the configuration (as shown in the exhibit), so the delete command targets a valid leaf and will not cause a commit failure. Option C is wrong because the command specifies the exact address leaf, not the 'unit 0' hierarchy; deleting a specific address does not remove the entire unit. Option D is wrong because the command is scoped to only one address; Junos does not cascade the deletion to other addresses under the same 'family inet' unless explicitly targeted.

235
MCQhard

After a series of configuration changes, an engineer wants to see only the lines that will be added or modified when the candidate is committed. Which command achieves this?

A.show configuration | except
B.show configuration | display set
C.commit check | match
D.show | compare
AnswerD

In configuration mode, "show" without a specific statement displays the candidate configuration, and appending "| compare" instructs the CLI to produce a diff against the active (committed) configuration. The output uses plus (+) and minus (-) prefixes to indicate lines to be added and removed upon commit, along with markers for changed lines. This is precisely the Junos idiom for reviewing pending changes before committing. It directly answers the question of "what will change."

Why this answer

The 'show | compare' command displays the differences between the candidate configuration and the active configuration, showing only the lines that will be added, modified, or deleted upon commit. This is the standard Junos method for reviewing pending changes before committing them.

Exam trap

The trap here is that candidates often confuse 'show | compare' with 'show configuration | display set' or 'commit check', thinking that displaying the full candidate configuration or validating syntax is equivalent to viewing only the changes, but only 'show | compare' provides the targeted diff output.

How to eliminate wrong answers

Option A is wrong because 'show configuration | except' filters out lines matching a pattern, but does not show only added or modified lines; it shows all lines except those matching the pattern. Option B is wrong because 'show configuration | display set' converts the configuration into 'set' commands, but it shows the entire candidate configuration, not just the changes. Option C is wrong because 'commit check | match' validates the candidate configuration for syntax errors and then filters the output with 'match', but it does not display a diff of added or modified lines.

236
MCQeasy

Which command displays the status of all configured interfaces, including administrative and operational status?

A.show interfaces terse
B.show configuration interfaces
C.show chassis hardware
D.show interface statistics
AnswerA

The 'show interfaces terse' command renders each interface on the device—including all configured interfaces—as a single line in a table with columns for Interface, Admin, Link, Proto, and Local address. Admin reflects the administrative state (up when not administratively disabled, regardless of the physical condition), Link reflects the actual operational state (up only when a valid carrier or signal is detected), and Proto indicates whether a protocol such as inet/IPv4 is active on the interface. Because it combines both the configured administrative state and the real-time operational state in one compact, easy-to-scan output, it is the standard quick check for interface health.

Why this answer

The 'show interfaces terse' command displays a concise summary of all interfaces, including their administrative status (up or down) and operational status (up or down), along with protocol states. This makes it the correct choice for quickly viewing the status of all configured interfaces in a single output.

Exam trap

The trap here is that candidates often confuse 'show interfaces terse' with 'show interface statistics' or 'show configuration interfaces', mistakenly thinking statistics or configuration output will show operational status, but only 'show interfaces terse' provides the concise admin and link status in a single view.

How to eliminate wrong answers

Option B is wrong because 'show configuration interfaces' displays the current configuration of interfaces, not their real-time operational or administrative status. Option C is wrong because 'show chassis hardware' shows physical hardware components (like FPCs, PICs, and power supplies), not interface status. Option D is wrong because 'show interface statistics' shows traffic counters and error statistics for interfaces, but does not explicitly display administrative or operational status in a summary format.

237
Drag & Dropmedium

Arrange the steps to configure an IPsec VPN on a Junos SRX in the correct order.

Drag or tap steps into the slots.

Steps
Order
1Step 1
2Step 2
3Step 3
4Step 4

Why this order

IPsec VPN setup involves IKE for key exchange, IPsec for encryption, and binding to an interface.

238
MCQhard

Refer to the exhibit. Which route is active for the 192.168.1.0/24 prefix?

A.Both routes are active.
B.The static route because it has a lower preference.
C.Neither route is active.
D.The OSPF route because it is marked with an asterisk.
AnswerD

The asterisk in the routing table marks the active route installed in the forwarding table. Junos selects the OSPF route for 192.168.1.0/24 because it has the lowest preference value compared with competing protocols, satisfying the stem's requirement to identify which route is actually active.

Why this answer

The correct answer is D: the OSPF route is active because it is marked with an asterisk, which in this routing table indicates the route currently installed in the forwarding table for 192.168.1.0/24. When multiple routing sources offer the same prefix, the device selects one best route based on administrative distance or preference, and only that selected route is flagged as active. The static route, despite being present in the table, is not the active entry for this prefix in the exhibit.

Options A, B, and C are incorrect because only one route is active, the static route is not the selected one, and at least one route is active.

Exam trap

The trap is that candidates often assume a static route always wins over OSPF due to its lower preference, but they overlook that the asterisk in JUNOS output directly indicates the active route. Additionally, a static route may be inactive despite lower preference if its next-hop is unreachable or if it was configured with a custom preference higher than OSPF's default.

How to eliminate wrong answers

Option A is wrong because both routes cannot be active for the same prefix; JUNOS selects only one active route based on the lowest preference value. Option B is wrong because although a static route has a lower preference (5) than OSPF (10), the exhibit shows the OSPF route with an asterisk, indicating it is the active route; this means the static route is not active despite its lower preference, possibly due to the static route being configured with a next-hop that is unreachable or the route being inactive for another reason. Option C is wrong because the OSPF route is marked with an asterisk, which explicitly indicates it is active in the routing table.

239
MCQeasy

Which command shows the operational status of all interfaces in a brief format?

A.show interfaces terse
B.show interfaces statistics
C.show interfaces detail
D.show configuration interfaces
AnswerA

The 'show interfaces terse' command outputs a single-line entry per physical and logical interface, showing the administrative state (Admin) and operational state (Link) as up or down, along with the protocol family and configured IP addresses. This concise format is the go-to way to quickly assess the real-world status of all interfaces on a Junos device, making it the correct answer for this question.

Why this answer

The 'show interfaces terse' command displays a brief, one-line summary of each interface, including its administrative status (up/down), link status, protocol status, and configured IP addresses. This is the correct command for a concise overview of all interfaces' operational state, as specified in the Junos OS documentation.

Exam trap

The trap here is that candidates often confuse 'show interfaces terse' with 'show interfaces brief' (which does not exist in Junos) or assume 'show configuration interfaces' shows operational status, when it only shows configuration data.

How to eliminate wrong answers

Option B is wrong because 'show interfaces statistics' displays detailed packet and byte counters for each interface, not a brief operational status summary. Option C is wrong because 'show interfaces detail' provides extensive configuration and operational details for each interface, including hardware information and error counters, which is verbose rather than brief. Option D is wrong because 'show configuration interfaces' displays the configured interface settings from the candidate or active configuration, not the real-time operational status of the interfaces.

240
MCQhard

A junior administrator is told to implement configuration changes that must survive a reboot. Which statement is correct?

A.Performing a 'commit' saves the active configuration to non-volatile storage.
B.The 'commit confirmed' command ensures persistence.
C.Changes made using 'set' commands are automatically saved to the startup config.
D.The 'commit' command only writes to RAM, so a 'request system configuration save' is needed.
AnswerA

In Junos, the 'commit' operation takes the candidate configuration, validates it, and installs it as the active configuration while simultaneously writing it to persistent storage on the device's disk. This means the committed configuration is retained in non-volatile memory, such as the /config directory on Junos, and will survive a reboot or power cycle. Therefore, a simple commit is sufficient to ensure the configuration is permanently active.

Why this answer

In Junos, the 'commit' command activates the candidate configuration and saves it to non-volatile storage (the /config directory on the flash drive), ensuring it survives a reboot. This is the standard method for making configuration changes persistent across system restarts.

Exam trap

The trap here is that candidates familiar with Cisco IOS often assume 'commit' only writes to running-config (RAM) and that a separate 'copy running-config startup-config' is needed, but in Junos, 'commit' inherently saves to non-volatile storage, making option D a common distractor.

How to eliminate wrong answers

Option B is wrong because 'commit confirmed' temporarily activates a configuration for a specified timeout period (default 10 minutes) and automatically rolls back if not confirmed with a standard 'commit', so it does not ensure persistence unless followed by a regular commit. Option C is wrong because changes made with 'set' commands are only stored in the candidate configuration in volatile memory (RAM) until explicitly committed; they are not automatically saved to the startup configuration. Option D is wrong because the 'commit' command writes the active configuration to non-volatile storage (the /config directory), not just RAM, and there is no 'request system configuration save' command in Junos (the correct command for saving the active configuration to a file is 'request system configuration rescue save' or 'save' within the CLI).

241
MCQhard

An administrator is troubleshooting a configuration issue where a route filter is unexpectedly dropping traffic. The filter uses an 'exact' match type. Which statement correctly describes the behavior of the 'exact' match type in a prefix list?

A.The route mask must be equal to or greater than the specified prefix length.
B.The route must match the prefix and prefix length exactly.
C.The prefix 0.0.0.0/0 is never matched by 'exact' filters.
D.The route mask must be greater than the specified prefix length.
AnswerB

This is the correct definition of an `exact` match in Junos route-filter matching. When you specify `route-filter 192.168.0.0/16 exact`, the filter evaluates both the prefix (the network bits) and the prefix length (the subnet mask) against the route's destination. The route must have the same network address and the same prefix length — a route like 192.168.1.0/24 would fail because the prefix length differs, and 192.168.0.0/15 would fail because the network bits differ. This strict equality distinguishes `exact` from `longer` or `orlonger`, which are used to match more-specific routes.

Why this answer

The 'exact' match type in a Junos prefix list requires the route's prefix and prefix length to match the specified prefix and length identically. This is defined in the Junos routing policy framework, where 'exact' is used for precise route filtering, such as matching a specific network like 192.168.1.0/24 without allowing any subnets or supernets.

Exam trap

The trap here is that candidates often confuse 'exact' with 'orlonger' or 'longer' match types, especially when troubleshooting route filter behavior, leading them to select options that describe less restrictive matching.

How to eliminate wrong answers

Option A is wrong because it describes the 'orlonger' match type, where the route mask must be equal to or greater than the specified prefix length, not 'exact'. Option C is wrong because the prefix 0.0.0.0/0 can be matched by an 'exact' filter if the route is exactly 0.0.0.0/0, which is a valid default route; the statement is a common misconception. Option D is wrong because it describes the 'longer' match type, where the route mask must be greater than the specified prefix length, not 'exact'.

242
Multi-Selecthard

Which THREE of the following are characteristics of configuration groups in Junos?

Select 3 answers
A.The 'apply-groups' statement is used to specify which group(s) should be inherited.
B.A maximum of 10 groups can be applied to a single configuration statement.
C.Groups can be nested (i.e., a group can inherit another group).
D.They allow a set of configuration statements to be defined once and inherited by multiple sections.
E.Configuration groups do not allow individual statements within the group to be overridden in the main configuration.
AnswersA, C, D

The 'apply-groups' statement is the mechanism that activates configuration-group inheritance at a specific hierarchy level. When included, Junos pulls the named group's statements into the configuration as if they were explicitly defined at that level. It can be placed at multiple levels, enabling selective inheritance, and multiple groups can be listed in a single apply-groups statement for apply-order precedence.

Why this answer

Option A is correct because Junos uses the 'apply-groups' statement (and 'apply-groups-except') to specify which configuration group(s) a given hierarchy level should inherit from. Option C is correct because Junos configuration groups support nesting: a group can itself contain an 'apply-groups' statement, allowing one group to inherit from another group. Option D is correct because the core purpose of configuration groups is to define a reusable set of configuration statements once and have them inherited by multiple sections of the configuration, reducing duplication.

Option B is incorrect because there is no limit of 10 groups per statement; Junos allows up to 50 groups to be applied at a single hierarchy level. Option E is incorrect because statements inherited from a group can be overridden by explicitly configuring the same statement in the main configuration, which takes precedence over the inherited value.

Exam trap

The trap here is that candidates often assume configuration groups are rigid and cannot be overridden, but in reality the main configuration always overrides group settings, and there is no arbitrary limit like 10 groups per statement.

243
MCQeasy

Refer to the exhibit. What does the 'user' type indicate about the route?

A.The route is from the kernel.
B.The route was manually configured.
C.The route is a default route generated by the router.
D.The route was learned from a routing protocol.
AnswerB

The 'user' route type in Junos specifically indicates that the route was manually configured by an administrator, typically as a static route. When you see this type in the routing table, it confirms that the route was entered via configuration commands and not dynamically learned or automatically generated. This is a quick way to distinguish static routes from protocol-learned or kernel-derived routes in the routing table.

Why this answer

In Junos, the 'user' type in a route table indicates that the route was manually configured, typically via a static route statement under the 'routing-options' hierarchy. This distinguishes it from routes learned dynamically through routing protocols or derived from the kernel's interface addresses.

Exam trap

The trap here is that candidates often confuse 'user' with 'kernel' or 'direct' routes, mistakenly thinking any route not learned from a protocol must be kernel-generated, but Junos explicitly labels manually configured static routes as 'user' to differentiate them from kernel-derived interface routes.

How to eliminate wrong answers

Option A is wrong because the 'user' type does not indicate a kernel-derived route; kernel routes are typically marked with the 'kernel' type, which includes directly connected and local interface routes. Option C is wrong because a default route generated by the router (e.g., via a dynamic routing protocol or default-route advertisement) would show a protocol type like 'static', 'ospf', or 'bgp', not 'user'. Option D is wrong because routes learned from a routing protocol (e.g., OSPF, BGP, IS-IS) are marked with the respective protocol type (e.g., 'ospf', 'bgp'), not 'user'.

244
MCQhard

Refer to the exhibit. What is the most likely cause of this BGP route being hidden?

A.The route has a higher preference than another route.
B.The BGP session to 10.0.0.2 is down.
C.The prefix 10.1.1.0/24 is filtered by an import policy.
D.The next-hop 192.168.100.1 is not reachable via any active route.
AnswerD

An unreachable next-hop prevents BGP from validating the path, so the route stays hidden rather than becoming active. Junos requires the next-hop to resolve through an active route in the routing table; with no such route, the prefix fails next-hop resolution and is withheld from the forwarding table.

Why this answer

In JUNOS, a BGP route is hidden when the next-hop address is not reachable via any active route in the routing table. The show route protocol bgp command displays the route as hidden if the next-hop 192.168.100.1 is not resolvable, because BGP requires a valid IGP or static route to the next-hop for the route to be considered active and installed in the forwarding table.

Exam trap

The trap here is that candidates often confuse a hidden route with a route that is filtered by policy or has a higher preference, but JUNOS specifically uses the 'hidden' flag to indicate next-hop unreachability, not policy rejection or preference comparison.

How to eliminate wrong answers

Option A is wrong because a higher preference (lower administrative distance) would make the route more preferred, not hidden; hidden routes are not a result of preference comparison but of next-hop unreachability or policy filtering. Option B is wrong because if the BGP session to 10.0.0.2 were down, the route would not appear in the routing table at all, rather than being marked as hidden. Option C is wrong because if the prefix 10.1.1.0/24 were filtered by an import policy, the route would not be present in the routing table (neither active nor hidden), whereas a hidden route is still present but not usable due to next-hop issues.

245
MCQeasy

An administrator is logged into a Juniper EX Series switch in configuration mode and wants to verify how the device will interpret a specific interface configuration before applying it. Which operational-mode command should the administrator use to validate the candidate configuration for syntax and semantic errors without committing it?

A.commit confirmed
B.show | compare
C.load override
D.commit check
AnswerD

The commit check command parses the candidate configuration and reports syntax or semantic errors without activating it, making it ideal for validation before committing. It runs the same checks as a commit but leaves the active configuration unchanged, so the administrator can safely verify interface syntax and references. This matches the scenario of validating a configuration on an EX Series switch before applying it.

Why this answer

The commit check command validates the candidate configuration for syntax and semantic errors without committing it, which is exactly what the administrator needs before applying interface changes. The other commands either apply changes or only show differences, so they do not provide a safe validation step. Using commit check ensures the configuration is correct before it becomes active.

Exam trap

The trap here is confusing commit check with commit confirmed, where the latter actually applies the configuration temporarily instead of only validating it.

246
MCQhard

A router has two ISIS adjacencies to the same router, both with equal metrics. The router installs both routes in the routing table and performs load balancing. The network team wants to verify that both next-hops are being used for a particular destination. Which command provides this information?

A.`show route 10.0.0.0/24 extensive`
B.`show route forwarding-table destination 10.0.0.0/24`
C.`show route protocol isis`
D.`show route 10.0.0.0/24 detail`
AnswerB

`show route forwarding-table destination 10.0.0.0/24` is the authoritative command for verifying actual forwarding behavior. It displays the forwarding-table entry, where the next-hop has been resolved to a specific interface and IP address (e.g., via ARP or neighbor discovery), and it explicitly shows whether multiple next-hops are installed with equal weights for load balancing. This is the only command in the set that shows the PFE's forwarding state, so it directly answers which next-hops are used when forwarding packets to 10.0.0.0/24.

Why this answer

The `show route forwarding-table destination 10.0.0.0/24` command displays the actual forwarding entries in the Packet Forwarding Engine (PFE), including all next-hops used for load balancing. Unlike the routing table, the forwarding table shows which next-hops are actively installed and used for forwarding traffic, making it the definitive command to verify equal-cost multipath (ECMP) usage.

Exam trap

The trap here is that candidates assume `show route` commands (like `detail` or `extensive`) confirm actual forwarding behavior, but in Junos, only the forwarding table reveals which next-hops are truly used for packet forwarding, especially under ECMP.

How to eliminate wrong answers

Option A is wrong because `show route 10.0.0.0/24 extensive` shows detailed routing table information, including multiple next-hops, but it does not confirm which next-hops are actually used in the forwarding plane; it only shows the routing table state. Option C is wrong because `show route protocol isis` filters routes by protocol but does not provide per-destination next-hop usage or forwarding table details. Option D is wrong because `show route 10.0.0.0/24 detail` shows routing table details for a specific prefix, including multiple next-hops, but like option A, it does not verify the forwarding table's active next-hops for load balancing.

247
MCQmedium

A network engineer suspects a hardware issue on an interface. Which command provides the most detailed hardware error counters, including CRC errors, framing errors, and runts?

A.show interfaces diagnostics optics
B.show interfaces detail
C.show interfaces extensive
D.show log messages
AnswerC

'show interfaces extensive' is the definitive operational command for hardware error analysis on Junos. It outputs each interface's input breakdown, including CRC errors, frame errors, runts, giants, and resource exhaustion, plus output error subcategories like carrier transitions and errors. It also reveals physical-layer state and multiple logical unit statistics, making it possible to correlate errors with transmit/receive activity. When you suspect a hardware fault, this command gives the most complete and structured view of interface health.

Why this answer

The 'show interfaces extensive' command provides the most detailed hardware error counters for a Junos interface, including CRC errors, framing errors, and runts. This command displays per-interface statistics at the physical layer, such as input errors, output errors, and specific error types like frame, runts, giants, and CRC errors, which are essential for diagnosing hardware issues.

Exam trap

The trap here is that candidates often confuse 'show interfaces detail' with 'show interfaces extensive', assuming 'detail' provides the most granular error counters, but only 'extensive' includes the full hardware error breakdown required for hardware fault diagnosis.

How to eliminate wrong answers

Option A is wrong because 'show interfaces diagnostics optics' is used to display optical transceiver diagnostics (e.g., temperature, voltage, laser bias) and does not show interface error counters like CRC or framing errors. Option B is wrong because 'show interfaces detail' provides more information than the basic output but does not include the extensive hardware error counters; it omits the per-error-type breakdown found in the extensive output. Option D is wrong because 'show log messages' displays system log messages, not real-time interface hardware error counters; it is used for troubleshooting events and errors logged by the system, not for granular interface statistics.

248
MCQeasy

A network administrator configures a static route on a Juniper device: `set routing-options static route 192.168.100.0/24 next-hop 10.0.0.1`. The administrator verifies the route is present in the routing table but notices it is not active. What is the most likely cause?

A.The route is not committed.
B.The next-hop address 10.0.0.1 is not reachable.
C.The preference of the static route is higher than 15.
D.The destination prefix is already learned via OSPF with a lower metric.
AnswerB

Junos installs a static route only when its next-hop resolves via a reachable interface. If 10.0.0.1 is unreachable, the route stays inactive in the routing table, satisfying the stem's condition of a present but non-active route.

Why this answer

A static route becomes active only if the next-hop address is reachable via a directly connected or active route in the routing table. Since the administrator verified the route is present but not active, the most likely cause is that the next-hop 10.0.0.1 is not reachable (e.g., no ARP resolution or no interface with that subnet). Junos marks such routes as hidden or inactive until the next hop is reachable.

Exam trap

The trap here is that candidates often assume a static route is always active once configured and committed, overlooking Junos's requirement that the next-hop must be reachable via an active directly connected route for the route to be installed as active.

How to eliminate wrong answers

Option A is wrong because the route is already present in the routing table, which means it has been committed; an uncommitted route would not appear at all. Option B is the correct answer as explained. Option C is wrong because the default preference for static routes in Junos is 5, which is lower than 15, and a higher preference (worse) would not prevent activation—it would only affect route selection among multiple routes to the same prefix.

Option D is wrong because OSPF routes have a default preference of 10 (internal) or 150 (external), and a static route with preference 5 would be preferred over OSPF; moreover, the question states the route is not active, not that it is not preferred.

249
MCQhard

A network engineer made several configuration changes on a Juniper QFX switch to implement new VLANs. After committing the changes, the engineer realized that the new configuration caused a critical loss of connectivity to the management network. The engineer needs to revert to the previous configuration that was working. The switch is still accessible via the console port, and the engineer has privilege level access. The previous configuration was committed two commits ago, and the current active configuration is the problematic one. Which action should the engineer take to restore the previous working configuration?

A.Use 'load override /config/juniper.conf.1.gz' followed by 'commit'.
B.Use 'delete system' to remove all configuration and then commit.
C.Execute 'rollback 0' followed by 'commit'.
D.Execute 'rollback 2' followed by 'commit'.
AnswerD

rollback 2 sets the candidate configuration to the snapshot saved two commit operations ago, stored as /config/juniper.conf.2.gz. This bypasses the two most recent commits, returning to the last known working configuration. A subsequent commit activates this as the new active configuration, effectively undoing the problematic changes.

Why this answer

The working configuration was committed two commits ago. The 'rollback 2' command loads the configuration from two commits prior into the candidate configuration. After that, 'commit' makes it active, restoring connectivity.

Note that 'rollback 1' would load the intermediate commit, which is also problematic, and 'rollback 0' refers to the current active configuration.

Exam trap

The trap here is confusing the rollback numbering: candidates often think 'rollback 0' reverts to a previous configuration, but it actually refers to the current active configuration, while 'rollback 1' is needed to go back one commit (the previous working state).

How to eliminate wrong answers

Option A is wrong because '/config/juniper.conf.1.gz' is the backup of the configuration that was active one commit ago, but using 'load override' loads that file into the candidate configuration without automatically applying it; however, the correct rollback command is simpler and more appropriate, and 'juniper.conf.1.gz' corresponds to the configuration before the last commit, not two commits ago. Option B is wrong because 'delete system' removes all system configuration, which would cause a complete loss of management access and is an irreversible destructive action, not a targeted rollback. Option C is wrong because 'rollback 0' reverts to the current active configuration (the problematic one), which does nothing to restore the previous working configuration.

250
MCQhard

A company has two Juniper routers in a high-availability cluster with dual Routing Engines. The administrator performs a commit on the primary RE. What is the effect of using the 'commit synchronize' command?

A.It performs a commit check on both REs but does not activate the config.
B.It commits the configuration on both Routing Engines simultaneously.
C.It commits the configuration only on the primary RE.
D.It commits the configuration only on the backup RE.
AnswerB

The correct behavior is 'commit synchronize', a Junos command that loads and activates the candidate configuration on both the primary and backup Routing Engines simultaneously, ensuring they operate with identical active configurations. This is critical for high-availability clusters because it prevents config drift, so failover to the backup will use the same settings and policies as the primary. The simultaneous commit minimizes the window of inconsistency and is the standard method for configuring both REs in one operation.

Why this answer

The 'commit synchronize' command on Juniper routers with dual Routing Engines ensures that the configuration is committed on both the primary and backup REs simultaneously. This is critical for maintaining configuration consistency in a high-availability cluster, as it prevents a split-brain scenario where the backup RE has a different active configuration than the primary. The command performs a full commit (including validation and activation) on both REs, not just a check.

Exam trap

The trap here is that candidates often confuse 'commit synchronize' with 'commit check' or assume it only affects one RE, failing to recognize that Juniper's high-availability design requires explicit synchronization to maintain configuration consistency across both Routing Engines.

How to eliminate wrong answers

Option A is wrong because 'commit synchronize' performs a full commit (validation and activation) on both REs, not just a commit check; the 'commit check' command is used for validation only. Option C is wrong because 'commit synchronize' explicitly commits on both REs, not only the primary; committing only on the primary would leave the backup out of sync. Option D is wrong because 'commit synchronize' commits on both REs, not only the backup; committing only on the backup would not update the primary's active configuration.

251
MCQhard

An engineer is configuring multiple static routes to the same destination for redundancy. The primary link uses 192.168.1.1 and the backup uses 192.168.2.1. They want the backup to be used only when the primary next-hop is unreachable. Which configuration is correct?

A.Configure the primary with a lower preference and the backup with a higher preference.
B.Configure the primary with a higher preference and the backup with a lower preference.
C.Configure two static routes with equal preferences; the active route will be chosen based on next-hop IP.
D.Configure the routes with the same preference but use a policy to set metric.
AnswerA

In Junos, route preference acts as an administrative distance, and a numerically lower value is always preferred. Assigning the primary static route a lower preference ensures it is installed in the routing and forwarding tables, while the higher-preference backup remains inactive. If the primary's next-hop becomes unreachable, the primary route is withdrawn and the backup is automatically promoted, providing the required failover behavior.

Why this answer

In JUNOS, a lower preference value indicates a more preferred route. By setting the primary next-hop (192.168.1.1) with a lower preference (e.g., 5) and the backup next-hop (192.168.2.1) with a higher preference (e.g., 10), the primary route is installed in the routing table. If the primary next-hop becomes unreachable, the route is withdrawn, and the backup route with the higher preference is then installed, providing redundancy.

Exam trap

Candidates often confuse preference with metric, thinking that equal preferences with a policy can achieve failover, but JUNOS does not use metric for static route selection. With equal preferences, both static routes are installed and load-balanced, so the backup is used even when the primary is reachable. To ensure the backup is only used when the primary fails, configure the primary with a lower preference and the backup with a higher preference.

How to eliminate wrong answers

Option B is wrong because configuring the primary with a higher preference and the backup with a lower preference would cause the backup to be preferred over the primary, defeating the purpose of having a primary link. Option C is wrong because two static routes with equal preferences to the same destination will result in both being installed in the routing table, but only one will be active based on the next-hop IP (the lower IP wins), which does not provide failover based on reachability; if the active next-hop fails, the route is not automatically switched to the other next-hop because both routes are still present. Option D is wrong because in JUNOS, static routes do not have a metric field; preference is the primary tiebreaker, and using a policy to set metric is not applicable for static route selection.

252
Multi-Selecthard

A junior administrator is learning to navigate the Junos CLI. Which three statements about CLI modes are correct? (Choose three.)

Select 3 answers
A.Operational mode is indicated by a > prompt.
B.Configuration mode is entered using the 'configure' command.
C.The 'commit' command is available in both operational and configuration modes.
D.You can switch from configuration mode to operational mode using the 'exit configuration' command.
E.You can execute operational mode commands from configuration mode by prefixing with 'run'.
AnswersA, B, E

The Junos CLI displays a distinct prompt suffix for each mode. When the prompt ends with a greater-than sign (>)—for example, user@host>—the CLI is in operational mode, which is the default after login. This mode provides commands for monitoring, measuring, and troubleshooting the device, such as 'show', 'ping', and 'request'. Unlike configuration mode, operational mode does not allow changes to the active configuration.

Why this answer

Option A is correct because Junos operational mode is indeed identified by the '>' prompt (e.g., user@host>), which is where monitoring and show commands are executed. Option B is correct because the 'configure' command is the standard way to enter configuration mode from operational mode, changing the prompt to '#' (e.g., user@host#). Option E is correct because from configuration mode you can run operational commands by prefixing them with 'run', such as 'run show interfaces', without leaving configuration mode.

Option C is incorrect because 'commit' is only available in configuration mode, not operational mode. Option D is incorrect because the proper way to return to operational mode is the 'exit' command (or 'exit configuration-mode' in some contexts), not 'exit configuration'.

Exam trap

The trap here is that candidates familiar with Cisco IOS may assume the 'commit' command is available in both modes, but in Junos it is strictly a configuration-mode command, and the 'exit configuration' command is a common misremembering of the correct syntax 'exit' or 'exit configuration-mode'.

253
Multi-Selectmedium

Which two commands display the IPv4 unicast routing table? (Choose two.)

Select 2 answers
A.show ip route
B.show route protocol ospf
C.show route
D.show route table inet.0
E.show routing
AnswersC, D

In Junos, the command 'show route' with no arguments displays the contents of the default routing table, inet.0, which is the primary IPv4 unicast routing table. This is the standard way to view active IPv4 routes on a Junos device. Because it shows the entire inet.0 table, it correctly satisfies the requirement to display the IPv4 unicast routing table.

Why this answer

Option C, `show route`, is correct because on Junos devices this command displays the complete routing table, which by default is the IPv4 unicast table (inet.0), listing all learned and direct routes. Option D, `show route table inet.0`, is also correct because inet.0 is the specific routing table name for IPv4 unicast routes, so this command explicitly displays exactly that table. Option A, `show ip route`, is not a valid Junos command (it is Cisco IOS syntax), so it does not belong.

Option B, `show route protocol ospf`, only filters and displays OSPF-learned routes rather than the entire IPv4 unicast routing table. Option E, `show routing`, is not a valid command and therefore cannot display the routing table.

Exam trap

The trap here is that candidates familiar with Cisco IOS may incorrectly choose 'show ip route' (Option A) or 'show routing' (Option E), not realizing Junos uses the 'show route' command and organizes routing information into named tables like inet.0.

254
MCQmedium

A Junos device has multiple configuration files saved. Which command shows the available rollback configurations?

A.show system configuration
B.show system rollback
C.show configuration | display rollback
D.show system commit
AnswerD

'show system commit' is the correct operational-mode command because it lists every committed configuration on the device, along with its commit ID, timestamp, user, and optional comment. These commit IDs are the exact rollback identifiers used to restore or inspect previous configurations with 'rollback <id>' or 'show system rollback <id>'. Thus it provides the complete inventory of rollback points needed to answer the question.

Why this answer

The 'show system commit' command displays a list of all committed configuration revisions, including their commit IDs and timestamps, which are used to roll back to a previous configuration. The rollback feature in Junos relies on these stored commit files, and the command explicitly shows the available rollback points.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect a 'show rollback' command to list available rollbacks, but Junos uses 'show system commit' for this purpose, and 'show system rollback' only shows the content of a specific rollback when given an ID.

How to eliminate wrong answers

Option A is wrong because 'show system configuration' is not a valid Junos command; the correct command to view the current active configuration is 'show configuration'. Option B is wrong because 'show system rollback' is not a valid command; the correct command to view a specific rollback configuration is 'show system rollback <id>', but it does not list available rollback configurations. Option C is wrong because 'show configuration | display rollback' is not a valid syntax; the correct way to view a specific rollback configuration is 'show configuration rollback <id>', and the 'display rollback' option is used with 'show system commit' to show the configuration differences, not to list available rollbacks.

255
MCQmedium

An engineer needs to configure a static route on a Juniper device. Which statement is true regarding the configuration process?

A.The set command activates the change for 10 minutes by default.
B.Configuration changes must be committed to become active.
C.The configuration is immediately active upon entering the set command.
D.The commit command requires a reboot to take effect.
AnswerB

In Junos, the CLI operates on a candidate configuration that is separate from the active, committed configuration. When you enter a `set` command, the change is stored in the candidate but is not yet applied to the router's runtime processes. The `commit` command validates the candidate, installs it as the new active configuration, and applies it immediately without reboot, making commit the mandatory step for any configuration change to take effect.

Why this answer

In Junos, configuration changes are made in a candidate configuration and do not take effect until explicitly committed using the 'commit' command. This two-phase model (edit then commit) ensures that changes are validated before activation, preventing partial or incorrect configurations from disrupting network operations. Option B correctly identifies this requirement.

Exam trap

The trap here is that candidates familiar with Cisco IOS, where 'set' or 'configure terminal' commands take effect immediately, mistakenly assume Junos behaves the same way, overlooking the mandatory commit step.

How to eliminate wrong answers

Option A is wrong because the 'set' command does not activate a change for any duration; it merely modifies the candidate configuration, which remains inactive until committed. Option C is wrong because the configuration is not immediately active upon entering the 'set' command; Junos uses a commit model where changes only become active after a successful 'commit'. Option D is wrong because the 'commit' command does not require a reboot; it applies the candidate configuration to the active configuration dynamically without restarting the device.

256
MCQhard

A Juniper device fails to boot and stops at the 'loader>' prompt. What is the most likely cause of this issue?

A.Bad boot device or missing kernel
B.Corrupted configuration file
C.Hardware failure of the power supply
D.Missing root password
AnswerA

The loader prompt (typically 'loader>') is the bootloader's interactive menu, reached when it cannot locate a valid kernel to load. If the boot device is absent, unreadable, or the kernel file is missing/corrupt, the bootloader cannot proceed with the normal boot sequence and instead drops to this prompt for manual intervention. This is the expected symptom when storage or kernel integrity is compromised.

Why this answer

When a Juniper device stops at the 'loader>' prompt, it indicates that the boot process has failed to locate or load the kernel (juniper-kernel) from the boot device (e.g., internal flash, USB, or hard disk). This is typically caused by a corrupted boot device, missing kernel image, or incorrect boot device selection in the boot loader (UBoot or CFE). The loader prompt is a low-level environment used for recovery, not a sign of configuration or authentication issues.

Exam trap

The trap here is that candidates confuse a boot loader failure (loader prompt) with a configuration or authentication issue, assuming that any boot problem is due to a corrupted config or password, when in fact the loader prompt specifically indicates a missing or inaccessible kernel.

How to eliminate wrong answers

Option B is wrong because a corrupted configuration file would cause the device to boot but fail to load the configuration, resulting in the 'amnesiac' state or a request to enter recovery mode, not a stop at the 'loader>' prompt. Option C is wrong because a power supply failure would prevent the device from powering on at all, not allow it to reach the boot loader stage. Option D is wrong because a missing root password does not affect the boot process; it only prevents login after the system has fully booted, and recovery can be performed via the console or root password recovery procedure.

257
MCQhard

During troubleshooting, an engineer needs to view real-time logging messages on a Junos device. Which command should be used?

A.file show /var/log/messages
B.monitor start messages
C.show log messages
D.traceoptions
AnswerB

monitor start messages streams real-time log messages to the terminal from the messages log file, satisfying the requirement to view live logging. It differs from show log messages, which displays existing entries rather than continuously tailing new output.

Why this answer

The 'monitor start messages' command enables real-time, tail-like display of the /var/log/messages log file on a Junos device, allowing the engineer to view new log entries as they are generated. This is the correct command for live troubleshooting because it continuously updates the terminal with incoming syslog messages, unlike static file viewing commands.

Exam trap

The trap here is that candidates often confuse 'show log messages' (a static snapshot) with 'monitor start messages' (a live streaming view), because both involve the 'messages' log file, but only the latter provides real-time output.

How to eliminate wrong answers

Option A is wrong because 'file show /var/log/messages' displays the entire contents of the log file at once, not in real-time, and is not suitable for monitoring live events. Option C is wrong because 'show log messages' displays the current contents of the messages log file but does not provide a live, streaming view; it shows a snapshot. Option D is wrong because 'traceoptions' is a configuration statement used to enable debug logging for specific protocols or features, not a command to view real-time log output.

258
MCQmedium

An administrator wants to drop traffic destined to the 10.10.10.0/24 network without sending an ICMP unreachable message back to the source. Which static route option should be used?

A.reject
B.discard
C.next-table
D.resolve
AnswerB

The discard next-hop type installs a route that silently drops the packet without sending any ICMP response. The forwarding engine discards the traffic in the data plane, so it consumes no control-plane CPU for error messages. This is the standard Junos way to implement a blackhole route for an unreachable prefix, matching the administrator's intent to drop traffic.

Why this answer

The 'discard' static route option silently drops traffic destined to the 10.10.10.0/24 network without generating any ICMP unreachable message. This is in contrast to the 'reject' option, which drops traffic but sends an ICMP unreachable back to the source. The 'discard' route is ideal for blackholing unwanted traffic while avoiding unnecessary network feedback.

Exam trap

The trap here is that candidates often confuse 'reject' with 'discard' because both drop traffic, but they fail to remember that 'reject' sends an ICMP unreachable message, which the question explicitly prohibits.

How to eliminate wrong answers

Option A is wrong because 'reject' drops traffic but sends an ICMP Destination Unreachable message to the source, which the administrator explicitly wants to avoid. Option C is wrong because 'next-table' is used to direct traffic to another routing table for further lookup, not to drop traffic. Option D is wrong because 'resolve' is used to require that the next-hop of a static route be reachable via another route; it does not drop traffic.

259
MCQmedium

An administrator suspects that routing protocol updates are being sent to an incorrect next-hop. Which command can be used to capture and analyze the routing protocol packets on an interface?

A.show log messages | match ospf
B.show route forwarding-table
C.show ospf neighbor detail
D.monitor traffic interface ge-0/0/0.0
AnswerD

This command triggers a live packet capture on the specified interface, displaying all traffic that enters or exits the interface in real time, much like tcpdump. It can be narrowed down with a 'matching' statement, but even without one, it will show OSPF packets (protocol 89) if present, revealing hello, DD, LSR, LSU, and LSAck packets. This makes it the correct tool for an administrator who suspects routing protocol updates are being misconfigured or lost, because it gives direct evidence of what is actually sent and received.

Why this answer

The 'monitor traffic interface' command in Junos captures live packets on a specified interface, allowing the administrator to inspect routing protocol packets (e.g., OSPF, BGP) in real time. This is the only option that directly captures and displays packet-level data to verify the next-hop IP address in routing protocol updates.

Exam trap

The trap here is that candidates often confuse log-based troubleshooting (Option A) with live packet capture, or they mistakenly think that viewing the forwarding table (Option B) or neighbor details (Option C) reveals the actual packet contents being transmitted, when in fact only a packet capture tool like 'monitor traffic' can show the raw protocol updates.

How to eliminate wrong answers

Option A is wrong because 'show log messages | match ospf' displays system log messages filtered for OSPF events, not actual packet captures; it shows control-plane events like neighbor state changes, not the contents of routing protocol packets. Option B is wrong because 'show route forwarding-table' displays the forwarding table entries (next-hop, interface) used for packet forwarding, not the routing protocol packets themselves; it shows the result of routing decisions, not the updates being sent. Option C is wrong because 'show ospf neighbor detail' displays OSPF neighbor state, router ID, and interface details, but does not capture or analyze the actual OSPF packets (e.g., Hello, LSU) on the wire.

260
MCQmedium

Refer to the exhibit. An engineer has made changes to the candidate configuration. What will happen when the engineer issues the 'commit' command?

A.The commit will succeed but the security policy will be ignored due to a syntax error.
B.Only the interface address change will be committed because security policies require a reboot.
C.The configuration will be validated; if errors exist, the commit will fail.
D.Both the interface address and security policy will be activated.
AnswerD

The commit command in Junos atomically activates all changes in the candidate configuration, including both the interface address and the security policy. There is no separate commit process or reboot needed for security policies, so both changes take effect simultaneously. The validation performed during commit confirms that the configuration is syntactically correct, and since the exhibit shows no errors, both changes will be applied.

Why this answer

In Junos, the 'commit' command activates all changes in the candidate configuration atomically. Both the interface address change and the security policy will be applied simultaneously after validation. Junos does not require a reboot for security policy changes, and syntax errors cause the commit to fail, not be ignored.

Exam trap

The trap here is that candidates may think security policies require a reboot (a common misconception from other platforms) or that syntax errors are silently ignored, but Junos enforces strict validation and atomic commits.

How to eliminate wrong answers

Option A is wrong because Junos performs full syntax and semantic validation during commit; a syntax error would cause the commit to fail, not be ignored. Option B is wrong because security policies in Junos are activated immediately upon commit without requiring a reboot; only certain hardware or kernel-level changes might need a reboot. Option C is wrong because while validation does occur, if errors exist the commit fails, but the question implies no errors are present, so the commit will succeed and activate both changes.

261
MCQmedium

A network engineer is configuring a new Juniper device and needs to ensure that the configuration is saved persistently across reboots. Which command should be used?

A.save
B.request system reboot
C.show configuration
D.commit
AnswerD

The `commit` command is the only way to make candidate configuration changes active and permanent in Junos. It runs full configuration validation and, if successful, installs the candidate into the active configuration store, which is what loads at reboot. Because `commit` persists the changes to storage and activates them at once, it is the required final step after editing any configuration.

Why this answer

The `commit` command activates the candidate configuration and saves it to the active configuration database, ensuring it persists across reboots. Without a commit, any changes made in candidate mode are lost when the device restarts.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly think `save` or `write memory` is the equivalent command, but Junos requires an explicit `commit` to persist changes.

How to eliminate wrong answers

Option A is wrong because `save` is not a valid Junos CLI command; the correct command to write configuration to a file is `save configuration <filename>`, but it does not activate or persist the configuration across reboots. Option B is wrong because `request system reboot` triggers a system restart but does not save any uncommitted configuration changes; any unsaved candidate configuration would be discarded. Option C is wrong because `show configuration` only displays the current active configuration; it does not save or persist any changes.

262
MCQmedium

A junior administrator wants to view only the operational state of interface ge-0/0/1, including its link status and protocol state. Which command should they use?

A.show interface ge-0/0/1
B.show interfaces ge-0/0/1 terse
C.show configuration interfaces ge-0/0/1
D.show interfaces ge-0/0/1 extensive
AnswerB

The command 'show interfaces ge-0/0/1 terse' is correct because 'terse' is a display level that shows one summary line per interface or logical unit, including admin status, link status, protocol status, and the configured IP addresses. This is exactly what the junior administrator needs to quickly view operational status without cluttering the output with counters or configuration details. The 'terse' keyword is the standard Junos way to get a concise operational snapshot.

Why this answer

The 'show interfaces ge-0/0/1 terse' command displays a concise operational state of the interface, including link status (up/down) and protocol state (up/down) without configuration details. This is the standard Junos command for quickly verifying the operational status of a specific interface.

Exam trap

The trap here is that candidates familiar with Cisco IOS might type 'show interface' (singular) instead of the Junos plural 'show interfaces', or they might choose 'extensive' thinking more detail is better, when 'terse' is the precise tool for a quick operational state check.

How to eliminate wrong answers

Option A is wrong because 'show interface ge-0/0/1' is an invalid command in Junos; the correct syntax uses the plural 'interfaces'. Option C is wrong because 'show configuration interfaces ge-0/0/1' displays the configuration stanza for the interface, not its operational state. Option D is wrong because 'show interfaces ge-0/0/1 extensive' provides detailed operational and statistical data, which is more than the junior administrator needs for just link and protocol state.

263
MCQmedium

An administrator needs to see which interfaces are configured and their current operational status in a concise format. Which command provides this information?

A.show interfaces
B.show configuration interfaces
C.show interfaces terse
D.show interfaces descriptions
AnswerC

`show interfaces terse` is the correct command because it outputs a concise, one-line summary for each interface and logical unit, including the interface name, admin status (enabled/disabled), and protocol status (up/down). This makes it easy to see at a glance which interfaces are configured—they appear with their configured logical units and address families—and their operational state. It is the standard Junos command for a quick, human-readable snapshot of the interface configuration and status, without the clutter of full interface details.

Why this answer

The 'show interfaces terse' command displays a concise, table-like output listing all interfaces (including logical units) along with their administrative status (up/down) and operational status (up/down). This is the most efficient way to see both configured interfaces and their current state in a compact format, as required by the question.

Exam trap

The trap here is that candidates familiar with Cisco IOS often expect 'show interfaces' to be the concise status command, but in Junos, 'show interfaces terse' is the equivalent of 'show ip interface brief' — a distinction that catches those who assume cross-platform command similarity.

How to eliminate wrong answers

Option A is wrong because 'show interfaces' provides detailed per-interface statistics and configuration, which is verbose and not concise. Option B is wrong because 'show configuration interfaces' displays the configured interface hierarchy from the candidate or active configuration, not the current operational status. Option D is wrong because 'show interfaces descriptions' shows only the description field for interfaces, not their operational status.

264
Multi-Selecteasy

Which TWO statements are true about the Junos configuration hierarchy?

Select 2 answers
A.Configuration is organized into two main hierarchies: system and interfaces.
B.The configuration is divided into a hierarchical tree.
C.Each configuration statement is terminated by a semicolon.
D.Configuration must be entered in a specific order.
E.It is a flat structure with no grouping.
AnswersB, C

Junos stores its configuration as a hierarchy of statements, which is exactly a tree structure: a root level branching into containers, each containing additional statements or containers. This tree model lets you navigate and address individual configuration nodes using a path, and it underpins how configuration is displayed, edited, and committed.

Why this answer

Option B is correct because the Junos configuration is fundamentally a hierarchical tree of statements, organized under top-level stanzas such as system, interfaces, protocols, and routing-options, which can be nested to arbitrary depth. Option C is correct because in Junos configuration syntax every configuration statement must be terminated by a semicolon, for example 'set system host-name router1' or 'host-name router1;' in curly-brace format. Option A is incorrect because system and interfaces are just two of many top-level hierarchies, not the only two main hierarchies.

Option D is incorrect because Junos allows statements to be entered in any order; the commit process validates and orders the configuration logically. Option E is incorrect because the Junos configuration is explicitly hierarchical, not flat, and statements are grouped into nested hierarchies.

Exam trap

The trap here is that candidates often assume configuration must be entered in a specific order (like Cisco IOS), but Junos allows any order because the hierarchy is defined by the structure, not the sequence of commands.

265
MCQhard

An operator wants to monitor the temperature and voltage sensors on a Juniper chassis. Which command displays current sensor readings?

A.show chassis environment
B.show chassis hardware
C.show system health
D.show log messages | match temperature
AnswerA

The `show chassis environment` operational command in Junos is the standard tool for environmental monitoring: it reads live temperature sensors, voltage rails, and fan speeds across the Routing Engine, line cards, and power supplies. Without any filters it returns current values for all monitored components, and with `detail` it also shows acceptable operating ranges and alarm thresholds. This is the only option that delivers a structured, real-time view of the exact sensors the operator asked about.

Why this answer

The 'show chassis environment' command displays real-time sensor readings for temperature, voltage, and fan status on Juniper devices. It is the standard operational command for monitoring chassis environmental health, directly matching the operator's requirement to check temperature and voltage sensors.

Exam trap

The trap here is that candidates may confuse 'show chassis hardware' (static inventory) with 'show chassis environment' (dynamic sensor data), or assume 'show system health' is a valid Junos command when it is not.

How to eliminate wrong answers

Option B is wrong because 'show chassis hardware' lists installed components (like FRUs, serial numbers, and part numbers) but does not display dynamic sensor readings such as temperature or voltage. Option C is wrong because 'show system health' is not a valid Junos command; the correct command for system health checks is 'request system health' or 'show chassis environment'. Option D is wrong because 'show log messages | match temperature' filters system log messages for temperature-related entries, but it does not show current sensor readings—it only displays historical log events that may be outdated or incomplete.

266
MCQmedium

You are a network administrator for a large enterprise. You have a Juniper SRX firewall that is used as the primary internet gateway. Users are reporting that they are unable to access certain external websites. You check the device and find that the security policies appear correct, and the routing is in place. You suspect that the issue might be related to the DNS resolution. You want to verify that the device can resolve DNS names and that the DNS server configuration is correct. Which command should you use to test DNS resolution from the Juniper device?

A.show system connections
B.ping <external website FQDN>
C.traceroute <external website FQDN>
D.show dns name-server
AnswerB

When you execute 'ping <external website FQDN>' on Junos, the CLI first resolves the hostname to an IP address using the DNS servers configured under 'system name-server'. A successful resolution is shown directly in the output, where ping reports the target IP before sending ICMP requests. If the DNS query times out or fails, Junos returns a 'unable to resolve hostname' error, making this an effective, one-command DNS resolution test. Note that even if ICMP is blocked by the remote host, the appearance of the IP address in the output already confirms forward DNS works.

Why this answer

The `ping` command with a fully qualified domain name (FQDN) forces the Juniper device to perform a DNS resolution before sending ICMP echo requests. If the device cannot resolve the FQDN, the ping will fail with a 'hostname not found' error, directly indicating a DNS configuration or reachability issue. This tests both the DNS server configuration and the device's ability to resolve names, which is essential for verifying DNS functionality.

Exam trap

The trap here is that candidates often confuse `show dns name-server` with a valid operational command, but Junos uses `show configuration system name-server` to view DNS server settings, and the `ping` command with an FQDN is the standard method to test live DNS resolution from the device.

How to eliminate wrong answers

Option A is wrong because `show system connections` displays active TCP/UDP connections and their states, not DNS resolution capabilities or configuration. Option C is wrong because `traceroute` with an FQDN also triggers DNS resolution, but it is designed to trace the path to the destination and is less direct for simply testing DNS resolution; a failed traceroute could be due to routing or firewall issues rather than DNS. Option D is wrong because `show dns name-server` is not a valid Junos command; the correct command to view DNS server configuration is `show configuration system name-server`.

267
MCQeasy

What is the default behavior when a user logs in to a Junos device and enters configuration mode?

A.The user must first commit before making changes.
B.The user can edit the candidate configuration.
C.The user can only view the configuration.
D.The user directly modifies the active configuration.
AnswerB

This is correct. By default, Junos separates the active configuration (the one currently used by the routing engine) from the candidate configuration. When a user logs in and enters configuration mode, they edit the candidate configuration with commands like 'set', 'edit', or 'delete'. These changes remain in the candidate until the user issues 'commit', at which point the candidate becomes the active configuration.

Why this answer

When a user enters configuration mode on a Junos device, they are placed into a private copy of the candidate configuration. This allows the user to make changes without affecting the active configuration until a commit operation is performed. Option B correctly describes this default behavior.

Exam trap

The trap here is that candidates familiar with Cisco IOS may assume changes are applied immediately (like in 'configure terminal'), but Junos requires an explicit commit to activate changes, and the candidate configuration is a separate, editable copy.

How to eliminate wrong answers

Option A is wrong because the user does not need to commit before making changes; they can edit the candidate configuration freely, and only a commit activates those changes. Option C is wrong because the user can edit the configuration in configuration mode, not just view it; viewing is the default in operational mode. Option D is wrong because Junos uses a separate candidate configuration; changes are not directly applied to the active configuration until explicitly committed.

268
MCQeasy

A network administrator notices that the CPU utilization on an MX240 router has been consistently above 90% for the past hour. Users are reporting intermittent connectivity issues. The administrator logs in and runs 'show system processes extensive' which shows the Routing Protocol Daemon (rpd) consuming 70% of the CPU. Further investigation reveals that the router has over 5000 BGP prefixes from multiple peers. The administrator suspects that the high CPU is due to continuous route processing. What should the administrator do to immediately reduce CPU load while maintaining network stability?

A.Perform a 'show log messages' to check for errors before taking action
B.Apply a prefix-limit on each BGP session to restrict the number of prefixes received
C.Bounce all BGP sessions by clearing them with 'clear bgp neighbor *'
D.Disable BGP multipath to reduce route processing
AnswerB

Applying a prefix-limit on each BGP session directly caps the number of routes that rpd must read, parse, and install in the RIB and BGP table. By rejecting excess updates (or tearing down the session when a threshold is exceeded), you stop route churn and table bloat at the source, which is the most effective way to lower CPU utilization. It also protects the router from a peer that advertises an abnormally large table due to misconfiguration or a route leak.

Why this answer

Applying a prefix-limit on each BGP session immediately restricts the number of prefixes the router will accept from peers. This prevents the Routing Protocol Daemon (rpd) from processing excessive BGP updates, reducing CPU load while maintaining network stability by keeping existing sessions and routes intact. The prefix-limit action (e.g., with a teardown threshold) ensures the router does not accept more prefixes than it can handle, directly addressing the root cause of high CPU usage.

Exam trap

The trap here is that candidates may confuse diagnostic actions (like checking logs) or disruptive resets (like clearing all BGP sessions) with immediate corrective measures, overlooking the targeted, non-disruptive solution of applying prefix limits to control route processing load.

How to eliminate wrong answers

Option A is wrong because checking logs ('show log messages') is a diagnostic step that does not reduce CPU load; it only gathers information, which is not an immediate action to alleviate the high CPU caused by continuous route processing. Option C is wrong because bouncing all BGP sessions with 'clear bgp neighbor *' would temporarily drop all BGP peers, causing a complete loss of routing information and network instability, and the CPU spike would likely recur when sessions re-establish and process the same 5000+ prefixes again. Option D is wrong because disabling BGP multipath does not reduce the number of prefixes being processed; it only affects how multiple equal-cost paths are used for forwarding, not the volume of route processing by rpd.

269
MCQmedium

An engineer configures two static routes to 172.16.0.0/16 with next-hops 10.0.1.1 and 10.0.2.1, both with the same preference and same metric. How does Junos handle traffic to this prefix?

A.It uses active/passive selection.
B.It load balances via ECMP.
C.It uses only the first configured route.
D.It drops traffic due to ambiguity.
AnswerB

Equal-cost multipath (ECMP) is the default behavior when multiple static routes share the same destination prefix and have identical preferences and metrics. Junos installs both routes in the routing table and uses a hash of packet header fields (e.g., source/destination IP) to select one of the equal next hops for each flow. This provides load balancing across the two paths without requiring any additional configuration. The routes are not mutually exclusive; they coexist and contribute to forwarding simultaneously.

Why this answer

Junos uses Equal-Cost Multipath (ECMP) when multiple static routes to the same destination prefix have identical preference (administrative distance) and metric. Since both routes to 172.16.0.0/16 have the same preference (default 5 for static routes) and metric (0 by default), Junos installs both in the forwarding table and load-balances traffic across the two next-hops (10.0.1.1 and 10.0.2.1) per-flow or per-packet depending on the configured hash algorithm.

Exam trap

The trap here is that candidates from a Cisco background often assume that only one static route can be active (like Cisco's behavior where the first route is used unless the next-hop fails), but Junos inherently supports ECMP for multiple static routes with equal metrics and preferences.

How to eliminate wrong answers

Option A is wrong because active/passive selection is a concept used in high-availability protocols like VRRP or in firewall failover, not in static route handling with equal preferences and metrics. Option C is wrong because Junos does not use only the first configured route; it evaluates all routes with the same preference and metric and installs them all for ECMP. Option D is wrong because there is no ambiguity; Junos explicitly supports multiple equal-cost routes to the same prefix and forwards traffic using ECMP rather than dropping it.

270
MCQmedium

Your data center uses Juniper QFX5110 switches as leaf nodes in a Virtual Chassis Fabric (VCF) topology with QFX5100 as spine nodes. You are adding a new QFX5110 leaf node to the fabric. The new switch is physically connected to all spine nodes as per the cabling guidelines. However, after powering on the new switch, it does not automatically join the fabric. The existing fabric shows the new switch's member ID as 8, but it remains in 'standalone' state. The VCF has been operational for several months without issues. You check the configuration on the existing VC and notice that the 'virtual-chassis' configuration does not include the new member. What is the most likely reason the new switch does not join?

A.The new switch is running a different version of Junos that is not compatible with the fabric
B.The new switch does not have the same virtual-chassis ID configured as the existing fabric
C.The new switch is only connected to one spine node, and VCF requires full mesh connections to all spines
D.The new switch has 'set virtual-chassis no-split-detection' enabled, preventing it from joining
AnswerB

In a Juniper Virtual Chassis Fabric, every member must share the same virtual-chassis ID (VC-ID) to be recognized as part of the fabric. If the new leaf's VC-ID differs, it will not accept member-add requests and will remain isolated even though physically connected. The VC-ID is typically configured at initial provisioning, and mismatches manifest as the device failing to join the fabric.

Why this answer

In a Virtual Chassis Fabric (VCF), all member switches must share the same virtual-chassis ID to be recognized as part of the same fabric. The existing fabric has a configured virtual-chassis ID, but the new QFX5110, by default, has a different or no virtual-chassis ID set. Without a matching virtual-chassis ID, the new switch cannot join the fabric and remains in 'standalone' state, even though it is physically connected and assigned a member ID.

Exam trap

The trap here is that candidates may assume a switch with a member ID assigned has successfully joined the fabric, but in VCF, member ID assignment happens early in the discovery process and does not guarantee full integration—the switch must also have a matching virtual-chassis ID to move out of 'standalone' state.

How to eliminate wrong answers

Option A is wrong because Junos supports mixed software versions in a VCF only if they are within the same major release train and compatible; the question states the fabric has been operational for months, and version incompatibility would typically cause a different error (e.g., 'version mismatch') rather than a 'standalone' state with a member ID assigned. Option C is wrong because VCF does not require full mesh connections to all spines; the cabling guidelines for VCF typically require each leaf to be connected to at least two spines for redundancy, but a single connection would not prevent the switch from joining—it would still join and then potentially have forwarding issues. Option D is wrong because 'set virtual-chassis no-split-detection' is a feature used to disable split-brain detection in a Virtual Chassis (not VCF) and is not relevant to a new switch joining a VCF; it does not prevent a switch from joining the fabric.

271
MCQmedium

Refer to the exhibit. An administrator wants to see authentication-related logs like SSH logins. In the current configuration, which log file contains this information?

A.utmp
B.interactive-commands
C.security
D.messages
AnswerD

The 'messages' file is the default syslog destination in Junos that captures a broad range of system events, including authentication and authorization messages. By default, the authentication facility is logged to /var/log/messages, so SSH login attempts (both successful and failed) appear there. This is confirmed by the 'show log messages' command, which reveals entries from sshd that contain 'Accepted password' or 'Failed password'.

Why this answer

In Junos, authentication-related logs such as SSH login attempts are recorded by default in the 'messages' log file. This file captures syslog messages for various system events, including authentication successes and failures. The 'interactive-commands' log file only logs user-executed CLI commands after successful login, not the authentication process itself.

The 'security' log is intended for firewall and security policy events, and 'utmp' is for user accounting. Therefore, option D is correct.

Exam trap

The trap is that candidates may assume interactive-commands logs authentication events because it records CLI commands, but authentication occurs before command logging begins. The default location for authentication logs is the messages file.

How to eliminate wrong answers

Option A is wrong because utmp is a Unix-style file that tracks currently logged-in users, not historical authentication logs; Junos does not use utmp for persistent logging of SSH logins. Option C is wrong because the 'security' log file is used for security-related events like firewall filters, NAT, and IPsec, not for authentication or SSH login logs. Option D is wrong because the 'messages' log file contains general system messages (e.g., kernel, interface, and daemon events) but does not specifically capture interactive command or authentication logs.

272
MCQmedium

A technician is troubleshooting a connectivity issue and needs to see the path packets take to a remote host. Which Junos command is appropriate?

A.traceroute
B.monitor interface
C.ping
D.show route
AnswerA

traceroute is the correct tool because it actively discovers the Layer 3 path by sending packets with incrementally increasing TTL (or hop limit in IPv6) values. Each router that decrements the TTL to zero discards the packet and returns an ICMP Time Exceeded message, revealing its interface address. This builds a sequential list of hops from source to destination, precisely what the technician needs to locate a connectivity break.

Why this answer

The `traceroute` command in Junos is the correct tool for tracing the path packets take to a remote host. It sends UDP probes with increasing TTL values and listens for ICMP Time Exceeded messages from intermediate routers, revealing each hop along the route. This directly matches the technician's need to see the path packets take.

Exam trap

The trap here is that candidates often confuse `ping` (which tests reachability) with `traceroute` (which shows the path), leading them to select ping when the question explicitly asks for the path packets take.

How to eliminate wrong answers

Option B is wrong because `monitor interface` is used to display real-time interface statistics and traffic counters, not to trace the path packets take to a remote host. Option C is wrong because `ping` only tests reachability and measures round-trip time to a destination, but it does not reveal the specific hops or path taken. Option D is wrong because `show route` displays the local routing table entries on the Junos device, not the actual path packets traverse through the network to a remote host.

273
MCQmedium

A network operator needs to backup the current configuration to a file on the local flash. Which command accomplishes this?

A.request system configuration rescue save
B.save /var/tmp/backup.conf
C.commit and-quit
D.show configuration | save /var/tmp/backup.conf
AnswerD

The `show configuration | save /var/tmp/backup.conf` command is the correct operational-mode method to back up the active configuration. `show configuration` displays the current committed configuration from operational mode, and the pipe to `save` redirects that output to a file, creating an ASCII text backup. This is a common practice for configuration archiving, as it captures exactly what is running without entering configuration mode. It is the only option that produces a usable backup file of the current configuration.

Why this answer

The correct command to backup the current configuration from operational mode is `show configuration | save /var/tmp/backup.conf`. This pipes the active configuration to the save command, writing it to the specified file. Option B (`save /var/tmp/backup.conf`) is a configuration mode command and will not work in operational mode.

Option A saves the rescue configuration, not the active configuration. Option C commits the configuration and exits but does not save to a file.

Exam trap

Watch out for the assumption that `save` alone works in operational mode — it is only available in configuration mode. The operational mode equivalent requires piping `show configuration` to `save`.

How to eliminate wrong answers

Option A is wrong because `request system configuration rescue save` saves the current active configuration as the rescue configuration, not to an arbitrary file path like `/var/tmp/backup.conf`. Option C is wrong because `commit and-quit` commits the candidate configuration and exits configuration mode, but does not save a backup copy to a file. Option D is wrong because `show configuration | save /var/tmp/backup.conf` saves the output of `show configuration` (which displays the active configuration) to a file, but this is a pipe to `save` that writes the text output, not a direct configuration backup command; it works but is less standard and can include formatting artifacts, whereas `save` is the proper operational-mode command for this task.

274
Multi-Selectmedium

Which TWO statements about the 'commit' operation in Junos are correct?

Select 2 answers
A.The commit operation validates syntax before applying, and if errors are found, the commit fails.
B.The commit operation automatically rolls back changes after 10 minutes if not confirmed.
C.The commit operation allows you to commit only a specific portion of the configuration.
D.The commit operation applies the configuration changes at the next system reboot.
E.The commit operation activates the candidate configuration as the new active configuration.
AnswersA, E

The commit operation first checks the candidate configuration for syntactic and schema errors using the Junos configuration validation engine. If an error is found — such as an invalid IP prefix, a missing mandatory statement, or an unknown hierarchy — the commit aborts and the candidate configuration remains unchanged. No part of the configuration is applied until the entire candidate passes validation, ensuring that only well-formed configurations become active.

Why this answer

Option A is correct because when you run commit, Junos first performs a syntax check on the candidate configuration, and if any syntax errors are detected, the commit fails and the candidate configuration is not activated. Option E is correct because the commit operation merges the candidate configuration into the active configuration, making it the new running (active) configuration on the device. Option B is incorrect because automatic rollback after 10 minutes only occurs with the 'commit confirmed' command, not a standard commit.

Option C is incorrect because Junos commits the entire candidate configuration; partial commits are not supported (you would use configuration groups or 'commit check' for validation instead). Option D is incorrect because commit applies changes immediately, not at the next system reboot.

Exam trap

The trap here is confusing the standard 'commit' with 'commit confirmed', which includes a 10-minute rollback timer, and assuming that Junos allows partial commits like some other platforms (e.g., Cisco's 'commit' with 'only' option).

275
MCQhard

A router is experiencing intermittent packet loss. The engineer runs 'show interfaces ge-0/0/0 extensive' and notices a high number of input errors but no output errors. What is the most likely cause?

A.The cable is too long
B.A faulty transceiver
C.MTU mismatch
D.The interface is oversubscribed
AnswerB

A faulty transceiver (SFP/SFP+/QSFP) is a classic source of receive-side errors: imperfect optical transmission or receiver degradation creates bit errors, FCS/CRC failures, and symbol errors that increment the input error counter. On Junos, an optics failure can appear intermittently as temperature or wavelength drifts, making it a prime suspect for sporadic packet loss with input errors. Swapping the optic is the standard first step to confirm.

Why this answer

A high number of input errors with no output errors on a Juniper interface typically indicates a Layer 1 issue at the receiving end. A faulty transceiver can cause signal degradation, leading to CRC errors, framing errors, or alignment errors, all of which are counted as input errors. Since output errors are absent, the problem is not with the router's transmission but with the incoming signal quality.

Exam trap

The trap here is that candidates often confuse input errors with output drops or oversubscription, but input errors are strictly Layer 1 physical-layer issues, not congestion or configuration mismatches.

How to eliminate wrong answers

Option A is wrong because a cable that is too long would likely cause both input and output errors due to signal attenuation and timing issues, not exclusively input errors. Option C is wrong because an MTU mismatch typically causes packet drops at the IP layer (often seen as 'giants' or 'fragmentation needed' counters) and would not manifest as a high number of input errors on the physical interface; it would more likely cause output errors or discards. Option D is wrong because an oversubscribed interface would show output drops or congestion-related discards, not input errors; input errors are physical-layer issues, not capacity-related.

276
MCQhard

Your enterprise network uses Juniper EX4300 switches in a collapsed core design with RSTP (802.1w) as the Layer 2 loop prevention protocol. You add a new EX2300 switch to an access closet and connect it to two different core switches using two uplink interfaces configured in an LACP LAG. After connecting the new switch, you notice intermittent connectivity issues across the entire network, with some devices reporting temporary packet loss. The issue occurs sporadically, especially during configuration changes or when links flap. You suspect the problem is related to RSTP. Upon investigation, you see that the new switch's uplink interfaces are both in the forwarding state, but occasionally one of them transitions to blocking and then back to forwarding. What is the most likely cause of the intermittent issues?

A.The LACP system priority is set too low on the new switch, causing it to lose LACP negotiations
B.The LAG is not recognized as a single logical link by RSTP, causing RSTP to see two separate links and create a loop
C.The uplink interfaces are configured as alternate ports instead of root ports
D.The new switch has a different root bridge priority, causing it to become the root and disrupting topology
AnswerB

RSTP should treat a LAG as one link, but if the LAG is not configured correctly (e.g., missing 'lacp' or 'aggregate' statements), RSTP can see separate links and cause a loop, leading to intermittent blocking.

Why this answer

B is correct because the two uplinks are connected to two different core switches. A standard LACP LAG requires both links to terminate on the same remote switch. Since they terminate on different switches, the LAG does not form and RSTP sees two separate physical links.

This creates a loop between the EX2300 and the core (via the core switches' interconnection), so RSTP blocks one link. When configuration changes or link flaps occur, RSTP recalculates and the blocked port can temporarily transition to forwarding, causing intermittent packet loss.

Exam trap

The trap here is thinking that a LAG across two different switches works like a single LAG. In Junos, a standard LACP LAG spans only a single remote switch (unless using MC-LAG or virtual chassis). Without that, RSTP treats the links as separate and blocks one.

How to eliminate wrong answers

Option A is wrong because LACP system priority affects which switch controls the LAG during negotiation, but it does not cause RSTP to see separate links; even with correct LACP negotiation, if the interfaces are not configured as a logical ae interface, RSTP still treats them as individual links. Option C is wrong because alternate ports are a normal RSTP role for backup paths and do not inherently cause intermittent issues; the problem is that RSTP is actively blocking one of the LAG member links to prevent a loop, not that the ports are in an alternate role. Option D is wrong because a different root bridge priority would cause a new root election, but the question states the new switch's uplinks are both in forwarding state initially, and the issue is specifically related to RSTP blocking one link due to loop detection, not a root bridge change.

277
MCQhard

A company is deploying an EVPN-VXLAN fabric with Juniper QFX switches. To provide inter-subnet routing, which interface type must be configured?

A.Physical interface with vlan-tagging
B.VXLAN tunnel endpoint (VTEP)
C.IRB interface
D.Loopback interface
AnswerC

An IRB (Integrated Routing and Bridging) interface is a logical, per-VLAN Layer 3 interface that provides the default gateway for hosts within that VLAN in an EVPN-VXLAN fabric. It bridges frames within the VLAN (via the bridging table) and routes packets between VLANs (via the routing table), enabling local inter-VLAN traffic without hair-pinning to an external router. This is exactly the required function: a Layer 3 gateway that is integrated with the VXLAN overlay, making IRB the correct answer.

Why this answer

In an EVPN-VXLAN fabric, Integrated Routing and Bridging (IRB) interfaces are required to provide inter-subnet routing. IRB interfaces act as Layer 3 gateways within the VXLAN overlay, enabling routing between different VLANs/VXLANs by terminating both the bridge domain and the routing instance. Without IRB, traffic cannot be routed between subnets in the EVPN-VXLAN fabric.

Exam trap

The trap here is that candidates often confuse VTEPs (which handle tunneling) with the routing function, mistakenly thinking that configuring a VTEP alone enables inter-subnet routing, when in fact an IRB interface is required to act as the Layer 3 gateway.

How to eliminate wrong answers

Option A is wrong because a physical interface with vlan-tagging is used for trunking multiple VLANs on a single physical port, but it does not provide Layer 3 routing between subnets in an EVPN-VXLAN fabric. Option B is wrong because a VXLAN tunnel endpoint (VTEP) is responsible for encapsulating and decapsulating VXLAN traffic, but it does not perform routing; routing requires a separate logical interface like IRB. Option D is wrong because a loopback interface is a virtual interface used for management, OSPF router ID, or BGP peering, but it cannot serve as a gateway for inter-subnet routing in the overlay.

278
MCQeasy

A network engineer needs to configure an interface on a Juniper device to use DHCP to obtain an IP address. Which hierarchy is used to apply this configuration?

A.set interfaces ge-0/0/0 unit 0 family inet dhcp
B.set interfaces ge-0/0/0 dhcp-client
C.set interfaces ge-0/0/0 unit 0 family inet6 dhcp
D.set interfaces ge-0/0/0 unit 0 family ppp dhcp
AnswerA

This is the correct Junos syntax for enabling a DHCP client on an interface. The configuration is placed under the logical interface (unit 0) and specifically within the 'family inet' hierarchy, which governs IPv4. By using the 'dhcp' statement there, the interface will send DHCPv4 discovery messages and accept a dynamically allocated IPv4 address, default route, and DNS servers from the DHCP server. This statement is the only valid among the options that correctly targets IPv4 DHCP.

Why this answer

On Juniper devices, DHCP client functionality for IPv4 is configured under the `family inet` hierarchy within a logical interface unit. The command `set interfaces ge-0/0/0 unit 0 family inet dhcp` enables the interface to obtain an IPv4 address via DHCP, which is the standard method for dynamic address assignment on Ethernet interfaces.

Exam trap

The trap here is that Cisco engineers often expect DHCP client configuration to be applied directly under the physical interface (like `ip address dhcp` on Cisco IOS), but Junos requires it under the logical unit and address family hierarchy, leading candidates to choose option B.

How to eliminate wrong answers

Option B is wrong because `set interfaces ge-0/0/0 dhcp-client` is not a valid Junos configuration hierarchy; DHCP client settings must be applied under the logical unit and address family, not directly under the physical interface. Option C is wrong because `family inet6 dhcp` is used for DHCPv6 (IPv6), not for obtaining an IPv4 address via DHCP, which is the requirement in the question. Option D is wrong because `family ppp dhcp` is not a standard Junos configuration; PPP interfaces use different mechanisms (like IPCP) for address assignment, and DHCP is not applied under `family ppp`.

279
MCQmedium

An engineer is editing the candidate configuration on a Junos device and wants to verify the changes she has made so far without leaving configuration mode or committing anything. She also needs to see only the lines she has added or modified relative to the active configuration. Which command accomplishes this?

A.show configuration | display set
B.commit check
C.rollback 0
D.show | compare
AnswerD

In configuration mode, show | compare displays the difference between the candidate configuration and the active (committed) configuration, showing added lines with a plus sign and removed lines with a minus sign. It does not commit or exit configuration mode, and it lets the engineer confirm exactly what would change before running commit.

Why this answer

The compare pipe in configuration mode shows the delta between the candidate and active configurations, marking additions and deletions. It is the standard way to preview pending edits before a commit, working entirely within configuration mode. Commands that render the whole candidate, validate syntax, or revert the candidate do not satisfy the need to see only modified lines.

Exam trap

The trap here is assuming that viewing the candidate configuration with display set or validating it with commit check reveals which lines changed, when only the compare pipe shows the delta against the active configuration.

280
MCQmedium

An engineer configures a static route to 192.168.0.0/16 with next-hop 172.16.1.1. The static route appears as 'hidden' in the routing table. What is the most likely cause?

A.The static route preference is set too high
B.The next-hop address 172.16.1.1 is unreachable
C.The static route has not been committed
D.The static route is a discard route
AnswerB

For a static route to be installed, its next-hop address must be resolvable through an entry in the routing table. If 172.16.1.1 is not reachable—for instance, the directly connected subnet is down or no route to that address exists—Junos marks the route as hidden because the next-hop cannot be resolved. The route remains in the configuration and can be seen with 'show route protocol static hidden', but it is not placed in the forwarding table. This is the exact reason the route appears as hidden.

Why this answer

In JUNOS, a static route with a next-hop that is not reachable (i.e., there is no active route to the next-hop) is automatically placed in a 'hidden' state. The most likely cause is that the next-hop 172.16.1.1 is unreachable.

Exam trap

The trap is that candidates might think a hidden route is due to protocol preference or commit issues. In JUNOS, 'hidden' specifically indicates a next-hop resolution failure, meaning the next-hop address is not reachable via any active route.

How to eliminate wrong answers

Option A is wrong because a high preference (administrative distance) would cause the route to be present in the routing table but not selected as active (it would be a 'non-preferred' route, not 'hidden'). Option C is wrong because an uncommitted configuration would not appear in the routing table at all; 'hidden' routes are committed but not usable due to a reachability issue. Option D is wrong because a discard route (e.g., 'static route next-hop discard') is explicitly configured and appears as an active 'discard' route in the routing table, not as 'hidden'.

281
Multi-Selectmedium

Which TWO methods can be used to restore a previous configuration on a Juniper device? (Select two.)

Select 2 answers
A.load override /config/rescue.conf
B.commit confirmed
C.rollback 1
D.load replace previous
E.rollback 0
AnswersA, C

The rescue configuration is a dedicated backup file stored at /config/rescue.conf. The 'load override' command replaces the entire candidate configuration with the contents of this file, which can then be committed to restore the device to a known-good state. This is a valid and reliable method for recovering a previous configuration, especially in disaster recovery scenarios.

Why this answer

Option A, `load override /config/rescue.conf`, is correct because the rescue configuration is a saved, known-good configuration file that can be loaded with the `load override` command to replace the entire current candidate configuration, after which a `commit` restores the device to that prior state. Option C, `rollback 1`, is correct because Junos retains the last 49 committed configurations, and `rollback 1` loads the immediately previous committed configuration into the candidate, which can then be committed to restore the earlier configuration. Option B, `commit confirmed`, is not a restore method; it activates a configuration temporarily and auto-rolls back unless confirmed, so it is used for safe changes, not for restoring a previous config.

Option D, `load replace previous`, is invalid syntax—`load replace` requires a specific file or terminal input, and there is no `previous` keyword for it. Option E, `rollback 0`, loads the currently active (most recent) committed configuration, so it does not restore an earlier configuration.

Exam trap

The trap here is that candidates often confuse 'rollback 0' with restoring a previous configuration, not realizing that rollback 0 refers to the current active configuration, while rollback 1 or higher is needed to access a prior committed configuration.

282
MCQeasy

Which command is used to view the terminal history of commands entered by the user?

A.show system commit
B.show cli history
C.show configuration
D.show log messages
AnswerB

The `show cli history` command prints a numbered list of commands entered by the user during the current terminal session, including both operational and configuration mode commands. This is the correct tool for viewing the terminal history of commands. The history buffer is session-scoped, so it only reflects commands issued in the current login session, and the list can be used to quickly re-execute a prior command.

Why this answer

The 'show cli history' command displays the list of previously entered CLI commands in the current session, allowing users to recall and re-execute them. This is a Junos-specific command that provides a terminal history feature, distinct from the commit history or system logs.

Exam trap

The trap here is that candidates often confuse 'show system commit' (which shows configuration commit history) with 'show cli history' (which shows the terminal command history), as both involve 'history' but serve entirely different purposes.

How to eliminate wrong answers

Option A is wrong because 'show system commit' displays the commit history (list of configuration changes committed), not the terminal command history. Option C is wrong because 'show configuration' displays the current active configuration, not the CLI command history. Option D is wrong because 'show log messages' displays system log messages (syslog entries), not the user's command history.

283
MCQmedium

Refer to the exhibit. Why is the route via 10.0.0.1 selected as the active route?

A.It has a lower metric
B.It has a lower cost
C.It is an older route
D.It has a lower preference
AnswerD

This is correct: route preference is the first and most decisive factor in Junos active-route selection. Preference is a numeric value assigned to each protocol (for example, static is 5 or 10, OSPF internal is 10, OSPF external is 150). When multiple routes to the same destination exist, Junos installs the one with the lowest preference, so the route via 10.0.0.1 with preference 10 wins over the less-preferred alternative with preference 150.

Why this answer

In Junos, the active route is selected based on the route preference value, where a lower preference is preferred. Since the route via 10.0.0.1 has a lower preference than the other route, it is chosen as active. This is a fundamental Junos routing decision process, distinct from metrics which are used within a single routing protocol.

Exam trap

The JNCIA-JUNOS exam often tests the misconception that metric (or cost) is the primary tiebreaker for route selection across all scenarios, but in Junos, preference is the first criterion for choosing between routes from different protocols or sources.

How to eliminate wrong answers

Option A is wrong because metric is used within a single routing protocol (e.g., OSPF cost, RIP hop count) to compare routes from the same protocol, not across different protocols or routes; Junos uses preference for inter-protocol route selection. Option B is wrong because cost is a specific metric for OSPF and does not determine active route selection across different routing protocols or sources. Option C is wrong because route age is not a factor in Junos active route selection; Junos does not prefer older or newer routes based on age.

284
Multi-Selectmedium

Which THREE operational commands are used to monitor interface statistics and status? (Select three.)

Select 3 answers
A.show interfaces terse
B.monitor interface
C.show interfaces
D.show log interfaces
E.show interfaces diagnostics
AnswersA, B, C

The 'show interfaces terse' command is a compact operational mode command that lists every interface on a single line, displaying the administrative and link status, protocol status, and configured IP addresses. It is ideal for quickly determining which interfaces are up or down, and is often used in scripts to capture a high-level snapshot of interface state.

Why this answer

Option A, "show interfaces terse," is correct because it provides a compact, one-line-per-interface summary of operational status (up/down), protocol state, and basic counters, making it ideal for quickly monitoring interface status. Option B, "monitor interface," is correct because it displays real-time, continuously updating interface statistics and status, which is specifically designed for live monitoring of interface traffic and errors. Option C, "show interfaces," is correct because it gives detailed operational output including status, protocol state, error counters, and statistics for each interface, serving as a primary monitoring command.

Option D, "show log interfaces," is not a valid operational command for monitoring interface statistics and status; logs are viewed with commands like "show log messages." Option E, "show interfaces diagnostics," is not a standard command for monitoring interface statistics and status; diagnostics commands typically display optics or hardware diagnostic information rather than general interface status and counters.

Exam trap

The trap here is that candidates may confuse 'show log interfaces' with the valid 'show log' command or mistakenly think 'show interfaces diagnostics' is a catch-all command, when in reality Junos requires specific sub-commands like 'show interfaces diagnostics optics' for optics monitoring.

285
Multi-Selecthard

Which THREE statements correctly describe the behavior of the 'replace pattern' command in Junos configuration mode?

Select 3 answers
A.It validates the replacement configuration for correctness before applying.
B.It automatically commits the changes after replacement.
C.It can be used to change interface names or IP addresses throughout the configuration.
D.It operates on the candidate configuration, not the active configuration.
E.It uses regular expressions to match and replace text patterns in the configuration.
AnswersC, D, E

A typical use case for this command is a bulk rename, such as converting all occurrences of an interface name from 'fe-0/0/0' to 'xe-0/0/0' or updating an IP address across numerous units. Because the pattern is applied across the entire configuration, you can effect broad changes with a single command rather than editing each statement manually. For this to work reliably, the regex must be precise enough to match only the intended occurrences.

Why this answer

Option C is correct because the 'replace pattern' command performs a global find-and-replace across the candidate configuration, making it ideal for renaming interfaces or changing IP addresses everywhere they appear. Option D is correct because 'replace pattern' edits the candidate configuration, not the active configuration, so changes must still be committed to take effect. Option E is correct because the command matches text using regular expressions (e.g., 'replace pattern ge-0/0/0 with ge-0/0/1'), allowing flexible pattern-based substitutions.

Option A is not correct because 'replace pattern' does not itself validate the replacement for correctness before applying; validation occurs at commit time via 'commit check' or the commit process. Option B is not correct because 'replace pattern' does not automatically commit changes; the user must explicitly issue a 'commit' command afterward.

Exam trap

The trap here is that candidates often assume 'replace pattern' performs validation or auto-commits, confusing it with other Junos commands like 'load replace' or 'commit check', when in fact it is a simple text substitution tool that requires a separate commit to take effect.

286
MCQeasy

Refer to the exhibit. How many next hops are installed for the 10.1.1.0/24 route?

A.4
B.2
C.3
D.1
AnswerB

Two next hops are installed for the 10.1.1.0/24 route because Junos OS leverages Equal-Cost Multipath (ECMP). When the routing table contains multiple paths to a destination with identical metrics, Junos selects all of them. These paths are then installed as distinct next hops in the forwarding table, enabling traffic to be load-balanced. This directly addresses the question regarding the number of *installed* next hops.

Why this answer

The route 10.1.1.0/24 has two next hops installed because the routing table shows two distinct next-hop addresses (e.g., 192.168.1.1 and 192.168.2.1) under the same route entry. In JUNOS, when equal-cost paths exist, the route is installed with multiple next hops, and the count reflects the number of unique next-hop entries, not the number of interfaces or paths in a load-balancing set.

Exam trap

The trap here is that candidates often count the number of interfaces or paths shown in the output (e.g., two interfaces with two IPs each) and mistakenly think each interface represents a separate next hop, when JUNOS counts only the unique next-hop IP addresses.

How to eliminate wrong answers

Option A is wrong because 4 would imply four next hops, but the exhibit shows only two next-hop addresses for this route, not four. Option C is wrong because 3 would require three next hops, but the routing table output clearly lists two next hops. Option D is wrong because 1 would indicate a single next hop, but the route has two next hops due to ECMP (Equal-Cost Multi-Path) being active.

287
MCQhard

Two routers are connected via a point-to-point Ethernet link. They are configured with IP addresses in the same subnet, but OSPF does not form an adjacency. The link is up/up. What is a likely cause?

A.The routers are in different OSPF areas
B.OSPF authentication is configured on one router but not the other
C.The routers have the same router ID
D.The OSPF hello and dead intervals are mismatched
AnswerD

OSPF routers must use identical hello and dead intervals on a given interface because these values are advertised inside every hello packet. When the receiving router compares the peer's hello interval or dead interval with its own configured values and they differ, it silently drops the hello without generating an error log, so the neighbor never advances past the Down state. This is a classic configuration error, especially when timers are adjusted on only one end of the link, and it directly matches the scenario where two connected routers with otherwise valid OSPF settings fail to become adjacent.

Why this answer

OSPF requires that Hello and Dead intervals match between neighbors on a point-to-point link to form an adjacency. Even though the link is up/up and IP addresses are in the same subnet, mismatched timers prevent the routers from agreeing on neighbor state, so no adjacency forms.

Exam trap

The trap here is that candidates often assume IP connectivity or subnet matching is sufficient for OSPF adjacency, but OSPF has strict timer matching requirements that are frequently tested as a subtle failure cause.

How to eliminate wrong answers

Option A is wrong because OSPF routers in different areas can still form an adjacency over a point-to-point link as long as they share a common area; area mismatch would prevent adjacency only if they are not configured with a shared area. Option B is wrong because OSPF authentication mismatch (one router configured, the other not) would cause authentication failures in OSPF packets, preventing adjacency, but this is not the most likely cause given the question's context of a simple point-to-point Ethernet link. Option C is wrong because identical router IDs would cause a conflict, but OSPF will still attempt to form an adjacency and may log a duplicate ID error; however, the most common and direct cause of no adjacency with a working link is mismatched Hello/Dead intervals.

288
MCQmedium

A network engineer notices that traffic to a critical server is being dropped intermittently. The server is reachable via a static route on the Juniper router. The engineer checks the routing table and sees the route is present. Which operational command should the engineer use next to isolate the issue?

A.show interfaces terse
B.show route 10.0.0.1
C.show arp
D.show route forwarding-table destination 10.0.0.1
AnswerD

show route forwarding-table destination 10.0.0.1 is the correct command because it queries the Packet Forwarding Engine's forwarding table (FIB) for the specific destination. While show route only shows the RIB in the Routing Engine, this command reveals the actual entry the PFE uses to forward packets, including the resolved next hop and output interface. If the route exists in the RIB but traffic is dropped, this command can expose a missing or stale forwarding entry, an incorrect next hop, or a drop caused by a firewall filter applied in the forwarding path.

Why this answer

The `show route forwarding-table destination 10.0.0.1` command displays the actual forwarding entry in the kernel's forwarding table (FIB). Even if the route is present in the routing table (RIB), a mismatch between the RIB and FIB can cause traffic drops. This command directly verifies whether the route has been installed into the forwarding table, isolating the issue to a possible hardware or kernel programming failure.

Exam trap

The trap here is that candidates assume a route present in the routing table guarantees it is being used for forwarding, but Junos separates control plane (RIB) from forwarding plane (FIB), so the FIB must be checked separately to identify programming failures.

How to eliminate wrong answers

Option A is wrong because `show interfaces terse` only displays interface status and configuration, not the routing or forwarding state for a specific destination. Option B is wrong because `show route 10.0.0.1` shows the route in the routing table (RIB), which the engineer already confirmed is present; it does not reveal whether the route is correctly programmed into the forwarding table (FIB). Option C is wrong because `show arp` displays the ARP cache for resolving next-hop MAC addresses, but the issue is about traffic being dropped despite a valid route, not about Layer 2 resolution failures.

289
Multi-Selecthard

Which THREE statements about the Junos OS file system are true? (Choose three.)

Select 3 answers
A.The /etc directory contains all log files
B.The /altroot directory is used for user-uploaded files
C.The active configuration is stored in the /config directory
D.Log files are typically stored in /var/log
E.The file system is UNIX-like with directories such as /, /var, /config
AnswersC, D, E

The active Junos configuration is stored as the file juniper.conf.gz in the /config directory, which is a separate partition mounted at boot. This location persists across reboots and is distinct from the running configuration held in /var/run, and from the candidate configuration edited with 'configure'. The /config directory also stores rescue configurations, which provide a known-good fallback if the active file becomes corrupted.

Why this answer

Option C is correct because the active Junos configuration is saved as juniper.conf.gz in the /config directory, which is a separate partition from the root file system. Option D is correct because Junos OS writes its log files, such as messages and interactive-commands, into the /var/log directory. Option E is correct because the Junos OS file system is a FreeBSD-based, UNIX-like hierarchy containing standard directories including /, /var, and /config.

Option A is incorrect because /etc holds system configuration files, not log files, which reside in /var/log. Option B is incorrect because /altroot is a backup root partition used for alternate boot images, not for user-uploaded files, which are typically placed in /var/tmp or /var/home.

Exam trap

The trap here is that candidates confuse the `/etc` directory (which stores system configs, not logs) with the standard Linux convention, or they mistakenly think `/altroot` is for user files instead of its actual purpose as a backup root filesystem.

290
MCQhard

What permission bit must be included in a custom login class to allow a user to execute the ping command?

A.view
B.control
C.system
D.network
AnswerD

The 'network' permission is the specific permission bit that enables users to run network diagnostic tools, including ping, traceroute, and similar utilities. Without this bit, these commands are not available even if other permissions are present. Therefore, to create a custom login class that can ping, you must include the 'network' permission.

Why this answer

Network. In Junos, the 'network' permission bit controls access to network diagnostic commands such as ping, traceroute, and ssh. Without this permission, a user cannot execute these commands even if they have other permissions like view or control.

Exam trap

The trap here is that candidates often assume 'view' or 'control' permissions are sufficient for basic troubleshooting commands, but Junos requires the specific 'network' permission bit for any command that sends or receives network traffic.

How to eliminate wrong answers

Option A is wrong because 'view' permission allows read-only access to configuration and operational data, but does not permit execution of diagnostic commands like ping. Option B is wrong because 'control' permission allows modifying the configuration and managing system operations, but does not grant access to network diagnostic commands. Option C is wrong because 'system' permission controls system-level commands such as halt, reboot, and file system operations, not network diagnostic tools like ping.

291
MCQmedium

A Juniper router is configured with two static routes to the same destination network, both with the same preference. One route has a metric of 5, the other a metric of 10. Which route will be installed in the routing table?

A.Neither route is installed because they conflict
B.The route with metric 5 is installed
C.The route with metric 10 is installed
D.Both routes are installed with equal preference
AnswerB

When two static routes share the same preference, Junos treats the lower metric as the better path. The metric-5 route therefore wins the route selection and is installed in the forwarding table; metric 10 remains inactive.

Why this answer

In JUNOS, when multiple static routes to the same destination have the same preference (administrative distance), the route with the lower metric is selected for installation in the routing table. Here, metric 5 is lower than metric 10, so the route with metric 5 is installed. This behavior follows the standard route selection process where preference is evaluated first, then metric (also called cost or next-hop metric) as a tiebreaker.

Exam trap

The trap here is that candidates often confuse metric with preference or assume that both routes will be installed for load balancing, but JUNOS requires equal metrics (and equal preferences) for ECMP, not just equal preferences.

How to eliminate wrong answers

Option A is wrong because static routes to the same destination with different metrics do not conflict; JUNOS can select one based on metric when preference is equal. Option C is wrong because the route with metric 10 is not installed; the lower metric (5) is preferred, not the higher one. Option D is wrong because both routes are not installed with equal preference; only the best metric route is installed, and JUNOS does not install multiple equal-preference static routes to the same destination unless they have equal metrics (and even then, only one is typically active).

292
MCQmedium

A BGP session is flapping. The engineer runs 'show log messages' and sees 'BGP recv Notification' with error code 'Cease'. What does this indicate?

A.The BGP table is full
B.The hold timer expired
C.The remote peer closed the connection
D.The interface went down
AnswerC

A BGP Cease notification indicates that the remote peer explicitly sent a NOTIFICATION message to terminate the BGP session. The Cease error code (6) covers several subcodes, such as administrative shutdown, peer de-configured, or local system restart, but all mean the remote peer closed the connection at the BGP protocol level. Because the log specifically records a Cease, the most direct inference is that the remote peer closed the connection, thereby causing the session to flap. This is why this is the correct answer.

Why this answer

A BGP Cease notification indicates that the remote peer has closed the BGP session, often due to an administrative shutdown, configuration change, or error condition on the peer. The 'BGP recv Notification' message means the local router received this notification from the peer, so the remote peer initiated the closure.

Exam trap

The trap here is that candidates often confuse 'Cease' with a hold timer expiration, but 'Cease' is a clean notification sent by the peer, while hold timer expiration is a local detection of a missed keepalive.

How to eliminate wrong answers

Option A is wrong because a full BGP table would typically cause a 'BGP recv Notification' with error code 'Resource' or 'Maximum Prefixes', not 'Cease'. Option B is wrong because a hold timer expiration results in a 'Hold Timer Expired' error code, not 'Cease'. Option D is wrong because an interface going down would cause a BGP session reset due to a TCP connection failure, not a clean 'Cease' notification.

293
MCQeasy

A Juniper device receives several routes to the same destination prefix from different routing protocols. Which parameter is used first to select the active route?

A.Route preference (administrative distance)
B.Metric
C.AS path length
D.Local preference
AnswerA

Route preference (administrative distance) is the first criterion Junos uses when selecting the best route to a destination among routes from different routing protocols. Each protocol has a default preference value (e.g., OSPF 10, BGP 170), and the route with the lowest preference wins. Because these values are locally defined and universally comparable across protocols, they serve as the primary tie-breaker.

Why this answer

When a Juniper device receives multiple routes to the same destination prefix from different routing protocols, the route preference (also known as administrative distance) is the first tiebreaker used to select the active route. Each protocol has a default preference value (e.g., OSPF internal routes have a preference of 10, while static routes have a preference of 5), and the route with the lowest preference is chosen as active. This occurs before any metric or other path attribute is considered.

Exam trap

The trap here is that candidates often confuse route preference with metric, thinking that a lower metric from one protocol will automatically beat a higher metric from another protocol, but in reality, metric comparisons are only valid within the same routing protocol.

How to eliminate wrong answers

Option B is wrong because metric is only compared among routes from the same routing protocol (e.g., OSPF cost or BGP MED) and is not used to compare routes from different protocols. Option C is wrong because AS path length is a BGP-specific attribute used for path selection within BGP, not for comparing routes from different routing protocols. Option D is wrong because local preference is a BGP attribute used to influence outbound traffic within an AS and is only considered during BGP path selection, not across different routing protocols.

294
MCQeasy

An administrator is configuring a static route to a remote network 10.10.10.0/24 via next-hop 192.168.1.1. Which command correctly adds this route?

A.set routing-options route 10.10.10.0/24 static next-hop 192.168.1.1
B.set routing-options static route 10.10.10.0 next-hop 192.168.1.1 mask 255.255.255.0
C.set routing-options static next-hop 192.168.1.1
D.set routing-options static route 10.10.10.0/24 next-hop 192.168.1.1
AnswerD

This is the correct Junos syntax for a static route. The hierarchy is 'routing-options static route' followed by the destination prefix in CIDR notation, then the 'next-hop' statement with the gateway address. This configuration installs a route to 10.10.10.0/24 via 192.168.1.1 into the routing table and is the expected format for Junos candidates.

Why this answer

The Junos syntax for configuring a static route uses the hierarchy `set routing-options static route <destination-prefix> next-hop <address>`. The prefix must include the subnet mask in CIDR notation (e.g., /24). This command installs a route to 10.10.10.0/24 with next-hop 192.168.1.1 into the routing table.

Exam trap

The trap here is that candidates familiar with Cisco IOS may try to use a separate `mask` parameter (as in Option B) or place the route directly under `routing-options route` (as in Option A), failing to recognize Junos requires the `static route` hierarchy and CIDR notation in the destination.

How to eliminate wrong answers

Option A is wrong because the hierarchy is incorrect; `route` is not a direct child of `routing-options` — static routes must be under `routing-options static route`. Option B is wrong because it incorrectly uses a separate `mask` parameter instead of CIDR notation; Junos requires the prefix length in the destination (e.g., 10.10.10.0/24), not a separate mask. Option C is wrong because it omits the destination prefix entirely; a static route must specify both the destination network and the next-hop.

295
Multi-Selectmedium

Which two statements correctly describe Junos OS login classes? (Choose two.)

Select 2 answers
A.They allow users to enter only operational mode.
B.They are defined under the [edit system login class] hierarchy.
C.They are automatically assigned to all users by default.
D.They can restrict access to configuration mode.
E.They cannot be modified after creation.
AnswersB, D

Login classes are indeed configured under the [edit system login class] hierarchy in the Junos OS configuration. This hierarchy allows an administrator to define named classes, such as 'super-user', 'read-only', or custom classes, and assign permissions to each. For example, the command 'set system login class myclass permissions view' creates a class under that hierarchy, confirming that this is the definitive location for defining login class attributes in Junos.

Why this answer

Option B is correct because login classes are configured at the [edit system login class class-name] hierarchy in Junos OS, where you define permissions and other login parameters. Option D is correct because a login class can include or exclude the configure permission, thereby restricting whether a user can enter configuration mode. Options A, C, and E are incorrect: login classes do not force operational-mode-only access (that depends on permissions such as configure), they are not automatically assigned to all users by default (each user must be associated with a class, otherwise the default class applies), and they can be modified or deleted after creation.

Exam trap

The trap here is that candidates often confuse login classes with user accounts, assuming classes are automatically applied or immutable, when in fact they are manually assigned and fully configurable.

296
MCQeasy

A network engineer needs to revert to the configuration that was committed two commits ago. Which rollback number should they use?

A.rollback 0
B.rollback 2
C.rollback 1
D.rollback 3
AnswerB

Junos maintains up to 50 previous committed configurations in its rollback log. The rollback command uses an index where 0 is the current active configuration, 1 is the most recent previous commit, and 2 is the commit before that. Thus, "rollback 2" precisely stages the configuration from two commits ago into the candidate, allowing the engineer to then commit it and revert to that earlier state.

Why this answer

The rollback command in Junos OS allows reverting to a previously committed configuration. The rollback number corresponds to the number of commits ago, starting with rollback 0 for the most recent commit, rollback 1 for the commit before that, and so on. Therefore, to revert to the configuration committed two commits ago, the correct rollback number is 2.

Exam trap

The trap here is confusing the rollback number with the number of commits to revert, where candidates might mistakenly think rollback 1 means one commit ago (which is correct) but then incorrectly apply that logic to two commits ago by choosing rollback 1 instead of rollback 2.

How to eliminate wrong answers

Option A is wrong because rollback 0 refers to the most recent committed configuration, not two commits ago. Option C is wrong because rollback 1 refers to the configuration committed one commit ago, not two. Option D is wrong because rollback 3 refers to the configuration committed three commits ago, which is further back than needed.

297
MCQhard

Refer to the exhibit. An engineer notices that SNMP traffic from source 10.1.1.1 is being rejected on interface ge-0/0/1. The engineer wants to allow SNMP from this source while still blocking other SNMP traffic from the 10.0.0.0/8 range. Which change should be made?

A.Add a term at the end to permit all from 10.1.1.1
B.Change the source-address in term 1 to 10.0.0.0/8 except 10.1.1.1
C.Insert a term 0 before term 1 to permit SNMP from 10.1.1.1
D.Remove the filter and apply a new filter that permits SNMP from 10.1.1.1
AnswerC

Inserting a term 0 before term 1 is the correct fix because firewall filters evaluate terms in ascending order and stop at the first match. The new term can match SNMP traffic (e.g., destination UDP port 161/162) from source 10.1.1.1 and apply an accept action, ensuring this specific traffic is permitted before any subsequent deny or reject terms are evaluated. This placement creates a precise exception, allowing the engineer to keep the existing filter's broader rules intact while restoring SNMP access for the identified host.

Why this answer

Firewall filters in Junos are evaluated sequentially from the lowest term number. By inserting a new term 0 before the existing term 1 that explicitly permits SNMP traffic (UDP ports 161/162) from source 10.1.1.1, the filter will match and accept this traffic before reaching the deny term for the 10.0.0.0/8 range. This ensures the specific host is allowed while still blocking other SNMP traffic from the broader subnet.

Exam trap

The trap here is that candidates often think they can use an 'except' keyword or add a term at the end to override a previous deny, not realizing that Junos filters stop processing after the first match and do not support exclusion syntax within a source-address match.

How to eliminate wrong answers

Option A is wrong because adding a term at the end would never be evaluated if the preceding term 1 (which denies 10.0.0.0/8) already matches and rejects the traffic; Junos firewall filters stop processing after the first match. Option B is wrong because Junos does not support an 'except' modifier on source-address in a firewall filter term; you cannot exclude a single host from a prefix match within the same term. Option D is wrong because it is unnecessarily disruptive and inefficient; the existing filter can be modified by inserting a term, which is the standard Junos practice for such requirements.

298
MCQhard

An enterprise uses OSPF across multiple areas. To reduce routing table size in the backbone area, the engineer wants to advertise a single summary route for all subnets in area 2. Which configuration is appropriate?

A.Configure a virtual-link between area 2 and area 0
B.Configure a default route from area 2 using 'default-metric'
C.Use a static route for the summary and redistribute it into OSPF
D.Configure 'area 2 area-range 10.0.0.0/16' on the ABR
AnswerD

On an ABR, the 'area range' command summarizes routes from a specified area into a single aggregate prefix that is advertised to other areas. In this case, 'area 2 area-range 10.0.0.0/16' instructs the ABR to collapse all more-specific routes within 10.0.0.0/16 that belong to area 2 into one summary LSA. This reduces the number of routes in the global routing table of routers in other areas, while still allowing intra-area routes inside area 2 to remain detailed for local routing. This is the native and preferred OSPF mechanism for route summarization.

Why this answer

The 'area-range' command on an Area Border Router (ABR) allows you to summarize a set of routes from a specific area into the backbone (area 0) by advertising a single aggregate route (e.g., 10.0.0.0/16) instead of all individual subnets. This reduces the routing table size in area 0 while still providing reachability to all subnets in area 2.

Exam trap

The trap here is that candidates often confuse 'area-range' (which summarizes routes between areas) with 'virtual-link' (which fixes connectivity issues) or assume redistribution is needed for summarization, when OSPF's built-in ABR summarization is the correct and simplest method.

How to eliminate wrong answers

Option A is wrong because a virtual-link is used to connect a non-backbone area to area 0 when the area is physically disconnected, not for route summarization; it does not create a summary route. Option B is wrong because 'default-metric' is used to set the metric for default routes redistributed into OSPF, but it does not summarize area-specific subnets into a single route. Option C is wrong because using a static route and redistributing it into OSPF would create a separate external route (type 5 LSA) rather than a type 3 summary LSA, and it would not automatically summarize all subnets in area 2; it also adds administrative overhead and may cause suboptimal routing.

299
MCQhard

An administrator suspects that an interface is flapping but the router is remote and the connection is intermittent. The administrator wants to monitor the interface status without maintaining an SSH session. Which approach should be used?

A.Configure event-options to trigger on interface down and send syslog
B.Use 'monitor interface ge-0/0/0' and rely on terminal persistence
C.Use 'monitor start' to capture logs
D.Schedule a cron job to run 'show interfaces ge-0/0/0' every minute and log output
AnswerA

Junos event-options provide a policy-based framework that monitors for interface down (and up) events in real time, and when triggered, can send a syslog message to a remote server. This is fully automatic and requires no active SSH session on the device, because the Junos device itself evaluates the event and forwards the syslog to a collector. By capturing the event at the moment it occurs, even brief flaps are recorded reliably, making this the preferred method for logging interface state changes in a network environment.

Why this answer

Junos event-options allows you to define an event policy that triggers on a specific event, such as an interface down transition, and then executes an action like sending a syslog message. This enables asynchronous monitoring without requiring an active SSH session, making it ideal for intermittent connectivity scenarios.

Exam trap

The trap here is that candidates confuse real-time monitoring commands like 'monitor interface' with persistent event-driven monitoring, assuming that terminal persistence or log capture can substitute for an event-based solution that works without an active session.

How to eliminate wrong answers

Option B is wrong because 'monitor interface' is a real-time CLI command that requires an active SSH session to display continuous output; it does not persist after the session ends. Option C is wrong because 'monitor start' is used to capture log file output in real time, but it also requires an active SSH session and does not trigger on specific events like interface flapping. Option D is wrong because scheduling a cron job on a remote router is not a native Junos feature; Junos does not support cron, and the approach would require an external management server, not a solution directly on the device.

300
MCQhard

Refer to the exhibit. Why is the static route not active?

A.The OSPF route has a lower metric.
B.The static route's next-hop is not reachable.
C.The static route is not committed.
D.The static route has a higher preference than the OSPF route.
AnswerD

Junos uses preference to select the best route to a destination when multiple protocols offer a route. The default preference for static is 15, while OSPF internal routes have a default preference of 10. A higher preference value means less preferred, so OSPF's route is chosen as active, and the static route becomes inactive (but still in the routing table). This explains why the static route appears but is not used for forwarding.

Why this answer

Junos uses route preference (administrative distance) to select the active route when multiple routes to the same destination exist. By default, OSPF has a preference of 10, while a static route has a preference of 5. Since a lower preference value is more preferred, the static route should normally be active.

However, the question indicates the static route is not active, which implies the static route's preference has been manually set higher than OSPF's preference (e.g., static route preference > 10), causing OSPF to be selected as the active route.

Exam trap

The trap here is that candidates often confuse metric with preference, assuming a lower OSPF metric would override a static route, but in Junos, preference is the primary tiebreaker between different routing protocols, not metric.

How to eliminate wrong answers

Option A is wrong because OSPF metric (cost) is only compared among OSPF routes; route preference is evaluated first before metric when comparing routes from different protocols. Option B is wrong because if the static route's next-hop were not reachable, the route would be hidden or marked as unreachable, not simply inactive; the exhibit would show a 'hidden' flag or the route would not appear in the routing table. Option C is wrong because if the static route were not committed, it would not appear in the configuration or routing table at all; the exhibit shows the route exists, so it has been committed.

Page 3

Page 4 of 5

Page 5

All pages