Courseiva

Juniper Networks Certified Associate Junos JNCIA-Junos (JN0-106) — Questions 151–225

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

Page 2

Page 3 of 5

Page 4
151
MCQhard

Refer to the exhibit. What does this output indicate?

A.There is a syntax error.
B.The commit succeeded.
C.The configuration is identical.
D.The candidate configuration differs from the active configuration.
AnswerD

The '+' and '-' markers in the exhibit are the Junos CLI representation of differences between two configuration revisions. When run without arguments, 'show configuration | compare' compares the active configuration (the one in use) with the candidate configuration (the one being edited but not yet committed). Lines prefixed with '-' exist only in the active configuration, while lines prefixed with '+' exist only in the candidate configuration, demonstrating that the candidate differs from the active configuration.

Why this answer

The output shows the 'show | compare' command, which displays the differences between the candidate configuration and the active (committed) configuration. The presence of lines prefixed with '+' (additions) and '-' (deletions) indicates that the candidate configuration is not identical to the active configuration, confirming that they differ.

Exam trap

The trap here is that candidates may confuse the 'show | compare' output with a commit confirmation or syntax check, when in fact it only indicates that uncommitted changes exist in the candidate configuration.

How to eliminate wrong answers

Option A is wrong because a syntax error would be reported by the commit check or commit command, not by the 'show | compare' output, which only shows configuration differences. Option B is wrong because a successful commit would make the candidate configuration identical to the active configuration, resulting in no output from 'show | compare'. Option C is wrong because if the configuration were identical, the 'show | compare' command would produce no output (empty), but the exhibit shows lines with '+' and '-', indicating differences.

152
MCQhard

An engineer is implementing VLAN trunking between two Juniper EX switches. Which statement about native VLANs on a trunk is correct?

A.The native VLAN cannot be changed after initial configuration.
B.Frames in the native VLAN are always tagged with the VLAN ID on the trunk.
C.The native VLAN must be the same as the management VLAN.
D.Untagged frames arriving on a trunk port are assigned to the native VLAN.
AnswerD

Yes — that is the definition of the native VLAN on an IEEE 802.1Q trunk. When a port is in trunk mode and an untagged Ethernet frame arrives, the switch does not discard it; it processes that frame as if it were tagged with the configured native VLAN ID, placing it in that VLAN's forwarding database. This allows a trunk to also carry traffic from a legacy device that does not add tags, or to carry certain control protocols without us forced to use tags. In Junos, you configure this with the `native-vlan` statement under the interface's ethernet-switching family, and by default the native VLAN is typically VLAN 1 (though this is configurable).

Why this answer

On Juniper EX switches, a trunk port can accept both tagged and untagged frames. Untagged frames received on a trunk port are automatically assigned to the native VLAN, which by default is VLAN 1. This behavior is defined by the IEEE 802.1Q standard, where the native VLAN is the only VLAN that can carry untagged traffic on a trunk link.

Exam trap

The trap here is that candidates often confuse the native VLAN behavior with Cisco's default where the native VLAN is VLAN 1 and is untagged, but they may incorrectly assume that all frames on a trunk are always tagged, leading them to select option B.

How to eliminate wrong answers

Option A is wrong because the native VLAN can be changed after initial configuration using the 'native-vlan-id' statement under the interface configuration. Option B is wrong because frames in the native VLAN are sent untagged on the trunk (unless explicitly configured otherwise), not always tagged. Option C is wrong because the native VLAN is not required to be the same as the management VLAN; they serve different purposes and can be configured independently.

153
MCQeasy

You are managing a small enterprise network with one Juniper router and two switches. The router connects to an ISP via ge-0/0/0 and to the internal network via ge-0/0/1. The internal network uses the 192.168.1.0/24 subnet. You need to configure a default route on the router to send all Internet-bound traffic to the ISP gateway at 203.0.113.1. You also want to ensure that internal hosts can reach the Internet. After configuring the default route, you test connectivity from a host on the internal network to an external website, but the ping fails. You verify that the host has an IP address of 192.168.1.100/24 and a default gateway of 192.168.1.1 (the router's internal interface). On the router, you run 'show route 0.0.0.0/0' and see the default route active. You also run 'ping 203.0.113.1' from the router and it succeeds. However, pinging from the host to the ISP gateway fails. What is the most likely cause?

A.DNS resolution is failing on the host.
B.The host's default gateway is incorrectly configured.
C.The default route is not active on the router.
D.Proxy ARP is not enabled on the router's internal interface.
AnswerB

This is the most likely cause. The host's default gateway is incorrectly configured, preventing it from sending packets to the router. Even though the stem says it is set to 192.168.1.1, this could be a misinterpretation or the host may have a different gateway configured at the OS level.

Why this answer

The host's default gateway is configured as 192.168.1.1, which is the router's internal interface. However, if the host's gateway is incorrectly set (e.g., to a different IP or a non-existent router), it cannot send packets to the router. The router's default route and ping to the ISP gateway succeed from the router itself, indicating the router's configuration is correct.

The failure from the host points to an issue at the host's network configuration, most likely the default gateway setting. Other possibilities include NAT or return route issues, but these are not listed as options. Proxy ARP is not required for directly connected hosts and is not the most likely cause.

Exam trap

Candidates often focus on router-side issues like default routes or Proxy ARP, but the host's gateway configuration is a common point of failure. Always verify the host's network settings first when host-to-external connectivity fails but router connectivity succeeds.

How to eliminate wrong answers

Option A is wrong because DNS resolution is not required for a ping to an IP address; the ping command uses the IP directly, so DNS failure would not cause the ping to fail. Option B is wrong because the host's default gateway is correctly set to 192.168.1.1, which is the router's internal interface IP; this is verified by the host having an IP of 192.168.1.100/24 and the router's ge-0/0/1 being on the same subnet. Option C is wrong because the 'show route 0.0.0.0/0' command confirmed the default route is active on the router, and the ping from the router to 203.0.113.1 succeeded, proving the route is functional.

154
MCQeasy

An administrator makes changes to the candidate configuration and wants to automatically revert to the previous configuration if the changes cause a loss of connectivity. Which method should be used?

A.Use the 'commit check' command.
B.Use the 'commit synchronize' command.
C.Use the 'rollback' command.
D.Use the 'commit confirmed' command.
AnswerD

The 'commit confirmed' command activates the candidate configuration immediately and starts a default 10-minute confirmation timer, after which the system automatically reverts to the prior configuration if no confirmation is received. The administrator can extend or shorten this window with the optional minutes argument and must issue 'commit confirm' to make the change permanent. This automatic rollback preserves the device's reachability, making it the ideal command for the scenario described.

Why this answer

The 'commit confirmed' command is the correct method because it allows an administrator to commit a candidate configuration with a confirmation timeout (default 10 minutes). If connectivity is lost and the commit is not confirmed within the timeout, Junos automatically reverts to the previous configuration, ensuring the device remains reachable.

Exam trap

The trap here is that candidates confuse 'commit confirmed' with 'commit check' or 'rollback', not realizing that 'commit confirmed' is the only option that provides an automatic, time-based reversion mechanism specifically designed to prevent loss of connectivity.

How to eliminate wrong answers

Option A is wrong because 'commit check' only validates the syntax and semantics of the candidate configuration without committing it, so it cannot automatically revert changes. Option B is wrong because 'commit synchronize' is used on a Junos cluster to commit the configuration on both nodes simultaneously, not to provide automatic rollback on connectivity loss. Option C is wrong because 'rollback' is a manual command that reverts to a previously committed configuration, but it does not provide automatic reversion upon connectivity loss.

155
MCQmedium

A network engineer is troubleshooting connectivity between two directly connected Juniper routers. The interface on Router A shows 'up' but no packets are being received from Router B. Which command should the engineer use on Router A to check if the interface is expecting to receive a specific encapsulation type?

A.show interfaces extensive
B.show interfaces terse
C.show configuration interfaces
D.monitor traffic interface
AnswerA

The 'show interfaces extensive' command is essential because it reveals the actual data-link encapsulation currently in use on the interface, along with detailed physical and protocol state information. This allows the engineer to confirm whether both routers are configured with matching encapsulation types (e.g., PPP, HDLC, or Frame Relay). It also provides error counters and keepalive statistics, which can expose framing mismatches or negotiation failures. Without this operational view, a layer-1 connectivity issue could be mistakenly attributed to configuration when the real cause is an encapsulation mismatch.

Why this answer

The 'show interfaces extensive' command displays detailed interface information, including the encapsulation type configured on the interface. If Router A expects a specific encapsulation (e.g., PPP, HDLC, or Ethernet) that does not match what Router B is sending, the interface will show 'up' but will not receive packets. This command allows the engineer to verify the configured encapsulation type.

Option B is incorrect because 'show interfaces terse' provides a concise summary (name, status, protocol, and address) but does not include encapsulation details.

Exam trap

Candidates often assume 'show interfaces terse' includes encapsulation details, but it only provides a quick summary. The 'extensive' option is needed for encapsulation type.

How to eliminate wrong answers

Option A is wrong because 'show interfaces extensive' provides detailed interface statistics and error counters but does not explicitly highlight the encapsulation type in a concise manner; it is more useful for deep packet-level troubleshooting rather than checking encapsulation expectations. Option C is wrong because 'show configuration interfaces' displays the configuration stanza for interfaces, which includes encapsulation settings, but it shows the intended configuration rather than the operational state; the interface could be 'up' with a mismatched encapsulation if the configuration was committed incorrectly or if the peer is misconfigured. Option D is wrong because 'monitor traffic interface' captures live packet headers on the interface, which can help identify encapsulation mismatches by showing malformed frames, but it is a real-time diagnostic tool that does not directly display the configured encapsulation type; it is more appropriate for advanced troubleshooting after verifying the configuration.

156
Multi-Selecthard

Which TWO factors are directly used when comparing route preferences in JunOS? (Choose two.)

Select 2 answers
A.Next-hop reachability
B.Number of hops
C.Metric (or cost)
D.Prefix length
E.Preference value
AnswersC, E

Metric (or cost) is the second key factor used in route comparison, applied only after the route preference has been considered. Within the same protocol, the route with the lower metric is preferred—for example, OSPF uses cost, IS-IS uses metric, and RIP uses hop count. Metrics are not comparable across different protocols, which is precisely why preference is checked first: once the preferred protocol is chosen, its metric decides among equal-preference routes. A lower metric value means a more preferred route, all else being equal.

Why this answer

In Junos, route preference (also called administrative distance) is the primary tie-breaker used to compare routes from different protocols, so option E (Preference value) is directly used — lower preference wins, e.g., direct=0, static=5, OSPF internal=10, RIP=100. When two routes come from the same protocol, the protocol's metric/cost is compared, so option C (Metric or cost) is also directly used, e.g., OSPF cost or RIP hop count. Option A (Next-hop reachability) is a validity condition for installing a route, not a comparison factor between competing routes.

Option B (Number of hops) is only a metric within protocols like RIP, not a universal Junos comparison factor. Option D (Prefix length) is used for longest-match forwarding lookups in the forwarding table, not for route preference comparison in the routing table.

Exam trap

The trap here is that candidates often confuse route preference (administrative distance) with metric or prefix length, but JunOS uses preference first, then metric, while prefix length is only relevant for longest-match forwarding, not for route preference comparison.

157
MCQeasy

A company wants to implement best practice for password recovery on Juniper devices to avoid service disruption. Which of the following is the recommended method?

A.Perform a factory reset to default configuration
B.Boot the device into single-user mode from the console and reset the root password
C.Use SNMP to modify the password field in the configuration
D.Contact JTAC to remotely reset the password
AnswerB

Booting into single-user mode from the console grants root shell access without loading the full configuration, allowing the root password to be reset without wiping the device. This preserves existing configuration and avoids the service disruption that a factory reset would cause.

Why this answer

Booting the device into single-user mode from the console is the standard, secure method for password recovery on Juniper devices. This process allows an administrator with physical console access to reset the root password without affecting the running configuration or causing service disruption, as the device boots with a minimal kernel and does not load the full configuration.

Exam trap

The trap here is that candidates may confuse Juniper's single-user mode recovery with Cisco's password recovery process, which often involves a configuration register change and may require a factory reset; Juniper's method is designed to preserve the configuration, while Cisco's recovery can sometimes erase the startup configuration if not done carefully.

How to eliminate wrong answers

Option A is wrong because performing a factory reset to default configuration erases all configuration data, causing complete service disruption and loss of custom settings, which is not a best practice for password recovery. Option C is wrong because SNMP is a monitoring and management protocol that does not provide a mechanism to modify password fields in the Junos configuration; it is read-only for security purposes and cannot be used for password changes. Option D is wrong because contacting JTAC to remotely reset the password is not a standard or recommended procedure; JTAC does not have direct access to reset passwords, and this would require a support contract and potentially cause delays, not to mention that remote password reset is not a supported feature.

158
MCQeasy

A junior engineer needs to collect a snapshot of the current system state, including routing tables, interfaces, and configuration, for a support ticket. Which command achieves this?

A.show configuration
B.show interfaces
C.request support information
D.show route
AnswerC

This is a Junos operational command that automatically collects a comprehensive set of system data, including configurations, interface statistics, routing tables, logs, system processes, and other diagnostic information into a single archive. It is designed specifically for troubleshooting and for providing a complete snapshot to Juniper support or for offline analysis. This one command aggregates far more data than any individual show command, making it the correct choice for a full system snapshot.

Why this answer

The 'request support information' command is the correct choice because it collects a comprehensive snapshot of the current system state, including routing tables, interface details, configuration, logs, and other operational data into a single archive file. This is specifically designed for support tickets, as it bundles all relevant diagnostic information in one step, unlike individual show commands that only capture partial data.

Exam trap

The trap here is that candidates often confuse individual show commands (like 'show route' or 'show interfaces') with the all-in-one 'request support information' command, failing to recognize that only the latter captures the full system state required for a support ticket.

How to eliminate wrong answers

Option A is wrong because 'show configuration' only displays the current active configuration, not the dynamic operational state like routing tables or interface statistics. Option B is wrong because 'show interfaces' only shows interface status and counters, missing routing tables and configuration. Option D is wrong because 'show route' only displays the routing table, omitting interfaces and configuration data.

159
MCQeasy

Refer to the exhibit. A frame with destination MAC 00:0c:29:2a:3b:4d arrives on interface ge-0/0/0. What action will the switch take?

A.Flood the frame to all ports except ge-0/0/0
B.Forward the frame out of ge-0/0/2 only
C.Drop the frame because the VLAN does not match
D.Forward the frame out of both ge-0/0/1 and ge-0/0/2
AnswerB

This is the correct behavior because Junos performs a lookup of the destination MAC address in the Layer 2 forwarding table. The entry for 00:0c:29... lists ge-0/0/2 as the egress interface in VLAN 10, so the frame is forwarded out of that single port. Known unicast frames are switched to exactly one port, as determined by the MAC table.

Why this answer

The switch learns MAC addresses and their associated VLANs from incoming frames. Since the destination MAC 00:0c:29:2a:3b:4d is already in the MAC address table and mapped to interface ge-0/0/2 within the same VLAN, the switch forwards the frame only out of ge-0/0/2. This is the fundamental behavior of transparent bridging: unicast frames are forwarded only to the port where the destination MAC was last seen.

Exam trap

The trap here is that candidates often assume a switch always floods unknown unicast frames, but the question explicitly provides a known destination MAC, so the correct action is unicast forwarding, not flooding.

How to eliminate wrong answers

Option A is wrong because flooding occurs only when the destination MAC is unknown (not in the MAC table) or is a broadcast/multicast address; here the MAC is known. Option C is wrong because the frame arrives on ge-0/0/0, which is an access port in the same VLAN as ge-0/0/2, so the VLAN matches; the switch does not drop the frame due to VLAN mismatch. Option D is wrong because the switch does not forward a known unicast frame out of multiple ports; it uses the single port from the MAC table, not both ge-0/0/1 and ge-0/0/2.

160
MCQmedium

A network engineer needs to revert to the configuration that was active before the last commit. Which command accomplishes this?

A.rollback 1
B.rollback 0
C.load override
D.revert
AnswerA

Rollback 1 loads the configuration committed immediately before the current one into the candidate configuration. This allows a network engineer to undo the most recent commit and return to the prior operational state, though the resulting candidate must still be committed by running commit. Since the goal is to revert to the previous configuration, rollback 1 is the correct command.

Why this answer

The 'rollback 1' command reverts the active configuration to the configuration that was committed immediately before the most recent commit. Junos maintains up to 50 previous committed configurations (rollback 0 being the current active configuration, rollback 1 the previous, and so on). This command is the correct way to undo the last commit without manually editing the configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS may expect a 'revert' command or confuse 'rollback 0' (current config) with the previous commit, leading them to select the wrong rollback number or a non-existent command.

How to eliminate wrong answers

Option B (rollback 0) is wrong because rollback 0 refers to the currently active configuration, not the one before the last commit; using it would load the same configuration already in use. Option C (load override) is wrong because it is used to replace the entire candidate configuration with a configuration from a file or URL, not to revert to a previous commit. Option D (revert) is wrong because 'revert' is not a valid Junos CLI command; the correct command is 'rollback'.

161
MCQmedium

Refer to the exhibit. Which log file will contain messages about authorization events?

A.messages
B.Both messages and interactive-commands
C.Neither
D.interactive-commands
AnswerA

The `file messages` syslog configuration in the exhibit contains an explicit `authorization info` statement, which tells the Junos syslog daemon to capture authorization events at priority `info` and above. Because the event shown is an authorization event, it matches this filter and is written to `/var/log/messages`. No other file in the exhibit has an authorization filter, so `messages` is the correct destination.

Why this answer

In Junos, the 'messages' log file (typically /var/log/messages) records system log messages, including authorization events such as user login failures, privilege escalation attempts, and configuration changes. Authorization events are generated by the system's authentication, authorization, and accounting (AAA) framework and are logged at the 'info' severity level by default, which is captured in the messages file. The 'interactive-commands' log file specifically records CLI commands entered by users, not authorization events.

Exam trap

The trap here is that candidates confuse 'interactive-commands' (which logs CLI commands) with authorization logging, assuming that because commands require authorization, the log file would contain authorization events, but Junos separates command logging from authorization event logging.

How to eliminate wrong answers

Option B is wrong because 'interactive-commands' logs only the actual CLI commands typed by users, not authorization events; authorization events are separate and appear in 'messages'. Option C is wrong because authorization events are indeed logged in Junos, specifically in the 'messages' file, so 'Neither' is incorrect. Option D is wrong because 'interactive-commands' does not contain authorization messages; it is dedicated to recording user-entered commands for auditing purposes.

162
Multi-Selecteasy

Which TWO statements about VLANs are correct? (Choose two.)

Select 2 answers
A.MAC addresses are shared across VLANs.
B.Each VLAN must be assigned a unique IP subnet.
C.Trunk links can carry traffic for multiple VLANs.
D.VLANs segment a network into separate broadcast domains.
E.A single switch port can belong to only one VLAN.
AnswersC, D

Trunk links are designed to multiplex traffic from multiple VLANs onto a single physical link using IEEE 802.1Q VLAN tagging. Each Ethernet frame is tagged with a VLAN ID, allowing the receiving switch to correctly associate the frame with its VLAN even though frames from many VLANs travel over the same cable. This enables efficient switch-to-switch and switch-to-router connections without needing separate cables per VLAN.

Why this answer

Option C is correct because a trunk link (typically 802.1Q) tags frames so it can carry traffic for multiple VLANs between switches or to a router/switch, unlike an access port. Option D is correct because each VLAN defines its own broadcast domain, so broadcasts are confined within the VLAN and do not propagate to other VLANs, which is the core purpose of VLAN segmentation. Option A is incorrect because MAC addresses are not shared across VLANs; each VLAN maintains its own MAC address table and forwarding domain.

Option B is incorrect because a VLAN does not strictly require a unique IP subnet — VLANs can be Layer 2 only, and multiple VLANs can theoretically share a subnet in unusual designs, though best practice is one subnet per VLAN. Option E is incorrect because a single switch port can belong to multiple VLANs when configured as a trunk (or in some vendor-specific modes), not only one VLAN.

Exam trap

The trap here is that Juniper Networks often tests the misconception that a switch port can belong to only one VLAN, but this is only true for access ports—trunk ports can carry multiple VLANs, and some platforms support voice VLANs that allow a port to be in both a data and voice VLAN simultaneously.

163
MCQhard

Refer to the exhibit. An administrator notices repeated failed login attempts. What should be configured to mitigate this attack?

A.Set login retry limit
B.Configure a firewall filter to block the source IP
C.Disable SSH
D.Change the root password
AnswerB

Creating a firewall filter that discards (or rejects) traffic from the offending source IP at the interface or loopback level causes Junos to drop those packets before they reach the SSH or login process. This stops the brute-force traffic immediately at Layer 3/4, preserving the SSH service for legitimate sources. On Junos, applying an input filter to the loopback interface (lo0) is a common method to filter management-plane traffic, which directly halts further attempts from that specific IP.

Why this answer

A firewall filter can block traffic from the source IP address of the repeated failed login attempts, preventing further access from that host. This is a direct and immediate mitigation against an ongoing brute-force attack, as it stops the attacker's traffic at the network layer before it reaches the SSH or login service.

Exam trap

The trap here is that candidates often confuse mitigation (stopping an ongoing attack) with prevention (hardening against future attacks), leading them to choose retry limits or password changes instead of the immediate IP-blocking solution.

How to eliminate wrong answers

Option A is wrong because setting a login retry limit only restricts the number of failed attempts per session, but it does not block the source IP; an attacker can simply open new sessions and continue. Option C is wrong because disabling SSH would prevent all remote access, including legitimate administrative access, which is an overly drastic and unnecessary measure. Option D is wrong because changing the root password does not stop the attacker from continuing to try new passwords; it only invalidates the current password, but the attack persists.

164
MCQhard

During a maintenance window, an engineer issues 'commit confirmed 5' but the change causes a connectivity loss. The engineer is unable to reconnect to the device before the timeout expires. What will happen?

A.The engineer must manually rollback using the rollback command.
B.The change remains committed until the next reboot.
C.The device reloads with factory defaults.
D.The device automatically reverts to the previous active configuration.
AnswerD

Commit confirmed automatically rolls back after the timeout if not confirmed.

Why this answer

The 'commit confirmed 5' command activates a candidate configuration and starts a 5-minute rollback timer. If the engineer does not issue a 'commit' or 'commit check' before the timer expires, Junos automatically reverts to the previously active configuration. This ensures the device returns to a known working state without manual intervention, preserving connectivity after the failed change.

Exam trap

The trap here is that candidates may think a 'commit confirmed' requires a manual rollback command (Option A) or that the change persists until a reboot (Option B), but Junos automatically reverts the configuration upon timeout, making it a safety mechanism for remote changes.

How to eliminate wrong answers

Option A is wrong because the automatic rollback occurs without requiring manual intervention; the engineer does not need to use the 'rollback' command after the timeout. Option B is wrong because a confirmed commit is explicitly designed to not remain committed; it automatically reverts if not confirmed, so the change does not persist until the next reboot. Option C is wrong because the device does not reload with factory defaults; it reverts only to the previous active configuration, not to a factory-reset state.

165
MCQhard

A network engineer sees an unknown unicast flood on a Juniper EX switch. Which mechanism is most effective at reducing such floods?

A.Enable storm control for unknown unicast traffic.
B.Configure static MAC addresses for all endpoints.
C.Increase the MAC address table aging time.
D.Disable MAC learning on trunk interfaces.
AnswerA

Storm control on Junos allows you to define a threshold for unknown unicast traffic, either as a percentage of interface bandwidth or as packets per second. When the unknown unicast flood exceeds that threshold, the switch drops excess traffic or shuts down the affected interface until it recovers, preventing the flood from saturating the network. This is a practical, policy-based mitigation because it does not require knowing every endpoint and can be applied per interface and per VLAN.

Why this answer

Unknown unicast flooding occurs when a switch does not have a MAC address entry for a destination, causing it to flood the frame out of all ports in the VLAN except the ingress port. Storm control for unknown unicast traffic (set using `set ethernet-switching-options storm-control interface <interface> unknown-unicast`) directly limits the rate of such flooded traffic, preventing excessive bandwidth consumption. This is the most effective mechanism because it specifically targets and rate-limits unknown unicast floods without altering MAC learning or aging behavior.

Exam trap

The trap here is that candidates often confuse storm control (which rate-limits flooded traffic) with broadcast suppression or MAC learning controls, and may incorrectly think that increasing aging time or disabling MAC learning will reduce flooding, when in fact those actions either have no effect or worsen the problem.

How to eliminate wrong answers

Option B is wrong because configuring static MAC addresses for all endpoints is not scalable in a dynamic network and does not dynamically reduce flooding; it only prevents flooding for those specific statically defined addresses. Option C is wrong because increasing the MAC address table aging time can actually increase the likelihood of stale entries and does not reduce unknown unicast floods; it may even exacerbate flooding by delaying the removal of outdated entries. Option D is wrong because disabling MAC learning on trunk interfaces would prevent the switch from learning MAC addresses on those links, which would increase unknown unicast flooding rather than reduce it, as the switch would have fewer learned entries.

166
MCQmedium

An engineer needs to apply a configuration change that adds a new static route to the Junos device. The engineer wants to ensure the change takes effect immediately and is persistent across reboots. Which command should the engineer use?

A.load override
B.commit confirmed
C.rollback
D.commit
AnswerD

This is the correct command. In Junos, configuration changes are staged in the candidate configuration, and commit validates and activates those changes, making them part of the active configuration. Once committed, the configuration persists across reboots and becomes the new baseline for future rollback operations.

Why this answer

The 'commit' command is correct because it immediately activates the candidate configuration (including the new static route) and makes it the active configuration that survives a reboot. Junos uses a two-stage configuration model where changes are first made to the candidate configuration and then committed to become the active, persistent configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS might assume 'copy running-config startup-config' is needed for persistence, but in Junos, a single 'commit' both activates the change and saves it permanently, making additional save commands unnecessary.

How to eliminate wrong answers

Option A is wrong because 'load override' replaces the entire candidate configuration with a new file, but it does not activate the configuration; a subsequent 'commit' is still required. Option B is wrong because 'commit confirmed' is used to automatically roll back to a previous configuration if the commit is not confirmed within a specified time (default 10 minutes), which is not appropriate for a permanent static route addition. Option C is wrong because 'rollback' reverts the candidate configuration to a previously committed version, which would remove any pending changes rather than applying them.

167
Multi-Selecthard

Which THREE statements are true about commit operations in Junos OS?

Select 3 answers
A.The 'commit confirmed' command immediately discards changes if not confirmed.
B.Multiple users can make configuration changes simultaneously, but only one can commit at a time.
C.The 'commit check' command validates the configuration syntax without activating it.
D.The 'commit confirmed' command allows a rollback to the previous configuration if not confirmed within the timeout period.
E.The 'commit' command always requires 'commit synchronize' when using dual Routing Engines.
AnswersB, C, D

Junos uses a shared candidate configuration, so several users may edit concurrently, but the commit operation itself is serialised: the commit lock permits only one user to activate changes at any moment, preventing conflicting commits.

Why this answer

Option B is correct because Junos OS uses a shared candidate configuration with per-user edit sessions, so multiple users can edit concurrently, but the commit operation itself is serialized through a lock so only one commit can activate changes at a time. Option C is correct because 'commit check' performs syntax and semantic validation of the candidate configuration against the schema without activating it, leaving the active configuration unchanged. Option D is correct because 'commit confirmed' activates the candidate configuration but automatically rolls back to the previously committed configuration unless the commit is confirmed within the timeout period (default 10 minutes).

Option A is not correct because 'commit confirmed' does not immediately discard changes; it applies them and only rolls back if confirmation is not received before the timer expires. Option E is not correct because 'commit synchronize' is only needed to propagate a commit to both Routing Engines on a dual-RE system, and a plain 'commit' can still be used (it just commits to the local RE unless synchronize is specified).

Exam trap

The trap here is confusing 'commit confirmed' with an immediate discard of changes, when in fact it temporarily activates the configuration and only rolls back if the confirmation is not received within the timeout period.

168
MCQmedium

A network engineer needs to view the operational status of all interfaces on a Junos device, including those that are disabled. Which command should be used?

A.show interfaces
B.show configuration interfaces
C.show interfaces terse
D.monitor interface traffic
AnswerC

Correct — 'show interfaces terse' displays a single-line-per-interface summary with columns for Interface, Admin, Link, Proto, and Local address, covering both physical and logical interfaces. It explicitly shows administratively disabled interfaces with an 'admin-down' flag, while also indicating the actual operational link state ('up' or 'down'). This makes it the most efficient command for quickly surveying the operational status of all interfaces on a Junos device.

Why this answer

The 'show interfaces' command displays detailed information for all interfaces, including those that are administratively disabled. However, 'show interfaces terse' provides a concise, one-line-per-interface summary that is more efficient for quickly viewing the operational status of all interfaces, including disabled ones. For the JNCIA exam, 'show interfaces terse' is the recommended command for this purpose because it offers a clear and compact overview of interface status across the device.

Exam trap

The trap is that candidates may assume 'show interfaces' only shows enabled interfaces, but in fact it shows all interfaces including disabled. The common mistake is to choose 'show interfaces' thinking 'show interfaces terse' might omit some interfaces. However, 'show interfaces terse' also includes disabled interfaces and is more efficient for a quick overview of operational status.

How to eliminate wrong answers

Option A is wrong because 'show interfaces' displays detailed information only for interfaces that are physically present and enabled; it does not show interfaces that are administratively disabled unless they are explicitly specified. Option B is wrong because 'show configuration interfaces' displays the configured interface statements from the candidate or active configuration, not the operational status (e.g., up/down, disabled state). Option D is wrong because 'monitor interface traffic' is used for real-time traffic monitoring and statistics, not for viewing the administrative or operational status of interfaces.

169
MCQmedium

Which command is used to verify that the current active configuration is the same as the candidate configuration?

A.commit check
B.show configuration
C.show system configuration
D.show | compare
AnswerD

The 'show | compare' command displays the differences between the candidate configuration and the active configuration. It outputs only the lines that would change, in a unified diff format, and if there are no differences, it returns no output. This makes it the ideal command to verify that the candidate exactly matches the active configuration.

Why this answer

The command `show | compare` displays the differences between the candidate configuration and the active (committed) configuration. If there are no differences, the candidate configuration is identical to the active configuration. This is the correct way to verify whether the candidate configuration matches the active configuration in Junos.

Exam trap

The trap here is that candidates often confuse `commit check` (which only validates syntax) with a comparison command, leading them to select Option A, but `commit check` does not compare the candidate to the active configuration.

How to eliminate wrong answers

Option A is wrong because `commit check` validates the syntax and semantics of the candidate configuration but does not compare it to the active configuration; it only ensures the candidate can be committed without errors. Option B is wrong because `show configuration` displays the candidate configuration (or the active if no candidate changes exist), but it does not perform a comparison with the active configuration. Option C is wrong because `show system configuration` is not a valid Junos command; the correct command to view system configuration is `show configuration` or `show system` with specific filters.

170
MCQhard

During a maintenance window, an engineer needs to apply a configuration change that reverts automatically if the commit fails or the administrator does not confirm within a set time. Which feature should be used?

A.commit confirmed
B.commit check
C.commit synchronize
D.commit at 03:00
AnswerA

The 'commit confirmed' command activates the configuration immediately but initiates a rollback timer (default 10 minutes). If the engineer does not issue a 'commit confirm' within that window, Junos automatically reverts to the previous configuration, ensuring the device returns to a known-good state without manual intervention during the maintenance window. This is the correct choice because it provides a safety net for remote or risky configuration changes, allowing the engineer to verify connectivity and operations before finalizing the change.

Why this answer

The 'commit confirmed' feature allows an engineer to apply a configuration change that automatically reverts to the previous configuration if the commit is not confirmed within a specified time period (default 10 minutes). This ensures that if the commit fails or the administrator loses connectivity, the system rolls back safely without manual intervention.

Exam trap

The trap here is that candidates often confuse 'commit confirmed' with 'commit check' or 'commit synchronize', mistakenly thinking that syntax validation or dual-RE synchronization provides the same automatic rollback safety, but only 'commit confirmed' implements the timed confirmation and automatic revert mechanism.

How to eliminate wrong answers

Option B is wrong because 'commit check' only validates the syntax and semantics of the candidate configuration without actually applying it; it does not provide any automatic rollback or confirmation mechanism. Option C is wrong because 'commit synchronize' is used in a dual-RE (Routing Engine) chassis to apply the configuration to both REs simultaneously, not to provide a timed automatic rollback. Option D is wrong because 'commit at 03:00' schedules the commit to occur at a specific time but does not include a confirmation or automatic rollback feature; once committed, the change persists unless manually reverted.

171
MCQmedium

A network administrator notices that traffic between two VLANs is not reaching its destination. The switch has an IRB interface configured with an IP address in each VLAN's subnet. What is the most likely missing configuration?

A.The IRB interface does not have an IP address configured.
B.The VLANs are on different switches.
C.The VLANs are not defined on the switch.
D.The switch ports are not configured for VLAN tagging.
AnswerC

For inter-VLAN routing to work in Junos, each VLAN must first be defined under the [edit vlans] hierarchy so the switch knows which VLAN ID or name to associate with the ports and IRB interface. Without that definition, the IRB interface cannot be logically bound to a broadcast domain, and traffic cannot be forwarded between the two VLAN subnets. The stem confirms the IRB has an IP address, but if the VLANs themselves are not configured, the switch has no way to match incoming frames to a routing instance. This missing VLAN definition is exactly what breaks the traffic flow, making this the correct answer.

Why this answer

The IRB interface provides Layer 3 routing between VLANs, but it requires the VLANs themselves to be defined on the switch. If the VLANs are not defined, the switch cannot associate the IRB interface with the correct broadcast domains, and traffic will not be forwarded between them. Option C correctly identifies this missing configuration.

Exam trap

The trap here is that candidates often assume an IRB interface with an IP address is sufficient for inter-VLAN routing, overlooking the prerequisite that the VLAN must be defined and associated with the IRB in the switch configuration.

How to eliminate wrong answers

Option A is wrong because the question states the IRB interface has an IP address in each VLAN's subnet, so an IP address is already configured. Option B is wrong because IRB interfaces can route between VLANs on the same switch or across different switches if the VLANs are extended via trunk links; the issue is not about switch placement. Option D is wrong because VLAN tagging on switch ports is only relevant for trunk ports carrying multiple VLANs, not for the IRB interface itself, and the problem is about inter-VLAN routing, not port configuration.

172
Multi-Selecthard

Which THREE CLI features are available in Junos OS to assist with command entry?

Select 3 answers
A.? (question mark) for context-sensitive help.
B.Ctrl+R to repeat the last command.
C.Up arrow key to recall previous commands.
D.Ctrl+Z to undo the last command.
E.Tab key for command completion.
AnswersA, C, E

In Junos CLI, the question mark (?) is a context-sensitive help feature that displays all valid commands, subcommands, or arguments at the current input position, along with brief descriptions. For instance, typing 'show ?' lists every possible option following the 'show' command, aiding discoverability without requiring manual lookup. This interactive help is indispensable for constructing valid commands in an unfamiliar operating system like Junos.

Why this answer

Option A is correct because in Junos OS CLI, typing ? at any point displays context-sensitive help listing valid commands, keywords, or options available at that position. Option C is correct because the Up arrow key scrolls backward through the command history buffer, allowing the user to recall and re-execute previously entered commands. Option E is correct because the Tab key performs command and option completion, automatically finishing a partially typed command or keyword when the entry is unambiguous.

Option B is incorrect because Ctrl+R is not a Junos OS command-recall feature; command history is navigated with the Up/Down arrow keys or the show cli history command. Option D is incorrect because Ctrl+Z is not an undo function in Junos OS; it is not a supported command-entry aid in the CLI.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly associate Ctrl+Z with undo functionality (since in IOS it exits configuration mode) or Ctrl+R with repeating commands, but Junos uses different key bindings and relies on the Up arrow and Tab for command recall and completion.

173
MCQeasy

A junior network engineer is learning JunOS CLI and wants to view the last 10 lines of the system log file. They log into the device and type 'show log messages | last 10'. They receive an error: 'unknown pipe command'. Which pipe command should they use instead?

A.| last 10
B.| display 10
C.| head 10
D.| tail 10
AnswerD

The 'tail' pipe command in Junos CLI displays the last N lines of the output buffer. Appending '| tail 10' to a show command returns the final 10 lines, which is exactly what the engineer needs to view the most recent information. This is a standard Junos pipe filter for limiting output to the end of the result.

Why this answer

In JunOS CLI, the pipe command to display the last N lines of output is '| tail N', not '| last N'. The 'tail' command filters the output to show only the final lines, analogous to the Unix 'tail' utility. Option D is correct because '| tail 10' will show the last 10 lines of the system log file.

Exam trap

The trap here is that candidates familiar with Cisco IOS may expect '| last 10' to work, but JunOS uses Unix-style pipe commands where 'tail' is the correct filter for displaying the end of output.

How to eliminate wrong answers

Option A is wrong because '| last 10' is not a valid JunOS pipe command; it triggers an 'unknown pipe command' error. Option B is wrong because '| display 10' is not a valid pipe command; 'display' is used for XML or set format output, not for line count filtering. Option C is wrong because '| head 10' would show the first 10 lines, not the last 10, and is the opposite of what the engineer needs.

174
MCQhard

Refer to the exhibit. An engineer adds a new static route to 10.10.10.0/24 via next-hop 172.16.1.2. The new route does not appear in the route table. What is the most likely reason?

A.The route requires an export policy to be installed.
B.The route has a different AS path.
C.The next-hop 172.16.1.2 is not directly reachable.
D.Static routes cannot have the same preference as an existing route.
AnswerC

When you configure a static route in Junos, the next hop must be resolvable. If the next-hop address (172.16.1.2) is not on a directly connected subnet and there is no existing route in the routing table to reach that address, the static route will be hidden (inactive). Hidden routes still exist in the configuration but are not placed into the active routing table, so they do not appear in show route output unless you use the 'hidden' flag. The route may also be marked as 'unreachable' or 'next-hop-unreachable' in the hidden state.

Why this answer

In Junos, a static route's next-hop must be directly reachable (i.e., on a connected subnet) for the route to be installed in the inet.0 route table. If the next-hop 172.16.1.2 is not directly connected, the route remains hidden (inactive) and does not appear in the forwarding table. Junos does not perform recursive next-hop resolution for static routes by default unless configured with 'resolve'.

Exam trap

The trap here is that candidates familiar with Cisco IOS expect static routes to automatically perform recursive next-hop resolution, but Junos requires either a directly connected next-hop or the explicit 'resolve' parameter to install the route.

How to eliminate wrong answers

Option A is wrong because static routes do not require an export policy to be installed in the route table; export policies are used to advertise routes from the routing table into a routing protocol (e.g., BGP), not to install them locally. Option B is wrong because AS path is a BGP attribute and has no relevance to static route installation; static routes are not learned via BGP and do not carry an AS path. Option D is wrong because static routes can share the same preference as an existing route; Junos uses route preference (administrative distance) for route selection, but a static route with the same preference as an existing route would simply be considered equal and may be installed as an additional next-hop (if ECMP-capable) or ignored, but it does not prevent installation due to preference alone.

175
MCQhard

A static route to 10.0.0.0/8 has next-hop 192.168.1.1. The route is not installed in the routing table. Which condition must be met for the route to become active?

A.The static route must have a lower preference than any dynamic route to the same prefix.
B.The next-hop must have an ARP entry in the ARP table.
C.The next-hop 192.168.1.1 must be reachable via an active route (e.g., a direct or OSPF route).
D.The metric of the static route must be lower than that of any other route to the same prefix.
AnswerC

A static route with an indirect next-hop is installed in the Junos routing table only after the next-hop address is recursively resolved via a routing table lookup. In this case, 192.168.1.1 must be matched by an active route — such as a directly connected subnet, an OSPF route, or another static route — otherwise the static route to 10.0.0.0/8 is marked as unresolved and is not placed in the forwarding table. This resolution is required regardless of the static route's preference or metric. If the active route to the next-hop is removed, the static route is immediately hidden from the active route table.

Why this answer

For a static route to be installed in the Junos routing table, its next-hop must be reachable via an active route in the routing table. This is because Junos performs recursive next-hop resolution: it looks up the next-hop IP address (192.168.1.1) in the routing table and requires a valid, active route (e.g., a directly connected or OSPF-learned route) to that address. Without this, the static route remains hidden and is not installed.

Exam trap

The trap here is that candidates often confuse the requirement for the next-hop to be reachable (a routing table condition) with Layer 2 resolution (ARP), leading them to incorrectly select Option B, but ARP is only used after the route is installed and the next-hop is determined to be reachable.

How to eliminate wrong answers

Option A is wrong because preference (administrative distance) only determines which route is selected among multiple routes to the same prefix that are already active; it does not affect whether a static route becomes active in the first place. Option B is wrong because an ARP entry is a Layer 2 resolution mechanism that occurs after the route is installed and the next-hop is reachable; the route will not become active solely because an ARP entry exists. Option D is wrong because metric is not used for static route selection in Junos; static routes have no metric, and route selection is based on preference, not metric.

176
MCQhard

You are a network engineer for a service provider that recently deployed a Juniper MX router at a new Point of Presence (PoP). The router is used to aggregate customer connections and exchange routes with upstream providers via BGP. After the initial configuration, you notice that the router is not learning any routes from one of the upstream BGP peers. You have verified that the BGP session is established (state Established) and that the peer is sending routes. You suspect that the issue might be related to the firewall filter or routing policy. You want to determine if any inbound routes are being rejected and why. Which command would provide the most direct information about why routes are being rejected?

A.show route protocol bgp
B.show route receive-protocol bgp 192.0.2.1
C.show bgp summary
D.show firewall filter <filter-name>
AnswerB

show route receive-protocol bgp 192.0.2.1 shows the exact updates received from that specific neighbor before they pass through the routing table, including the import-policy decision. The output marks each prefix with an 'A' (accept) or 'I' (ignore/reject) and, when rejected, prints the policy name and reason. This makes it the right diagnostic for verifying why a route from 192.0.2.1 was not installed, because it exposes the BGP input policy evaluation on every received prefix.

Why this answer

'show route receive-protocol bgp 192.0.2.1', is correct because it displays the exact routes received from a specific BGP peer along with any policy or filter actions applied (e.g., reject, accept). This command directly shows whether routes are being rejected and the reason (e.g., due to an import policy or firewall filter), making it the most direct diagnostic tool for the described issue.

Exam trap

The trap here is that candidates often assume 'show bgp summary' or 'show route protocol bgp' will reveal route rejection details, but they only show aggregated statistics or installed routes, not the per-peer policy decisions that cause routes to be hidden or rejected.

How to eliminate wrong answers

Option A is wrong because 'show route protocol bgp' displays all BGP routes in the routing table, but it does not show why routes were rejected or filtered before installation. Option C is wrong because 'show bgp summary' only shows BGP session state and statistics (e.g., prefixes received), not the specific routes or rejection reasons. Option D is wrong because 'show firewall filter <filter-name>' shows firewall filter counters and rules, but it does not directly correlate to BGP route rejection unless the filter is explicitly applied to the BGP session; it is indirect and less specific than the receive-protocol command.

177
Multi-Selecteasy

Which TWO statements about the Junos OS configuration hierarchy are correct? (Choose two.)

Select 2 answers
A.All configuration is stored in a flat file with line numbers
B.The hierarchy is stored in multiple configuration files that are merged at boot
C.Configuration is organized in a hierarchical structure with levels
D.Configuration values are inherited from the root level automatically
E.Each level can contain one or more statements or values
AnswersC, E

Junos uses a tree-like hierarchy where configuration statements are nested under levels, such as protocols>bgp>group>neighbor. Each level is defined by the statement type and indentation in the CLI, allowing modular and structured configuration. This hierarchy is the foundation for editing, viewing, and applying configuration.

Why this answer

Option C is correct because Junos OS stores its configuration in a hierarchical tree structure organized into levels (such as system, interfaces, protocols), which is the defining characteristic of the Junos configuration model. Option E is correct because within that hierarchy, each level can hold one or more statements or values, allowing multiple configuration elements to be nested under a given hierarchy node. Option A is incorrect because Junos does not store configuration as a flat file with line numbers; that describes a line-oriented format, not the Junos hierarchy.

Option B is incorrect because the Junos configuration is not assembled by merging multiple configuration files at boot; it is maintained as a single hierarchical candidate/active configuration. Option D is incorrect because inheritance in Junos flows from parent levels down to child levels, not automatically from the root level to all statements.

Exam trap

The trap here is that candidates often confuse Junos's hierarchical structure with Cisco IOS's flat or modular configuration approach, leading them to incorrectly assume that Junos uses multiple merged files or automatic root-level inheritance.

178
MCQhard

A junior engineer is troubleshooting a routing issue and wants to see the route table for IPv4 unicast routes. Which command will display this information?

A.show route table inet.0
B.show route table inet6.0
C.show route forwarding-table
D.show route protocol bgp
AnswerA

The `show route table inet.0` command is the correct choice because `inet.0` is the default IPv4 unicast routing table on Junos. When a junior engineer needs to investigate a generic routing issue involving IPv4 destinations, this command displays the active routes, protocol next-hops, and preference/metric values that determine how packets are forwarded. It directly exposes whether the expected route is present, hidden, or missing, which is the first step in diagnosing reachability problems. Unlike protocol-specific or forwarding-table views, this master table includes all protocols that contribute to IPv4 forwarding decisions.

Why this answer

The command 'show route table inet.0' displays the IPv4 unicast route table in Junos. The inet.0 table is the default routing table for IPv4 unicast routes, containing all active routes learned via various protocols (e.g., OSPF, BGP, static). This command is the standard way to view the IPv4 unicast routing information base (RIB) on Juniper devices.

Exam trap

The trap here is that candidates often confuse the routing table (RIB) with the forwarding table (FIB), or they may think 'show route protocol bgp' shows all routes, when it only shows routes from a specific protocol.

How to eliminate wrong answers

Option B is wrong because 'show route table inet6.0' displays the IPv6 unicast route table, not IPv4 unicast routes. Option C is wrong because 'show route forwarding-table' displays the forwarding table (FIB), which contains the actual next-hop information used for packet forwarding, not the route table (RIB) that stores all learned routes. Option D is wrong because 'show route protocol bgp' filters the route table to show only routes learned via BGP, not the entire IPv4 unicast route table.

179
MCQhard

During a maintenance window, an engineer needs to apply a series of configuration changes that are stored in a text file. Which command sequence should be used to load and apply the changes from the file?

A.request system configuration rescue save
B.load override /var/tmp/changes.txt; commit
C.configure; load patch /var/tmp/changes.txt; commit
D.configure; load merge /var/tmp/changes.txt; commit
AnswerD

This sequence correctly applies the configuration changes by merging the contents of changes.txt into the current candidate configuration. The load merge command overlays the file's statements onto the existing configuration, adding new statements and updating existing ones while leaving all unrelated configuration untouched. The commit then activates the candidate configuration, making the changes effective. This is the safest and most precise way to apply an incremental change during a maintenance window, as it avoids deleting any existing configuration.

Why this answer

The engineer needs to enter configuration mode (configure) and then use the 'load merge' command to merge the contents of the text file into the candidate configuration without replacing the entire configuration. The 'commit' command then activates the changes. This is the standard Junos workflow for applying incremental changes from a file.

Exam trap

The trap here is that candidates often confuse 'load merge' with 'load override' or 'load patch', not realizing that 'load merge' is the correct command for applying incremental changes from a standard configuration text file, while 'load override' wipes the entire configuration and 'load patch' requires a specific diff format.

How to eliminate wrong answers

Option A is wrong because 'request system configuration rescue save' saves the current active configuration as a rescue configuration, not loads changes from a file. Option B is wrong because 'load override' replaces the entire candidate configuration with the contents of the file, which would discard all existing configuration not in the file, and the command sequence does not include entering configuration mode ('configure'). Option C is wrong because 'load patch' is used to apply a patch file (a diff between two configurations), not a standard text file of configuration changes; it would likely fail or produce unintended results if the file is not in patch format.

180
MCQmedium

Refer to the exhibit. An engineer notices high error counts on the interface. Based on the output, what is the most likely cause?

A.The interface has a hardware fault.
B.The interface is experiencing excessive broadcasts.
C.The interface is operating in half-duplex mode.
D.The interface is connected to a device configured for half-duplex.
AnswerD

When a local full-duplex interface connects to a remote half-duplex device, the remote cannot simultaneously transmit and receive, and it performs CSMA/CD to avoid collisions. If the remote begins transmitting while the full-duplex side is also transmitting, the half-duplex side detects a collision and may truncate or jam the frame; the full-duplex side then observes a late collision or undersized frame. Because the local link is full-duplex, collisions can only originate from a remote device operating half-duplex, making a duplex mismatch the correct explanation for the high error counts.

Why this answer

The output shows high error counts on the interface, which is a classic symptom of a duplex mismatch. When one end of an Ethernet link operates in full-duplex and the other in half-duplex, collisions occur on the half-duplex side because it expects to wait for the carrier to be clear before transmitting, while the full-duplex side transmits at any time. This leads to frame check sequence (FCS) errors, alignment errors, and runts on the half-duplex interface.

Option D is correct because the local interface is likely full-duplex (default on modern Juniper devices), and the connected device is configured for half-duplex, causing the mismatch.

Exam trap

The trap here is that candidates often assume high error counts always indicate a hardware fault (Option A), but in JNCIA-JUNOS, the specific error types (e.g., collisions, late collisions) point to a duplex mismatch, not a physical layer failure.

How to eliminate wrong answers

Option A is wrong because a hardware fault typically manifests as a high rate of CRC errors or interface resets, not the specific pattern of errors seen in a duplex mismatch (e.g., excessive collisions and late collisions). Option B is wrong because excessive broadcasts cause high CPU utilization and broadcast storms, not physical-layer errors like FCS or alignment errors on the interface counters. Option C is wrong because if the local interface were operating in half-duplex, it would not be the cause of the high error counts; rather, the mismatch with a full-duplex peer would still be the issue, and the question states the engineer notices high error counts on the interface, implying the local interface is likely full-duplex.

181
MCQhard

Based on the exhibit, what is the most likely impact on the router?

A.Routing protocol adjacencies will be lost, causing routing instability.
B.The CPU will be overloaded due to the kernel messages.
C.The router will stop forwarding packets immediately.
D.The router will reboot automatically.
AnswerA

The rpd (Routing Protocol Daemon) is the sole software process managing all dynamic routing protocols, including OSPF, BGP, and IS-IS. When it is killed, every established adjacency immediately tears down, causing neighboring routers to mark the node unreachable and recalculate paths. This produces route flap and forwarding loops until rpd restarts and rebuilds sessions, so the primary impact is severe routing instability.

Why this answer

The exhibit shows kernel messages indicating a hardware or software fault (e.g., a FPC crash or PIC restart). In Junos, such critical events cause the Packet Forwarding Engine (PFE) to reset, which tears down all routing protocol adjacencies (OSPF, BGP, IS-IS) because the control plane loses communication with the forwarding plane. This leads to route withdrawal and routing instability until the adjacencies are re-established.

Exam trap

The trap here is that candidates assume kernel messages always cause a full reboot or immediate forwarding stop, but Junos is designed to isolate failures to specific components (like FPCs) rather than crashing the entire router.

How to eliminate wrong answers

Option B is wrong because kernel messages are logged as part of normal fault handling and do not inherently overload the CPU; Junos prioritizes control plane stability. Option C is wrong because the router continues to forward packets using the last known forwarding table until the PFE restarts, and even then, forwarding may resume after the restart without a full stop. Option D is wrong because Junos does not automatically reboot on kernel messages; it isolates the faulty component (e.g., FPC restart) to maintain overall system availability.

182
MCQhard

An administrator notices that after committing a configuration change on a Juniper MX router, the device loses connectivity to the management network. The management interface is part of a dedicated management routing instance. Which of the following is the most likely cause?

A.A firewall filter was applied to the management interface that blocks all traffic
B.NTP was configured with an incorrect server address
C.A syslog server was configured that is unreachable
D.The routing instance for the management interface was accidentally removed
AnswerD

The management interface (e.g., fxp0 or me0) is bound to a dedicated routing instance, often named mgmt_junos, which contains the management subnet's route. Removing this routing instance from the configuration causes the interface to lose its association with the routing table, effectively eliminating the route to the management network. As a result, remote management traffic cannot be routed to or from the device, even though the interface itself may still be administratively and operationally up. This correctly explains why the administrator loses connectivity after committing the configuration.

Why this answer

The management interface is part of a dedicated management routing instance (often named mgmt_junos). If this routing instance is accidentally removed during a commit, the management interface loses its routing context and becomes unreachable, causing loss of connectivity to the management network. This is a common misconfiguration when an administrator modifies routing instance configurations without realizing the management interface depends on it.

Exam trap

The trap here is that candidates often assume a firewall filter or service configuration (like NTP or syslog) is the cause, but the real issue is the removal of the routing instance that provides the logical separation for the management interface.

How to eliminate wrong answers

Option A is wrong because applying a firewall filter that blocks all traffic to the management interface would cause immediate loss of connectivity, but the question states the issue occurs after committing a configuration change, and the most likely cause is a structural change to the routing instance rather than a filter. Option B is wrong because configuring NTP with an incorrect server address would not cause loss of management connectivity; it would only prevent time synchronization. Option C is wrong because configuring an unreachable syslog server would only affect logging, not the management interface's ability to communicate on the network.

183
MCQhard

An engineer enables Spanning Tree PortFast on a switch port connected to a host. Later, another switch is connected to that same port, causing a loop. What feature could have prevented this?

A.Loop guard
B.BPDU guard
C.Root guard
D.UplinkFast
AnswerB

BPDU guard is the correct companion feature for PortFast because PortFast places a port into the forwarding state immediately, assuming it connects only to an end host. If the port receives any Spanning Tree Protocol BPDU—indicating that a switch or bridge has been connected—BPDU guard immediately error-disables the port, stopping all traffic and preventing a potential bridging loop. This proactive shutdown is far faster than allowing the spanning tree algorithm to recalculate and block the port. By disabling the port on the very first BPDU, BPDU guard enforces the edge-port assumption and provides strong protection against accidental misconfigurations or malicious devices.

Why this answer

BPDU guard is the correct answer because it disables a port configured with PortFast if a BPDU is received, preventing loops when a switch is accidentally connected. In this scenario, PortFast was enabled for a host, but connecting another switch caused BPDUs to be sent, which BPDU guard detects and shuts down the port to break the loop.

Exam trap

The trap here is that candidates confuse BPDU guard with Loop guard, thinking both prevent loops, but Loop guard addresses unidirectional link failures, not the accidental connection of a switch to a PortFast port.

How to eliminate wrong answers

Option A is wrong because Loop guard is designed to prevent alternate or root ports from becoming designated in the absence of BPDUs (e.g., due to unidirectional link failure), not to block BPDUs on PortFast-enabled ports. Option C is wrong because Root guard enforces the root bridge position by disabling a port if it receives superior BPDUs, but it does not prevent loops from a switch connected to a PortFast port. Option D is wrong because UplinkFast is a Cisco-proprietary feature that accelerates convergence after a direct link failure on access switches, unrelated to protecting PortFast ports from BPDU reception.

184
MCQeasy

An administrator wants to view the differences between the current candidate configuration and the last committed configuration. Which command displays this?

A.show configuration
B.commit check
C.show | compare
D.rollback ?
AnswerC

The pipeline 'show | compare' is the Junos way to display the difference between the candidate configuration and the last committed configuration (also known as rollback slot 0). It generates a unified-diff style output, with '+' for lines that will be added, '-' for lines that will be removed, and '!' to indicate changed statements. This directly fulfills the administrator's request to view what is different. Optionally, 'show | compare rollback N' compares the candidate against a specific prior snapshot.

Why this answer

The 'show | compare' command displays the differences between the candidate and the active (committed) configuration.

185
MCQmedium

A network engineer is designing a redundant network with two Juniper routers running VRRP. The virtual IP address is 10.0.0.1. Both routers are configured as VRRP group 1. What is the purpose of the 'priority' parameter in VRRP configuration?

A.It sets the interval for VRRP advertisements.
B.It determines the master router election.
C.It determines the virtual MAC address.
D.It changes the virtual IP address.
AnswerB

The priority value in VRRP is the primary criterion for master router election; the router with the highest priority becomes the master for the virtual router group. If two routers advertise the same priority, the one with the higher primary IP address wins the election. Thus, a higher priority makes a device more likely to be chosen as master, either through initial election or by preempting a lower-priority active master when preemption is enabled.

Why this answer

In VRRP, the 'priority' parameter (range 1-254, default 100) is used to elect the master router. The router with the highest priority becomes the master for the virtual IP address 10.0.0.1, ensuring redundancy by taking over traffic forwarding if the current master fails.

Exam trap

The trap here is that candidates confuse VRRP's priority with HSRP's priority or think it controls advertisement timers, but VRRP priority strictly governs master election and preemption behavior.

How to eliminate wrong answers

Option A is wrong because the interval for VRRP advertisements is set by the 'advertise-interval' parameter (default 1 second), not by priority. Option C is wrong because the virtual MAC address (00:00:5E:00:01:XX where XX is the VRRP group ID) is derived from the VRRP group number, not from priority. Option D is wrong because the virtual IP address is configured directly via the 'virtual-address' statement and is independent of the priority value.

186
Multi-Selecteasy

Which two factors does Junos use to select the best route when multiple routes to the same prefix exist? (Choose two.)

Select 2 answers
A.Route preference
B.Next-hop type
C.Number of hops
D.Metric
E.Route age
AnswersA, D

Route preference is the first and primary criterion Junos uses to choose the best route to a destination. Each routing protocol is assigned a default preference value (e.g., 10 for OSPF, 20 for static, 170 for BGP), and the route with the lowest preference wins. You can modify these values with routing policy or by setting a custom preference, but the comparison always happens before any metric is examined.

Why this answer

Junos route selection first compares route preference (administrative distance), so option A is correct because the route with the lower preference value (for example, direct 0, static 5, OSPF 10, RIP 100, BGP 170) wins before any protocol-specific metric is considered. If routes have equal preference, Junos then compares the metric, so option D is correct because the lower metric is preferred within the same protocol or routing table. Options B, C, and E are not the two primary Junos best-route selection factors: next-hop type, hop count, and route age are not used as the general tie-breakers in the Junos route selection algorithm.

187
MCQeasy

A network administrator wants to view the current configuration that is actively running on a Juniper device. Which operational mode command should be used?

A.show configuration
B.show running-config
C.show active-config
D.show current-config
AnswerA

In Junos, the operational mode command "show configuration" (or its alias "show config") displays the current active configuration that is committed and in use on the device. This command reads from the candidate configuration, which becomes the active configuration after a commit, and reflects the exact hierarchy of the Junos configuration database. It is the standard way to view the running configuration in Junos.

Why this answer

In Junos OS, the operational mode command 'show configuration' displays the active, committed configuration currently running on the device. Unlike Cisco IOS, Junos does not use a separate 'running-config'; instead, the configuration is stored as a single candidate configuration that becomes active only after a 'commit' operation. Thus, 'show configuration' is the correct command to view the active configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS may instinctively choose 'show running-config', but Junos uses a different paradigm with 'show configuration' to display the active committed configuration.

How to eliminate wrong answers

Option B is wrong because 'show running-config' is a Cisco IOS command, not a valid Junos operational mode command; Junos uses 'show configuration' to display the active configuration. Option C is wrong because 'show active-config' is not a valid Junos command; Junos does not have an 'active-config' keyword in its operational mode. Option D is wrong because 'show current-config' is not a valid Junos command; Junos uses 'show configuration' as the standard command to view the current active configuration.

188
MCQhard

Refer to the exhibit. An engineer runs the command shown. What does this output indicate?

A.The candidate configuration matches the committed configuration.
B.The candidate configuration has an IP address change.
C.The rollback 0 configuration is being displayed.
D.The interface ge-0/0/0 has been deleted.
AnswerB

In the diff output, the `-` line shows the committed IP address (10.0.0.1) being removed from interface ge-0/0/0, and the `+` line shows the candidate IP address (192.0.2.1) replacing it under `family inet`. This is a classic unified diff format: the `-` line is the old value, the `+` line is the new value. Since only the address line changes while the interface and its family structure remain, this correctly identifies an IP address change.

Why this answer

The output shows the candidate configuration differs from the committed configuration, as indicated by the 'show | compare' command displaying a change under the [edit interfaces ge-0/0/0 unit 0 family inet] hierarchy. Specifically, it shows the address 192.168.1.1/24 being replaced with 192.168.1.2/24, which is an IP address change. This confirms option B is correct because the candidate configuration has an IP address change that has not yet been committed.

Exam trap

The trap here is that candidates often confuse 'show | compare' with 'show configuration | display set' or assume no output means no candidate changes exist, but in reality, 'show | compare' outputs only differences, and any output indicates a pending change that does not match the committed configuration.

How to eliminate wrong answers

Option A is wrong because the output shows a difference between the candidate and committed configurations (the IP address change), so they do not match; a matching configuration would produce no output from 'show | compare'. Option C is wrong because the command 'show | compare' compares the candidate configuration to the active (committed) configuration, not specifically to rollback 0; while rollback 0 is the most recent commit, the command compares to the current active configuration, and the output does not indicate a rollback operation. Option D is wrong because the output shows the interface ge-0/0/0 still exists with a unit and family inet configuration; only the IP address is changed, not the interface being deleted.

189
MCQmedium

Based on the exhibit, what is the most likely reason for the ping failure?

A.A firewall filter is blocking ICMP traffic.
B.The interface is disabled at the unit level.
C.The neighbor device is not configured or is unreachable.
D.The interface is administratively down.
AnswerC

The interface status is up/up, meaning the physical link has carrier and the logical unit is active, but this does not guarantee the remote host at 10.0.0.2 is reachable. The ping fails because either the neighbor device is not configured with that IP address, is powered off, or there is no route in the routing table to reach it. A successful ping requires an active ARP entry or a valid route, not just a local interface that is administratively up.

Why this answer

The ping failure is most likely due to the neighbor device not being configured or unreachable because the output shows the interface is up (Physical link is Up) and the unit is enabled (Unit 0 is enabled), but there is no neighbor discovery or ARP entry. Without a valid next-hop or neighbor reachability, ICMP echo requests cannot be forwarded, resulting in ping failure.

Exam trap

The trap here is that candidates often assume a ping failure is due to an interface being down or a firewall filter, but the exhibit clearly shows the interface is up and enabled, so the issue must be at the network layer with neighbor unreachability.

How to eliminate wrong answers

Option A is wrong because there is no evidence of a firewall filter blocking ICMP traffic; the output does not show any applied filter or statistics indicating dropped packets. Option B is wrong because the interface is not disabled at the unit level; the output explicitly states 'Unit 0 is enabled' and shows an IP address configured. Option D is wrong because the interface is not administratively down; the output shows 'Physical link is Up' and 'Interface is up', indicating no administrative shutdown.

190
MCQeasy

A switch receives a unicast frame with a destination MAC address that is present in its MAC address table. How does the switch process the frame?

A.It sends the frame back to the source port
B.It floods the frame to all ports except the receiving port
C.It drops the frame
D.It forwards the frame only out of the port associated with that MAC address
AnswerD

When a switch receives a unicast frame with a destination MAC address already in its MAC address table, it forwards the frame only out of the port associated with that MAC address. This is the fundamental switching behavior: the MAC table records source MAC addresses and their corresponding ingress ports, and later lookups for known destinations are delivered to that single port. This preserves bandwidth, reduces unnecessary traffic, and ensures the frame reaches only the intended station.

Why this answer

When a switch receives a unicast frame and the destination MAC address is already in its MAC address table, it performs a lookup and forwards the frame only out of the specific port associated with that MAC address. This is the fundamental switching behavior known as 'unicast forwarding' or 'filtering,' which avoids unnecessary flooding and preserves bandwidth.

Exam trap

The trap here is that candidates often confuse the behavior for an unknown unicast (which is flooded) with a known unicast (which is forwarded only to the specific port), leading them to incorrectly select option B.

How to eliminate wrong answers

Option A is wrong because sending the frame back to the source port would create a loop and violate the basic switching principle that a frame is never forwarded out the port it was received on. Option B is wrong because flooding to all ports except the receiving port only occurs when the destination MAC address is unknown (not in the MAC table) or for broadcast/multicast frames, not for a known unicast address. Option C is wrong because the switch does not drop the frame; it has a matching entry in the MAC table and can forward it correctly to the intended destination.

191
MCQeasy

Refer to the exhibit. An administrator notices the /var partition is nearly full. Which command can be used to safely reclaim disk space?

A.request system reboot
B.request system storage cleanup
C.delete /var/log/messages
D.request system software delete
AnswerB

The 'request system storage cleanup' command is the correct procedure because it safely identifies and removes files that are no longer needed, including old log backups, temporary files, and core dumps that have exceeded retention thresholds. It is designed to avoid deleting active or critical files, and it releases space on /var and other partitions in a controlled manner, making it the recommended first step when disk space is low.

Why this answer

The 'request system storage cleanup' command safely removes old log files, core dumps, and other temporary files that are no longer needed, freeing up space on the /var partition without risking system stability. This is the recommended Junos method for reclaiming disk space because it targets only files that can be safely deleted.

Exam trap

The trap here is that candidates may think manually deleting log files (option C) is safe and effective, but Junos relies on its own cleanup mechanisms to avoid breaking log rotation or losing important diagnostic data.

How to eliminate wrong answers

Option A is wrong because 'request system reboot' only restarts the system and does not delete any files, so it will not reclaim disk space. Option C is wrong because manually deleting '/var/log/messages' can cause loss of critical logging data and may not be safe if the file is still being written to; Junos manages log rotation automatically, and direct deletion can disrupt that. Option D is wrong because 'request system software delete' is used to remove installed software packages, not to clean up temporary or log files, and it could inadvertently remove needed software.

192
MCQmedium

A technician needs to monitor routing table updates in real time. Which command provides continuous output of routing changes?

A.monitor route
B.show log messages | match route
C.show route
D.show route protocol bgp
AnswerA

The `monitor route` command is a real-time operational command that subscribes to the routing table event stream, displaying incremental updates as routes are added, withdrawn, or modified. Unlike a one-time snapshot, it continuously refreshes with each RIB change until you interrupt it with Ctrl+C. This makes it the correct tool for observing routing changes as they happen.

Why this answer

The 'monitor route' command in Junos provides a real-time, continuously updating view of routing table changes as they occur. Unlike static commands that show a snapshot, this command actively tracks route additions, removals, and modifications, making it the correct choice for monitoring routing updates in real time.

Exam trap

The trap here is that candidates often confuse 'monitor route' with 'show route' or filtered log commands, assuming any command with 'route' or 'log' can provide real-time output, but only 'monitor route' offers continuous, live updates in Junos.

How to eliminate wrong answers

Option B is wrong because 'show log messages | match route' displays historical log entries filtered for the word 'route', not a continuous real-time stream of routing changes. Option C is wrong because 'show route' outputs a static snapshot of the current routing table, not a live update feed. Option D is wrong because 'show route protocol bgp' shows only BGP-learned routes in a static format, lacking the continuous monitoring capability required.

193
Multi-Selecteasy

Which TWO statements about configuration archival in Junos are true?

Select 2 answers
A.Archival stores the candidate configuration.
B.The 'system archival' hierarchy enables automatic backup of configurations.
C.Archival only saves the rescue configuration.
D.Archival can use FTP or SCP to transfer files.
E.Archival automatically archives after every commit without any configuration.
AnswersB, D

This configuration block defines archival settings.

Why this answer

The 'system archival' hierarchy in Junos is specifically designed to enable automatic backup of configuration files. This feature allows administrators to configure periodic transfers of committed configurations to a remote server, ensuring configuration history is preserved without manual intervention.

Exam trap

The trap here is that candidates often confuse the candidate configuration with the committed configuration, assuming archival saves the uncommitted changes, when in fact it only archives the active committed configuration after a successful commit.

194
MCQmedium

A network engineer needs to restore the factory-default configuration on a Junos device. Which command sequence is correct?

A.set system host-name factory-default
B.request system zeroize
C.load factory-default and then commit
D.delete configuration and reboot
AnswerC

`load factory-default` loads the vendor-provided factory-default configuration file into the candidate configuration, replacing all existing candidate settings. The subsequent `commit` promotes that candidate to the active (committed) configuration, thereby returning the device to its out-of-box state without erasing logs or other non-configuration files. This is the standard, supported procedure for restoring factory defaults on a Junos device.

Why this answer

The correct command sequence to restore factory-default configuration on a Junos device is 'load factory-default' followed by 'commit'. The 'load factory-default' command replaces the current candidate configuration with the factory-default configuration, but it does not take effect until a 'commit' is issued. This ensures the device reverts to its original settings without affecting the currently running configuration until explicitly committed.

Exam trap

The trap here is that candidates confuse 'load factory-default' with 'request system zeroize', thinking both achieve the same result, but 'zeroize' is a security wipe that destroys all data and requires a reboot, while 'load factory-default' is a configuration-only reset that is committed without rebooting.

How to eliminate wrong answers

Option A is wrong because 'set system host-name factory-default' only changes the hostname to 'factory-default', it does not restore the entire configuration to factory defaults. Option B is wrong because 'request system zeroize' is used to erase all data, including configuration files, logs, and user data, for security purposes before decommissioning a device; it does not simply restore factory-default configuration and requires a reboot to complete. Option D is wrong because 'delete configuration and reboot' is not a valid Junos command sequence; deleting the configuration without using 'load factory-default' would leave the device with an empty configuration, potentially causing boot issues or requiring manual recovery.

195
MCQeasy

A network engineer is configuring a new Juniper MX router to replace an existing core router. The engineer has applied several configuration changes and wants to ensure that the new configuration can be tested safely. If the test fails (e.g., loss of management connectivity), the router should automatically revert to the previous configuration after a 5-minute period. The engineer performs a commit confirmed with a timeout of 5 minutes. After 4 minutes, the engineer verifies that the change is successful and wants to make it permanent. Which action should the engineer take to ensure the configuration persists?

A.Issue the 'rollback 0' command, then commit.
B.Issue the 'commit confirmed 5' command again to reset the timer.
C.Issue the 'request system reboot' command to reload the router.
D.Issue a standard 'commit' command to confirm the configuration.
AnswerD

Issuing a standard 'commit' command immediately activates the candidate configuration as the new permanent configuration in the active/committed hierarchy. This action also cancels the pending commit confirmed timer, preventing any automatic rollback to the previous configuration. It is the only proper step to finalize a configuration that was staged with 'commit confirmed'.

Why this answer

The correct action is D: issue a standard 'commit' command to confirm the configuration. In Junos, 'commit confirmed' activates the candidate configuration on a trial basis and automatically rolls back to the previous configuration unless it is confirmed within the specified timeout; issuing a normal 'commit' within that window makes the change permanent and cancels the rollback timer. Option A is wrong because 'rollback 0' loads the currently active configuration (the trial config) but does not by itself confirm it, and it is not the standard confirmation step.

Option B is wrong because re-issuing 'commit confirmed 5' merely restarts the confirmation timer rather than making the configuration persistent. Option C is wrong because rebooting the router would not confirm the candidate configuration and could even trigger the pending rollback behavior.

196
MCQmedium

An engineer wants to view system log messages as they are generated in real-time. Which command should they use?

A.start log messages
B.monitor log messages
C.request system log
D.show log messages
AnswerB

The 'monitor log messages' command is the correct operational command for real-time log viewing. It streams new log entries to the terminal as they are written by the syslog process, similar to the Unix 'tail -f' command. The engineer can stop the streaming output by pressing Ctrl+C, and can optionally use the 'match' filter to display only relevant messages.

Why this answer

The 'monitor log messages' command in Junos OS provides a real-time view of system log messages as they are generated, similar to the 'tail -f' command on Unix systems. It streams new log entries to the terminal without requiring manual refresh, making it ideal for live monitoring of events.

Exam trap

The trap here is that candidates familiar with Cisco IOS may confuse 'show log' (which in Cisco shows a static log) with Junos 'show log messages', and incorrectly assume it provides real-time output, while 'monitor log messages' is the correct real-time equivalent.

How to eliminate wrong answers

Option A is wrong because 'start log messages' is not a valid Junos command; the correct command to begin logging is 'set system syslog' or similar configuration, not a real-time view. Option C is wrong because 'request system log' is used for operations like rotating or archiving log files, not for live viewing. Option D is wrong because 'show log messages' displays the contents of the /var/log/messages file at the time of execution, but does not provide real-time updates; it shows a static snapshot.

197
Multi-Selecteasy

Which TWO commands can be used to view the current operational state of an interface? (Choose two.)

Select 2 answers
A.show interfaces extensive
B.show log
C.show configuration interfaces
D.show interfaces terse
E.show route
AnswersA, D

This is correct because 'show interfaces extensive' reads the live runtime state from the device and displays the physical link status, administrative status, media type, speed, MTU, and detailed error and discard counters. Unlike configuration output, it shows what the interface is actually doing right now, including carrier transitions, alarms, and other operational details. It is more verbose than 'show interfaces terse', but both commands query current operational data, so it is one of the two valid choices.

Why this answer

The 'show interfaces extensive' command displays detailed operational state information, including current status, errors, and statistics. The 'show interfaces terse' command provides a concise operational view showing interface names, administrative status, link status, and protocol families. Both commands query the current operational state of interfaces from the Junos OS kernel.

Exam trap

The trap here is that candidates confuse 'show configuration interfaces' (which shows the intended configuration) with commands that show the actual operational state, leading them to select option C instead of the correct operational commands.

198
Multi-Selecthard

Which TWO commands can be used to view the current routing table entries for IPv4 unicast routes?

Select 2 answers
A.show route protocol static
B.show route table inet.0
C.show forwarding-table
D.show route
E.show route table inet6.0
AnswersB, D

The command 'show route table inet.0' explicitly selects the IPv4 unicast routing table (inet.0) for display. In Junos, inet.0 is the default routing table for IPv4 unicast routes, holding both active and inactive routes from all protocols. This command is functionally equivalent to a plain 'show route' but makes the table selection explicit, ensuring the administrator is viewing the complete IPv4 unicast routing table rather than another table or protocol-specific subset.

Why this answer

`show route table inet.0` explicitly displays the IPv4 unicast routing table (inet.0) in Junos. Option D is correct because `show route` without any filter defaults to showing all routes in the inet.0 table, which is the primary IPv4 unicast routing table.

Exam trap

The trap here is that candidates confuse the routing table (`show route`) with the forwarding table (`show forwarding-table`), or assume a specific protocol filter like `protocol static` shows all routes, when in fact it only shows routes learned via that protocol.

199
MCQhard

Two routers running IBGP with full mesh have a routing loop for prefix 10.1.1.0/24. Both routers have an IBGP route (preference 170) for the prefix with next-hop 10.2.2.2, and an OSPF route (preference 10) for the same prefix. The OSPF next-hop on each router points to the other router's loopback interface. Which action should be taken to stop the loop while preserving BGP route advertisement?

A.Increase the OSPF preference for 10.1.1.0/24 to 175
B.Add a static route for 10.1.1.0/24 with next-hop 10.2.2.2
C.Configure 'set protocol bgp group internal-mesh local-address 10.2.2.2' to set next-hop to self
D.Use route reflection to break the loop
AnswerA

In Junos, route preference is the first criterion in the route selection process. OSPF internal routes default to a preference of 10, while iBGP routes default to 170, so the router installs the OSPF route even if the BGP route has a better path out of the loop. By raising OSPF preference for 10.1.1.0/24 to 175, you make OSPF less desirable than BGP (170), allowing the iBGP route to become active and use a next hop that exits the loop. This targeted override of the default preference for a specific prefix resolves the loop without affecting other routes.

Why this answer

Increasing the OSPF preference for 10.1.1.0/24 to 175 makes the IBGP route (preference 170) more preferred than the OSPF route. This breaks the routing loop where each router's OSPF route points to the other's loopback, while preserving the IBGP route advertisement. The loop occurs because both routers prefer the OSPF route (preference 10) over IBGP (preference 170), causing traffic to bounce between them.

Exam trap

The trap here is that candidates may think the loop is caused by BGP next-hop behavior or session configuration, rather than recognizing it as a route preference issue where OSPF's lower preference overrides IBGP, leading to a forwarding loop between the two routers.

How to eliminate wrong answers

Option B is wrong because adding a static route for 10.1.1.0/24 with next-hop 10.2.2.2 would create a static route with default preference 5, which is more preferred than both OSPF and IBGP, but it does not address the loop caused by OSPF routes pointing to each other's loopbacks; it could also interfere with BGP route advertisement. Option C is wrong because configuring 'set protocol bgp group internal-mesh local-address 10.2.2.2' sets the local address for BGP sessions but does not change the next-hop for the IBGP route; the next-hop remains 10.2.2.2, and this does not resolve the OSPF route preference issue. Option D is wrong because route reflection is a scalability feature for IBGP that reduces the number of sessions, but it does not affect route preference or break the loop caused by OSPF routes being preferred over IBGP.

200
MCQhard

You are administering a Juniper MX240 router that provides connectivity to multiple customer sites. The router uses BGP to exchange routes with two upstream ISPs. Recently, you applied a new firewall filter to the loopback interface to restrict management access. After committing the configuration, you can no longer establish SSH sessions to the router from the management network. You are currently connected via console. The loopback filter is still applied. You suspect the filter is blocking SSH traffic from the management network. What should you do to restore SSH access without losing the other filter rules?

A.Roll back to the previous configuration using 'rollback 0' and commit.
B.Add a new term at the end of the filter that accepts SSH traffic from any source.
C.Add a new term at the beginning of the filter that accepts SSH traffic from the management network, then reorder the terms so that this term is evaluated first.
D.Delete the firewall filter from the loopback interface and commit.
AnswerC

Inserting a new accept term at the top of the filter and committing it ensures that SSH packets sourced from the management network match this term first, before any deny term can be evaluated. Junos first-match semantics guarantee that once the accept action is applied, no later term can override it. Limiting the source to the management network preserves the security boundary and only restores the intended SSH access, rather than allowing SSH from arbitrary sources.

Why this answer

Firewall filters in Junos are evaluated in order, and adding a term at the beginning that explicitly accepts SSH traffic from the management network ensures that the SSH packets are permitted before any subsequent deny terms are evaluated. This preserves all existing filter rules while restoring SSH access. The 'insert' command or reordering terms is necessary to place the new term first, as the default behavior appends new terms to the end of the filter.

Exam trap

The trap here is that candidates assume adding a permit rule anywhere in the filter will work, but they forget that Junos filters are order-dependent and that new terms are appended to the end by default, which may be after a deny term that blocks the traffic.

How to eliminate wrong answers

Option A is wrong because 'rollback 0' rolls back to the most recently committed configuration, which would remove the entire firewall filter and any other recent changes, not just the problematic rule. Option B is wrong because adding a term at the end of the filter that accepts SSH from any source would still be evaluated after any existing deny terms that might block SSH traffic, so it would not restore access. Option D is wrong because deleting the entire firewall filter from the loopback interface removes all security restrictions, not just the one blocking SSH, which violates the requirement to keep other filter rules.

201
MCQmedium

Refer to the exhibit. An engineer notices that input drops are increasing. What is the most likely cause?

A.Speed mismatch
B.Buffer overflow
C.Cable fault
D.CRC errors
AnswerB

Input drops are specifically the counter that increments when the ingress packet buffer or the shared memory on the forwarding engine is full, forcing new packets to be discarded before they can be processed. This occurs when traffic bursts (often micro-bursts) exceed the interface's buffering capacity or when congestion causes tail-drop at the input queue. Unlike physical-layer errors, this is a congestion-related drop, and it is the correct explanation for the observed input drops in the exhibit.

Why this answer

Input drops occur when the ingress interface's receive buffer is full and cannot accept more packets, typically due to the ingress rate exceeding the interface's ability to process or forward packets to the internal switch fabric. In Junos, this is often caused by microbursts or sustained oversubscription, not by a speed mismatch (which would show as errors or link flaps) or cable faults (which cause physical-layer errors). Buffer overflow is the correct answer because input drops directly indicate that the packet buffer has been exhausted.

Exam trap

The trap here is that candidates often confuse input drops with CRC errors or assume a speed mismatch is the cause, but Junos explicitly separates input drops (buffer overflow) from physical-layer errors, and the question's exhibit would show no CRC errors or link flaps, isolating the issue to buffer exhaustion.

How to eliminate wrong answers

Option A is wrong because a speed mismatch between two connected interfaces would typically cause the link to not come up or generate extensive CRC/alignment errors, not specifically input drops. Option C is wrong because a cable fault usually manifests as CRC errors, frame errors, or link flaps, not as a steady increase in input drops. Option D is wrong because CRC errors are a separate counter indicating data corruption at the physical layer, often due to signal integrity issues, and are not the direct cause of input drops.

202
Multi-Selectmedium

Which THREE fields are part of an Ethernet frame header? (Select three.)

Select 3 answers
A.Destination MAC address
B.VLAN tag (802.1Q)
C.EtherType field
D.Frame Check Sequence (FCS)
E.Source MAC address
AnswersA, C, E

The Destination MAC address is a mandatory, 6-byte field that starts the Ethernet II header. It specifies the intended receiver's physical address, whether it is a unicast, multicast, or broadcast address, and is required for the switch to make forwarding decisions. Without a destination MAC, an Ethernet frame cannot be delivered to any station on the LAN, so it must always be present.

Why this answer

The Ethernet frame header always begins with the Destination MAC address (Option A), a 6-byte field identifying the intended recipient's hardware address, which is essential for Layer 2 forwarding. The Source MAC address (Option E) is the next 6-byte field, identifying the sending NIC so replies and switch MAC-address-table entries can be built. The EtherType field (Option C) follows (or follows the optional 802.1Q tag) and is a 2-byte value such as 0x0800 for IPv4 or 0x86DD for IPv6, telling the receiver which upper-layer protocol is encapsulated.

Option B (VLAN tag 802.1Q) is not part of the standard Ethernet header; it is an optional 4-byte tag inserted only on trunk links, so it is not one of the three basic header fields. Option D (FCS) is a 4-byte CRC trailer appended to the end of the frame for error detection, not a header field.

Exam trap

The trap here is that candidates often confuse the optional 802.1Q VLAN tag or the FCS trailer as part of the Ethernet frame header, when in fact the header strictly contains only the Destination MAC, Source MAC, and EtherType/Length fields.

203
MCQeasy

A technician needs to view the last 50 log messages from the system log file. Which command accomplishes this?

A.show system log messages
B.monitor start messages
C.show system syslog
D.show log messages | last 50
AnswerD

show log messages | last 50 is the correct operational command to view the most recent 50 entries from the default /var/log/messages file. The pipe to 'last' is a Junos CLI filter that displays only the final 50 lines of the output, similar to 'tail -50' in a Unix shell. This is both efficient and reliable because it avoids printing the entire log and directly shows the newest events.

Why this answer

The 'show log messages | last 50' command displays the last 50 lines from the /var/log/messages file on a Junos device. The pipe to 'last' is a Junos CLI filter that outputs only the final N lines of the command output, which is exactly what is needed to view the most recent log entries.

Exam trap

The trap here is that candidates confuse the 'show log' command with 'show system syslog' or 'show system log messages', misremembering the exact syntax for viewing log file contents versus configuration.

How to eliminate wrong answers

Option A is wrong because 'show system log messages' is not a valid Junos command; the correct command to view the system log file is 'show log messages'. Option B is wrong because 'monitor start messages' is used to tail the log file in real time, not to view a static set of the last 50 messages. Option C is wrong because 'show system syslog' displays the syslog configuration, not the actual log file contents.

204
MCQeasy

A network administrator needs to check the current software version and hardware model of a Juniper device. Which command should the administrator use?

A.show version
B.show system information
C.show configuration version
D.show chassis hardware
AnswerA

The show version command displays the Junos OS software version, hardware model, and other system information such as uptime and build date. It is the standard command to quickly obtain the device's software and hardware details, making it ideal for inventory and compatibility checks.

Why this answer

The show version command is specifically designed to display the Junos OS software version and hardware model. It provides a concise summary that includes the hostname, model, Junos version, and uptime. The other commands either focus on hardware details or are invalid, making show version the correct choice for this scenario.

Exam trap

The trap here is confusing hardware inventory commands like show chassis hardware with the command that provides both software version and hardware model.

205
MCQhard

A technician needs to upgrade the Junos OS on a device that is part of a redundant cluster. Which approach minimizes traffic disruption?

A.Use 'request system software add' on both nodes at the same time.
B.Upgrade both nodes simultaneously to reduce maintenance time.
C.Upgrade one node at a time, ensuring the cluster remains redundant.
D.Use the 'commit synchronize' command to keep configurations in sync after upgrade.
AnswerC

The correct method is to upgrade one node at a time: add the software to the backup node, let it reboot and rejoin the cluster as the new primary, then fail over and upgrade the old primary. This ensures that at least one node stays active throughout the process, preserving traffic forwarding and maintaining cluster redundancy. You can verify the cluster status with 'show chassis cluster status' before and after each node's reboot.

Why this answer

Upgrading one node at a time in a redundant cluster ensures that at least one node remains active to handle traffic while the other is being upgraded. This approach maintains cluster redundancy and minimizes traffic disruption, as the active node continues forwarding traffic using the gratuitous ARP or VRRP mechanisms, and the upgraded node rejoins the cluster after reboot.

Exam trap

The trap here is that candidates might think simultaneous upgrades are efficient or that 'commit synchronize' is related to software upgrades, but Junos requires sequential node upgrades in a cluster to maintain redundancy and avoid traffic loss.

How to eliminate wrong answers

Option A is wrong because using 'request system software add' on both nodes simultaneously would cause both nodes to reboot at the same time, resulting in a complete traffic outage for the cluster. Option B is wrong because upgrading both nodes simultaneously reduces maintenance time but causes a total loss of redundancy and traffic disruption, which is not acceptable for minimizing disruption. Option D is wrong because 'commit synchronize' is used to synchronize configuration changes between nodes, not to manage software upgrades; it does not address the upgrade process or traffic disruption.

206
MCQhard

During a routing table lookup, a packet matches both a static route and an OSPF route to the same destination. Which route will be installed in the forwarding table?

A.Both routes, if they are equal-cost.
B.The route with the higher preference value.
C.The OSPF route, because OSPF is a dynamic routing protocol.
D.The static route, because it has a lower preference value.
AnswerD

Junos routes are selected by comparing the preference values from different protocols, and the route with the lowest preference is installed as active in the forwarding table. Static routes have a default preference of 5, while OSPF internal routes use 10, so the static route is chosen. This lower preference value reflects that static routes are manually configured and therefore considered the most reliable and predictable source for that destination.

Why this answer

In Junos, the route with the lowest preference value is installed in the forwarding table. Static routes have a default preference of 5, while OSPF internal routes have a default preference of 10. Therefore, the static route is preferred and installed.

Exam trap

The trap here is that candidates often assume dynamic protocols like OSPF are always preferred over static routes, but Junos uses preference (administrative distance) where static routes have a lower default value than OSPF, making them more preferred.

How to eliminate wrong answers

Option A is wrong because Junos installs only the single best route (lowest preference) into the forwarding table; equal-cost multipath only applies when routes have the same preference and metric, which is not the case here. Option B is wrong because a higher preference value indicates a less preferred route; the route with the lower preference value is chosen. Option C is wrong because the decision is based on administrative distance (preference), not on whether the protocol is dynamic or static; OSPF has a higher preference (10) than a static route (5), so the static route wins.

207
MCQmedium

Your company recently acquired a small office that uses a Juniper MX router to connect to two ISPs for redundancy. The router has two uplinks: xe-0/0/0 to ISP-A (next-hop 10.0.0.1) and xe-0/0/1 to ISP-B (next-hop 10.0.1.1). The router receives a full BGP table from both ISPs. You want to prefer ISP-A for most traffic, but use ISP-B as a backup. You have configured BGP with local-preference 200 on routes from ISP-A and local-preference 100 on routes from ISP-B. After committing, you check the routing table and see that for some destinations, the route from ISP-B is active despite having lower local-preference. What is the most likely reason?

A.The local-preference is not applied to routes that are learned via eBGP; it only works for iBGP.
B.The router is not receiving the ISP-A routes for those specific prefixes; perhaps ISP-A's BGP session is missing or the prefix is not advertised.
C.The IGP metric to the next-hop from ISP-B is lower, causing the route to be preferred.
D.The MED value from ISP-A is higher than from ISP-B, overriding the local-preference.
AnswerB

BGP best-path selection can only evaluate routes that are actually present in the BGP table. If the prefixes are not being received from ISP-A—because the eBGP session is down, the neighbor is not advertising them, or inbound filtering is discarding them—the router has only the ISP-B routes to consider, so the local-preference setting for ISP-A is irrelevant. The route from ISP-B then wins by default, exactly matching the observed symptoms.

Why this answer

The correct answer is B: the router is likely not receiving the ISP-A routes for those specific prefixes, perhaps because ISP-A's BGP session is missing or the prefix is not advertised. Local-preference is evaluated before MED and IGP metric in the BGP best-path selection process, so if a route from ISP-A with local-preference 200 existed for those destinations, it would be preferred over the ISP-B route with local-preference 100. If ISP-A simply isn't advertising those prefixes (or the session is down), no ISP-A route exists to compare, so the ISP-B route becomes active.

Option A is false because local-preference is a well-known discretionary attribute that is commonly set on eBGP-learned routes via inbound policy. Option C is wrong because IGP metric is only considered after local-preference and MED, so it cannot override a higher local-preference. Option D is wrong because MED is compared after local-preference, so a higher MED from ISP-A would not cause the lower-local-preference ISP-B route to win.

208
MCQmedium

An administrator is troubleshooting a Junos device that is dropping packets. The administrator wants to see the real-time traffic statistics for interface ge-0/0/0, including packets per second and errors, updated every second. Which command should the administrator use?

A.show interfaces ge-0/0/0 extensive
B.show interfaces ge-0/0/0 terse
C.monitor interface ge-0/0/0
D.show interfaces ge-0/0/0 statistics
AnswerC

The monitor interface command provides a continuously updating, real-time display of interface statistics, including packets per second, errors, and utilization. It refreshes every second by default and is ideal for observing traffic patterns and troubleshooting packet drops as they occur. This command is part of the operational mode and does not require configuration changes.

Why this answer

The monitor interface command is designed for real-time monitoring, refreshing statistics every second. It shows packets per second, errors, and other counters, allowing the administrator to observe traffic fluctuations and identify issues as they occur. The other commands provide static snapshots or limited information, which are not suitable for continuous observation of interface behavior.

Exam trap

The trap here is confusing static show commands that display detailed statistics with the monitor interface command that provides continuous real-time updates.

209
MCQeasy

What is the purpose of the 'commit confirmed' command in Junos OS?

A.It compares the candidate configuration with the active configuration
B.It allows the administrator to test a configuration change with automatic rollback if confirmation is not received
C.It permanently saves the candidate configuration to the startup configuration
D.It confirms that a previous commit was successful
AnswerB

This is the correct purpose of 'commit confirmed' in Junos. When you issue 'commit confirmed', the candidate configuration is applied and a timer (default 10 minutes, configurable with 'confirm <minutes>') starts. If you do not explicitly confirm the commit with a subsequent 'commit confirm' before the timer expires, the device automatically reverts to the previous active configuration. This is essential for safely applying remote changes that might disrupt connectivity, because a lost connection means you cannot confirm, so the router rolls back automatically.

Why this answer

The 'commit confirmed' command in Junos OS applies a candidate configuration change and starts a confirmation timer (default 10 minutes). If the administrator does not issue a 'commit' command before the timer expires, the system automatically rolls back to the previous active configuration. This allows safe testing of changes, especially over remote connections, preventing lockout if the change breaks connectivity.

Exam trap

The trap here is that candidates confuse 'commit confirmed' with a simple confirmation prompt or a verification step, when in fact it is a timed rollback mechanism designed to prevent lockout during remote configuration changes.

How to eliminate wrong answers

Option A is wrong because comparing the candidate configuration with the active configuration is done using the 'show | compare' command or 'show configuration | compare', not 'commit confirmed'. Option C is wrong because permanently saving the candidate configuration to the startup configuration is achieved with 'commit' (or 'commit and-quit'), not 'commit confirmed'; the 'commit confirmed' command applies the change temporarily and requires a subsequent 'commit' to make it permanent. Option D is wrong because confirming a previous commit was successful is not a function of 'commit confirmed'; the system logs commit success or failure in the event log, and 'show system commit' displays the commit history, but 'commit confirmed' is used to test a change with automatic rollback, not to verify a past commit.

210
MCQmedium

A junior engineer is tasked with configuring a firewall filter to only allow SSH access to the management interface. The management interface is fxp0. Which configuration is correct?

A.set interfaces lo0 unit 0 family inet filter input allow-ssh
B.set groups management-filter interfaces fxp0 unit 0 family inet filter input allow-ssh
C.set interfaces ge-0/0/0 unit 0 family inet filter input allow-ssh
D.set interfaces fxp0 unit 0 family inet filter input allow-ssh
AnswerD

This command correctly applies the firewall filter 'allow-ssh' to the management interface fxp0 under the inet family. fxp0 is the dedicated out-of-band management port on many Junos platforms, and because 'unit 0' is the logical unit for that interface, the input filter will inspect all IPv4 traffic arriving on it. With this configuration, SSH traffic is filtered according to the 'allow-ssh' term, providing a targeted control-plane protection mechanism separate from data-plane interfaces.

Why this answer

The management interface on Juniper devices is fxp0, and applying a firewall filter to its inet family input direction restricts inbound traffic. The filter 'allow-ssh' must permit only TCP port 22, blocking all other management access. This configuration ensures SSH-only access to the management interface.

Exam trap

The trap here is confusing the management interface (fxp0) with the loopback interface (lo0) or a data-plane interface (ge-0/0/0), leading candidates to apply the filter to the wrong interface.

How to eliminate wrong answers

Option A is wrong because lo0 is the loopback interface, not the management interface; applying a filter there would affect all traffic destined to the device, not just management traffic. Option B is wrong because 'groups management-filter' is a configuration group syntax, not a direct interface filter application; it requires additional apply-groups statements and does not directly attach the filter to fxp0. Option C is wrong because ge-0/0/0 is a standard network interface, not the dedicated management interface (fxp0), so it would not restrict access to the management interface.

211
MCQmedium

Refer to the exhibit. An operator tries to ping 192.168.1.2 from this router and fails. The router can ping itself (192.168.1.1). What is the most likely cause?

A.Reverse path forwarding (RPF) check is dropping the echo request.
B.The remote host is not reachable or is not responding to ARP requests.
C.The interface is administratively down.
D.Proxy ARP is not configured on the interface.
AnswerB

To ping 192.168.1.2 from a directly connected interface, the router must first resolve that destination IP to a MAC address using an ARP request. If the remote host is down, unreachable at Layer 2, or configured with a different IP, it will not send an ARP reply, and the router will report the ping as failing (e.g., 'Host is down' or an incomplete ARP entry). Since the interface is up and has an IP in the same subnet, ARP resolution failure is the classic and most likely explanation for this symptom.

Why this answer

The router can ping its own interface (192.168.1.1), confirming that the interface is up and IP is configured correctly. The failure to ping 192.168.1.2 indicates that the router cannot reach the remote host, most likely because the host is down, not connected, or not responding to ARP requests. ARP resolution is required for the router to map the destination IP to a MAC address on the local subnet; without a successful ARP reply, the router cannot send the echo request.

Exam trap

The trap here is that candidates may confuse a local connectivity issue (like a down interface or RPF) with a remote host unreachability, but the ability to ping the local interface proves the interface is operational and the problem lies with the destination host or its ARP response.

How to eliminate wrong answers

Option A is wrong because reverse path forwarding (RPF) checks are used in multicast or unicast RPF (uRPF) scenarios to verify the source address of incoming packets, not to drop locally generated echo requests. Option C is wrong because if the interface were administratively down, the router would not be able to ping its own address (192.168.1.1). Option D is wrong because Proxy ARP is used to allow a router to respond to ARP requests on behalf of hosts on another subnet; it is not required for a router to ping a host on the same directly connected subnet.

212
MCQmedium

You are configuring a Juniper MX router to act as a BGP route reflector for your ISP network. The router has several iBGP peers, including clients and non-clients. You have configured the route-reflector-cluster-id and set the clients. After the configuration, you notice that some prefixes are not being reflected to a specific client router. The client has a valid BGP session to the route reflector and can see other prefixes. You check the BGP routing table on the route reflector and see that the missing prefixes are present but have the 'non-routable' flag. The route reflector's BGP table shows the prefix with a next-hop that is not reachable via an IGP route. What is the most likely cause?

A.The next-hop for the missing prefixes is not reachable via the IGP on the route reflector; the route reflector needs a route to the next-hop to advertise the prefix.
B.The route-reflector-cluster-id is set incorrectly, causing the route reflector to drop the route to prevent loops.
C.The ORIGINATOR_ID attribute from a previous route reflector is causing the route to be suppressed.
D.The route reflector is using the next-hop-self option and cannot resolve its own IP as a next-hop.
AnswerA

For a BGP route to be eligible for advertisement, the router must be able to resolve the next-hop through an active route in its routing table. On a route reflector, this means the IGP (such as OSPF or IS-IS) must have a route to the next-hop IP of the reflected prefix. If that route is missing, the prefix is flagged as non-routable and is not advertised to clients, exactly as observed in the question.

Why this answer

The correct answer is A: the next-hop for the missing prefixes is not reachable via the IGP on the route reflector, and the route reflector needs a route to the next-hop to advertise the prefix. In Junos, a BGP route is marked non-routable (hidden) when the next-hop cannot be resolved in the inet.0 routing table, and such unresolved routes are not eligible for advertisement to BGP peers, including route-reflector clients. Since the session is up and other prefixes are received, the issue is next-hop resolution rather than session or reflection configuration.

Option B is wrong because an incorrect cluster ID would cause loop-prevention behavior (such as rejecting routes with its own cluster ID), not a non-routable flag from an unresolved next-hop. Option C is wrong because ORIGINATOR_ID suppression would drop routes originated by the same router, not mark them non-routable. Option D is wrong because next-hop-self changes the advertised next-hop to the route reflector's own address, which is locally reachable and would not cause this non-routable condition.

213
MCQeasy

Which Junos command displays the route to a specific IP address, including the active route and any backup routes?

A.show route 192.168.1.1
B.show route protocol
C.show route active
D.show route table
AnswerA

The `show route 192.168.1.1` command is the precise Junos CLI command to query the routing table for a specific destination IP address. It displays all routes in the inet.0 table (and other tables if applicable) that match that prefix, including the next-hop, protocol, and preference. This is the standard way to verify reachability and determine which path will be used for forwarding to that address.

Why this answer

The 'show route 192.168.1.1' command in Junos displays all routes in the routing table that match the specified destination, including the active route (marked with '>') and any backup routes (marked with a space). This command provides a comprehensive view of the forwarding table entries for that prefix, which is essential for understanding both primary and failover paths.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect 'show ip route <ip>' to show only the best route, but in Junos, the same command reveals all routes, including backups, which can lead to confusion if one assumes only the active route is displayed.

How to eliminate wrong answers

Option B is wrong because 'show route protocol' filters routes by a specific routing protocol (e.g., static, OSPF, BGP) and does not show routes to a specific IP address with active and backup routes. Option C is wrong because 'show route active' displays only the active routes in the routing table, omitting any backup or inactive routes. Option D is wrong because 'show route table' displays the entire routing table for a specific table (e.g., inet.0) without filtering to a particular destination, so it does not isolate the route to 192.168.1.1 or highlight active versus backup routes.

214
MCQeasy

Refer to the exhibit. Which filesystem should the administrator investigate to free up disk space?

A./config
B./ (root)
C./dev
D./var
AnswerD

/var is the correct answer because it is a disk-backed partition that contains high-write operational data including system logs, temporary files, and core dumps, which accumulate over time. At 97% utilization, it is almost full and poses an imminent risk: if it fills, logging and certain system services may fail, and the device may become unstable. This near-capacity state makes /var the filesystem that should immediately concern an administrator.

Why this answer

The /var filesystem on Junos devices stores system logs, core dumps, and temporary files. When disk space is low, /var is the most common culprit because it contains rotating log files (e.g., messages, interactive-commands) and crash data that can accumulate rapidly. The administrator should investigate /var to free up space by clearing old logs or core files.

Exam trap

The trap here is that candidates often assume the root filesystem (/) is the primary space consumer, but Junos intentionally segregates dynamic data into /var, making it the correct target for disk space recovery.

How to eliminate wrong answers

Option A is wrong because /config is a dedicated partition for the active and backup configuration files (e.g., juniper.conf.gz), which are small and rarely cause disk space issues. Option B is wrong because / (root) contains the Junos kernel and base system files, which are static and do not grow significantly over time. Option C is wrong because /dev is a virtual filesystem for device nodes and does not consume persistent disk space.

215
MCQmedium

A router receives a packet with destination IP 10.1.1.100. The routing table contains two entries: a static route to 10.1.1.0/24 via 192.168.1.1, and an OSPF route to 10.1.1.0/25 via 192.168.2.1. Which route will the router use?

A.The router drops the packet due to a routing conflict
B.The OSPF route to 10.1.1.0/25
C.The static route to 10.1.1.0/24
D.Both routes are used for load balancing
AnswerB

The destination address 10.1.1.100 falls inside both the 10.1.1.0/24 and 10.1.1.0/25 networks, but the forwarding decision is based on longest prefix match. Since /25 (255.255.255.128) is more specific than /24 (255.255.255.0), the OSPF route to 10.1.1.0/25 is the selected best route. This holds regardless of the administrative distance ranking of the two protocols because prefix length is evaluated before administrative distance.

Why this answer

The router will use the OSPF route to 10.1.1.0/25 because it has a longer prefix length (/25) than the static route (/24). Juniper Junos uses the most specific (longest) prefix match in the routing table, regardless of administrative distance or protocol preference. The destination IP 10.1.1.100 falls within the 10.1.1.0/25 range (10.1.1.0–10.1.1.127), so the /25 route is more specific and thus preferred.

Exam trap

The trap here is that candidates often assume OSPF routes are always preferred over static routes due to administrative distance, but Junos (and all routers) prioritize the longest prefix match first, so a more specific static route would win over a less specific OSPF route.

How to eliminate wrong answers

Option A is wrong because there is no routing conflict; the router uses the longest prefix match rule, not a tie-breaking mechanism that drops packets. Option C is wrong because the static route to 10.1.1.0/24 is less specific than the OSPF /25 route, so it is not selected for this destination. Option D is wrong because load balancing only occurs when multiple routes have identical prefix lengths and equal preference/metrics; here the prefix lengths differ (/24 vs /25), so only the most specific route is used.

216
MCQmedium

A technician notices that the /var partition is filling up on a Juniper device. Which action would be most appropriate to free up space while preserving critical logs?

A.Delete core files manually
B.Run 'request system storage cleanup'
C.Reboot the device
D.Delete all files in /var/log
AnswerB

The 'request system storage cleanup' command is the correct method because it systematically scans well-known system directories and removes only files that are safe to delete, such as stale core files, old log files, and unused software images, while preserving the current system's operational logs and active configuration. It reports how much space was reclaimed and is designed by Juniper to be the standard, nondestructive way to free the /var partition. This avoids the pitfalls of ad-hoc deletion and ensures essential diagnostic data remains intact.

Why this answer

The 'request system storage cleanup' command is the correct action because it safely removes non-essential files such as old log files, core dumps, and temporary files that are no longer needed, while preserving critical logs and configuration files. This command performs a controlled cleanup without risking the deletion of important operational data, making it the most appropriate method for freeing up space on the /var partition.

Exam trap

The trap here is that candidates often assume manual deletion (Option A) or a reboot (Option C) are quick fixes, but they overlook the Junos-specific safe cleanup command that automates the process while preserving essential data.

How to eliminate wrong answers

Option A is wrong because manually deleting core files is risky and inefficient; core files may be needed for debugging, and manual deletion could accidentally remove files that are still in use or miss other space-consuming temporary files. Option C is wrong because rebooting the device does not free up disk space; it only clears temporary memory and may cause unnecessary downtime without addressing the underlying storage issue. Option D is wrong because deleting all files in /var/log would remove critical logs needed for troubleshooting and compliance, and it could also delete active log files that are still being written to, potentially causing system instability or loss of forensic data.

217
Multi-Selecthard

Which TWO statements about configuration groups in Junos are correct? (Choose two.)

Select 2 answers
A.Configuration groups are defined under the [edit groups] hierarchy.
B.Configuration groups are stored in separate files that are imported using the 'file' statement.
C.The 'apply-groups' statement is used to include a group's configuration at a specific hierarchy level.
D.The 'replace' tag is used to reference a configuration group.
E.Configuration groups are applied only at the [edit interfaces] hierarchy level.
AnswersA, C

Junos stores reusable configuration groups beneath the [edit groups] hierarchy, where each group is named and contains a partial configuration. Groups remain inactive until referenced elsewhere, so defining them there alone changes no device behaviour.

Why this answer

Option A is correct because configuration groups in Junos are created and stored under the [edit groups] hierarchy, where each group is defined by a name and contains configuration statements that can be inherited elsewhere. Option C is correct because the apply-groups statement is the mechanism used to insert a group's configuration at a specific point in the configuration hierarchy, causing the group's statements to be inherited at that level. Option B is incorrect because configuration groups are not stored in separate files imported with the file statement; the file statement is used for loading configuration snippets from files, not for defining groups.

Option D is incorrect because the replace tag is used to override inherited configuration values, not to reference a configuration group. Option E is incorrect because configuration groups can be applied at many hierarchy levels, not only at [edit interfaces].

Exam trap

The trap here is that candidates often confuse configuration groups with Junos's 'apply-path' or 'apply-macro' features, or mistakenly think groups are external files, when in fact they are defined inline under [edit groups] and applied via 'apply-groups'.

218
MCQmedium

An administrator needs to change a portion of the configuration by matching a pattern and replacing it with new text. Which Junos configuration mode command should be used?

A.rename
B.replace pattern
C.copy
D.set replace pattern
AnswerB

The replace pattern command in Junos configuration mode uses a Perl-like regular expression to search for a pattern and replace it with specified text in a configuration statement or hierarchy. It is the appropriate way to alter a portion of the configuration that may recur, such as changing an IP address or hostname across multiple sections. The syntax is `replace pattern <pattern> with <replacement>` (with optional before/after context).

Why this answer

The 'replace pattern' command in Junos configuration mode allows an administrator to search for a specific text pattern using regular expressions and replace it with new text. This is the correct command for pattern-based substitution within the configuration hierarchy, as it directly matches and replaces text without requiring manual deletion or re-entry.

Exam trap

The trap here is that candidates may confuse 'replace pattern' with 'set replace pattern' (which does not exist) or assume 'rename' can perform pattern-based substitution, leading them to select an incorrect option due to familiarity with similar commands in other vendors' syntax.

How to eliminate wrong answers

Option A is wrong because 'rename' is used to change the name of a configuration element (e.g., an interface or policy) but does not support pattern matching or text replacement. Option C is wrong because 'copy' duplicates a configuration stanza or element, not modifies existing text by pattern matching. Option D is wrong because 'set replace pattern' is not a valid Junos command; the correct syntax is 'replace pattern' at the configuration mode prompt, not prefixed with 'set'.

219
MCQeasy

Which configuration group feature allows an administrator to apply common configuration settings to multiple interfaces without repeating the configuration?

A.groups statement
B.interface-range
C.apply-groups
D.apply-path
AnswerC

The "apply-groups" statement is the correct feature; it references a named group defined under the "groups" hierarchy and applies that group's configuration to the current hierarchy level. When placed at a particular level, it causes the configuration from the referenced group to be merged or overlaid, providing inheritance and override capabilities. This is the standard method for reusing configuration blocks and applying them to multiple levels.

Why this answer

The `apply-groups` statement is the correct feature because it allows an administrator to define a common configuration template within a `groups` hierarchy and then apply that template to multiple interfaces (or other configuration sections) using the `apply-groups` command. This avoids repeating the same configuration statements across individual interfaces, streamlining management and reducing errors.

Exam trap

The trap here is that candidates confuse `groups` (the definition container) with `apply-groups` (the activation command), often selecting Option A because they think defining the group is sufficient, but without `apply-groups`, the group configuration is never applied.

How to eliminate wrong answers

Option A is wrong because `groups` is the container where common configuration is defined, but it is not the feature that applies the configuration to interfaces; without `apply-groups`, the group configuration is inactive. Option B is wrong because `interface-range` is a feature for creating a named range of interfaces to apply a single configuration block, but it is not a configuration group feature; it is used with `set interfaces interface-range <name>` and applies configuration directly, not via a reusable group template. Option D is wrong because `apply-path` is used to dynamically derive configuration values from the contents of a specified path in the configuration hierarchy (e.g., for BGP or firewall filters), not for applying common settings to multiple interfaces.

220
MCQmedium

An administrator is configuring a new Junos device and wants to ensure that configuration changes are applied only after explicit commit confirmation. Which configuration statement should be used?

A.commit synchronize
B.commit at
C.commit check
D.commit confirmed
AnswerD

commit confirmed applies the candidate configuration immediately and starts a countdown timer, defaulting to 10 minutes. If the administrator does not explicitly confirm the commit before the timer expires, the device automatically reverts to the previous configuration. This prevents network lockouts and allows the administrator to test the change, and if it is successful, a simple 'commit' command makes it permanent. This is exactly the functionality needed when configuring a new device remotely.

Why this answer

The 'commit confirmed' statement allows an administrator to apply configuration changes that automatically revert to the previous configuration if not explicitly confirmed within a specified timeout period (default 10 minutes). This ensures changes are only permanently applied after an explicit 'commit' confirmation, providing a safety mechanism to prevent lockout or misconfiguration.

Exam trap

The trap here is that candidates often confuse 'commit confirmed' with 'commit check' or 'commit at', mistakenly thinking that syntax validation or scheduled commits provide the same automatic rollback safety net, when in fact only 'commit confirmed' enforces explicit confirmation to prevent permanent changes.

How to eliminate wrong answers

Option A is wrong because 'commit synchronize' is used on dual Routing Engine (RE) systems to apply the configuration to both REs simultaneously, not to require explicit confirmation. Option B is wrong because 'commit at' schedules a commit to occur at a specific time, but does not require explicit confirmation before the changes become permanent. Option C is wrong because 'commit check' validates the syntax and semantics of the candidate configuration without applying it, but does not provide a mechanism to automatically revert changes if not confirmed.

221
Multi-Selecthard

Which TWO statements about the rescue configuration are correct? (Choose two.)

Select 2 answers
A.The rescue configuration is automatically saved after every commit.
B.The 'rollback rescue' command loads the factory-default configuration.
C.The rescue configuration is designed to provide a method of last-resort recovery.
D.The rescue configuration can be saved by issuing the 'request system configuration rescue save' command.
E.The rescue configuration can be used to restore only a subset of the configuration.
AnswersC, D

The rescue configuration exists as a deliberately preserved, known-good configuration snapshot used for last-resort recovery. If a misapplied change makes the device unreachable or unusable, an administrator can invoke 'rollback rescue' from the CLI or a console to restore the device to a previously working state. This provides a safety net distinct from the normal rollback log, which may be lost or overwritten after many commits.

Why this answer

Option C is correct because the rescue configuration exists specifically as a last-resort recovery mechanism, allowing an administrator to return a device to a known-good configuration when the active configuration is broken or inaccessible. Option D is correct because on Junos devices the rescue configuration is created and stored by running the operational-mode command 'request system configuration rescue save', which snapshots the current candidate configuration as the rescue configuration. Option A is wrong because the rescue configuration is not saved automatically on every commit; it must be saved explicitly by the administrator.

Option B is wrong because 'rollback rescue' loads the previously saved rescue configuration, not the factory-default configuration, which would be loaded with 'load factory-default' or 'rollback 0' depending on context. Option E is wrong because the rescue configuration restores the entire saved configuration, not just a subset of it.

Exam trap

The trap here is that candidates often confuse the rescue configuration with the factory-default configuration or assume it is automatically saved, leading them to select options A or B incorrectly.

222
MCQhard

What happens when a user issues the 'request system reboot' command without any options?

A.The device reboots after the current commit.
B.The device reboots immediately.
C.The device prompts for confirmation.
D.The device schedules a reboot in 5 minutes.
AnswerC

By default, 'request system reboot' is an interactive command that prompts for confirmation. When executed, it displays a message asking the user to confirm the action, and optionally warns about unsaved configuration changes. The user must respond affirmatively (typically 'yes' or 'y') before the device begins the reboot sequence. This confirmation step is a safety mechanism to prevent accidental reboots and is the default behavior unless the 'now' option is provided.

Why this answer

When a user issues the 'request system reboot' command without any options, Junos OS prompts for confirmation before proceeding. This is a safety mechanism to prevent accidental reboots, as the command does not automatically reboot the device immediately or schedule a delayed reboot by default.

Exam trap

The trap here is that candidates often assume 'request system reboot' behaves like a typical Linux 'reboot' command (immediate execution), but Junos requires explicit confirmation or the 'now' option to proceed without a prompt.

How to eliminate wrong answers

Option A is wrong because the 'request system reboot' command does not wait for a commit; it reboots the device immediately after confirmation, and the current configuration is already active. Option B is wrong because the command does not reboot immediately; it first prompts the user for confirmation to avoid unintended disruptions. Option D is wrong because the command does not schedule a reboot in 5 minutes; that behavior requires the 'at' or 'in' option (e.g., 'request system reboot at 12:00' or 'request system reboot in 5').

223
Multi-Selecthard

Which three steps are part of a typical software upgrade process on a Juniper device? (Choose three.)

Select 3 answers
A.Issue the request system software add command
B.Download the image to /var/tmp
C.Shut down all interfaces
D.Delete the old image before adding the new one
E.Reboot the device
AnswersA, B, E

The `request system software add` command is the central Junos CLI operation that ingests the software package, typically specified as a local file path or an HTTP/FTP URL. It performs integrity and version checks, then unpacks the image onto the alternate boot partition so it becomes the next active image on the next reboot. It can also include the `reboot` option to automate the restart sequence, but the command itself is what officially 'adds' the package.

Why this answer

Option A is correct because the request system software add command is the standard Junos CLI command used to install a new software image onto the device, validating and unpacking it into the alternate partition. Option B is correct because the software image must first be downloaded to the device, and /var/tmp is the conventional directory used for staging the Junos package before installation. Option E is correct because after the new image is added, the device must be rebooted so it boots from the newly installed software on the alternate partition.

Option C is not part of the process because interfaces do not need to be manually shut down; the reboot handles the transition. Option D is not required because Junos installs the new image to the alternate partition and the old image can remain, so deleting it beforehand is unnecessary and not a standard step.

Exam trap

The trap here is that candidates may mistakenly think interfaces must be shut down before an upgrade (option C), confusing Junos' non-disruptive upgrade process with Cisco IOS procedures where manual interface shutdown is often recommended to prevent routing flaps during the reload.

224
MCQhard

An engineer is designing a network and needs to ensure that management traffic (SSH, SNMP) is always permitted, even if an interface firewall filter is applied. Which Juniper best practice should be followed?

A.Use a firewall filter that permits all management traffic at the top of the list on each interface
B.Apply a firewall filter on the loopback interface (lo0) to protect the device
C.Apply a firewall filter to the management interface (fxp0)
D.Disable the firewall filter on all interfaces
AnswerB

The loopback interface (lo0) represents the device's control plane, and all traffic destined to the device's own IP addresses—such as SSH, SNMP, BGP, and OSPF—is processed through it, regardless of the physical ingress interface. Applying a firewall filter to lo0 in the input direction provides a single, centralized point to secure management and routing protocol access. This Juniper-recommended practice ensures consistent protection and simplifies administration, as the filter is applied once rather than on every interface.

Why this answer

Applying a firewall filter to the loopback interface (lo0) is the Juniper best practice for protecting management traffic because the loopback interface is the logical termination point for all control plane traffic, including SSH and SNMP. This ensures that management traffic is always permitted regardless of which physical interface it arrives on, while still allowing interface-specific filters to be applied for data plane traffic without risk of blocking management access.

Exam trap

The trap here is that candidates often think management traffic must be permitted on each physical interface individually (Option A), not realizing that Junos uses the loopback interface as the central control plane filter point, making interface-specific filters unnecessary for management access.

How to eliminate wrong answers

Option A is wrong because placing a firewall filter that permits all management traffic at the top of the list on each interface is not scalable and can inadvertently allow unwanted traffic if the filter is misconfigured or omitted on a new interface; it also violates the principle of separating control plane and data plane filtering. Option B is wrong because it is actually the correct answer, not a wrong option. Option C is wrong because applying a firewall filter to the management interface (fxp0) only protects traffic arriving on that dedicated management port, but management traffic like SSH and SNMP can also arrive on other interfaces (e.g., ge-0/0/0), leaving the device unprotected on those paths.

Option D is wrong because disabling firewall filters on all interfaces removes all traffic filtering, which is not a best practice and would expose the device to unauthorized access or attacks.

225
MCQeasy

A network engineer configures a static route to a remote network. They want the route to be automatically removed from the routing table if the directly connected interface used to reach the next hop fails. Which configuration approach should be used?

A.Configure a higher metric on the static route.
B.Configure a preference of 0 on the static route.
C.Configure the next-hop as an IP address.
D.Configure the next-hop as the interface name.
AnswerD

In Junos, specifying an interface name as the next-hop creates an interface-dependent static route that is installed only when that interface is present and operational. When the interface goes down, the route is automatically withdrawn from both the routing and forwarding tables, allowing immediate failover to any backup route. This is exactly the behavior needed to remove the route without relying on ARP timeout or reachability checks.

Why this answer

Configuring the next-hop as an interface name (e.g., ge-0/0/0) creates a static route that is automatically removed from the routing table when that interface goes down. This is due to the route being 'qualified' by the interface's operational state; if the interface fails, the route is withdrawn. In contrast, using an IP address as the next-hop does not tie the route to the interface's state, so the route remains even if the interface fails, as long as the next-hop is reachable via another path.

Exam trap

The trap here is that Cisco engineers often assume that specifying a next-hop IP address is the only valid way to configure a static route, but in Junos, using the interface name directly ties the route to the interface's state, which is the key to automatic removal upon interface failure.

How to eliminate wrong answers

Option A is wrong because configuring a higher metric on a static route does not cause it to be removed when an interface fails; metric (or cost) is used for route selection among multiple routes to the same destination, not for interface-based withdrawal. Option B is wrong because setting a preference of 0 makes the static route the most preferred route (lowest preference value), but it does not tie the route to the interface's operational state; the route remains even if the interface fails. Option C is wrong because configuring the next-hop as an IP address creates a static route that is not automatically removed when the directly connected interface fails; the route persists in the routing table unless the next-hop becomes unreachable via any interface, which may not happen if an alternate path exists.

Page 2

Page 3 of 5

Page 4

All pages