Courseiva

Juniper Networks Certified Associate Junos JNCIA-Junos (JN0-106) — Questions 76–150

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

Page 1

Page 2 of 5

Page 3
76
MCQeasy

You are managing a Juniper MX240 router at a small ISP. The router has been operating normally for months. This morning, a customer reports intermittent packet loss on their connection, which is served by interface ge-0/0/2. You SSH into the router and run 'show interfaces ge-0/0/2 extensive'. The output shows input errors increasing rapidly, including CRC errors and frame errors. The interface is up/up. You also notice that the interface statistics show a high number of carrier transitions. The cable connecting the router to the customer's CPE was recently replaced by the customer's technician. What is the most likely cause of the errors and the correct action to resolve the issue?

A.Clear the MAC address table on the router to fix possible MAC flapping issues.
B.Administer a 'shutdown' and 'no shutdown' on the interface to reset the line protocol.
C.Replace the cable with a known good one because CRC and frame errors indicate a physical layer problem such as a damaged cable or loose connector.
D.Change the interface speed and duplex settings to auto-negotiate because the errors are due to a mismatch between the router and CPE.
AnswerC

CRC and frame errors indicate that frames are receiving an invalid FCS, which is a classic symptom of a physical-layer issue such as a damaged cable, loose connector, or excessive signal attenuation. The problem appeared after a recent cable change, which strongly implicates the new cable or its seating. Replacing that cable with a known-good one is the correct first step because it directly tests the most likely failure point, and a clean interface afterward confirms the diagnosis.

Why this answer

CRC and frame errors increasing rapidly, combined with a high number of carrier transitions, are classic symptoms of a physical-layer issue. Since the cable was recently replaced by the customer's technician, the most likely cause is a faulty cable or a loose connector. Replacing the cable with a known good one directly addresses the physical layer problem, which is the root cause of these errors.

Exam trap

The trap here is that candidates may confuse CRC/frame errors with a speed/duplex mismatch (Option D) or think a simple interface reset (Option B) will fix the problem, when the rapid increase in carrier transitions and the recent cable replacement clearly indicate a physical cabling fault.

How to eliminate wrong answers

Option A is wrong because MAC address table clearing addresses MAC flapping, which is a Layer 2 issue unrelated to CRC/frame errors or carrier transitions. Option B is wrong because administratively resetting the interface (shutdown/no shutdown) would only temporarily clear counters and restart the line protocol, but it would not fix the underlying physical-layer problem causing the errors. Option D is wrong because while speed/duplex mismatch can cause errors, the presence of carrier transitions and the recent cable replacement strongly point to a physical cabling issue, not a negotiation mismatch; auto-negotiation is already the default on modern Juniper interfaces and would not resolve a faulty cable.

77
MCQhard

Refer to the exhibit. The OSPF neighbor adjacency repeatedly goes up and down on R1. What is a likely cause?

A.The physical link is flapping
B.MTU mismatch between the two routers
C.OSPF authentication is misconfigured
D.The routers are in different OSPF areas
AnswerB

MTU mismatch is the correct answer because OSPF uses Database Description (DBD) packets to exchange link-state summaries, and these packets can exceed the interface MTU. When a router receives a DBD packet larger than its configured MTU, it silently drops the packet, causing the neighbor to remain stuck or repeatedly restart the ExStart/Exchange process. The router that is the slave in the exchange will detect the mismatch via the MTU field in the DBD packet and cycle back to ExStart, which produces the repeated adjacency behavior shown in the exhibit.

Why this answer

An MTU mismatch between OSPF neighbors can cause the adjacency to flap because OSPF includes the interface MTU in the Database Description (DBD) packets. If the MTU values do not match, the receiving router will reject the DBD packet, preventing the exchange of LSAs and causing the neighbor state to reset. This is a common cause of repeated up/down OSPF adjacencies even when the physical link is stable.

Exam trap

The trap here is that candidates often assume physical link flapping (Option A) is the cause, but OSPF adjacency flapping can occur with a stable link due to Layer 3 mismatches like MTU, which is a subtle but classic JNCIA-JUNOS exam topic.

How to eliminate wrong answers

Option A is wrong because a physical link flapping would typically cause interface state changes and error counters to increment, but the question specifies the OSPF adjacency goes up and down while the physical link may remain stable; MTU mismatch can cause this without link flapping. Option C is wrong because if OSPF authentication were misconfigured, the adjacency would fail to form entirely or remain in a state like EXSTART/EXCHANGE, not repeatedly go up and down. Option D is wrong because OSPF routers in different areas cannot form a neighbor adjacency at all; they would remain stuck in the INIT or 2-WAY state, not repeatedly transition up and down.

78
MCQmedium

When configuring a new Juniper router, an engineer needs to ensure that configuration changes are not automatically committed after a certain time if not explicitly confirmed. Which configuration parameter controls this?

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

The 'commit confirmed' command makes the candidate configuration active and then automatically rolls back to the previous configuration if the engineer does not issue a confirming commit within the default timeout interval (10 minutes, configurable). This is essential when configuring a new router remotely, because it ensures that a mistaken change that severs the management session will be undone automatically, letting the engineer regain access.

Why this answer

The 'commit confirmed' command is used to apply a configuration change that will automatically roll back to the previous configuration if not explicitly confirmed within a specified time period (default 10 minutes). This ensures that changes are not permanently applied unless the engineer verifies them, preventing accidental lockout or misconfiguration.

Exam trap

The trap here is that candidates often confuse 'commit confirmed' with 'commit at' or 'commit synchronize', thinking any time-based or dual-RE feature provides automatic rollback, but only 'commit confirmed' enforces a confirmation window to prevent permanent unverified changes.

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; it does not provide any automatic rollback mechanism. Option B is wrong because 'commit at' schedules a commit to occur at a specific future time, but once committed, the change is permanent and not automatically reverted. Option C is wrong because 'commit synchronize' is used on a dual Routing Engine system to commit the configuration on both REs simultaneously; it does not involve a confirmation timeout or automatic rollback.

79
MCQhard

Refer to the exhibit. A security analyst sees repeated login failures from 10.0.0.2 for user1. Which Junos feature can be used to automatically block further login attempts from that IP?

A.Configure SSH to accept only public key authentication for user1.
B.Disable the user1 account.
C.Set the 'session-limit' for user1 to prevent multiple login attempts.
D.Apply a firewall filter to the loopback interface that polices SSH traffic.
AnswerD

Applying a firewall filter to the loopback interface (lo0.0) is the correct way to protect the Routing Engine's own SSH service. A policer attached to the filter term for SSH traffic can rate-limit the number of packets or bytes per burst; once the configured rate is exceeded, the policer drops subsequent packets from that traffic class, which causes TCP retransmissions and effectively stops further login attempts. For a true per-source limit, the policer should be configured with 'prefix-specific' so that a single attacking IP cannot consume the aggregate allowance and deny SSH to all operators.

Why this answer

Applying a firewall filter to the loopback interface (lo0) that polices SSH traffic can automatically block further login attempts from a specific IP address, such as 10.0.0.2. The loopback interface is the termination point for all control-plane traffic on a Junos device, including SSH sessions. By configuring a firewall filter with a policer that limits the rate of SSH packets from a source IP, excessive login failures can trigger the policer to drop subsequent packets, effectively blocking the attacker without manual intervention.

Exam trap

The trap here is that candidates often confuse control-plane policing (applied to lo0) with data-plane firewall filters applied to interfaces like ge-0/0/0, or mistakenly think that session limits or disabling accounts are automated responses to brute-force attacks.

How to eliminate wrong answers

Option A is wrong because configuring SSH to accept only public key authentication for user1 does not automatically block repeated login failures from 10.0.0.2; it only changes the authentication method, and failed public key attempts could still occur. Option B is wrong because disabling the user1 account is a manual, static action that does not automatically respond to repeated login failures from a specific IP; it also prevents legitimate access for that user. Option C is wrong because the 'session-limit' for user1 limits the number of concurrent sessions, not the rate of login attempts; it does not block repeated failed logins from a single IP address.

80
MCQmedium

A network engineer wants to view the OSPF log entries in real time. They type 'show log messages | match ospf' and get output, but it does not update. What should they do to see real-time updates of OSPF log entries?

A.Use 'monitor start messages | match ospf'
B.Use 'show log messages | tail'
C.Use 'monitor traffic interface ge-0/0/0'
D.Use 'request system syslog'
AnswerA

This is the correct tool for real-time OSPF log viewing. 'monitor start messages' continuously follows /var/log/messages, displaying new syslog entries as they arrive, until you press Ctrl+C or issue 'monitor stop'. Piping the output to 'match ospf' applies a case-sensitive regular-expression filter so only lines containing 'ospf' are shown on screen.

Why this answer

The 'monitor start messages' command in Junos OS enables real-time streaming of syslog messages to the terminal, similar to 'tail -f' on a log file. Piping the output through '| match ospf' filters the live feed to show only OSPF-related entries. In contrast, 'show log messages' is a one-time snapshot that does not update automatically.

Exam trap

The trap here is that candidates familiar with Cisco IOS may confuse 'show log' (which in Cisco can be used with 'monitor' for real-time output) with Junos 'show log', which is static, and overlook the Junos-specific 'monitor start' command for live log streaming.

How to eliminate wrong answers

Option B is wrong because 'show log messages | tail' only displays the last few lines of the static log file and does not provide real-time updates; it is still a one-time command. Option C is wrong because 'monitor traffic interface ge-0/0/0' captures raw packet headers on the interface, not OSPF log entries from the syslog messages file. Option D is wrong because 'request system syslog' is used to configure syslog settings (e.g., remote logging) and does not display log entries in real time.

81
MCQeasy

A junior network administrator is setting up a Juniper MX router for the first time. After powering on the device, the administrator notices that the LED on the front panel blinks amber and the device does not complete the boot process. The console displays messages reporting file system errors. The administrator has no previous configuration changes and the device was shipped with factory defaults. Which action should the administrator take to resolve the boot issue?

A.Boot into single-user mode and run file system checks.
B.Perform a password recovery procedure to gain access.
C.Use the 'request system software add' command from the boot loader.
D.Reinstall the Junos OS using a USB flash drive with the software image.
AnswerA

Entering single-user mode (e.g., by interrupting the boot process at the U-Boot loader and issuing `boot -s`) provides a maintenance shell before normal Junos processes start. From there, you can manually run filesystem consistency checks with `fsck` (or `check`) on the root and /var partitions. Repairing corrupted metadata in this mode is the standard first-line recovery step for a device that fails to boot cleanly, as it addresses the underlying filesystem errors without the risk of an immediate full reinstall.

Why this answer

The amber blinking LED and file system errors indicate a corrupted file system, which is common on factory-default devices if the flash memory was not properly initialized. Booting into single-user mode (option A) allows the administrator to run 'fsck' (file system check) to repair the root file system without loading the full Junos OS, which is the standard recovery procedure for such boot failures.

Exam trap

The trap here is that candidates may confuse a boot failure due to file system corruption with a password issue or a need to reinstall the OS, but the amber LED and file system error messages point directly to a corrupted file system that can be repaired with fsck in single-user mode.

How to eliminate wrong answers

Option B is wrong because password recovery is used to reset login credentials, not to repair file system corruption; the device cannot boot, so password recovery is irrelevant. Option C is wrong because 'request system software add' is a Junos CLI command that requires a fully booted system, not the boot loader; the boot loader does not support this command. Option D is wrong because reinstalling Junos OS from a USB is a more drastic step that should only be taken if file system checks fail; it is not the first-line action for file system errors on a factory-default device.

82
MCQmedium

A technician needs to load a new configuration file that replaces only the specific hierarchy paths present in the file, leaving all other existing configuration unchanged. Which load statement is appropriate?

A.load replace
B.load set
C.load override
D.load merge
AnswerD

The 'load merge' command is the correct choice because it combines the contents of the configuration file with the current candidate configuration, adding or updating only the statements present in the file while leaving all other existing configuration untouched. It accepts both hierarchical configuration files and files containing 'set' commands, making it flexible for various file formats. This precisely matches the technician's need to load a new configuration file that applies changes without discarding existing settings.

Why this answer

The 'load merge' command is correct because it merges the contents of the specified configuration file with the current candidate configuration, adding or updating only the hierarchy paths present in the file while preserving all other existing configuration. This matches the requirement to replace only specific hierarchy paths without affecting the rest of the configuration.

Exam trap

The trap here is that candidates often confuse 'load merge' with 'load replace' or 'load override', mistakenly thinking 'replace' means partial replacement, when in fact 'replace' replaces the entire candidate configuration, while 'merge' is the correct command for targeted, non-destructive updates.

How to eliminate wrong answers

Option A is wrong because 'load replace' replaces the entire candidate configuration with the contents of the file, not just specific hierarchy paths. Option B is wrong because 'load set' is used to load a set of configuration commands (in 'set' format) and applies them sequentially, which can add or modify paths but does not inherently restrict changes to only the paths in the file—it can also delete or override if the set commands include 'delete' statements. Option C is wrong because 'load override' completely replaces the entire candidate configuration with the file, discarding all existing configuration.

83
Multi-Selectmedium

An engineer needs to view the current operational state of the device, including system uptime, CPU load, and memory usage. Which two commands would provide this information? (Choose two.)

Select 2 answers
A.show system processes
B.show system uptime
C.show system storage
D.show system memory
E.show chassis hardware
AnswersB, D

show system uptime is the correct command for viewing the current operational state of the system's CPU. It reports the time since the last reboot, the current time, and critically, the 1-, 5-, and 15-minute load averages, which reflect the average number of threads in the run queue over those intervals. These load averages directly indicate overall CPU demand and are the standard first check for system health on Junos.

Why this answer

Option B, 'show system uptime,' is correct because on Junos devices this command reports the current time, how long the device has been running (system uptime), and the load averages for 1, 5, and 15 minutes, directly satisfying the uptime and CPU load requirements. Option D, 'show system memory,' is correct because it displays memory utilization statistics, including total, used, and free memory, which fulfills the memory usage portion of the request. Option A, 'show system processes,' lists running processes and their CPU/memory consumption per process rather than the overall system uptime and aggregate load, so it does not match the scenario as directly.

Option C, 'show system storage,' reports disk and filesystem space usage, not CPU load or memory, and Option E, 'show chassis hardware,' displays hardware inventory and component information, neither of which provides the requested operational state.

Exam trap

The trap here is that candidates often confuse 'show system processes' with providing CPU load averages and memory totals, when in fact it only shows per-process statistics and not the aggregate system load or overall memory usage.

84
MCQhard

A network administrator wants to filter routes from being installed in the routing table based on certain criteria. Which Junos feature should be used?

A.Community list
B.Routing policy (import)
C.Prefix list
D.Firewall filter
AnswerB

In Junos, the correct way to filter routes from being installed is to apply an import routing policy. An import policy is attached to a routing protocol or BGP group and is evaluated when routes are received; if a route does not match the policy's conditions, it is rejected and not placed into the routing table. This policy can also modify route attributes before installation, giving the administrator fine-grained control over what is learned and used for forwarding.

Why this answer

B is correct because a routing policy with an import term is the Junos mechanism to control which routes are accepted into the routing table from a routing protocol or a peer. By defining match conditions (e.g., prefix, community, AS path) and an action (accept or reject), the administrator can filter routes before they are installed. This is the standard Junos approach for route filtering at the routing table level.

Exam trap

The trap here is confusing a match condition (like a prefix list or community list) with the actual Junos feature that applies the filter (the routing policy), leading candidates to select a component rather than the complete mechanism.

How to eliminate wrong answers

Option A is wrong because a community list is a named set of BGP community values used as a match condition within a routing policy, not a standalone feature to filter routes from the routing table. Option C is wrong because a prefix list is a named list of prefixes used as a match condition within a routing policy, not a direct filtering mechanism for the routing table. Option D is wrong because a firewall filter operates on packets at the interface level (Layer 3/Layer 4), not on routing information or the routing table.

85
MCQmedium

A network administrator accidentally deleted a vital part of the configuration while in configuration mode. They need to revert to the previous configuration without losing recent changes that are correct. Which action should they take?

A.deactivate
B.rollback 1
C.delete
D.rollback 0
AnswerD

Rollback 0 resets the candidate configuration to match the current active committed configuration, discarding any uncommitted changes. Because the accidental deletion was never committed, this command reverts that deletion while leaving all previously committed correct changes intact. This is exactly the requirement: undo the uncommitted mistake without affecting the committed configuration. It is the standard way to abandon a set of uncommitted edits in Junos.

Why this answer

The 'rollback 0' command reverts the candidate configuration to the most recently committed configuration (the current active configuration), discarding any uncommitted changes. This allows the administrator to undo the accidental deletion without affecting any recently committed correct changes, as those are already part of the active configuration. Option B, 'rollback 1', would revert to the previous commit, which could remove recently committed correct changes if they were made in the most recent commit.

Therefore, 'rollback 0' is the safer choice when you want to preserve correct changes that have already been committed.

Exam trap

The trap is that candidates often confuse 'rollback 0' (reverts to current active config) with 'rollback 1' (reverts to previous config). While 'rollback 1' might seem like it goes back one step, it could discard recently committed changes. The correct approach to undo an uncommitted deletion while preserving committed correct changes is to use 'rollback 0'.

How to eliminate wrong answers

Option A is wrong because 'deactivate' disables a configuration statement without removing it, but it does not revert the configuration to a previous state; it only suppresses the active effect of the specified statement. Option C is wrong because 'delete' removes configuration statements from the candidate configuration, which would worsen the situation by further deleting parts of the configuration. Option D is wrong because 'rollback 0' reverts to the current active configuration (the one that was last committed), which would discard all uncommitted changes, including any correct recent modifications the administrator wants to keep.

86
Multi-Selectmedium

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

Select 2 answers
A.The commit command validates the configuration syntax before applying it.
B.The commit command automatically saves the configuration to a file on the hard disk.
C.After a commit, the candidate configuration is replaced with the active configuration.
D.A commit can include a comment for documentation purposes.
E.A successful commit overwrites the rollback configurations.
AnswersA, D

The commit command validates the configuration syntax before applying it. Junos runs a validation phase that checks for parser errors, unsupported statements, and semantic issues such as incorrect interface references. If validation fails, the commit is aborted and the active configuration remains unchanged. This is distinct from the optional 'commit check' command, which validates without actually applying the configuration.

Why this answer

Option A is correct because when you issue commit in Junos, the candidate configuration is first checked for syntax and semantic errors, and only a valid configuration is merged into the active configuration. Option D is correct because Junos supports commit comment "text", which stores a descriptive comment with the committed configuration for documentation and audit purposes. Option B is not correct because commit applies the candidate configuration to the active configuration; it does not by itself save a configuration file to disk, which is done with save or file-related commands.

Option C is not correct because after a commit the candidate configuration remains as the working copy and is not replaced by the active configuration. Option E is not correct because a successful commit does not overwrite the rollback configurations; Junos maintains up to 50 previous committed configurations for rollback.

Exam trap

The trap here is that candidates often confuse the 'commit' operation with saving to persistent storage (like Cisco's 'copy running-config startup-config'), but in Junos, 'commit' only activates the configuration in memory and does not automatically write to a file; persistent storage requires an explicit save command.

87
Multi-Selecthard

Which TWO commands are used to install and remove software packages on a Junos device?

Select 2 answers
A.request system software delete
B.request system software rollback
C.show system software
D.request system reboot
E.request system software add
AnswersA, E

request system software delete: This command removes an installed software package from the storage of the Junos device. It is used to free up disk space or to remove an old package prior to an upgrade, and it does not affect the currently running version until a reboot activates a change. The package name must be specified, and the operation is persistent across reboots once committed.

Why this answer

Option A, `request system software delete`, is correct because it is the Junos operational-mode command used to remove an installed software package (such as a Junos image or an individual package) from the device. Option E, `request system software add`, is correct because it is the Junos command used to install a new software package or Junos image onto the device, typically referencing a local file or URL. Option B, `request system software rollback`, is incorrect because it reverts the system to a previously installed software version rather than installing or removing a package.

Option C, `show system software`, is incorrect because it only displays information about installed software and does not modify it. Option D, `request system reboot`, is incorrect because it restarts the device and does not install or remove any software package.

Exam trap

The trap here is that candidates confuse `request system software rollback` with a removal command, but it actually reverts to a previous version without deleting the current package from the system.

88
MCQeasy

A network engineer wants to quickly restore the device to a known good configuration after a failed change. What is the recommended approach?

A.Use the 'request system configuration rescue save' command.
B.Use the 'rollback 0' command.
C.Use the 'rollback rescue' command.
D.Use the 'load override terminal' command.
AnswerC

The 'rollback rescue' command loads the previously saved rescue configuration from the rescue area into the candidate configuration. This is the correct restore mechanism because it explicitly retrieves the snapshot created via 'request system configuration rescue save'. The command does not automatically commit the change; the engineer must still run 'commit' to apply the rescued configuration to the active Janos configuration.

Why this answer

The 'rollback rescue' command restores the device to the rescue configuration, which is a known good configuration saved explicitly for recovery after a failed change. The rescue configuration is stored as a separate file and is not affected by normal commit operations, making it the recommended approach for quick restoration.

Exam trap

The trap here is that candidates confuse 'rollback rescue' with 'rollback 0', mistakenly thinking the most recent committed configuration is always a safe fallback, but 'rollback 0' includes the failed change if it was committed, whereas 'rollback rescue' restores a deliberately saved known good state.

How to eliminate wrong answers

Option A is wrong because 'request system configuration rescue save' is used to save the current active configuration as the rescue configuration, not to restore it; it is a save action, not a restore action. Option B is wrong because 'rollback 0' reverts to the most recently committed configuration, which may include the failed change if it was committed; it does not guarantee a known good state. Option D is wrong because 'load override terminal' is used to load a configuration from terminal input, overwriting the candidate configuration; it is not a quick restore mechanism and requires manual entry or pasting of configuration data.

89
MCQhard

A junior admin tries to commit a configuration but receives a 'commit error: syntax error' message. They suspect a missing closing brace. Which CLI command helps identify the exact line with the error?

A.commit check
B.rollback 0
C.load merge
D.show configuration
AnswerA

Commit check is the correct command because it validates the candidate configuration against the Junos schema without committing it. It reports syntax errors with exact line numbers and hierarchy paths, allowing you to identify and fix the problematic statement. This dry-run validation is the safest first step because it never impacts active services and pinpoints the exact source of the failure.

Why this answer

The 'commit check' command validates the candidate configuration for syntax errors without committing it. When a syntax error like a missing closing brace is present, commit check outputs the exact line number and file where the error occurs, allowing the admin to locate and fix the issue before attempting a commit again.

Exam trap

The trap here is that candidates may confuse 'show configuration' with a validation tool, not realizing it only displays the configuration text without any syntax checking, whereas 'commit check' is the dedicated command for identifying syntax errors before commit.

How to eliminate wrong answers

Option B is wrong because 'rollback 0' reverts the candidate configuration to the last committed configuration, which does not help identify the syntax error line. Option C is wrong because 'load merge' is used to merge a configuration file into the candidate configuration, not to validate syntax or pinpoint errors. Option D is wrong because 'show configuration' displays the current candidate configuration but does not perform syntax validation or highlight error lines.

90
MCQeasy

To monitor interface traffic in real-time, which operational command is most appropriate?

A.show interface traffic
B.request system reboot
C.show log
D.monitor interface
AnswerD

"monitor interface" is the correct Junos operational command for real-time interface monitoring. It repeatedly samples the specified interface's counters — showing input/output packets per second, bytes per second, and error counts — and refreshes the output at a configurable interval using the "interval" option, making it ideal for watching live traffic patterns, congestion, or interface flaps.

Why this answer

The 'monitor interface' command in Junos provides real-time, continuous display of interface statistics and traffic counters, updating every second by default. This is the correct operational command for live traffic monitoring, as it refreshes the output dynamically without requiring manual re-entry.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly expect a 'show interface traffic' command (similar to 'show interfaces' with counters) and overlook the Junos-specific 'monitor interface' command for real-time updates.

How to eliminate wrong answers

Option A is wrong because 'show interface traffic' is not a valid Junos command; the correct static display command is 'show interfaces traffic' which shows a snapshot, not real-time updates. Option B is wrong because 'request system reboot' is used to reboot the device, not to monitor traffic, and would disrupt operations. Option C is wrong because 'show log' displays system log messages from files like messages or interactive-commands, which are not designed for real-time interface traffic monitoring and lack live counter updates.

91
Multi-Selecthard

Which THREE factors influence the selection of the active route in the Junos routing table when multiple routes exist for the same destination? (Choose three.)

Select 3 answers
A.Route preference (administrative distance).
B.The routing protocol from which the route originated.
C.Number of next-hops available for each route.
D.Metric value (if from the same routing protocol).
E.Bandwidth of the outgoing interface.
AnswersA, B, D

Route preference, also known as administrative distance, is a numerical value assigned to each route by the routing protocol. Junos always prefers a lower preference value, so a route with preference 5 (static) is chosen over a route with preference 10 (OSPF) for the same destination. You can alter these defaults to influence routing decisions. This is the first criterion in Junos route selection process.

Why this answer

Option A is correct because Junos uses route preference (the equivalent of administrative distance) as the primary tiebreaker: when routes to the same destination come from different sources, the route with the lowest preference value (e.g., Direct 0, Static 5, OSPF 10, RIP 100, BGP 170) is installed as active. Option B is correct because the route's originating protocol determines its default preference and thus directly influences which route wins when multiple protocols advertise the same prefix. Option D is correct because when multiple routes come from the same routing protocol (equal preference), Junos compares the metric and selects the route with the lowest metric as active.

Option C is not a selection criterion — Junos does not choose a route based on how many next-hops it has; multiple next-hops can be retained for load balancing only after a route is already selected. Option E is not a factor because interface bandwidth is not used as a tiebreaker in the Junos route selection process; metric values are protocol-specific and not derived from raw interface bandwidth.

Exam trap

The trap here is that candidates often confuse route preference with metric, thinking both are always compared, but Junos only compares metrics when routes originate from the same protocol (same preference), and never considers interface bandwidth or next-hop count in the selection process.

92
MCQmedium

Refer to the exhibit. If the primary next-hop (192.168.1.1) becomes unreachable, what will happen to the route?

A.The route is removed from the routing table.
B.The route remains but with the primary next-hop marked as unreachable.
C.The secondary next-hop (192.168.2.1) will be used.
D.The route becomes hidden.
AnswerC

When the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically selects the secondary next-hop (192.168.2.1) as the active forwarding next-hop because the secondary is configured as the fallback and is still valid. The route remains installed in the routing table and is forwarded via the secondary next-hop until the primary recovers and is preferred again.

Why this answer

In Junos, when a route has multiple next-hops configured (e.g., primary and secondary), the secondary next-hop serves as a backup. If the primary next-hop (192.168.1.1) becomes unreachable, Junos automatically fails over to the secondary next-hop (192.168.2.1) without removing the route from the routing table. This behavior is controlled by the 'next-hop' configuration under a static route or via routing protocol policies, ensuring continuous reachability.

Exam trap

The trap here is that candidates often assume a route is removed or hidden when a next-hop fails, but Junos maintains the route and uses the backup next-hop, unlike some other vendors that may withdraw the route entirely.

How to eliminate wrong answers

Option A is wrong because the route is not removed from the routing table; Junos retains the route and simply switches to the secondary next-hop when the primary is unreachable. Option B is wrong because the route does not remain with the primary next-hop marked as unreachable; instead, the primary next-hop is removed from the active forwarding path and the secondary next-hop is used. Option D is wrong because the route does not become hidden; hidden routes are typically those suppressed by routing policies or protocols (e.g., due to route summarization or BGP), not due to next-hop failure in a static route with a backup.

93
Multi-Selecteasy

Which TWO statements are true about the default route in JunOS? (Choose two.)

Select 2 answers
A.It has a prefix of 0.0.0.0/0
B.It can only be learned dynamically
C.Its default preference is 0
D.It can be added via a static route
E.It is always present in the routing table
AnswersA, D

The default route is the quad-zero route, 0.0.0.0/0, which serves as a catch-all entry in the IPv4 routing table. This prefix matches every destination IP address because the /0 mask requires no bits to match, so any packet that does not match a more specific route is forwarded using this route. Its presence is the foundation of default routing, ensuring traffic to unknown destinations has a valid next hop.

Why this answer

Option A is correct because the default route in JunOS (and IP generally) is the all-zeros prefix 0.0.0.0/0, which matches any destination not covered by a more specific route. Option D is correct because a default route can be manually configured as a static route, e.g., 'set routing-options static route 0.0.0.0/0 next-hop <ip>', making it a common way to provide a gateway of last resort. Option B is wrong because the default route can be either statically configured or dynamically learned (e.g., via OSPF, BGP, or IS-IS), not only dynamically.

Option C is wrong because the default preference for a static route in JunOS is 5, not 0 (0 is reserved for directly connected routes). Option E is wrong because the default route is not automatically present in the routing table; it must be explicitly configured or learned.

Exam trap

The trap here is that candidates often confuse the default route's prefix (0.0.0.0/0) with its preference, mistakenly thinking a default route has a preference of 0 like a directly connected route, or assuming it is always present in the routing table.

94
MCQmedium

Refer to the exhibit. What is the purpose of the 'unit 0' statement?

A.Enables IPv6.
B.Sets the MTU.
C.Defines a physical interface.
D.Defines a logical interface.
AnswerD

The 'unit 0' statement in Junos defines a logical interface on a physical interface. Logical interfaces allow you to configure separate Layer 3 properties (IP addresses, protocol families, VLAN tags) on the same physical port. Unit 0 is the default logical unit for untagged traffic, and additional units (1, 2, ...) correspond to subinterfaces or VLAN-tagged logical interfaces.

Why this answer

In Junos, the 'unit 0' statement is used to define a logical interface (also known as a subinterface) under a physical interface. Every physical interface must have at least one logical unit, and unit 0 is the default logical interface that carries Layer 3 configuration such as IP addresses. This is fundamental to Junos architecture, where all protocol configurations are applied at the logical unit level, not the physical interface level.

Exam trap

The trap here is that candidates familiar with Cisco IOS might assume 'unit 0' is a physical interface or a default MTU setting, but in Junos, the unit number always defines a logical interface, and physical interfaces are configured separately without a unit keyword.

How to eliminate wrong answers

Option A is wrong because 'unit 0' does not enable IPv6; IPv6 is enabled by configuring a family inet6 address under the logical unit, not by the unit number itself. Option B is wrong because the MTU is set using the 'mtu' statement at the physical interface level (e.g., 'set interfaces ge-0/0/0 mtu 1500'), not by the 'unit 0' statement. Option C is wrong because a physical interface is defined by the interface name (e.g., ge-0/0/0), not by the 'unit' statement; 'unit 0' creates a logical subinterface on top of that physical interface.

95
MCQmedium

A network administrator makes several changes to the configuration but decides to discard all uncommitted changes and start fresh. Which command should be used to revert the candidate configuration back to the current active configuration?

A.load override
B.rollback 0
C.commit check
D.rollback 1
AnswerB

rollback 0 discards all uncommitted changes and reloads the candidate configuration to exactly match the current committed (active) configuration. The index 0 always points to the most recent commit, so this operation cleans the candidate without altering the running configuration. Since the administrator simply wants to start fresh from the last committed state, rollback 0 is the precise command. Note that you still must issue a commit to make any further changes active, but no commit is required to just discard edits.

Why this answer

The 'rollback 0' command reverts the candidate configuration to the currently active configuration, discarding all uncommitted changes. This is because Junos maintains a rollback database of the last 50 committed configurations, with index 0 always representing the active configuration. Using 'rollback 0' effectively resets the candidate configuration to match the active one, allowing the administrator to start fresh without affecting the running system.

Exam trap

The trap here is that candidates often confuse 'rollback 0' with 'rollback 1', mistakenly thinking that 'rollback 1' discards uncommitted changes, when in fact 'rollback 1' reverts to the previous committed configuration, which would undo the last commit and potentially cause service disruption.

How to eliminate wrong answers

Option A is wrong because 'load override' replaces the entire candidate configuration with the contents of a specified file, not with the current active configuration; it does not discard uncommitted changes by reverting to the active config. Option C is wrong because 'commit check' validates the syntax and semantics of the candidate configuration without committing it, and does not discard any changes. Option D is wrong because 'rollback 1' reverts to the previous committed configuration (the one before the most recent commit), not to the current active configuration; this would discard the last committed changes, not just uncommitted ones.

96
MCQmedium

A network is experiencing intermittent routing loops. The engineer discovers that routes are being redistributed from OSPF into BGP and then from BGP back into OSPF on different routers. What is the most effective way to prevent this?

A.Use a higher preference for BGP routes.
B.Configure route filters to prevent mutual redistribution.
C.Set a lower metric on OSPF routes.
D.Increase the OSPF cost on interfaces.
AnswerB

Configuring route filters is the correct fix because mutual redistribution loops occur when a route from protocol A is exported to protocol B, then re-imported into protocol A, creating a feedback cycle. Route filters can block this by matching on route tags, protocol origin, or prefix lists at the redistribution boundary, preventing a route from being re-advertised back into its source protocol. For example, tagging OSPF routes when redistributing into BGP and then filtering out that tag on the reverse redistribution breaks the loop.

Why this answer

Mutual redistribution between OSPF and BGP creates routing loops when routes are exported from OSPF into BGP on one router and then re-injected back into OSPF on another router. The most effective way to prevent this is to use route filters (e.g., prefix lists, route-maps, or policy-statement in Junos) to control which routes are redistributed, ensuring that routes learned from one protocol are not re-advertised back into the same protocol. This breaks the redistribution cycle without altering protocol preference or metrics.

Exam trap

The trap here is that candidates often think adjusting administrative distance or metrics can break redistribution loops, but only explicit route filtering (or tagging) prevents the cycle of mutual redistribution.

How to eliminate wrong answers

Option A is wrong because increasing the preference (administrative distance) of BGP routes would make BGP routes less preferred over OSPF routes, but it does not prevent the redistribution loop; the loop occurs due to re-injection of routes, not due to route selection. Option C is wrong because setting a lower metric on OSPF routes only influences OSPF path selection, not the redistribution process; it does not stop routes from being re-injected from BGP back into OSPF. Option D is wrong because increasing OSPF cost on interfaces affects OSPF link metric calculations and can change path selection, but it has no effect on redistribution policies or the prevention of mutual redistribution loops.

97
MCQeasy

A technician wants to view the system log messages in real time. Which command should they use?

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

This is the correct command. It continuously outputs new lines appended to the /var/log/messages file, effectively 'tailing' the log in real time, until you cancel it with Ctrl-C or issue 'monitor stop'. It's the operational-mode command designed specifically for live log monitoring on Junos.

Why this answer

The 'monitor start messages' command is used in Junos OS to display system log messages in real time as they are generated. This is the correct command for live monitoring of system events, similar to 'tail -f' on Unix systems.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect 'show log' or 'show logging' to provide real-time output, but in Junos, 'show log messages' only shows the static file, while 'monitor start messages' is the live tail command.

How to eliminate wrong answers

Option A is wrong because 'show system log' is not a valid Junos command; the correct command to view stored logs is 'show log messages'. Option C is wrong because 'start shell' drops the user into a Unix shell environment, not a real-time log viewer. Option D is wrong because 'show log messages' displays the current contents of the messages log file, but does not provide real-time updates; it shows a static snapshot.

98
MCQmedium

An administrator wants to save the current configuration as a rescue configuration. Which command sequence is correct?

A.copy configuration rescue
B.request system configuration rescue save
C.save rescue-config
D.commit rescue
AnswerB

This is the correct operational mode command: it stores a snapshot of the current active (committed) configuration as the rescue configuration, which Junos saves to a dedicated location on the file system. The rescue configuration is not tied to the normal commit rollback list; it is a custom recovery point that can be restored later with 'rollback rescue' or 'load rescue'. Because it is a request, not a commit, it does not alter the running configuration—it simply preserves a known-good state for emergency recovery.

Why this answer

The correct command sequence to save the current configuration as a rescue configuration in Junos is 'request system configuration rescue save'. This command stores a copy of the active configuration as a rescue configuration, which can be loaded later using 'request system configuration rescue recover' if the device becomes unreachable or the configuration is corrupted. The rescue configuration is stored in a special file (rescue.conf.gz) and is not overwritten by normal commits.

Exam trap

The trap here is that candidates may confuse the rescue configuration with a normal configuration backup or commit operation, leading them to choose 'copy configuration rescue' or 'commit rescue' instead of the correct 'request system configuration rescue save' command.

How to eliminate wrong answers

Option A is wrong because 'copy configuration rescue' is not a valid Junos command; Junos uses the 'request system configuration rescue' hierarchy for rescue operations, not a 'copy' command. Option C is wrong because 'save rescue-config' is not a valid Junos command; the correct syntax uses 'request system configuration rescue save', and 'save' alone is used for saving configurations to files, not for rescue-specific operations. Option D is wrong because 'commit rescue' does not exist; the 'commit' command applies changes to the active configuration, but rescue configuration is managed separately via the 'request system configuration rescue' commands.

99
MCQhard

A router receives two OSPF routes for 10.10.10.0/24: one intra-area with preference 10 and metric 1, and one external type 2 with preference 150 and metric 20. Which route is selected as active?

A.The external route because it is type 2
B.The intra-area route because it has a lower preference
C.The external route because it has a higher metric
D.The intra-area route because it has a lower metric
AnswerB

The intra-area route is the correct choice because Junos selects the route with the lowest preference value among all candidate routes for the same prefix. In this case, the intra-area OSPF route has a preference of 10, while the external OSPF route has a preference of 150; since 10 is lower than 150, the intra-area route is installed as active in the forwarding table. Preference is checked before metric—only when two routes share the same preference does the router compare metrics. Therefore, the lower preference of the intra-area route is the decisive factor, not the route type or metric.

Why this answer

B is correct because Junos uses route preference (administrative distance) as the primary tiebreaker when selecting the active route for a destination. The intra-area OSPF route has a default preference of 10, which is lower than the external type 2 route's preference of 150, so the intra-area route is installed into the routing table regardless of metric values.

Exam trap

The trap here is that candidates often focus on metric or route type (intra-area vs external) as the tiebreaker, but Junos strictly uses route preference first, and the large difference (10 vs 150) makes the intra-area route the clear winner regardless of metric values.

How to eliminate wrong answers

Option A is wrong because OSPF external type 2 routes do not have inherent priority over intra-area routes; route preference is the decisive factor, not route type. Option C is wrong because a higher metric does not make a route more preferred; in Junos, preference is evaluated before metric, and a higher metric is actually less desirable. Option D is wrong because while the intra-area route does have a lower metric, the primary reason it is selected is its lower preference (10 vs 150); metric is only considered if preferences are equal.

100
Multi-Selecthard

Which THREE statements about the 'commit' command are correct?

Select 3 answers
A.The 'commit check' command validates the syntax of the candidate configuration.
B.The 'commit synchronize' command is used on a dual-RE system to commit on both REs.
C.The 'commit full' command activates the configuration without performing any validation.
D.The 'commit' command can only be issued when no other users are in configuration mode.
E.The 'commit confirmed 5' command will roll back the configuration after 5 minutes if not confirmed.
AnswersA, B, E

'commit check' parses and validates the candidate configuration against the schema without loading it into the running configuration, reporting syntax or semantic errors. This satisfies the stem's requirement for a statement about commit command behaviour on Junos devices.

Why this answer

Option A is correct because 'commit check' parses and validates the candidate configuration's syntax and semantics without actually activating it, so errors are reported before a real commit. Option B is correct because on a dual-RE (redundant Routing Engine) system, 'commit synchronize' commits the candidate configuration on both Routing Engines, keeping the primary and backup REs in sync. Option E is correct because 'commit confirmed 5' activates the configuration but automatically rolls back to the previous configuration after 5 minutes unless the administrator confirms it with a subsequent 'commit'.

Option C is wrong because 'commit full' forces a full commit that re-evaluates the entire configuration and does perform validation, rather than skipping it. Option D is wrong because multiple users can be in configuration mode simultaneously; the 'commit' command is not restricted to a single user, though a commit lock may be used to prevent conflicting changes.

Exam trap

The trap here is that candidates often confuse 'commit full' with a validation-skipping command, when in fact it performs a more thorough validation, and they may incorrectly assume that multiple users cannot commit simultaneously in Junos, unlike some other network operating systems.

101
MCQmedium

You are a network engineer at a company that operates a pair of Juniper SRX firewalls in an active/passive cluster (Chassis Cluster). The cluster has been running Junos 15.1X49-D100 for over a year. Management has mandated an upgrade to a newer version to address security vulnerabilities. You follow the recommended upgrade procedure and successfully upgrade the primary node (node0) first, then failover to make node0 the backup, and upgrade the new primary (node1). After the upgrade, both nodes have the same version and appear to be in the cluster, but you notice that the backup node (node0) is stuck in 'ineligible' state and does not synchronize configuration changes. What is the most likely cause?

A.The cluster control link is down or misconfigured on the backup node
B.The backup node has not been configured with 'commit synchronize'
C.The 'set chassis cluster reth-count' statement is missing on the backup node
D.The 'monitor interface' configuration is causing a mis-match between nodes
AnswerA

A node becomes ineligible when the cluster control link is not operational on that node, because the control link is the physical interface used to exchange heartbeat messages and cluster control traffic. If the control link is down, misconfigured (e.g., wrong interface name, VLAN mismatch, or disabled), or not connected, the node cannot participate in cluster state synchronization or failover, forcing it into the ineligible state. Even if the node is otherwise healthy and has all other cluster settings correct, the lack of a functioning control link alone is sufficient to prevent it from reaching eligible status.

Why this answer

The backup node being stuck in 'ineligible' state after a chassis cluster upgrade indicates that the cluster control link (control port) is not functioning correctly. In a Juniper SRX active/passive cluster, the control link is used for heartbeat and cluster state synchronization; if it is down or misconfigured on the backup node, the node cannot participate in the cluster election process and remains ineligible. This is a common issue after upgrades if the control link interfaces are not properly re-established or if the cable is faulty.

Exam trap

The trap here is that candidates often confuse 'ineligible' state with configuration synchronization issues, leading them to choose 'commit synchronize' or other configuration-related options, when the root cause is actually a physical or logical connectivity problem on the control link.

How to eliminate wrong answers

Option B is wrong because 'commit synchronize' is a configuration command that ensures changes are automatically synchronized from the primary to the backup node, but it does not affect the node's eligibility state; the backup node can still be eligible without it. Option C is wrong because the 'set chassis cluster reth-count' statement defines the number of redundant Ethernet interfaces and is required for cluster operation, but its absence would cause a different issue (e.g., reth interfaces not working), not specifically the backup node being stuck in 'ineligible' state. Option D is wrong because 'monitor interface' configuration is used for interface monitoring to trigger failover, and a mismatch between nodes would cause a different problem (e.g., false failovers), not the backup node being stuck in 'ineligible' state.

102
MCQhard

A network administrator is troubleshooting a routing issue and wants to view the routing table for a specific routing instance called 'VPN-A'. Which command should they use?

A.show routing-table VPN-A
B.show route table VPN-A
C.show route instance VPN-A
D.show routing instance VPN-A route
AnswerB

The 'show route table' command with the routing-instance name is the correct way to view all routes in that instance. In Junos, each routing instance has its own set of routing tables (e.g., VPN-A.inet.0), and specifying the instance name as the table argument displays all of its tables. This command shows the full routing table, including protocol preference, next-hop, and route flags.

Why this answer

The correct command to view the routing table for a specific routing instance in Junos is 'show route table VPN-A'. This command displays the routes associated with the routing instance named 'VPN-A', which is essential for troubleshooting routing issues within that instance. The 'show route' command is the standard way to view routing tables, and specifying the 'table' keyword followed by the instance name targets the correct routing table.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect 'show ip route vrf VPN-A' and incorrectly apply similar syntax like 'show routing-table VPN-A' or 'show route instance VPN-A', not realizing Junos uses 'show route table <instance-name>' for the same purpose.

How to eliminate wrong answers

Option A is wrong because 'show routing-table VPN-A' is not a valid Junos command; the correct syntax uses 'show route table' not 'show routing-table'. Option C is wrong because 'show route instance VPN-A' is not a valid command; 'show route instance' does not exist, and the correct command to view routing instance details is 'show routing instance VPN-A', which shows configuration and status but not the routing table. Option D is wrong because 'show routing instance VPN-A route' is syntactically incorrect; the proper command to view the routing table for an instance is 'show route table VPN-A', not a combination of 'routing instance' and 'route'.

103
MCQmedium

An engineer needs to apply a configuration change to the Junos device that must survive a reboot. Which configuration mode command should be used to save the changes?

A.commit
B.commit confirmed
C.commit synchronize
D.commit check
AnswerA

The 'commit' command permanently activates the candidate configuration by copying it into the active configuration and applying it to the routing and forwarding planes. It also writes the configuration to non-volatile storage (e.g., flash), ensuring it survives a reboot or power cycle. This is the standard, definitive way to make configuration changes persistent in Junos.

Why this answer

The 'commit' command is the standard way to apply a candidate configuration to the active configuration in Junos. When you issue 'commit', the changes are saved to the /config/juniper.conf.gz file, which is loaded upon reboot, ensuring the configuration survives a restart.

Exam trap

The trap here is that candidates may confuse 'commit' with 'commit confirmed', thinking the latter is required for persistence, but 'commit confirmed' is specifically designed for safe rollback during maintenance windows, not for permanent saves.

How to eliminate wrong answers

Option B is wrong because 'commit confirmed' temporarily activates the configuration but automatically rolls back to the previous configuration if not confirmed within the default 10-minute timeout, so it does not guarantee survival across a reboot unless explicitly confirmed. Option C is wrong because 'commit synchronize' is used in a chassis cluster to commit the configuration on both nodes simultaneously; it is not a general-purpose command for saving changes on a standalone device. Option D is wrong because 'commit check' only validates the syntax and semantics of the candidate configuration without applying or saving it, so no changes survive a reboot.

104
MCQeasy

A network administrator is configuring a new subnet for servers that must not communicate with each other directly but must be able to reach a default gateway. Which type of route should be configured on the servers?

A.Host route for the gateway
B.Default route pointing to the gateway
C.Dynamic route via OSPF
D.Static route to each other server
AnswerB

A default route (0.0.0.0/0) is the least-specific route and matches all packets whose destination has no other matching entry in the routing table. In Junos, configuring a static default route with next-hop pointing to the gateway is the standard way to give a server off-subnet reachability. This is exactly what a default gateway does for a host.

Why this answer

A default route (0.0.0.0/0) pointing to the gateway is correct because it allows servers to reach any external destination (including the gateway) without requiring explicit routes to each other. Since the servers must not communicate directly, they should not have routes to each other's subnets; the default route ensures all non-local traffic is forwarded to the gateway, which can then enforce isolation policies.

Exam trap

The trap here is that candidates often confuse a default route with a host route, thinking a specific route to the gateway is sufficient, but a default route is required to reach all external destinations beyond the local subnet.

How to eliminate wrong answers

Option A is wrong because a host route for the gateway (e.g., a /32 route to the gateway's IP) would only allow the server to reach that single IP address, not any other external destinations; it does not provide a path to the default gateway for general traffic. Option C is wrong because dynamic routing via OSPF would require the servers to participate in OSPF, which is unnecessary and complex for simple hosts; OSPF is designed for routers, not end devices, and would introduce overhead and potential security risks. Option D is wrong because a static route to each other server would explicitly allow direct communication between servers, violating the requirement that they must not communicate with each other directly.

105
MCQmedium

An engineer wants to roll back to the previous configuration. Which command should be used?

A.rollback 1
B.delete
C.rollback 0
D.commit check
AnswerA

The `rollback 1` command reloads the candidate configuration from the previous committed configuration (rollback ID 1), completely discarding any uncommitted changes currently staged in the candidate. This precisely achieves the engineer's goal of returning to the previous configuration, making it the correct command for this scenario.

Why this answer

The `rollback 1` command loads the previous committed configuration (the configuration before the last commit) into the candidate configuration, discarding any uncommitted changes. This allows the engineer to replace the current candidate with the desired historical configuration. In Junos, `rollback 0` loads the most recently committed configuration (the current active configuration), not the previous one.

Exam trap

Candidates often think that `rollback 0` is the previous configuration, but `rollback 0` actually loads the currently active configuration. `rollback 1` is the previous committed configuration.

How to eliminate wrong answers

Option B is wrong because `delete` removes configuration statements from the candidate configuration, not from the committed configuration, and it does not perform a rollback to a previous state. Option C is wrong because `rollback 0` reverts the candidate configuration to the currently active committed configuration, which would discard any uncommitted changes the engineer wants to keep. Option D is wrong because `commit check` only validates the syntax and semantics of the candidate configuration without committing it; it does not roll back to any previous configuration.

106
MCQeasy

An engineer wants to view the current active configuration file that the device is using. Which command displays this information?

A.show configuration candidates
B.show system commit
C.show configuration
D.show configuration | display set
AnswerC

This displays the active committed configuration.

Why this answer

The 'show configuration' command displays the current active configuration that the device is using, which is the committed configuration stored in /config/juniper.conf.gz. This command reads the active configuration file directly from the file system, showing the exact operational configuration that Junos applies to the device.

Exam trap

The trap here is that candidates may confuse 'show configuration' with 'show configuration | display set' or think 'show system commit' shows the active config, when in fact it only shows commit history, not the current running configuration.

How to eliminate wrong answers

Option A is wrong because 'show configuration candidates' is not a valid Junos command; the correct command to view candidate configuration is 'show configuration' without any modifier, or 'show | compare' to see changes. Option B is wrong because 'show system commit' displays the commit history log, including timestamps and user information, not the active configuration file itself. Option D is wrong because 'show configuration | display set' is a pipe modifier that reformats the output into set commands, but it still shows the active configuration; however, the question asks for the command that displays the active configuration file, and the base command is 'show configuration', not the piped variant.

107
MCQeasy

An engineer needs to view the current active configuration on a Juniper device. Which command will display the configuration that is currently running?

A.show chassis hardware
B.show interfaces terse
C.show configuration
D.show system commit
AnswerC

`show configuration` is the correct Junos command to view the active configuration. In operational mode, it displays the candidate configuration, which reflects the currently committed active configuration plus any uncommitted changes; if no edits are pending, it shows the committed configuration verbatim. The command outputs the entire configuration hierarchy from the top level and can be filtered or scoped to a specific hierarchy, making it the definitive way to inspect the device's active or candidate configuration.

Why this answer

The 'show configuration' command displays the current active configuration that is committed and running on a Juniper device. Unlike Cisco's 'show running-config', Junos uses a commit model where the candidate configuration is activated only after a 'commit' operation, and 'show configuration' shows that committed, active configuration.

Exam trap

Juniper Networks often tests the 'show running-config' equivalent, and the trap here is that candidates familiar with Cisco may mistakenly choose 'show system commit' (thinking it shows the running config) or 'show interfaces terse' (confusing interface status with the full configuration).

How to eliminate wrong answers

Option A is wrong because 'show chassis hardware' displays physical hardware inventory details (e.g., serial numbers, part numbers, firmware versions), not the running configuration. Option B is wrong because 'show interfaces terse' shows a summary of interface status and configuration (like IP addresses and administrative state), but not the full active configuration. Option D is wrong because 'show system commit' lists the commit history (timestamps, log messages, and rollback IDs), not the current running configuration.

108
MCQmedium

A network engineer needs to add an additional IP address to an interface that already has a primary IP configured. Which method should be used?

A.set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.2/24
B.set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.2/24 secondary
C.set interfaces ge-0/0/0 unit 0 family inet secondary address 10.0.0.2/24
D.set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.2/24 primary
AnswerB

This is the correct Junos syntax for adding an additional IP address while keeping the existing primary address intact. The secondary keyword immediately follows the address prefix within the family inet address hierarchy, telling the configuration engine that this address is not the primary. You can configure multiple secondary addresses on the same interface unit, and all existing addresses remain unchanged after commit. This precisely matches the engineer's requirement.

Why this answer

In Junos, to add an additional IP address to an interface that already has a primary IP configured, you must append the 'secondary' keyword to the address configuration statement. This allows multiple IPv4 addresses on the same logical interface unit, with the first address assigned being the primary and subsequent addresses marked as secondary.

Exam trap

The trap here is that candidates familiar with Cisco IOS might use the 'secondary' keyword as a subcommand under the interface (e.g., 'ip address 10.0.0.2 255.255.255.0 secondary'), but in Junos, the correct syntax places 'secondary' after the address in the same configuration line, not as a separate hierarchy.

How to eliminate wrong answers

Option A is wrong because it attempts to configure a second IP address without the 'secondary' keyword, which would replace the existing primary address rather than add an additional one. Option C is wrong because the syntax 'set interfaces ... family inet secondary address' is invalid; the 'secondary' keyword is a property of the address, not a separate hierarchy level. Option D is wrong because the 'primary' keyword is used to designate a specific address as the primary when multiple addresses exist, not to add a new address; adding 'primary' to a new address would conflict with the existing primary.

109
Multi-Selecteasy

Which two commands can be used to display real-time interface information? (Choose two.)

Select 2 answers
A.monitor interface
B.monitor traffic
C.show log
D.request system reboot
E.show system storage
AnswersA, B

monitor interface is a Junos operational command that provides continuously updated, real-time statistics for a specified interface, including current input/output rates, packet counts, and error counters. It refreshes at a fixed interval, allowing you to observe dynamic changes in interface utilization and detect transient issues like CRC errors or drops that a one-time show command might miss. This makes it the first choice for live health checks of physical or logical interfaces.

Why this answer

Option A, `monitor interface`, is correct because it provides a real-time, continuously updating view of interface statistics such as traffic counters, errors, and link state on Juniper devices. Option B, `monitor traffic`, is correct because it captures and displays live packet-level traffic on an interface, showing real-time data as packets traverse the interface. Option C, `show log`, is incorrect because it displays stored log file contents rather than live interface information.

Option D, `request system reboot`, is incorrect because it reboots the device and does not display interface data. Option E, `show system storage`, is incorrect because it reports disk and filesystem usage, not real-time interface information.

Exam trap

The trap here is confusing static `show` commands (like `show interfaces`) with real-time `monitor` commands, or assuming that any command displaying data is real-time, when only `monitor` commands provide live, updating output.

110
Drag & Dropmedium

Order the steps to configure firewall filters (ACLs) in Junos.

Drag or tap steps into the slots.

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

Why this order

Firewall filters are defined with terms (match conditions and actions) and applied to interfaces.

111
MCQeasy

A network engineer needs to check the system's disk space usage. Which command should be used?

A.show system storage
B.show configuration
C.show version
D.show system uptime
AnswerA

The 'show system storage' operational command is the correct Junos CLI command for checking disk space usage. It displays each mounted file system (e.g., /var, /tmp, /config) with total, used, and available space in both kilobytes and percentage, along with mount points. This command is the standard way to monitor disk capacity on Junos devices, particularly for critical partitions like /var that can fill with logs or crash dumps.

Why this answer

The 'show system storage' command displays disk space usage on Junos devices, including total, used, and available space for each mounted filesystem. This is the correct command for monitoring storage utilization, as it directly reports on the /, /config, and /var partitions critical for system operation.

Exam trap

The trap here is that candidates might confuse 'show system storage' with 'show system uptime' or 'show version' because they all start with 'show system', but only 'show system storage' provides disk space information.

How to eliminate wrong answers

Option B is wrong because 'show configuration' displays the active configuration, not disk space usage. Option C is wrong because 'show version' shows software version and hardware model information, not storage details. Option D is wrong because 'show system uptime' displays how long the device has been running and load averages, not disk space.

112
MCQmedium

Refer to the exhibit. What will happen if the engineer commits this configuration?

A.The interface will have two primary IP addresses.
B.The configuration will fail because inet and inet6 cannot coexist.
C.The interface will support both IPv4 and IPv6 traffic.
D.Only the family inet will be applied.
AnswerC

Configuring both family inet and family inet6 on an interface makes it dual-stacked, meaning it can forward IPv4 packets using the inet stack and IPv6 packets using the inet6 stack simultaneously. Each family has its own address, routing table entries, and protocol behavior, and both are active after the configuration is committed. This allows the interface to carry both IPv4 and IPv6 traffic without the need for tunneling or translation.

Why this answer

The configuration shown includes both `family inet` and `family inet6` under the same interface. Junos allows multiple address families to coexist on a single interface, enabling the interface to process both IPv4 and IPv6 traffic simultaneously. This is a standard feature of Junos, not an error.

Exam trap

The trap here is that candidates may mistakenly think Junos requires separate interfaces for IPv4 and IPv6, or that configuring both families will cause a commit error, when in fact dual-stack is a standard and expected configuration in Junos.

How to eliminate wrong answers

Option A is wrong because Junos does not allow two primary IP addresses on the same interface; only one primary address per address family is permitted, and the configuration shows separate families, not two primaries in the same family. Option B is wrong because `inet` and `inet6` can absolutely coexist on a Junos interface; this is a fundamental capability of dual-stack networking, and Junos supports it natively. Option D is wrong because both `family inet` and `family inet6` are explicitly configured and will be applied; Junos does not ignore one family when both are present.

113
MCQhard

In a dual Routing Engine (RE) setup, an engineer commits a configuration change that should be applied to both REs synchronously. What is the correct command to ensure both REs receive the same configuration immediately?

A.commit confirmed
B.commit check synchronize
C.commit and-quit
D.commit synchronize
AnswerD

This commits the candidate configuration to both Routing Engines in a single atomic operation, ensuring both have identical active configurations. It is the standard command for applying changes in a dual-RE chassis, and it is essential for maintaining consistency and enabling clean failover. The commit is performed on the local RE and the other RE simultaneously.

Why this answer

The 'commit synchronize' command commits the configuration on the master Routing Engine and then automatically copies and commits the same configuration to the backup RE, ensuring both REs have identical active configurations immediately. This is the standard Junos method for synchronizing configurations in a dual-RE chassis.

Exam trap

The trap here is that candidates confuse 'commit synchronize' with 'commit check' or 'commit confirmed', not realizing that only 'commit synchronize' explicitly pushes the configuration to the backup RE in a dual-RE setup.

How to eliminate wrong answers

Option A is wrong because 'commit confirmed' is used to automatically roll back a commit after a specified timeout if not confirmed, not for synchronizing configurations between REs. Option B is wrong because 'commit check synchronize' is not a valid Junos command; 'commit check' validates syntax but does not apply changes, and the 'synchronize' option is only valid with 'commit'. Option C is wrong because 'commit and-quit' is used in configuration mode to commit and exit, but it does not synchronize the configuration to the backup RE.

114
Multi-Selectmedium

Which THREE statements about the commit operation are correct? (Choose three.)

Select 3 answers
A.The 'commit check' command validates the syntax of the candidate configuration without activating it.
B.After a successful commit, the candidate configuration becomes the active configuration.
C.A commit can be scheduled to revert automatically if not confirmed within a certain time.
D.The candidate configuration is stored in a file named 'juniper.conf' on the flash drive.
E.A commit operation automatically saves the rescue configuration.
AnswersA, B, C

The 'commit check' command performs a dry-run validation of the candidate configuration, parsing the configuration statements and verifying that their syntax is correct, but it does not activate the changes. It is useful for pre-commit validation in production environments because it leaves the running configuration untouched and reports any syntax errors before an actual commit is attempted.

Why this answer

Option A is correct because 'commit check' performs a syntax and semantic validation of the candidate configuration and reports errors without activating or applying it, leaving the active configuration unchanged. Option B is correct because a successful commit copies the candidate configuration into the active configuration (the running configuration that the device uses), making the candidate the active one. Option C is correct because a commit can be issued with a confirmation timeout (for example, 'commit confirmed 10'), which automatically reverts to the previous configuration unless the commit is confirmed within that period.

Option D is not correct because the active configuration is stored in 'juniper.conf' (with backups like juniper.conf.1.gz), while the candidate configuration is held in a separate candidate database, not in 'juniper.conf'. Option E is not correct because the rescue configuration is not saved automatically by a commit; it must be saved explicitly with 'request system configuration rescue save'.

Exam trap

The trap here is that candidates often confuse the candidate configuration with the active configuration file (juniper.conf) or assume that a commit automatically updates the rescue configuration, when in fact the rescue configuration is a manually saved snapshot used for disaster recovery.

115
MCQhard

Refer to the exhibit. The router has three static routes configured. Which route will be used to forward a packet destined to 172.16.1.100?

A.The default route (0.0.0.0/0)
B.The router will drop the packet.
C.The static route to 10.0.0.0/8
D.The static route to 172.16.0.0/16
AnswerD

The destination 172.16.1.100 lies exactly within the 172.16.0.0/16 network, and this is the most specific static route matching the destination. Junos applies the longest-prefix-match rule, so this route is selected to forward the packet toward its next hop. No other static route in the exhibit is more specific, making this the correct forwarding entry.

Why this answer

The router will use the most specific matching route for the destination 172.16.1.100. The static route to 172.16.0.0/16 has a prefix length of 16, which is more specific than the default route (0.0.0.0/0) and the route to 10.0.0.0/8 (which does not match the destination). Therefore, the route to 172.16.0.0/16 is selected based on the longest-prefix-match rule.

Exam trap

The trap here is that candidates often assume a default route will always be used as a catch-all, but they forget that a more specific static route (like 172.16.0.0/16) will take precedence over the default route for matching destinations.

How to eliminate wrong answers

Option A is wrong because the default route (0.0.0.0/0) is only used when no more specific route matches the destination; here, the 172.16.0.0/16 route is a better match. Option B is wrong because the router does not drop the packet; it has a matching route (172.16.0.0/16) and will forward the packet accordingly. Option C is wrong because the static route to 10.0.0.0/8 does not match the destination 172.16.1.100, as the destination falls outside the 10.0.0.0/8 range.

116
MCQeasy

An administrator notices that the routing table is not updating as expected. Which command should be used to verify the routing table contents?

A.show log
B.show route
C.show system storage
D.show interfaces
AnswerB

show route: This is the correct command to display the routing table on Junos, showing all active routes, their next hops, and protocol attributes. It allows an administrator to verify if the routing table is updating correctly by checking for presence or absence of specific prefixes. Additionally, options like 'show route protocol ospf' or 'show route prefix' provide granular views for troubleshooting.

Why this answer

The 'show route' command displays the routing table, which contains all active routes learned via static configuration, direct interfaces, or dynamic routing protocols such as OSPF, IS-IS, BGP, and RIP. If the routing table is not updating as expected, this command allows the administrator to verify the current routes, their next hops, and protocol sources to identify missing or incorrect entries.

Exam trap

The trap here is that candidates may confuse 'show route' with 'show interfaces' or 'show log', thinking that interface status or log messages would directly reveal routing table updates, when in fact only 'show route' provides the definitive view of the routing table contents.

How to eliminate wrong answers

Option A is wrong because 'show log' displays system log messages (e.g., from syslog or traceoptions), not the routing table contents; it is used for troubleshooting events, not for viewing route entries. Option C is wrong because 'show system storage' reports disk usage and file system space, which is unrelated to routing table updates. Option D is wrong because 'show interfaces' displays interface status, statistics, and configuration, but does not show the routing table; it is used for verifying link-level connectivity, not route propagation.

117
MCQhard

A senior network administrator is logged into a Juniper device in operational mode. They need to make a configuration change to the BGP group 'INTERNAL'. They type 'configure terminal' and receive 'unknown command'. They then type 'configure' and enter configuration mode. They make the needed changes and exit configuration mode using 'exit'. They then try to view the active configuration to verify the changes by typing 'show configuration | match INTERNAL'. They see no output. What is the most likely reason?

A.The command 'show configuration' only shows the candidate configuration, not the active.
B.They exited configuration mode without committing, so the changes were lost.
C.They should have used 'commit' before exiting configuration mode.
D.They need to be in configuration mode to run 'show configuration'.
AnswerC

To make configuration changes take effect in Junos, you must execute 'commit' from configuration mode. The commit command copies the candidate configuration to the active configuration, activating the changes. If the administrator exits configuration mode without committing, the active configuration remains unchanged, which explains why the changes did not appear to take effect. Therefore, the correct action before exiting is to commit the candidate configuration.

Why this answer

In Junos, configuration changes made in configuration mode are stored in a candidate configuration until explicitly committed using the 'commit' command. Exiting configuration mode with 'exit' does not discard the candidate configuration; the changes remain in the candidate but are not part of the active configuration. The 'show configuration' command displays the active (committed) configuration, which explains why no output matching 'INTERNAL' was seen.

The administrator needed to use 'commit' to activate the changes before viewing them with 'show configuration'.

Exam trap

The trap here is that candidates familiar with other platforms may expect 'exit' to discard changes (as in some OS) or that 'show configuration' shows the candidate configuration. In Junos, the candidate persists after exit, but the active configuration is only updated upon 'commit'.

How to eliminate wrong answers

Option A is wrong because 'show configuration' in operational mode displays the active (committed) configuration, not the candidate configuration; the candidate configuration is viewed with 'show | compare' or by being in configuration mode. Option B is wrong because exiting configuration mode without committing does not automatically lose changes—the candidate configuration persists until explicitly discarded with 'rollback' or overridden, but the changes are not active until committed; however, the question states they exited and then ran 'show configuration', which shows the active config, so the changes were effectively not visible because they were never committed. Option D is wrong because 'show configuration' can be run from operational mode (it is a valid operational command) and does not require being in configuration mode.

118
MCQmedium

Refer to the exhibit. What is the effect of the pending changes?

A.The IP address 10.0.0.2 will be replaced by 10.0.0.1 after commit.
B.The comparison shows no changes.
C.The interface will have two IP addresses: 10.0.0.1 and 10.0.0.2.
D.The candidate configuration will be empty after commit.
AnswerA

The plus sign next to 10.0.0.1 and the minus sign next to 10.0.0.2 in the `show | compare` output indicate that 10.0.0.2 is scheduled for deletion while 10.0.0.1 is scheduled for addition. Because both lines refer to the same address family (inet) and the same interface, the resulting operation is a replacement, not an addition. After commit, the active configuration will therefore have only 10.0.0.1 on the interface, with no trace of 10.0.0.2.

Why this answer

The candidate configuration shows that the IP address 10.0.0.2 is being deleted and replaced with 10.0.0.1 on interface ge-0/0/0. In Junos, pending changes are staged in the candidate configuration and only take effect after a commit. The 'replace:' tag indicates that the existing address 10.0.0.2 will be removed and 10.0.0.1 will be added upon commit.

Exam trap

The trap here is that candidates may misinterpret the 'replace:' tag as an addition rather than a replacement, leading them to think both IP addresses will coexist, or they may assume no changes are shown because they overlook the 'replace:' indicator.

How to eliminate wrong answers

Option B is wrong because the comparison clearly shows a change: the 'replace:' tag indicates that 10.0.0.2 is being replaced by 10.0.0.1, so there is a pending modification. Option C is wrong because Junos does not allow two IP addresses in the same subnet on the same interface without additional configuration; the 'replace:' operation removes the old address before adding the new one, so both addresses will not coexist. Option D is wrong because the candidate configuration contains the new address 10.0.0.1, so it will not be empty after commit; only the old address is removed.

119
Multi-Selecteasy

Which TWO statements about the Junos CLI are correct?

Select 2 answers
A.The `commit confirmed` command saves the configuration permanently.
B.The pipe character (|) can be used to filter command output.
C.The `run` command allows operational mode commands to be executed from configuration mode.
D.The `set cli screen-length 0` command disables command-line editing features.
E.The `rollback 0` command reverts to the previous committed configuration.
AnswersB, C

The pipe character (|) is a fundamental Junos CLI feature that enables filtering and manipulating command output. You can use it with keywords such as `match`, `except`, `find`, `count`, `display`, and `save` to refine displayed data. For example, `show interfaces | match ge-0/0/0` shows only lines containing that interface name, making it an essential tool for quickly extracting relevant information from verbose operational output.

Why this answer

Option B is correct because the pipe character (|) in the Junos CLI is used to filter or manipulate the output of show commands, for example with match, except, find, count, or display set. Option C is correct because from configuration mode the run command (or its abbreviation run) executes operational mode commands without leaving configuration mode, e.g., run show interfaces terse. Option A is incorrect because commit confirmed applies the candidate configuration temporarily and automatically rolls back after 10 minutes unless confirmed with a second commit, so it does not save permanently.

Option D is incorrect because set cli screen-length 0 disables paging of output, not command-line editing features. Option E is incorrect because rollback 0 loads the currently active committed configuration, while rollback 1 reverts to the previous committed configuration.

120
Multi-Selectmedium

Which TWO statements are true regarding Junos configuration groups?

Select 2 answers
A.Configuration groups never override existing settings.
B.Configuration groups are applied using the apply-groups statement.
C.Configuration groups are only useful for interface configuration.
D.Configuration groups are applied automatically to all hierarchies.
E.Configuration groups are applied in the order they are listed in apply-groups.
AnswersB, E

This is a true statement. In Junos, configuration groups are defined under the `groups` hierarchy, and to activate them, you must reference them via the `apply-groups` statement at the appropriate hierarchy level. For example, applying `apply-groups global` at the top-level ensures that the settings from the `global` group are merged into the active configuration. Without an explicit `apply-groups` statement, a configuration group has no effect on the running configuration.

Why this answer

Option B is correct because configuration groups in Junos are explicitly attached to the configuration hierarchy using the apply-groups statement (for example, set interfaces ge-0/0/0 apply-groups GROUP-NAME), which is the mechanism that injects the group's statements into the active configuration. Option E is correct because when multiple groups are referenced in an apply-groups statement, Junos processes them in the order listed, with later groups taking precedence over earlier ones, and the explicit configuration taking precedence over all applied groups. Option A is wrong because group settings can override existing settings depending on inheritance and precedence rules.

Option C is wrong because configuration groups can contain almost any configuration stanza, not just interfaces. Option D is wrong because groups are not applied automatically to all hierarchies; they must be explicitly referenced with apply-groups at the desired hierarchy level.

Exam trap

The trap here is that candidates often assume configuration groups automatically apply to all hierarchies or that they cannot override existing settings, but in reality, groups are explicitly applied and follow a strict precedence order where later groups can override earlier ones.

121
Multi-Selecthard

Which THREE statements are true about VLANs on Juniper EX switches? (Select three.)

Select 3 answers
A.Hosts in different VLANs can communicate without any additional configuration
B.A single VLAN can extend across multiple switches via trunk ports
C.Each VLAN must have a unique VLAN ID within a single switch
D.VLANs provide broadcast isolation between different VLANs
E.VLANs are automatically created when you assign an interface to an untagged VLAN
AnswersB, C, D

On Junos, trunk ports are configured with interface-mode trunk and a list of allowed VLANs; they tag frames with 802.1Q so the same VLAN identifier is recognized on each switch. This allows end hosts in the same VLAN on different switches to communicate as if they were on the same LAN segment. The VLAN is a single logical broadcast domain that spans the trunk.

Why this answer

Option B is correct because a VLAN is a Layer 2 broadcast domain that can span multiple Juniper EX switches when the inter-switch links are configured as trunk ports carrying 802.1Q tags, allowing the same VLAN ID to be present on each switch. Option C is correct because within a single switch the VLAN ID (1–4094) must be unique; you cannot create two distinct VLANs with the same ID on one EX device, as the ID is the local identifier for that broadcast domain. Option D is correct because VLANs segment a switch into separate broadcast domains, so broadcast, unknown unicast, and multicast traffic from one VLAN is not flooded into another VLAN, providing broadcast isolation.

Option A is not correct because hosts in different VLANs are in separate Layer 3 subnets and require a router or Layer 3 interface (e.g., an IRB/RVI) to communicate; no communication occurs by default. Option E is not correct because on Juniper EX switches, assigning an interface to a VLAN requires the VLAN to already exist (or be created with 'set vlans <name> vlan-id <id>'); it is not automatically created by the interface assignment.

Exam trap

The trap here is that candidates often assume VLANs are automatically created when an interface is assigned to them (as in some Cisco IOS versions), but Juniper EX switches require explicit VLAN definition in the configuration, and they also mistakenly think inter-VLAN communication is possible without a router due to the 'native VLAN' concept.

122
Multi-Selecthard

Which THREE route types are considered protocol-independent in Junos?

Select 3 answers
A.BGP routes
B.Direct routes
C.Local routes
D.Static routes
E.OSPF routes
AnswersB, C, D

The direct route is automatically installed by Junos when you assign an IP address to an interface and it is operational. It represents the subnet directly attached to that interface, and its existence does not involve any routing protocol at all. This is why it is classified as protocol-independent.

Why this answer

Direct, local, and static routes are considered protocol-independent because they are not learned or installed by any dynamic routing protocol. Direct routes are automatically created for directly connected interfaces, local routes represent the interface's own IP address, and static routes are manually configured by an administrator. These routes exist in the routing table regardless of whether any routing protocol is running, hence the term 'protocol-independent'.

Exam trap

The trap here is that candidates often confuse 'protocol-independent' with 'routing protocol' and incorrectly assume that all routes in the routing table are protocol-dependent, forgetting that direct, local, and static routes are manually or automatically generated without a dynamic protocol's involvement.

123
MCQhard

A route learned via BGP appears as 'hidden' in the routing table. Which condition is most likely the cause?

A.The BGP route has a higher AS path length than another route
B.The BGP route has been rejected by a policy
C.The BGP next-hop is unreachable
D.The BGP local preference is too high
AnswerC

For a BGP route to be active, its next-hop must be reachable via an existing route in the inet.0 routing table; if not, the BGP route is considered invalid and is placed in a hidden state. This is a fundamental BGP rule: the protocol relies on resolving next-hop addresses through IGP or static routes before installing the route. If the next-hop is unreachable, the route remains hidden in the BGP RIB and is not used for forwarding. This is the correct answer because it directly explains the hidden state.

Why this answer

In JUNOS, a BGP route is marked as 'hidden' in the routing table when the next-hop address is not reachable via any active route in the inet.0 table. This is a fundamental BGP path selection prerequisite: the next-hop must be resolvable (typically via an IGP or static route) for the route to be considered active and installed.

Exam trap

The trap here is that candidates often confuse 'hidden' with 'rejected by policy' or 'less preferred by AS path', but JUNOS specifically uses 'hidden' to indicate a next-hop unreachability issue, not a policy or selection problem.

How to eliminate wrong answers

Option A is wrong because a higher AS path length would make the route less preferred in BGP path selection, but it would not cause the route to be hidden; it would simply be outcompeted by a better path. Option B is wrong because if a BGP route is rejected by a policy, it typically does not appear in the routing table at all (or is marked as 'rejected'), not as 'hidden'. Option D is wrong because a high local preference makes a route more preferred, not hidden; local preference is a path attribute used in selection, not a condition that causes a route to be hidden.

124
MCQmedium

When configuring OSPF on a Juniper router, an engineer applies the 'area 0.0.0.0 interface ge-0/0/1.0 passive' command. What is the effect of this configuration?

A.The interface will not be advertised in OSPF at all, and no OSPF traffic will be transmitted.
B.The interface will only accept incoming OSPF packets but will not send any.
C.The interface will not send OSPF hellos, but the connected network will still be advertised in OSPF.
D.The interface will actively send OSPF hellos and attempt to form adjacencies.
AnswerC

The passive setting on an OSPF interface in Junos disables hello transmission on that interface, preventing the formation of any OSPF adjacency with a directly connected peer. However, the interface's subnet is still advertised as a stub network in the router's OSPF link-state advertisements, allowing other routers to learn the route without requiring a neighbor on that link. This matches the correct behavior for a passive interface.

Why this answer

The 'passive' configuration on an OSPF interface in Junos prevents the interface from sending OSPF Hello packets, which stops the formation of neighbor adjacencies. However, the interface's connected network prefix is still advertised as a stub network in OSPF Type 1 LSAs, ensuring reachability to that subnet without dynamic neighbor relationships.

Exam trap

The trap here is that candidates often confuse 'passive' with 'disable' or assume it blocks all OSPF traffic, when in fact it only stops Hello transmission while still advertising the network.

How to eliminate wrong answers

Option A is wrong because the passive interface does not suppress the advertisement of the connected network; the prefix is still injected into OSPF. Option B is wrong because the passive interface does not accept incoming OSPF packets either; it simply does not send Hellos, but it will still process received OSPF packets if they arrive (though without Hellos, no adjacency forms). Option D is wrong because the passive command explicitly prevents the interface from sending OSPF Hellos, so it will not actively attempt to form adjacencies.

125
MCQmedium

A network administrator is troubleshooting high CPU usage on a Juniper router. Which command helps identify which process is consuming the most CPU?

A.show log messages
B.show system memory
C.show system processes extensive
D.show interfaces
AnswerC

The `show system processes extensive` command is the correct diagnostic tool because it provides a detailed snapshot of every running process on the Junos device, including their IDs, CPU utilization percentages, and the cumulative time spent in user and system mode. The `extensive` keyword adds thread-level details and memory usage, enabling an administrator to pinpoint exactly which process is driving the high CPU load, such as rpd or mgd. This directly addresses the troubleshooting scenario.

Why this answer

The 'show system processes extensive' command displays detailed information about all running processes, including CPU utilization, memory usage, and process IDs. This allows the administrator to identify which process (e.g., routing protocol daemon, management daemon) is consuming the most CPU cycles, directly addressing the troubleshooting need.

Exam trap

The trap here is that candidates often confuse 'show system processes extensive' with 'show system memory' or 'show log messages', mistakenly thinking memory or log analysis will reveal CPU hogs, when only the process list provides per-process CPU metrics.

How to eliminate wrong answers

Option A is wrong because 'show log messages' displays system log entries (syslog), which may indicate errors or events but does not provide real-time per-process CPU usage. Option B is wrong because 'show system memory' reports memory utilization statistics, not CPU consumption by individual processes. Option D is wrong because 'show interfaces' shows interface status and traffic counters, which are unrelated to identifying CPU-intensive processes.

126
MCQeasy

An administrator is asked to check the system log files for any error messages related to interface failures. Which command would be most efficient?

A.monitor start messages | match "error"
B.show log file messages | match "error"
C.show log messages
D.show system syslog messages
AnswerC

show log messages — This is the correct operational command to display the contents of the default system log file /var/log/messages. It shows all messages stored in that file, providing the administrator with the historical log data needed. While it outputs everything without a match filter, it is the only valid command among the options that actually works for viewing existing log entries. Additional filtering could be applied with a pipe, e.g., 'show log messages | match error', but the base command is sufficient.

Why this answer

'show log messages' is the standard JUNOS command to display the contents of the /var/log/messages file. While it does not include a filter, it is the only valid command among the options that allows the administrator to view existing system log messages. The other options are either invalid commands (B and D) or used for real-time monitoring (A), which is not efficient for checking historical log files.

Exam trap

The trap here is that candidates may confuse 'monitor start messages' with 'show log messages', thinking the real-time monitor is more efficient for checking logs, but the question asks for checking existing log files, not monitoring live events.

How to eliminate wrong answers

Option A is wrong because 'monitor start messages' is a real-time monitoring command that continuously streams new log entries to the terminal, not a static search of existing log files; it would require the administrator to wait for errors to occur and does not efficiently check historical logs. Option C is wrong because 'show log messages' displays the entire contents of the messages log file without any filtering, which is inefficient for finding specific error messages related to interface failures, especially on a busy system with many log entries. Option D is wrong because 'show system syslog messages' is not a valid JUNOS command; the correct command to view syslog configuration is 'show configuration system syslog', but this does not display log file contents or error messages.

127
MCQmedium

An engineer needs to copy a configuration from one device to another. Which command should be used to export the current active configuration in a mergeable format?

A.show configuration | display inheritance
B.show configuration | display json
C.show configuration | display set
D.show configuration | save /var/tmp/config.txt
AnswerC

The 'display set' option outputs every configuration statement as a standalone 'set' command, representing the absolute path to each leaf value. This format is the native interchange language for Junos configuration and can be directly merged with 'load merge' or used to compare configurations. It is the recommended way to copy configuration snippets between devices because it is unambiguous and portable.

Why this answer

The 'show configuration | display set' command outputs the current active configuration as a series of 'set' commands, which can be directly copied and applied to another Junos device using 'load set terminal' or 'load merge'. This format is specifically designed for merging configurations, as it represents the configuration in a flat, non-hierarchical structure that Junos can parse incrementally.

Exam trap

The trap here is that candidates often confuse 'display set' with 'display inheritance' or 'display json', thinking any output format can be used for merging, but only 'display set' produces a flat, mergeable command sequence that Junos can load directly.

How to eliminate wrong answers

Option A is wrong because 'show configuration | display inheritance' shows inherited configuration values (e.g., from groups or interfaces) but does not output the configuration in a mergeable format; it is used for troubleshooting inheritance, not for exporting configurations. Option B is wrong because 'show configuration | display json' outputs the configuration in JSON format, which is human-readable and useful for automation but is not directly mergeable into Junos via the CLI; Junos does not support loading JSON configuration directly. Option D is wrong because 'show configuration | save /var/tmp/config.txt' saves the configuration in the default hierarchical (set or curly-brace) format to a file, but the output is not inherently in a mergeable 'set' format unless combined with 'display set'; the 'save' command alone does not transform the output.

128
MCQmedium

You are troubleshooting an OSPF issue on a Juniper router. The router has a single interface ge-0/0/1 with IP 10.1.1.1/30 connected to a neighbor with IP 10.1.1.2/30. OSPF is configured area 0. The 'show ospf neighbor' command shows no neighbors. 'show interfaces ge-0/0/1 terse' shows the interface is up. 'show configuration protocols ospf' shows: area 0.0.0.0 { interface ge-0/0/1.0 { passive; } } What is the problem?

A.The OSPF interface is configured as passive
B.The hello timer is too slow
C.Authentication is missing
D.The interface is administratively down
AnswerA

Setting an OSPF interface to passive in Junos disables hello packet transmission entirely on that interface. Without hellos, the router cannot discover neighbors or form an adjacency, so the OSPF neighbor state remains Down. The interface stays administratively and protocol up, but OSPF treats it as a stub network, advertising the subnet while never establishing a neighbor relationship. This directly matches a terse output showing the interface up and no OSPF neighbors.

Why this answer

The 'passive' statement under the OSPF interface configuration prevents the router from sending or processing OSPF Hello packets on that interface. Without Hello packets, the router cannot discover neighbors or form adjacencies, which is why 'show ospf neighbor' returns no neighbors even though the interface is operationally up.

Exam trap

The trap here is that candidates often assume 'passive' only prevents the interface from sending routing updates (like in RIP or EIGRP), but in OSPF it blocks all Hello packets, preventing neighbor discovery entirely.

How to eliminate wrong answers

Option B is wrong because the hello timer being too slow would still allow neighbor discovery and adjacency formation, just with longer intervals; it would not result in zero neighbors. Option C is wrong because authentication is not configured in the given output, and its absence does not prevent neighbor discovery unless authentication is required on the neighbor side. Option D is wrong because 'show interfaces ge-0/0/1 terse' shows the interface is up, not administratively down.

129
MCQhard

Your company runs a Juniper MX480 router as the core gateway. The router has been experiencing intermittent connectivity issues with a remote site over a point-to-point OC3 link. Users report that the link goes down for a few seconds several times a day. You suspect that the issue might be related to physical layer errors or framing. You need to determine the cause and collect relevant data to present to the service provider. Which course of action should you take first?

A.Run 'monitor interface so-0/0/0' and observe for any CRC errors or alarms over a period of time.
B.Perform a loopback test on the interface using 'test interface so-0/0/0'.
C.Review the system syslog file using 'show log messages' and search for interface down messages.
D.Immediately replace the serial interface card to rule out hardware failure.
AnswerA

This command provides a continuous real-time view of interface statistics and alarms, allowing you to observe transient physical-layer errors such as CRC errors, framing errors, or loss of signal that might occur intermittently. By watching the output over time, you can correlate error bursts with specific conditions (e.g., nearby equipment, cable movement) without disrupting traffic. It directly confirms the health of the physical layer before moving to more invasive testing or hardware replacement.

Why this answer

'monitor interface so-0/0/0' provides real-time, continuous display of interface counters and alarms, allowing you to observe CRC errors, framing errors, or alarms (e.g., LOS, LOF) as they occur. This is the most direct way to capture transient physical-layer issues on a SONET/SDH OC3 link without disrupting service, making it the appropriate first step before escalating to the service provider.

Exam trap

The trap here is that candidates may choose the loopback test (Option B) because it is a classic troubleshooting tool, but they overlook that it is an intrusive, out-of-service test that should follow passive monitoring to avoid unnecessary downtime.

How to eliminate wrong answers

Option B is wrong because performing a loopback test ('test interface so-0/0/0') would disrupt live traffic and is typically used for out-of-service troubleshooting after initial data collection, not as a first step. Option C is wrong because reviewing the system syslog ('show log messages') may show interface down messages but lacks the granularity to capture brief, intermittent physical-layer errors like CRC or framing alarms that occur over seconds. Option D is wrong because immediately replacing the serial interface card is a premature and invasive action that should only be taken after diagnostic data (e.g., from monitoring or loopback tests) confirms a hardware fault.

130
MCQmedium

A network engineer configures a static route to 10.0.0.0/8 with a preference of 20. An OSPF internal route to 10.0.0.0/8 has a default preference of 10. Which route will be active in the routing table?

A.Both routes, because they have different protocols.
B.Neither, because of a conflict.
C.The OSPF route, because of lower preference.
D.The static route, because it is manually configured.
AnswerC

Junos assigns each routing protocol a default preference, and the route with the lowest preference is chosen as the active route for a destination prefix. OSPF has a default preference of 10, which is lower than the static route's preference of 20. Therefore, the OSPF route is installed in the forwarding table and is the one used for traffic to 10.0.0.0/8.

Why this answer

In Junos, the active route in the routing table is determined by the lowest preference value. OSPF internal routes have a default preference of 10, while static routes have a default preference of 5, but here the static route is configured with a preference of 20. Since OSPF's preference (10) is lower than the static route's preference (20), the OSPF route is chosen as active.

Exam trap

The trap here is that candidates often assume static routes always take precedence over dynamic routes, but Junos uses a preference-based selection where a manually configured higher preference (20) makes the static route less preferred than OSPF's default (10).

How to eliminate wrong answers

Option A is wrong because Junos does not install multiple routes to the same prefix from different protocols unless they have equal preference; here preferences differ, so only the route with the lower preference is active. Option B is wrong because there is no conflict; the routing table selects the route with the lowest preference, and both routes are valid. Option D is wrong because manual configuration does not override the preference metric; the static route's higher preference (20) makes it less preferred than the OSPF route (10).

131
MCQmedium

Your Juniper router is running OSPF with multiple neighbors. You have a prefix 10.10.10.0/24 that is being learned via OSPF from two different routers: Router A with metric 30 and Router B with metric 20. The OSPF route from Router B is active. You want to ensure that traffic to 10.10.10.0/24 uses the path through Router A instead, even though it has a higher metric. You cannot change the OSPF metric on Router A. Which action should you take?

A.Use a routing policy to increase the preference of the OSPF route from Router B.
B.Increase the metric on Router B for that prefix.
C.Use a routing policy to reject the OSPF route from Router A.
D.Configure a static route to 10.10.10.0/24 pointing to Router A.
AnswerA

Using a routing policy to increase the preference of the OSPF route from Router B makes that route less desirable in the Junos routing table. Since Junos selects the route with the lowest preference value, raising Router B's preference (say, from the default 10 to 15) leaves Router A's default OSPF route as the active path. This allows you to influence the active route selection centrally on the local router without changing OSPF metrics or filtering prefixes.

Why this answer

In JUNOS, route preference (administrative distance) determines which route is installed in the routing table when multiple protocols or sources provide the same prefix. By default, OSPF internal routes have a preference of 10. You can use a routing policy to increase the preference of the OSPF route from Router B (making it less preferred), which will cause the route from Router A (with its default preference of 10) to become active, even though its metric is higher.

This approach does not require changing the OSPF metric or removing the route from Router A.

Exam trap

The trap here is that candidates often confuse metric (cost) with preference (administrative distance) and think they must change the metric or reject routes, when in fact JUNOS allows preference manipulation via routing policies to influence route selection without altering the OSPF metric.

How to eliminate wrong answers

Option B is wrong because increasing the metric on Router B for that prefix would make the route from Router B even less attractive, but the goal is to prefer Router A; increasing Router B's metric would not help and might break other routing decisions. Option C is wrong because rejecting the OSPF route from Router A would remove the route entirely, but the question states the route from Router A is already not active; rejecting it would not make it active. Option D is wrong because configuring a static route to 10.10.10.0/24 pointing to Router A would install a static route with a default preference of 5, which is lower than OSPF's 10, making it active; however, this is not the best practice and does not leverage OSPF's dynamic capabilities, and the question asks for an action related to OSPF routes, not a static override.

132
MCQeasy

A network engineer is configuring a new Juniper SRX Series firewall and wants to verify the configuration before committing it. The engineer wants to check the syntax and semantic validity of the candidate configuration without activating it. Which command should the engineer use?

A.commit check
B.show | compare
C.commit confirmed
D.commit
AnswerA

The commit check command validates the candidate configuration for syntax and semantic errors without committing it. It is the correct choice to verify the configuration before making it active. This command allows the engineer to catch mistakes early without affecting the running configuration.

Why this answer

The commit check command is specifically designed to validate the candidate configuration for errors without committing it. It performs the same validation as a commit but stops short of activating the changes. This allows the engineer to ensure the configuration is correct before applying it to the device.

Exam trap

The trap here is assuming that commit check also commits the configuration, when in fact it only validates and does not change the active configuration.

133
Multi-Selectmedium

Which two commands can be used to monitor real-time interface statistics and errors on a Junos device?

Select 2 answers
A.show interfaces terse
B.show interfaces ge-0/0/0
C.show interfaces extensive ge-0/0/0 | refresh 1
D.monitor interface ge-0/0/0
E.monitor security log
AnswersC, D

The `| refresh 1` pipe re-runs the command every second, giving continuous real-time interface statistics and error counters for ge-0/0/0, which satisfies the monitoring requirement. The `extensive` keyword adds detailed error and counter data beyond the default summary output.

Why this answer

Option C, 'show interfaces extensive ge-0/0/0 | refresh 1', is correct because the 'extensive' keyword displays detailed statistics including error counters, and the '| refresh 1' pipe re-runs the command every second, giving real-time monitoring of a specific interface. Option D, 'monitor interface ge-0/0/0', is correct because the 'monitor interface' command is Junos's dedicated real-time interface statistics viewer, continuously updating counters such as packets, bytes, and errors for the named interface. Option A, 'show interfaces terse', only gives a one-time summary of interface status and addresses without error detail or refresh, so it is not real-time monitoring.

Option B, 'show interfaces ge-0/0/0', provides a single snapshot of standard statistics and does not refresh or emphasize error counters. Option E, 'monitor security log', streams security log messages rather than interface statistics and errors, so it does not meet the requirement.

Exam trap

The trap here is that candidates often confuse static 'show interfaces' commands (which provide a point-in-time snapshot) with real-time monitoring commands, leading them to select option B instead of the correct real-time options C and D.

134
MCQeasy

Which Junos CLI mode allows a user to view the configuration and execute operational commands, but not make configuration changes?

A.Operational mode
B.Monitor mode
C.Enable mode
D.Configuration mode
AnswerA

Operational mode, indicated by the `>` prompt, is the default Junos CLI mode. It allows users to run `show` commands, including `show configuration` and its variants, to view the active configuration without making any changes. This mode is sufficient for viewing; entering configuration mode is unnecessary for read-only access.

Why this answer

In Junos OS, Operational mode (indicated by the `>` prompt) allows users to execute operational commands (e.g., `show`, `ping`, `traceroute`) and view the active configuration using `show configuration`, but it does not permit any changes to the configuration. Configuration changes require entering Configuration mode (indicated by the `#` prompt) via the `configure` command. This separation enforces a strict two-tier access model, ensuring that operational tasks do not inadvertently alter the device's configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS may confuse 'Enable mode' (which grants configuration privileges in Cisco) with Junos's Operational mode, not realizing that Junos uses a completely different two-tier model where Operational mode is read-only and Configuration mode is required for any changes.

How to eliminate wrong answers

Option B (Monitor mode) is wrong because Junos does not have a 'Monitor mode'; this term is a distractor that might be confused with Cisco's monitor mode for software upgrades or with the `monitor` operational command used for real-time interface traffic viewing. Option C (Enable mode) is wrong because 'Enable mode' is a Cisco IOS concept that provides privileged access for configuration changes; Junos uses a different paradigm with distinct Operational and Configuration modes. Option D (Configuration mode) is wrong because this mode (indicated by the `#` prompt) is specifically designed for making configuration changes, not for viewing the configuration or executing operational commands without the ability to modify settings.

135
MCQmedium

After a software upgrade, a router fails to boot with the new image. The engineer suspects the image is corrupted. What is the recommended method to recover?

A.Insert the rescue media and boot from it, then reinstall the image
B.Delete the current configuration and reboot
C.Reboot the router multiple times
D.Use the request system software add command with the force option
AnswerA

This is the standard recovery procedure for a corrupted or incomplete Junos image. The rescue media (e.g., a USB install drive) contains a minimal bootable environment that bypasses the damaged primary storage, allowing you to boot the router into a limited operational state. From there, you can reinstall the image onto internal media, overwriting the corrupt installation and restoring full functionality. This directly addresses the root cause—image corruption—rather than side effects like configuration or transient boot issues.

Why this answer

When a Junos OS image is corrupted and the router fails to boot, the recommended recovery method is to boot from rescue media (such as a USB flash drive or a pre-configured rescue partition) and then reinstall the correct image. This bypasses the corrupted software on the internal storage and provides a clean environment for recovery, ensuring the router can be restored to a functional state.

Exam trap

The trap here is that candidates may think the 'request system software add' command with the 'force' option can recover a corrupted image while the router is still booting, but this command requires a running Junos OS, which is unavailable when the image is corrupted.

How to eliminate wrong answers

Option B is wrong because deleting the current configuration does not address a corrupted image; the router cannot boot without a valid OS, and configuration is irrelevant at this stage. Option C is wrong because rebooting multiple times will not repair a corrupted image; it only repeats the same boot failure. Option D is wrong because the 'request system software add' command requires the router to be booted and operational, which is impossible if the image is corrupted and the router cannot boot; the 'force' option does not bypass the need for a running system.

136
MCQmedium

A technician is troubleshooting a device that has an inconsistent configuration. They need to revert to the configuration that was committed exactly two commits ago. Which command sequence accomplishes this?

A.rollback 2
B.rollback 2 followed by commit
C.commit confirmed 2
D.rollback 3
AnswerB

rollback 2 followed by commit is the correct two-step procedure: rollback 2 loads the candidate configuration from the second previous commit (index 2), discarding any uncommitted changes, and commit then activates that candidate as the new active configuration. This fully reverts the device to the exact state it had two commits earlier, which is what the technician needs. Remember that rollback alone only stages the changes; only a commit applies them.

Why this answer

The `rollback 2` command reverts the candidate configuration to the state it was in two commits ago, but the change is not applied until a `commit` is issued. This two-step sequence (rollback followed by commit) is required to make the reverted configuration active. Without the commit, the device continues running the current active configuration.

Exam trap

The trap here is that candidates often assume `rollback 2` alone immediately reverts the active configuration, forgetting that Junos requires an explicit `commit` to apply candidate changes.

How to eliminate wrong answers

Option A is wrong because `rollback 2` alone only loads the configuration from two commits ago into the candidate configuration; it does not commit it, so the device continues to operate with the current active configuration. Option C is wrong because `commit confirmed 2` is used to automatically roll back after 2 minutes if not confirmed, not to revert to a configuration from two commits ago. Option D is wrong because `rollback 3` reverts to the configuration from three commits ago, not two commits ago.

137
MCQeasy

Which command saves the current operational state information to a file that can be provided to Juniper support for troubleshooting?

A.request support information
B.monitor traffic
C.show system information
D.file copy
AnswerA

request support information invokes a Junos operational-mode script that bundles the configuration, routing tables, interface statistics, logs, and core dumps into a timestamped archive (e.g., juniper.support.tgz) under /var/tmp. It is the automated equivalent of a full 'tech-support' bundle for JTAC analysis and is the only option here that automatically captures and persists operational state to a file.

Why this answer

The 'request support information' command collects a comprehensive snapshot of the current operational state, including configuration, logs, routing tables, and interface statistics, and packages it into a file (e.g., /var/tmp/support-info-date-time.tgz) that can be directly provided to Juniper support for troubleshooting. This is the standard Junos method for gathering diagnostic data.

Exam trap

The trap here is that candidates may confuse 'show system information' with a support data collection tool, not realizing it only displays a brief summary and does not generate a comprehensive, saveable file for support.

How to eliminate wrong answers

Option B is wrong because 'monitor traffic' is used for real-time packet capture and display, not for saving a static snapshot of operational state to a file. Option C is wrong because 'show system information' displays basic system details like uptime and model but does not save the output to a file or collect the comprehensive data set needed for support. Option D is wrong because 'file copy' is a generic command for copying files between locations and does not generate or collect operational state information.

138
MCQmedium

A network engineer wants to schedule a reboot of a Juniper device at 3:00 AM. Which command should be used?

A.request system configuration rescue save
B.request system reboot
C.request system reboot at 03:00
D.load override /config/juniper.conf.gz
AnswerC

The `request system reboot at 03:00` command schedules the reboot to occur at 03:00 in the device's local time zone. Junos validates the time argument and queues the reboot, allowing the engineer to finish maintenance tasks before the device restarts. This is the exact operational command designed for a scheduled reboot at a specific time.

Why this answer

The 'request system reboot at 03:00' command schedules a one-time reboot of the Juniper device at the specified time (3:00 AM). The 'at' parameter allows the engineer to set an absolute time for the reboot, which is the exact requirement for scheduling a reboot at a specific future time.

Exam trap

The trap here is that candidates often confuse 'request system reboot' (immediate reboot) with 'request system reboot at' (scheduled reboot), or they mistakenly think that loading a configuration file will trigger a reboot.

How to eliminate wrong answers

Option A is wrong because 'request system configuration rescue save' is used to save the current active configuration as a rescue configuration, which can be used to recover the device if the configuration becomes corrupted; it does not schedule or perform a reboot. Option B is wrong because 'request system reboot' without any time parameter triggers an immediate reboot of the device, not a scheduled reboot at 3:00 AM. Option D is wrong because 'load override /config/juniper.conf.gz' is a configuration mode command used to replace the current candidate configuration with the configuration stored in the specified file; it does not schedule or initiate a reboot.

139
MCQhard

A network engineer is troubleshooting OSPF adjacencies between two Juniper routers. The routers are directly connected and have matching OSPF configurations except for the router IDs. Router A has router-id 10.0.0.1, Router B has router-id 10.0.0.2. The adjacency remains in the EXSTART state. What is the most likely cause?

A.The MTU on the interface is mismatched.
B.The router IDs are not the same.
C.The area ID is not configured.
D.The hello and dead intervals are mismatched.
AnswerA

An MTU mismatch is a classic cause of OSPF adjacency being stuck in the EXSTART state. During the Database Description (DD) packet exchange, OSPF embeds the interface MTU in the DD header. If one interface has a larger MTU and sends a DD packet that exceeds the neighbor's MTU, the receiving router will drop the packet. Since the neighbor never receives the DD packet, the routers cannot complete the master/slave negotiation, and the adjacency remains permanently in EXSTART rather than progressing to FULL.

Why this answer

The EXSTART state indicates that the routers have progressed past the 2-Way state and are attempting to exchange Database Description (DBD) packets. A common cause for getting stuck in EXSTART is an MTU mismatch, because OSPF uses the interface MTU to determine the maximum size of DBD packets. If Router A's MTU is larger than Router B's, Router B will drop the oversized DBD packet and the adjacency will remain in EXSTART.

Exam trap

The trap here is that candidates often assume mismatched hello/dead intervals are the cause of any adjacency problem, but those issues manifest earlier (at the 2-Way state), while EXSTART specifically points to MTU or DBD packet exchange problems.

How to eliminate wrong answers

Option B is wrong because OSPF requires router IDs to be unique within an OSPF domain; having different router IDs (10.0.0.1 and 10.0.0.2) is correct and does not prevent adjacency formation. Option C is wrong because if the area ID were not configured, the routers would not even reach the EXSTART state; they would fail at the 2-Way or Init state due to mismatched area IDs in Hello packets. Option D is wrong because mismatched hello/dead intervals would cause the adjacency to stall at the 2-Way state (or prevent reaching 2-Way), not at EXSTART, as these parameters are checked in Hello packets before neighbor state progression.

140
MCQeasy

A network engineer needs to make a change to a Junos device and ensure the change can be reverted if it causes issues. Which feature should be used?

A.configure exclusive
B.commit confirmed
C.commit check
D.rollback 0
AnswerB

The `commit confirmed` operation commits the candidate configuration and starts a rollback timer (default 10 minutes, up to 285 minutes with `commit confirmed <minutes>`). If the engineer does not issue a confirming `commit` or `commit confirm` before the timer expires, Junos automatically reverts to the previous active configuration. This provides a safety net for testing break-fix changes, making it the correct answer.

Why this answer

The `commit confirmed` command allows an engineer to commit a configuration change with a timer (default 10 minutes). If the change causes issues and the engineer does not confirm the commit within the timer, the device automatically reverts to the previous active configuration. This provides a safety net to revert changes without manual intervention.

Exam trap

The trap here is that candidates may confuse `commit confirmed` with `rollback 0`, thinking both revert changes, but `rollback 0` is a manual step that does not provide automatic, time-based reversion.

How to eliminate wrong answers

Option A is wrong because `configure exclusive` locks the candidate configuration to a single user, preventing others from making changes, but it does not provide any automatic rollback mechanism if the change causes issues. Option C is wrong because `commit check` validates the syntax and semantics of the candidate configuration without committing it; it does not revert a change after it has been applied. Option D is wrong because `rollback 0` reverts to the most recently committed configuration, but this is a manual action and does not provide an automatic, time-based revert if the change causes issues.

141
MCQhard

You are a junior network engineer at a company that uses Juniper MX routers. You are troubleshooting a connectivity issue on a branch router. The branch router has two upstream links to the corporate network: ge-0/0/0 (10.1.1.1/30, connected to core router A) and ge-0/0/1 (10.1.1.5/30, connected to core router B). The branch router runs OSPF and has a default route learned from both upstream routers. The routing table shows two equal-cost default routes via both next hops. However, traffic from the branch to the corporate network is experiencing intermittent high latency and some packet loss. You suspect that asymmetric routing is causing issues because the return traffic is not following the same path. You want to influence the router to prefer one upstream link for all traffic to the corporate network. You have decided to adjust the OSPF metric on the branch router to make the link to core router A more preferred. You are in configuration mode on the branch router. Which single configuration change will accomplish this goal?

A.set interfaces ge-0/0/1 unit 0 family inet cost 200
B.set protocols ospf area 0 interface ge-0/0/1 passive
C.set protocols ospf area 0 interface ge-0/0/1 metric 200
D.set interfaces lo0 unit 0 family inet address 10.0.0.1/32 metric 100
AnswerC

This is the correct configuration because in JUNOS, OSPF interface metric is explicitly set with the `metric` statement under `protocols ospf` for the specific interface. By assigning a metric of 200 to ge-0/0/1, the router's OSPF cost calculation makes that interface significantly more expensive than ge-0/0/0 (which retains the default metric, typically 10 for Ethernet), thereby forcing transit traffic to prefer ge-0/0/0. This effectively shifts traffic away from ge-0/0/1 while still allowing the OSPF adjacency to remain established, so the link stays available for redundancy or less-preferred use.

Why this answer

Setting the OSPF metric on interface ge-0/0/1 to a higher value (200) increases the cost of that link, making the default route via ge-0/0/0 (which retains the default OSPF metric of 1 on a Gigabit Ethernet interface) more preferred. This influences the branch router to use the lower-cost path through core router A for all traffic to the corporate network, resolving asymmetric routing issues.

Exam trap

The trap here is that candidates often confuse the 'metric' configuration under the OSPF protocol hierarchy with the 'cost' parameter under interfaces, or mistakenly think that making an interface passive or adjusting loopback metrics will influence OSPF path selection.

How to eliminate wrong answers

Option A is wrong because the 'cost' parameter is not a valid configuration statement under 'set interfaces'; OSPF cost is configured under the OSPF protocol hierarchy, not directly on the interface. Option B is wrong because setting the interface to 'passive' prevents OSPF from sending or receiving hello packets on that interface, which would break OSPF adjacency entirely, rather than simply adjusting path preference. Option D is wrong because the 'metric' statement under the loopback interface is used for static routes or other protocols, not for OSPF interface cost; OSPF uses a cost value derived from interface bandwidth or explicitly set under 'protocols ospf'.

142
MCQmedium

A company uses a Juniper MX router to connect two branch offices via a point-to-point link. The link is flapping. Which command would you use to check the interface errors on the link?

A.show log messages
B.show interfaces ge-0/0/0 extensive
C.show configuration interfaces ge-0/0/0
D.show interfaces ge-0/0/0 terse
AnswerB

show interfaces ge-0/0/0 extensive outputs the full operational status of the physical and logical interface, including detailed input/output error counters, CRC errors, framing errors, and packet drops. This command displays both current and cumulative statistics, allowing an administrator to identify the specific type and magnitude of interface errors. Because the goal is to check for errors on that interface, extensive is the correct command to run.

Why this answer

The 'show interfaces ge-0/0/0 extensive' command provides detailed interface statistics, including error counters such as CRC errors, frame errors, and link state transitions. This is the most comprehensive command to diagnose why a point-to-point link is flapping, as it reveals physical-layer issues that cause the interface to go up/down repeatedly.

Exam trap

The trap here is that candidates often choose 'show interfaces terse' thinking it shows errors, but it only displays administrative and operational status without the detailed error statistics needed to diagnose flapping.

How to eliminate wrong answers

Option A is wrong because 'show log messages' displays system log messages, which may include interface events but does not provide detailed per-interface error counters needed to diagnose flapping. Option C is wrong because 'show configuration interfaces ge-0/0/0' only displays the current configuration of the interface, not real-time error statistics or operational state. Option D is wrong because 'show interfaces ge-0/0/0 terse' shows a concise summary of interface status (up/down) and IP addresses, but omits error counters and detailed physical-layer information required to identify the cause of flapping.

143
MCQeasy

A router has a directly connected route to 10.10.10.0/24 on interface ge-0/0/0.0, a static route to the same prefix with next-hop 192.168.1.1, and an OSPF route to the same prefix. Which route is active in the routing table?

A.The static route
B.No route is active due to multiple routes
C.The OSPF route
D.The directly connected route
AnswerD

Directly connected routes carry the lowest administrative distance in Junos, so they beat both the static route and the OSPF route to 10.10.10.0/24. Junos prefers the route with the lowest preference value when multiple protocols offer the same prefix, and the connected route's default preference of 0 wins.

Why this answer

In Junos, the routing table (inet.0) selects the active route based on the route preference (administrative distance). Directly connected routes have a default preference of 0, which is the lowest possible value, making them preferred over static routes (default preference 5) and OSPF routes (preference 10 for intra-area, 150 for external). Therefore, the directly connected route to 10.10.10.0/24 on ge-0/0/0.0 is active.

Exam trap

The trap here is that candidates familiar with Cisco IOS might assume static routes (AD 1) are preferred over OSPF (AD 110) but forget that directly connected routes (AD 0) always take precedence, or they might think multiple routes cause a tie or require load-balancing, which is incorrect for a single active route selection.

How to eliminate wrong answers

Option A is wrong because static routes have a default preference of 5 in Junos, which is higher than the directly connected route's preference of 0, so the static route is not selected. Option B is wrong because Junos does not deactivate all routes when multiple routes exist; it selects the route with the lowest preference, and only one route is active per prefix unless load-balancing is configured. Option C is wrong because OSPF routes have a preference of 10 (intra-area) or higher, which is greater than 0, so they are not preferred over the directly connected route.

144
Multi-Selecteasy

Which TWO statements about route preferences in Junos are correct?

Select 2 answers
A.The preference of a route cannot be changed.
B.Direct routes have a default preference of 0.
C.OSPF internal routes have a default preference of 10.
D.Static routes have a default preference of 10.
E.BGP routes have a default preference of 200.
AnswersB, C

Direct routes, representing directly connected networks via active interfaces, are automatically assigned a default preference of 0 in Junos. This exceptionally low preference value ensures they are always the most preferred route source, taking precedence over all other route types like static, OSPF, or BGP routes. This mechanism is fundamental to Junos's routing logic, satisfying the question's requirement for a correct statement about route preferences.

Why this answer

In Junos, direct (connected) routes have a default route preference of 0, which is the highest possible preference, ensuring they are always preferred over other route types for directly attached networks. Option C is correct because OSPF internal routes (both intra-area and inter-area) have a default preference of 10 in Junos, which is lower than most other dynamic routing protocols, making OSPF routes more preferred by default.

Exam trap

The trap here is that candidates often confuse Junos default preference values with Cisco IOS administrative distance values, particularly for BGP (170 in Junos vs. 200 in Cisco) and static routes (5 in Junos vs. 1 in Cisco), leading them to select incorrect options based on Cisco knowledge.

145
MCQhard

During a network traffic storm, a Juniper EX switch's CPU utilization spikes to 100%. Which command would best help identify the cause?

A.monitor traffic interface ge-0/0/0
B.show spanning-tree bridge
C.show ethernet-switching table
D.show interfaces extensive ge-0/0/0
AnswerA

`monitor traffic interface ge-0/0/0` runs a real-time packet capture on the specified interface, displaying packet headers so you can see broadcast, multicast, or unknown-unicast traffic flooding the switch. This is the key diagnostic during a storm because it lets you identify the source MAC/IP and the packet type that is overwhelming the CPU. It captures traffic as it arrives, giving immediate evidence for where the storm originates.

Why this answer

The 'monitor traffic interface' command captures live packet headers on the specified interface, allowing you to see the type and source of traffic causing the CPU spike. During a traffic storm (e.g., broadcast storm), this command reveals excessive broadcast, multicast, or unknown unicast frames, which are typically the root cause of high CPU utilization on Juniper EX switches.

Exam trap

The trap here is that candidates often confuse 'show interfaces extensive' (which shows error counters like CRC errors or giants) with the ability to see live traffic, but it only provides historical statistics, not the packet-level detail needed to pinpoint the storm's source.

How to eliminate wrong answers

Option B is wrong because 'show spanning-tree bridge' displays STP bridge parameters and port roles, which help diagnose Layer 2 loops but not the specific traffic types or sources causing a CPU storm. Option C is wrong because 'show ethernet-switching table' shows MAC address entries and their associated interfaces, which is useful for verifying forwarding tables but does not reveal real-time traffic patterns or packet contents. Option D is wrong because 'show interfaces extensive' provides detailed interface statistics and errors, but it does not capture live packet data; it only shows counters and historical data, not the actual traffic causing the CPU spike.

146
MCQeasy

During a maintenance window, an engineer makes critical changes and wants the configuration to automatically revert if they lose connectivity. Which command should they use before committing?

A.commit
B.commit confirmed
C.commit check
D.commit at
AnswerB

`commit confirmed` activates the candidate configuration for a specified confirmation period (default 10 minutes unless you append a time). The engineer must issue a second commit—either `commit` or another `commit confirmed`—before the timer expires; otherwise, Junos automatically rolls back to the previous configuration. This provides a crucial safety net for critical maintenance changes: if connectivity is lost or the change breaks something, the device restores the working configuration without manual intervention.

Why this answer

'commit confirmed', is correct because it allows the engineer to commit a configuration change with a default 10-minute rollback timer. If the engineer loses connectivity and does not confirm the commit within that period, the system automatically reverts to the previous configuration, ensuring the device remains reachable.

Exam trap

The trap here is that candidates may confuse 'commit confirmed' with 'commit check', thinking syntax validation alone provides safety, or they may assume 'commit at' offers automatic rollback, but neither command includes the confirmation-based rollback mechanism that 'commit confirmed' provides.

How to eliminate wrong answers

Option A is wrong because 'commit' applies the configuration permanently with no automatic rollback, which could leave the device unreachable if the changes break connectivity. Option C is wrong because 'commit check' only validates the syntax of the configuration without committing it, so it does not provide any automatic rollback mechanism. Option D is wrong because 'commit at' schedules a commit at a specific time but does not include a confirmation or automatic rollback feature if connectivity is lost.

147
MCQhard

A network engineer needs to analyze NTP synchronization status and offset. Which command provides detailed NTP peer information including delay, offset, and jitter?

A.show ntp statistics
B.show ntp associations
C.show ntp status
D.show ntp peer
AnswerB

'show ntp associations' is the correct command because it displays a row for each configured NTP peer, including its address, stratum, delay, offset, and jitter. Junos also marks the currently synchronized peer with an asterisk (*) and the local clock with 'o', giving the engineer an immediate, per-peer snapshot of the NTP synchronization status.

Why this answer

The 'show ntp associations' command displays detailed NTP peer information, including delay, offset, and jitter, which are essential for analyzing synchronization status. This command lists all configured NTP peers and their current state, providing the specific metrics needed to assess clock accuracy and stability.

Exam trap

The trap here is that candidates familiar with Cisco IOS may expect 'show ntp peer' to work, but Junos uses 'show ntp associations' for the same detailed peer information, while 'show ntp peer' is not a valid command.

How to eliminate wrong answers

Option A is wrong because 'show ntp statistics' displays NTP packet statistics (e.g., packets sent/received, dropped) rather than per-peer delay, offset, and jitter. Option C is wrong because 'show ntp status' shows the local NTP daemon status (e.g., clock stratum, reference ID) but not detailed peer-level metrics. Option D is wrong because 'show ntp peer' is not a valid Junos command; the correct command for peer details is 'show ntp associations'.

148
MCQhard

After upgrading Junos, a router fails to boot with a file system error. The admin needs to recover the system from the backup partition. Which key should be pressed during boot to access the boot menu?

A.Ctrl+C
B.Esc
C.Enter
D.Space
AnswerD

Pressing the Space bar at the Junos boot prompt halts the automatic boot and displays the boot loader menu, which lists available Junos partitions and snapshots. This menu lets you select an alternate root partition, such as a prior stable snapshot or the other disk, which is essential when the current primary partition has a corrupted filesystem and cannot boot. The message 'Hit [Space] to halt, [Enter] to immediately boot' specifically identifies Space as the correct key to reach this recovery and partition-selection interface.

Why this answer

Pressing the Space bar during the boot process on a Juniper device interrupts the normal boot sequence and presents the boot menu. From this menu, the administrator can select the backup Junos partition (typically labeled as '1' or 'backup') to recover the system when the primary partition has a file system error.

Exam trap

The trap here is that candidates familiar with Cisco IOS might confuse the Juniper boot menu access (Space bar) with Cisco's Ctrl+Break or other interrupt keys, leading them to select Ctrl+C or Esc incorrectly.

How to eliminate wrong answers

Option A is wrong because Ctrl+C is used to abort the current command in the Junos CLI, not to access the boot menu during system startup. Option B is wrong because the Esc key is not used for boot menu access on Juniper devices; it may be used in other contexts like editing CLI commands. Option C is wrong because pressing Enter during boot simply continues the normal boot process without interrupting it, which would not allow selection of the backup partition.

149
MCQeasy

An administrator needs to quickly revert all uncommitted configuration changes and return the device to the last committed configuration. Which command accomplishes this?

A.rollback 0
B.delete configuration
C.load override
D.rollback 1
AnswerA

The correct way to quickly discard all uncommitted changes in the candidate configuration is to execute 'rollback 0' in configuration mode. This operation overwrites the candidate configuration with the contents of the most recent committed configuration, effectively resetting any modifications made since the last commit. It is the fastest method because it does not require a reboot or additional file operations, and you can verify the change by entering 'show configuration' to confirm the candidate now matches the active configuration.

Why this answer

The command 'rollback 0' reverts all uncommitted configuration changes and returns the device to the last committed configuration. In Junos, the rollback command uses a numeric argument to specify which previous configuration to load, with 0 always referring to the most recently committed configuration. This effectively discards any pending changes in the candidate configuration without requiring a commit.

Exam trap

The trap here is that candidates often confuse 'rollback 0' with 'rollback 1', mistakenly thinking rollback 1 reverts to the last committed configuration, when in fact rollback 0 is the correct index for the most recent commit, and rollback 1 refers to the configuration before that.

How to eliminate wrong answers

Option B is wrong because 'delete configuration' is not a valid Junos command; the correct approach to remove all configuration is to use 'delete' within configuration mode on specific hierarchies or use 'load override terminal' with an empty configuration, not a single command. Option C is wrong because 'load override' replaces the entire candidate configuration with a specified file or terminal input, but it does not automatically revert to the last committed configuration; it requires an explicit source (e.g., a file) and does not default to rollback 0. Option D is wrong because 'rollback 1' reverts to the configuration that was committed before the most recent commit (i.e., the previous committed configuration), not the last committed one, so it would not discard uncommitted changes if the candidate has not been committed.

150
MCQmedium

Refer to the exhibit. An engineer sees that the interface ge-0/0/0 has 'Admin up' and 'Link up'. What does this indicate?

A.The interface is administratively down.
B.The interface is a loopback interface.
C.The interface has an IPv6 address only.
D.The interface is up and the physical link is up.
AnswerD

The 'Admin up' state indicates the interface is administratively enabled, while 'Link up' indicates the physical layer has detected a valid link signal from the connected peer. When both are up, the interface is operationally up and able to carry traffic according to the configured protocol families. This accurately matches the exhibit, making it the correct answer.

Why this answer

When an interface shows 'Admin up' and 'Link up', it means the interface has been administratively enabled (no 'shutdown' command applied) and the physical layer has detected a carrier signal from the connected device. In Junos, this is the normal operational state for a functioning interface, confirming that both the administrative configuration and the physical link are active.

Exam trap

The trap here is that candidates may confuse 'Admin up' with 'Link up', thinking one implies the other, or incorrectly assume 'Admin up' alone means the interface is fully operational, when in fact both must be 'up' for traffic to flow.

How to eliminate wrong answers

Option A is wrong because 'Admin up' explicitly indicates the interface is administratively enabled, not down. Option B is wrong because loopback interfaces are virtual (lo0) and do not have physical link states like 'Link up'; they are always logically up unless administratively disabled. Option C is wrong because the presence of an IPv6 address is unrelated to the administrative or link status; an interface can have an IPv6 address and still show 'Admin up' and 'Link up'.

Page 1

Page 2 of 5

Page 3

All pages