Courseiva

Juniper Networks Certified Associate Junos JNCIA-Junos (JN0-106) — Questions 1–75

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

Page 1 of 5

Page 2
1
MCQeasy

Refer to the exhibit. Which interface has a physical layer connectivity problem?

A.ge-0/0/2
B.ge-0/0/0
C.ge-0/0/3
D.ge-0/0/1
AnswerD

ge-0/0/1 is administratively up (configuration enables the interface) but the link is down, meaning the physical layer is not establishing connectivity. This mismatch—admin up, link down—points to a Layer 1 problem such as a disconnected cable, faulty optics, or an unpowered peer. Unlike an administratively down interface, this is not expected; further troubleshooting like checking the SFP and cable is needed.

Why this answer

Interface ge-0/0/1 shows 'Physical link is Down' in the output, which directly indicates a physical layer connectivity problem. The 'Device present' field is also 'No', confirming that no transceiver or cable is detected, which is a Layer 1 issue.

Exam trap

The trap here is that candidates may focus on the 'Admin' status (up/down) rather than the 'Physical link' status, mistakenly assuming an administratively down interface is a physical layer problem, when in fact the physical layer issue is indicated by the link state being down regardless of administrative configuration.

How to eliminate wrong answers

Option A is wrong because ge-0/0/2 shows 'Physical link is Up' and 'Device present' is 'Yes', indicating no physical layer problem. Option B is wrong because ge-0/0/0 shows 'Physical link is Up' and 'Device present' is 'Yes', so the physical layer is functioning correctly. Option C is wrong because ge-0/0/3 shows 'Physical link is Up' and 'Device present' is 'Yes', meaning there is no physical layer connectivity issue.

2
MCQmedium

An administrator executes 'show route 192.168.1.0/24' and sees no output, but the route is configured. Which command should be used to display the reason the route is not active?

A.show route hidden
B.show log messages
C.show route protocol static
D.show route forwarding-table
AnswerA

The `show route hidden` command is the definitive way to view routes that the routing table has marked as unusable, along with the specific reason for their hidden status. Junos maintains hidden routes in the routing table (e.g., inet.0) but excludes them from active forwarding and from normal `show route` output. This command directly reveals those routes and the `hidden` reason field, enabling targeted diagnosis. It is the only command listed that fully exposes hidden routes without additional filters.

Why this answer

The 'show route hidden' command displays routes that are present in the routing table but are not active due to reasons such as a next-hop being unreachable, a routing policy rejecting the route, or a route preference conflict. When a route is configured but not shown in the standard 'show route' output, it is likely hidden, and this command reveals the specific reason (e.g., 'next-hop unreachable' or 'rejected by policy').

Exam trap

The trap here is that candidates assume 'show route protocol static' will show all static routes, but they forget that hidden routes are excluded from standard protocol-specific outputs, leading them to overlook the dedicated 'show route hidden' command.

How to eliminate wrong answers

Option B is wrong because 'show log messages' displays system log messages (e.g., interface flaps, errors) but does not show hidden routes or the specific reason a route is inactive. Option C is wrong because 'show route protocol static' filters the routing table to show only static routes, but if the static route is hidden, it will not appear in this output either; it does not reveal why the route is hidden. Option D is wrong because 'show route forwarding-table' displays the kernel forwarding table (used for packet forwarding), not the routing table, and does not show hidden routes or reasons for inactivity.

3
MCQhard

An engineer suspects that a recent software upgrade caused a compatibility issue. Which command should be used to revert the Junos OS to the previous version?

A.rollback 0
B.request system software rollback
C.request system reboot
D.request system software delete jinstall-*.tgz
AnswerB

The 'request system software rollback' command is the correct way to revert a Junos device to the previous operating system version after an upgrade. Junos maintains two software partitions (the current and previous), and this command marks the previous partition as the primary boot image, then reboots the device to activate that older version. This is the intended recovery mechanism when a recent upgrade causes problems.

Why this answer

The 'request system software rollback' command is the correct method to revert the Junos OS to the previously installed version. This command triggers a reboot and loads the previous software set from the /altroot partition, effectively undoing the upgrade while preserving the configuration.

Exam trap

The trap here is confusing 'rollback' in the context of configuration management (rollback 0) with software version rollback, leading candidates to mistakenly choose option A.

How to eliminate wrong answers

Option A is wrong because 'rollback 0' reverts the candidate configuration to the most recently committed configuration, not the operating system software version. Option C is wrong because 'request system reboot' simply reboots the device without changing the software version. Option D is wrong because 'request system software delete' removes a software package from storage but does not activate a previous version; the device would still boot the current version unless a rollback is performed.

4
MCQeasy

A junior administrator wants to discard all uncommitted changes made in the current configuration session. Which command accomplishes this?

A.commit check
B.rollback 0
C.load factory-default
D.clear configuration
AnswerB

In Junos, `rollback 0` is the command used to discard all uncommitted configuration changes. It loads the active committed configuration (rollback index 0) into the candidate configuration, overwriting any edits made since the last commit. This is the correct way to revert uncommitted edits without affecting the committed configuration.

Why this answer

The `rollback 0` command reverts the candidate configuration to the active committed configuration, effectively discarding all uncommitted changes made during the current session. In Junos, configuration changes are stored in a candidate configuration until explicitly committed; `rollback 0` loads the last committed configuration (index 0) into the candidate, wiping out any uncommitted edits.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect a `clear configuration` command or think `commit check` discards changes, but Junos requires `rollback 0` to revert uncommitted edits without affecting the active configuration.

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 discard any changes. Option C is wrong because `load factory-default` overwrites the entire configuration with the factory-default settings, which is far more drastic than simply discarding uncommitted changes and would also remove committed configurations. Option D is wrong because `clear configuration` is not a valid Junos CLI command; the correct approach to discard uncommitted changes is `rollback 0`.

5
MCQmedium

You are managing a Juniper EX4300 switch that serves as a Layer 3 access switch for a campus network. The switch has multiple VLANs configured with IRB interfaces. Users in VLAN 10 report that they cannot reach the default gateway (IRB.10) even though other VLANs are working fine. You check the configuration and see that interface irb.10 is configured with an IP address. You also verify that the VLAN is associated with the correct access ports. However, when you ping the IRB.10 address from the switch itself, it fails. You suspect that the issue might be that the IRB interface is not 'up'. Which command would you use to quickly verify the operational status of the IRB interface?

A.show interfaces terse irb.10
B.show ethernet-switching table
C.show configuration interfaces irb.10
D.show vlan
AnswerA

The 'show interfaces terse irb.10' command provides a concise operational summary of the IRB interface, displaying its link state (up/down), protocol status, and the assigned IP address in a single line. This is the correct command because it directly verifies both the operational and protocol state of the IRB, which is essential for confirming that the L3 gateway is active. Unlike configuration commands, it reflects the current runtime status, including whether the underlying VLAN is active and associated with a physical port.

Why this answer

`show interfaces terse irb.10` displays the operational status (up/down) of the IRB interface along with its configured IP address. Since the issue is that the IRB interface may not be 'up', this command quickly confirms whether the interface is operationally active, which is essential for Layer 3 forwarding.

Exam trap

The trap here is that candidates often check the configuration (`show configuration`) assuming it reflects the operational state, but Junos separates configuration from operational status, so a correctly configured IRB can still be down due to missing VLAN association or no active member ports.

How to eliminate wrong answers

Option B is wrong because `show ethernet-switching table` displays MAC address-to-VLAN mappings for Layer 2 forwarding, not the operational status of IRB interfaces. Option C is wrong because `show configuration interfaces irb.10` only shows the configured (intended) settings, not the current operational state; the interface could be configured but still down. Option D is wrong because `show vlan` displays VLAN membership and associated interfaces but does not show the operational status of IRB interfaces or their IP addresses.

6
MCQmedium

While in configuration mode, an engineer types 'show' and sees a different output than when typing 'run show configuration'. Why?

A.'show' shows the active configuration; 'run show configuration' shows the candidate.
B.'show' shows the candidate configuration; 'run show configuration' shows the active configuration.
C.Both commands produce identical output.
D.'run show configuration' is not allowed from configuration mode.
AnswerB

This option correctly describes the behavior of the two commands. Junos maintains two separate configuration databases: the candidate configuration, which holds all uncommitted changes made in configuration mode, and the active configuration, which represents the last committed state that is actually in effect. Typing 'show' in configuration mode displays the candidate configuration, complete with pending modifications. 'run show configuration' invokes the operational command 'show configuration' from inside configuration mode, thereby displaying the active configuration. This distinction is essential for verifying changes before committing.

Why this answer

In Junos, when you are in configuration mode and type 'show', it displays the candidate configuration (the changes you have made but not yet committed). The command 'run show configuration' executes the operational-mode command 'show configuration' from within configuration mode, which displays the active (committed) configuration. Therefore, option B correctly identifies that 'show' shows the candidate configuration and 'run show configuration' shows the active configuration.

Exam trap

The trap here is that candidates often confuse the behavior of 'show' in configuration mode with the operational-mode 'show configuration' command, mistakenly thinking both display the same configuration or that 'show' always shows the active configuration.

How to eliminate wrong answers

Option A is wrong because it reverses the roles: 'show' shows the candidate configuration, not the active configuration, and 'run show configuration' shows the active configuration, not the candidate. Option C is wrong because the two commands produce different outputs: 'show' displays the candidate configuration (which may include uncommitted changes), while 'run show configuration' displays the active (committed) configuration. Option D is wrong because 'run show configuration' is allowed from configuration mode; the 'run' command is specifically designed to execute operational-mode commands while in configuration mode.

7
MCQeasy

A router has an OSPF route to 10.10.10.0/24 with preference 10 and a static route to the same prefix with preference 5. Which route is active in the routing table?

A.The OSPF route
B.The static route
C.Neither route
D.Both routes
AnswerB

The static route is correctly identified as the active route because Junos assigns it a default preference of 5, which is lower than OSPF's default of 10. A lower preference value indicates a more trustworthy route, so the static route wins the route selection process. Consequently, the static route is installed in both the routing table (inet.0) and the forwarding table, and it will be used for packet forwarding. If the static route is later removed, OSPF can take over, but as long as both exist, the static route remains preferred.

Why this answer

In Junos, the active route in the routing table is determined by the route preference (administrative distance). A lower preference value indicates a more trusted route. Here, the static route has a preference of 5, which is lower than the OSPF route's preference of 10, so the static route is preferred and becomes active.

Exam trap

The trap here is that candidates familiar with Cisco's administrative distance (where OSPF is 110 and static is 1) might assume OSPF is preferred, but Junos uses lower preference values to indicate higher trust, and static routes default to 5, which is lower than OSPF's 10.

How to eliminate wrong answers

Option A is wrong because OSPF has a default preference of 10, which is higher than the static route's preference of 5, so the OSPF route is not selected. Option C is wrong because one route must be active; the router will always choose the route with the lowest preference for a given prefix. Option D is wrong because Junos installs only the best (lowest preference) route into the forwarding table; both routes cannot be active simultaneously.

8
MCQmedium

An engineer needs to add a set of configuration parameters to a group that can be inherited by multiple interfaces. Which configuration element should be used?

A.prefix lists
B.set default
C.configuration groups with apply-groups
D.load merge
AnswerC

Configuration groups are the correct Junos mechanism for defining reusable configuration blocks. You define named groups under the 'groups' hierarchy, then reference them with 'apply-groups' at any hierarchy level where you want the group's parameters to be inherited. When the configuration is evaluated, Junos merges the group's settings into the active configuration, and changes to the group automatically propagate to all points that apply it. This is distinct from one-time load operations or routing-policy filters, and it also supports 'apply-groups-except' to exclude specific groups below a certain level for granular control.

Why this answer

Configuration groups with apply-groups allow you to define a set of configuration parameters in a named group and then apply that group to multiple interfaces (or other hierarchy levels) using the 'apply-groups' statement. This enables inheritance and reduces repetitive configuration, which is the exact requirement in the question.

Exam trap

The trap here is that candidates may confuse 'load merge' (a file operation) with a configuration inheritance mechanism, or think 'set default' is a valid command for setting default interface parameters, when in fact Junos uses 'apply-groups' for this purpose.

How to eliminate wrong answers

Option A is wrong because prefix lists are used for route filtering (e.g., in routing policy) and cannot be inherited by interfaces as configuration parameters. Option B is wrong because 'set default' is not a valid Junos configuration element; the correct term for setting default values is 'apply-default' or using default configuration groups, but 'set default' does not exist. Option D is wrong because 'load merge' is a command used to merge a configuration file into the active configuration, not a mechanism for defining reusable, inheritable configuration groups.

9
MCQeasy

An engineer wants to revert all uncommitted changes in the candidate configuration and start fresh from the currently active configuration. Which command should be used?

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

In Junos, `rollback 0` directly loads the most recently committed configuration into the candidate configuration, discarding any uncommitted edits or staged changes. This makes the candidate an exact mirror of the active, running configuration without modifying that active configuration until a subsequent commit. It is the standard, intended way to revert all uncommitted changes while preserving the currently effective operational state.

Why this answer

The `rollback 0` command reverts all uncommitted changes in the candidate configuration and restores it to match the currently active configuration (the one most recently committed). This is because Junos stores the last 50 committed configurations, with index 0 always representing the active configuration. Using `rollback 0` effectively discards any uncommitted edits and starts fresh from the last committed state.

Exam trap

The trap here is that candidates often confuse `rollback 0` with `rollback 1`, mistakenly thinking that `rollback 1` reverts uncommitted changes, when in fact `rollback 1` reverts to the configuration before the last commit, not the current active configuration.

How to eliminate wrong answers

Option B is wrong because `commit check` only validates the syntax and semantics of the candidate configuration without committing it; it does not revert any changes. Option C is wrong because `rollback 1` reverts to the configuration that was active before the most recent commit (the previous committed version), not to the currently active configuration. Option D is wrong because `load override terminal` replaces the entire candidate configuration with text entered via the terminal, but it does not automatically revert to the active configuration; it requires manual input and is not a simple undo of uncommitted changes.

10
MCQmedium

A network engineer is designing a redundant network using RSTP. For faster convergence, what is the recommended method to avoid waiting for the forward delay timer?

A.Configure interfaces connected to end hosts as edge ports.
B.Manually specify the root bridge and root port.
C.Use link aggregation to bundle multiple links.
D.Increase the hello timer to speed up BPDU exchange.
AnswerA

Configuring interfaces connected to end hosts as edge ports allows them to bypass the Spanning Tree Protocol's listening and learning states and immediately transition to forwarding state. Because no switch or bridge connects to an edge port, there is no risk of a Layer 2 topology loop, so STP convergence delay is completely eliminated for those ports. This is a standard practice in access-layer design and is a key part of Rapid Spanning Tree Protocol (RSTP)/802.1w optimization, as edge ports also send BPDUs immediately when a new device is attached.

Why this answer

RSTP (Rapid Spanning Tree Protocol, IEEE 802.1w) achieves faster convergence by eliminating the listening and learning states for edge ports. Configuring interfaces connected to end hosts as edge ports allows them to transition directly to the forwarding state without waiting for the forward delay timer (default 15 seconds), because no BPDUs are expected on those ports and no loop can form.

Exam trap

The trap here is that candidates often confuse the forward delay timer with the hello timer or think that manually setting the root bridge speeds up convergence, but RSTP's edge port configuration is the only method that directly avoids the forward delay wait.

How to eliminate wrong answers

Option B is wrong because manually specifying the root bridge and root port influences the topology but does not bypass the forward delay timer; RSTP still requires the timer for non-edge ports to ensure loop-free convergence. Option C is wrong because link aggregation (LAG) bundles multiple links into a single logical link, which is treated as one port by spanning tree, but it does not eliminate the forward delay timer for that logical port. Option D is wrong because increasing the hello timer (default 2 seconds) would slow down BPDU exchange, not speed it up, and the hello timer does not control the forward delay timer; the forward delay timer is independent and used for state transitions.

11
MCQeasy

A network engineer is troubleshooting a connectivity issue and wants to see the active routes in the routing table. Which Junos CLI command should they use?

A.show log messages
B.show configuration
C.show interface
D.show route
AnswerD

The 'show route' command is the correct tool for troubleshooting a connectivity issue because it displays the active routing table, including all routes learned from each routing protocol, with their next-hop addresses and preference values. It allows an engineer to verify whether a destination is reachable, which route is being used, and why that route was selected. This command directly answers whether the router has a valid forwarding path to the target network.

Why this answer

The 'show route' command displays the active routing table entries, including directly connected, static, and dynamic routes learned via protocols like OSPF, BGP, or IS-IS. This is the correct command to view the active routes the device uses for forwarding traffic.

Exam trap

The trap here is that candidates familiar with Cisco IOS might confuse 'show ip route' with Junos's 'show route' but incorrectly choose 'show configuration' thinking it shows routing information, or 'show interface' thinking it shows connected routes, when only 'show route' provides the complete active routing table.

How to eliminate wrong answers

Option A is wrong because 'show log messages' displays system log messages (syslog) for troubleshooting events, not the routing table. Option B is wrong because 'show configuration' displays the current configuration, not the operational routing table. Option C is wrong because 'show interface' displays interface status and statistics, not routing information.

12
MCQhard

A network operator needs to upgrade the Junos OS on the backup RE (re1) of a dual-RE system. Which procedure ensures that only the backup RE is upgraded and rebooted without affecting the forwarding plane?

A.Use 'request system software add <image> re1' and then 'request system reboot re1'
B.Use 'request system software add <image> both' and then 'request system reboot both'
C.Use 'request system software add <image> re0' and then 'request system reboot re0'
D.Copy the image to both REs and reboot the backup RE with 'request system reboot slice 1'
AnswerA

Targeting re1 with the 're1' keyword ensures the image is installed only on the backup Routing Engine, leaving the active primary RE untouched. Rebooting re1 restarts only that RE; the primary continues handling forwarding and control traffic, so there is no service interruption. After re1 returns online as standby, it is ready to assume primary role in a later switchover, which is the correct maintenance procedure.

Why this answer

The 'request system software add <image> re1' command installs the Junos OS image only on the backup Routing Engine (RE1), and the subsequent 'request system reboot re1' reboots only that RE. In a dual-RE system, this procedure isolates the upgrade to the backup RE, ensuring the forwarding plane remains active on the primary RE (RE0) and no traffic disruption occurs.

Exam trap

The trap here is that candidates may confuse the 'both' option with a safe upgrade method, not realizing it reboots both REs simultaneously and disrupts traffic, or they may incorrectly assume that copying the image manually and using a non-existent 'slice' command is a valid procedure.

How to eliminate wrong answers

Option B is wrong because 'request system software add <image> both' and 'request system reboot both' upgrade and reboot both REs simultaneously, which would disrupt the forwarding plane by causing a full system outage. Option C is wrong because 'request system software add <image> re0' and 'request system reboot re0' target the primary RE, which would interrupt the forwarding plane and potentially cause a traffic loss. Option D is wrong because 'request system reboot slice 1' is not a valid Junos command for rebooting a specific RE; the correct syntax uses 're0' or 're1' to specify the Routing Engine, and copying the image to both REs without using the proper 'request system software add' command does not ensure a controlled upgrade.

13
Multi-Selectmedium

Which TWO commands can be used to view the current active configuration on a Junos device? (Choose two.)

Select 2 answers
A.show configuration | display set
B.show system configuration
C.show configuration
D.show | compare
E.show interfaces
AnswersA, C

The 'show configuration' command, when executed from operational mode, displays the complete active configuration in hierarchical format. Adding the '| display set' filter converts that output into a flat sequence of 'set' commands, one per configured leaf value. This is the authoritative representation of the current active configuration, and the set-format output is particularly useful for scripting, auditing, and reproducibly applying configuration to another device.

Why this answer

Option C, `show configuration`, is correct because it displays the active configuration in Junos's hierarchical (curly-brace) format, which is the standard way to view the currently committed configuration. Option A, `show configuration | display set`, is also correct because it renders that same active configuration as flat `set` commands, which is useful for viewing or copying the configuration in a script-friendly form. Both commands read the committed active configuration, so they satisfy the requirement.

Option B, `show system configuration`, is not a valid Junos operational command for displaying the configuration. Option D, `show | compare`, only shows the difference between the candidate configuration and the active configuration (a diff), not the full active configuration. Option E, `show interfaces`, displays interface status and statistics rather than the device configuration.

Exam trap

The trap here is that candidates confuse 'show configuration' with 'show system configuration' (which does not exist) or mistakenly think 'show | compare' shows the active configuration, when it actually shows differences between configurations.

14
MCQmedium

A user wants to discard all uncommitted changes and return to the last committed configuration without exiting configuration mode. Which command should they use?

A.rollback 0
B.load override
C.reload
D.commit check
AnswerA

rollback 0 is the correct command because it copies the active (committed) configuration into the candidate configuration, removing any uncommitted edits on the fly. It operates entirely within configuration mode and does not reboot the device or alter the running configuration, making it the standard way to abandon all pending changes since the last commit.

Why this answer

'rollback 0' discards all uncommitted changes and reverts the candidate configuration to the last committed configuration, all while staying in configuration mode. In Junos, rollback 0 specifically refers to the most recently committed configuration, making it the exact command to undo uncommitted edits without exiting.

Exam trap

The trap here is that Cisco engineers often confuse 'reload' (a Cisco command to reboot) with Junos 'rollback', or mistakenly think 'load override' is the correct way to revert to the last committed configuration, when in fact 'load override' requires a specific file and does not automatically target the last committed state.

How to eliminate wrong answers

Option B is wrong because 'load override' replaces the entire candidate configuration with the contents of a specified file, but it does not automatically revert to the last committed configuration; it loads whatever file is specified, which may not be the last committed one. Option C is wrong because 'reload' is not a valid Junos command; it is a Cisco IOS command that reboots the device, not something used to discard uncommitted changes in configuration mode. Option D is wrong because 'commit check' validates the syntax of the candidate configuration without committing it; it does not discard any changes, so uncommitted edits remain in place.

15
MCQmedium

A technician is troubleshooting a routing issue and needs to see real-time updates of BGP prefixes being received. Which command should be used?

A.monitor route bgp
B.monitor traffic interface ge-0/0/0
C.show route advertising-protocol bgp
D.show route protocol bgp
AnswerA

The 'monitor route bgp' command is the correct choice because it subscribes to the BGP Routing Information Base (RIB) and prints route add, change, and withdrawal events in real time. Unlike static show commands, it remains active until you stop it, making it the only option that provides continuous, dynamic monitoring of BGP route changes for live troubleshooting.

Why this answer

The 'monitor route bgp' command in Junos OS provides a real-time, continuously updated view of BGP routes as they are learned or withdrawn. Unlike static show commands, this monitor command refreshes the output dynamically, making it ideal for observing live BGP prefix updates during troubleshooting.

Exam trap

The trap here is that candidates familiar with Cisco IOS often expect a 'debug ip bgp updates' equivalent, but Junos uses 'monitor route bgp' for real-time BGP route updates, while 'monitor traffic' is for packet-level analysis, not routing protocol events.

How to eliminate wrong answers

Option B is wrong because 'monitor traffic interface ge-0/0/0' captures raw packet headers on the interface, not BGP route table updates; it shows traffic flows, not routing protocol prefix changes. Option C is wrong because 'show route advertising-protocol bgp' displays routes that the local router is advertising to a specific BGP peer, not routes being received in real time. Option D is wrong because 'show route protocol bgp' shows a static snapshot of the current BGP route table, not a live, updating feed of incoming prefixes.

16
Multi-Selecthard

Which TWO statements are true about commit operations in Junos? (Choose two.)

Select 2 answers
A.The rollback 0 command will cause a system reboot.
B.The commit command requires the candidate configuration to be syntactically correct.
C.The commit confirmed command will automatically revert to the previous configuration if not confirmed within the default 10 minutes.
D.The commit check command applies the configuration to the running system.
E.The commit at command is used to schedule a system reboot.
AnswersB, C

The commit command in Junos performs a syntactic and, in some cases, semantic validation of the candidate configuration before it is activated. If the candidate contains syntax errors, the commit fails and the active configuration remains unchanged, preventing the device from being put into an invalid state. Thus, the requirement that the candidate be syntactically correct is a fundamental safeguard of the commit operation.

Why this answer

Option B is correct because the commit command validates the candidate configuration for syntax and semantic errors before merging it into the active configuration; if the candidate is not syntactically correct, the commit fails and the running configuration remains unchanged. Option C is correct because commit confirmed activates the candidate configuration on a trial basis and, if the operator does not issue a confirming commit within the default 10-minute window, Junos automatically rolls back to the previously active configuration. Option A is wrong because rollback 0 loads the last committed (active) configuration into the candidate, it does not reboot the device.

Option D is wrong because commit check only validates the candidate configuration for syntax and commit-time errors without applying it to the running system. Option E is wrong because commit at schedules a configuration commit at a specified time, not a system reboot.

Exam trap

The trap here is confusing `commit confirmed` with a simple commit, or assuming that `rollback 0` triggers a reboot, which is a common misconception from other network operating systems where rollback might involve a reload.

17
Multi-Selectmedium

Which THREE actions can be performed in operational mode on a Junos device?

Select 3 answers
A.Commit configuration changes
B.Ping a remote host
C.Configure interface IP addresses
D.View system logs
E.Reboot the chassis
AnswersB, D, E

Pinging a remote host is a standard operational-mode command in Junos, executed as 'ping <address>' from the CLI's operational prompt (user@router>). It sends ICMP echo requests and displays round-trip statistics without changing any system state. Because it performs a connectivity test rather than a configuration change, it is correctly classified as an operational action.

Why this answer

In Junos, operational mode is the CLI mode entered after login (prompt user@host>), used for monitoring and controlling device state. Option B (Ping a remote host) is correct because the ping command is an operational-mode command used to test reachability to a remote host. Option D (View system logs) is correct because operational mode provides commands such as show log messages to inspect system log files.

Option E (Reboot the chassis) is correct because the request system reboot command is executed from operational mode to restart the device. Options A and C are not operational-mode actions: committing configuration changes (commit) and configuring interface IP addresses (set interfaces ...) are performed in configuration mode, which is entered with the configure command.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly think that configuration commands like 'commit' or 'set interface' can be executed in operational mode, but Junos strictly enforces the separation between operational and configuration modes.

18
MCQmedium

A router has two routes to the same destination: one with preference 10 and metric 5, and another with preference 15 and metric 3. Which route will be installed in the forwarding table?

A.The route with preference 10.
B.The route with metric 3.
C.Neither route is installed.
D.Both routes are installed if ECMP is enabled.
AnswerA

Junos evaluates preference before metric, so the route with preference 10 wins even though its metric of 5 is worse than the alternative's 3. Metric only breaks ties between routes of equal preference, so the lower-preference route is never compared and the preference-10 route enters the forwarding table.

Why this answer

In Junos, the route preference (administrative distance) is the primary criterion for selecting the best route to a destination. The route with preference 10 is preferred over the route with preference 15, regardless of metric values. The route with preference 10 is installed in the forwarding table.

Exam trap

The trap here is that candidates often confuse metric with preference, assuming a lower metric always wins, but Junos prioritizes preference over metric in route selection.

How to eliminate wrong answers

Option B is wrong because metric is only used as a tiebreaker when preferences are equal; a lower metric (3) does not override a higher preference (15). Option C is wrong because one route will always be installed when there are valid routes to the same destination, unless both are rejected by policy or have the same preference and metric with ECMP disabled. Option D is wrong because ECMP (Equal-Cost Multipath) requires routes to have equal preference and equal metric; here preferences differ (10 vs 15), so ECMP does not apply.

19
MCQeasy

A Juniper device has multiple candidate configurations loaded. The administrator wants to discard all uncommitted changes and revert to the last committed configuration. Which command should be used?

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

The `rollback 0` command reverts the candidate configuration to the last committed configuration by loading revision 0 from the configuration history, which always represents the most recently committed state. This directly satisfies the requirement to discard all uncommitted changes without affecting previously committed configurations, as rollback numbers increment with each commit and 0 is the fixed reference for the last committed configuration.

Why this answer

The 'rollback 0' command reverts the candidate configuration to the last committed configuration, discarding all uncommitted changes. In Junos, the rollback command uses a numeric index where 0 always refers to the most recently committed configuration, effectively undoing any uncommitted edits.

Exam trap

The trap here is that candidates may confuse 'rollback 0' with 'rollback 1', thinking 0 means 'no rollback' or that a higher number is needed to revert changes, when in fact 0 discards uncommitted edits and 1 reverts the last commit.

How to eliminate wrong answers

Option B is wrong because 'delete configuration' is not a valid Junos command; the correct approach to remove configuration is using 'delete' within configuration mode for specific statements, not a global delete. Option C is wrong because 'clear configuration' is not a valid Junos command; 'clear' is used for operational tasks like clearing counters or logs, not for reverting configuration. Option D is wrong because 'load override terminal' is used to replace the entire candidate configuration with text pasted from the terminal, but it does not revert to the last committed configuration; it loads new configuration from scratch.

20
MCQeasy

An engineer has modified the configuration and wants to apply changes but also wants to verify that the changes are syntactically correct before committing. What command should the engineer use?

A.rollback
B.commit confirmed
C.commit check
D.commit
AnswerC

The 'commit check' command validates the syntax, semantics, and consistency of the candidate configuration against the Junos schema without activating it. It reports errors such as invalid statements, missing mandatory parameters, or referencing non-existent interfaces, but it never modifies the running configuration. Because the engineer wants to apply the modified configuration, commit check is the correct first step to ensure the changes are valid before performing an actual commit, but note that it does not itself apply the configuration—it only verifies it.

Why this answer

The `commit check` command validates the candidate configuration for syntax errors without activating it. This allows the engineer to verify that the changes are syntactically correct before committing, ensuring the configuration is valid and reducing the risk of committing a broken configuration.

Exam trap

The trap here is that candidates confuse `commit check` with `commit confirmed`, thinking both validate syntax, but `commit confirmed` actually commits the configuration and relies on a rollback timer, not a pre-commit syntax check.

How to eliminate wrong answers

Option A is wrong because `rollback` reverts the candidate configuration to a previously committed configuration, not to validate syntax. Option B is wrong because `commit confirmed` commits the configuration but automatically rolls back after a timeout if not confirmed, which does not verify syntax before committing. Option D is wrong because `commit` applies the candidate configuration immediately without any prior syntax validation, which could activate a faulty configuration.

21
MCQeasy

A network administrator is troubleshooting high latency on a link. Which command provides real-time interface statistics?

A.show interfaces extensive
B.monitor interface traffic
C.show interfaces terse
D.show log messages
AnswerB

This is the correct choice because it provides a continuously updating, real-time display of bandwidth utilization (in bps) and packet counts (in pps) for the selected interface, refreshing at a configurable interval (typically every second). High latency is often caused by transient congestion or traffic spikes, which only a live view can reveal effectively. The command samples the interface's current rate and presents it in a dynamic table, enabling the administrator to correlate latency symptoms with immediate traffic patterns.

Why this answer

The 'monitor interface traffic' command provides real-time, continuously updating statistics for interface traffic, including packet counts and error rates, which is essential for diagnosing high latency as it allows the administrator to observe changes in real time. Unlike static commands, this dynamic output refreshes automatically, making it ideal for troubleshooting transient issues.

Exam trap

The trap here is that candidates often choose 'show interfaces extensive' because it provides detailed statistics, but they overlook that it is a static snapshot rather than a real-time monitoring tool, which is explicitly required by the question.

How to eliminate wrong answers

Option A is wrong because 'show interfaces extensive' displays detailed but static interface information, including counters and errors, but does not provide real-time updates; it requires manual re-entry to see changes. Option C is wrong because 'show interfaces terse' shows a brief, one-line summary of interface status and configuration, lacking traffic statistics or real-time monitoring capability. Option D is wrong because 'show log messages' displays system log messages, which are event-driven and not focused on real-time interface statistics; it may show link flaps or errors but not continuous traffic data.

22
MCQeasy

A network administrator needs to remove all configuration changes made since the last commit without affecting the current active configuration. Which command should be used?

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

The `rollback 0` command precisely addresses the requirement to discard uncommitted changes. When executed in configuration mode, it reverts the *candidate configuration* to the state of the *last committed configuration*. This action effectively removes all modifications made since the previous commit without impacting the *active configuration* currently running on the device. The active configuration remains unaffected because `rollback 0` operates solely on the pending configuration, ensuring operational stability.

Why this answer

The `rollback 0` command reverts the candidate configuration to the currently active committed configuration, discarding all uncommitted changes without affecting the active configuration. This is the correct way to undo all modifications made since the last commit while keeping the running configuration intact.

Exam trap

The trap here is confusing `rollback 0` with `rollback 1`; candidates often think rollback 1 reverts to the last committed state, but rollback 0 is the correct way to discard uncommitted changes while preserving the active configuration.

How to eliminate wrong answers

Option A is wrong because `rollback 1` reverts to the configuration from the previous commit, not the current active configuration, and would discard the last committed changes. Option B is wrong because `deactivate` only disables a specific configuration statement or hierarchy, it does not remove all uncommitted changes. Option D is wrong because `delete` removes specific configuration statements from the candidate configuration, but it does not revert all uncommitted changes in a single operation.

23
MCQhard

A host in VLAN 10 can ping a host in VLAN 20 without a default gateway configured. What feature is likely enabled on the router that interconnects the VLANs?

A.VLAN translation is configured on the trunk
B.Proxy ARP
C.IP routing is enabled on the router
D.Dynamic ARP Inspection
AnswerB

Proxy ARP enables the router to reply to ARP requests for IP addresses that are actually in other subnets, providing its own MAC address as the next hop. This makes the host believe the remote host is directly reachable, so it sends frames to the router, which then routes them to VLAN 20. This gives the host a path to the remote subnet without requiring a default gateway configuration, which is exactly why it works here.

Why this answer

Proxy ARP allows a router to respond to ARP requests on behalf of hosts in different subnets. When a host in VLAN 10 sends an ARP request for a host in VLAN 20, the router responds with its own MAC address if it has a route to the destination. This enables the host to send traffic to the router, which then forwards it to the destination VLAN, even without a default gateway configured on the host.

Exam trap

The trap here is that candidates often assume IP routing alone is sufficient for inter-VLAN communication, forgetting that hosts must have a default gateway or use proxy ARP to send traffic outside their local subnet.

How to eliminate wrong answers

Option A is wrong because VLAN translation modifies VLAN IDs on trunk links and does not enable inter-VLAN communication without a default gateway; it simply maps one VLAN tag to another. Option C is wrong because IP routing is a prerequisite for any inter-VLAN communication, but it alone does not allow a host to reach a different subnet without a default gateway—the host must still know where to send packets. Option D is wrong because Dynamic ARP Inspection (DAI) is a security feature that validates ARP packets to prevent spoofing; it does not facilitate routing or proxy ARP responses.

24
MCQhard

A network administrator needs to temporarily disable a set of configuration statements for testing without deleting them. Which approach should be used?

A.use the 'deactivate' command to mark the statements inactive
B.delete the statements and later re-add from a backup
C.comment out the lines using #
D.set the configuration to a different group and remove apply-groups
AnswerA

The 'deactivate' command is the Junos-native method for temporarily disabling a statement or hierarchy from the active configuration. It prepends an 'inactive:' marker to the statement in the candidate configuration, so the configuration text remains fully intact and editable, but the statement is ignored during commit. This allows you to quickly re-enable the configuration with the 'activate' command without re-entering it, and it can be applied to any hierarchy level, from a single parameter to an entire protocol stanza.

Why this answer

The 'deactivate' command in Junos allows an administrator to temporarily disable a set of configuration statements without removing them from the configuration. When a statement is deactivated, it is prefixed with 'inactive:' in the configuration hierarchy, and the commit operation ignores it. This is ideal for testing changes, as the statements can be easily re-enabled using the 'activate' command.

Exam trap

The trap here is that candidates familiar with Cisco IOS may assume that commenting out lines with '!' or '#' is a valid method, but Junos uses a structured hierarchy and requires the 'deactivate' command for temporary disabling.

How to eliminate wrong answers

Option B is wrong because deleting configuration statements and later re-adding them from a backup is error-prone, time-consuming, and does not provide a simple toggle mechanism for testing. Option C is wrong because Junos does not support using '#' to comment out configuration lines; the '#' character is used for comments in shell scripts, not in the Junos configuration hierarchy. Option D is wrong because setting the configuration to a different group and removing apply-groups is a complex workaround that affects the entire group configuration and is not a direct method for temporarily disabling individual statements.

25
MCQhard

While in configuration mode, an administrator wants to see the difference between the candidate configuration and the active configuration. Which command accomplishes this?

A.show configuration
B.run show configuration
C.show | compare
D.show system commit
AnswerC

`show | compare` pipes the candidate configuration through Junos's comparison filter, displaying a diff against the active configuration. The pipe operator applies the comparison to the current candidate, satisfying the requirement to view pending changes before commit. Other `show` variants display committed state only, revealing no delta.

Why this answer

The 'show | compare' command, when executed in configuration mode, displays the differences between the candidate configuration and the active (committed) configuration. This pipe filter compares the current candidate configuration against the last committed configuration, highlighting additions, deletions, and changes, which is the exact requirement for seeing the difference.

Exam trap

The trap here is that candidates confuse 'show configuration' (which shows the full candidate config) with 'show | compare' (which shows only the differences), or they mistakenly think 'run show configuration' provides a diff, when it simply runs the same full-config display command from operational mode.

How to eliminate wrong answers

Option A is wrong because 'show configuration' in configuration mode displays the entire candidate configuration, not the difference between candidate and active configurations. Option B is wrong because 'run show configuration' executes the operational mode command 'show configuration' from within configuration mode, which also shows the full candidate configuration, not a comparison. Option D is wrong because 'show system commit' displays the commit history (list of past commits with timestamps and IDs), not a diff between candidate and active configurations.

26
MCQhard

A company runs a Juniper SRX firewall cluster consisting of two nodes (node0 primary, node1 secondary). The cluster has been stable. During maintenance, you modify the configuration on node0 and commit. After the commit, the cluster status shows node1 as 'ineligible'. You suspect a configuration mismatch. What should you do to synchronize the configuration without disrupting traffic?

A.On the primary node, execute 'commit synchronize'.
B.Reboot both nodes to force synchronization.
C.Manually copy the configuration file from primary to secondary.
D.On the secondary node, execute 'commit synchronize'.
AnswerA

On the primary node, execute 'commit synchronize' is the correct approach because in a Juniper chassis cluster, the primary node is the sole controller that can propagate configuration changes to its cluster peer. This command commits the local configuration and then replicates that same candidate configuration to the secondary node over the control link, followed by a commit on both nodes. Without specifying 'synchronize', a normal commit only updates the node on which it is executed, so this is the definitive way to ensure both nodes run identical configurations.

Why this answer

The 'commit synchronize' command on the primary node (node0) pushes the active configuration to the secondary node (node1) and commits it on both nodes, ensuring configuration consistency without requiring a reboot or traffic disruption. In a Juniper SRX cluster, the primary node is the authoritative source for configuration synchronization, and this command is the standard method to resolve a configuration mismatch that causes a node to become 'ineligible'.

Exam trap

The trap here is that candidates may think the secondary node can initiate synchronization (option D) or that a manual file copy (option C) is acceptable, but Juniper clusters require the primary to be the source of truth for configuration synchronization to maintain cluster integrity and avoid split-brain scenarios.

How to eliminate wrong answers

Option B is wrong because rebooting both nodes is an unnecessary and disruptive action that would cause traffic loss; it does not directly synchronize the configuration and may not resolve the mismatch if the secondary's configuration remains out of sync. Option C is wrong because manually copying the configuration file from primary to secondary is not a supported or safe method in a cluster; it bypasses Junos's internal synchronization mechanisms and could lead to file corruption or cluster instability. Option D is wrong because executing 'commit synchronize' on the secondary node (node1) is ineffective; the secondary node cannot push its configuration to the primary, and the command would fail or not achieve synchronization since the primary is the authoritative source for cluster configuration.

27
MCQmedium

Refer to the exhibit. An administrator needs to ensure that all emergency (emerg) messages are logged to the console. Based on the configuration shown, which statement is correct?

A.Emergency messages are logged to the console only.
B.Emergency messages are logged to all destinations.
C.Emergency messages are logged only to the file 'messages'.
D.Emergency messages are logged only to the remote host.
AnswerB

Emergency messages are indeed logged to all destinations because each configured syslog target has a severity threshold that includes 'emerg'. The console's 'any warning' means it logs warning and everything more severe (emerg, alert, crit, err), the file 'messages' with 'any any' logs every severity including emerg, and the remote host with 'any critical' logs critical and above, which again includes emerg. Since all thresholds capture severity level 0, every destination receives emergency messages, making this the correct statement.

Why this answer

The configuration shown includes the 'any' facility and 'emerg' severity for the console, file, and remote host destinations. In JUNOS, when a severity level is set for a syslog destination, all messages of that severity and higher are logged. Since 'emerg' is the highest severity, it applies to all configured destinations, not just one.

Exam trap

The trap here is that candidates may assume that configuring 'emerg' for a specific destination limits logging to that destination, but in JUNOS, the severity level applies independently to each destination, and all destinations with that severity configured will receive the messages.

How to eliminate wrong answers

Option A is wrong because the configuration explicitly defines syslog destinations for console, file, and remote host, so emergency messages are not limited to the console only. Option C is wrong because the file destination is configured with 'any emerg', meaning emergency messages are logged to the file, but they are also logged to other destinations. Option D is wrong because the remote host is configured with 'any emerg', but emergency messages are not logged only to the remote host; they are logged to all destinations.

28
MCQhard

An engineer wants to apply a candidate configuration and automatically revert to the previous configuration after 10 minutes if the commit is not confirmed. Which command should be used?

A.commit confirmed 10
B.commit at 10
C.set system commit timer 10
D.commit check
AnswerA

The `commit confirmed 10` command commits the active candidate configuration immediately and starts a 10-minute rollback timer. If you do not issue a confirming commit (such as `commit confirm` or `commit`) before the timer expires, Junos automatically reverts to the previous configuration. This protects against remote device lockout by ensuring that an unconfirmed commit is undone, making it the correct way to apply a candidate config with an automatic safety rollback.

Why this answer

The `commit confirmed 10` command commits the candidate configuration and starts a 10-minute timer. If the commit is not explicitly confirmed with another `commit` command within that time, Junos automatically reverts to the previous configuration. This is the correct method for a timed automatic rollback after a commit.

Exam trap

The trap here is confusing the `commit confirmed` timer with the `commit at` scheduling feature, which sets an absolute time for a commit rather than a countdown for automatic rollback.

How to eliminate wrong answers

Option B is wrong because `commit at 10` schedules a commit to occur at the 10th minute of the hour, not a 10-minute confirmation timer. Option C is wrong because `set system commit timer 10` is not a valid Junos command; there is no such configuration statement. Option D is wrong because `commit check` only validates the syntax of the candidate configuration without committing it, so it cannot initiate a confirmed commit or automatic rollback.

29
Multi-Selectmedium

Which TWO statements about IPv4 addressing are correct?

Select 2 answers
A.A /24 subnet mask provides 256 usable host addresses.
B.The network 169.254.0.0/16 is used for link-local addressing.
C.The address 192.168.0.0/16 is a public address.
D.The address 10.0.0.0/8 is a public address.
E.The address 127.0.0.1 is a loopback address.
AnswersB, E

The 169.254.0.0/16 range is reserved for link-local addressing per RFC 3927. Devices automatically assign themselves an address in this range when they fail to obtain one from a DHCP server, enabling communication only within the local subnet. These addresses are not routable on the internet, and packets destined to them are confined to the local link.

Why this answer

Option B is correct because 169.254.0.0/16 is the APIPA (Automatic Private IP Addressing) range, reserved for link-local addressing when a host cannot obtain an address via DHCP. Option E is correct because 127.0.0.1 falls within the 127.0.0.0/8 loopback range, used by a host to send traffic to itself for testing the TCP/IP stack. Option A is incorrect because a /24 mask yields 256 total addresses but only 254 usable host addresses, since the network and broadcast addresses are reserved.

Option C is incorrect because 192.168.0.0/16 is part of the private RFC 1918 range, not a public address. Option D is incorrect because 10.0.0.0/8 is also an RFC 1918 private address block, not publicly routable.

30
MCQmedium

A network administrator is configuring a new interface and wants to ensure that the interface is enabled and can pass traffic. Which configuration element is required?

A.set interfaces ge-0/0/0 enable
B.set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
C.set interfaces ge-0/0/0 unit 0 family inet
D.set interfaces ge-0/0/0 disable
AnswerB

This command assigns an IPv4 address to unit 0 on ge-0/0/0, which automatically creates the logical interface and ties the inet address family to it. Once the address is committed, the interface is implicitly enabled and becomes operationally eligible to carry traffic. This is the correct minimal configuration for the task because it provides the required IP details and activates the interface without needing any additional 'enable' statement.

Why this answer

In Junos, an interface is administratively enabled by default (no explicit 'enable' command is needed), but to pass traffic it requires a logical unit with a configured protocol family and an IP address. The command 'set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24' creates unit 0, assigns the IPv4 address, and implicitly enables the interface for traffic forwarding. Without an address under a family, the interface cannot pass IP traffic even if it is administratively up.

Exam trap

The trap here is that candidates familiar with Cisco IOS may expect an explicit 'no shutdown' command (or an 'enable' keyword) to bring an interface up, but Junos interfaces are enabled by default, and the critical missing piece is the IP address under the logical unit, not an administrative enable command.

How to eliminate wrong answers

Option A is wrong because Junos does not have an 'enable' knob at the interface level; interfaces are administratively enabled by default, and the correct way to disable them is with 'disable'. Option C is wrong because 'set interfaces ge-0/0/0 unit 0 family inet' only enables the IPv4 protocol family on the logical unit but does not assign an IP address, so the interface cannot pass traffic (no local route or ARP entry is generated). Option D is wrong because 'set interfaces ge-0/0/0 disable' explicitly disables the interface, preventing it from passing any traffic, which is the opposite of the requirement.

31
MCQeasy

A network administrator wants to see the current CPU load average over the last 1, 5, and 15 minutes on a Juniper device. Which command displays this information?

A.show chassis routing-engine
B.show system uptime
C.show system processes
D.show system statistics
AnswerB

The `show system uptime` command is the correct way to view CPU load averages on Junos because its output begins with a `Load averages:` line that shows the 1-, 5-, and 15-minute averages. These three numbers indicate how many threads are runnable or waiting for I/O, providing a historical trend that a simple percentage cannot capture. The command also shows system uptime, time, and active users, but the load average is the key field for this question.

Why this answer

The 'show system uptime' command displays the system's uptime along with the load averages for the last 1, 5, and 15 minutes. This is the standard Junos command for viewing CPU load averages, which are calculated based on the number of processes in the run queue over those time intervals.

Exam trap

The trap here is that candidates often confuse 'show chassis routing-engine' (which shows current CPU utilization) with the load average command, not realizing that load averages are a separate time-weighted metric displayed by 'show system uptime'.

How to eliminate wrong answers

Option A is wrong because 'show chassis routing-engine' displays the status and resource utilization of the Routing Engine (including CPU and memory), but it does not show the load average over 1, 5, and 15 minutes; it shows current CPU utilization percentage. Option C is wrong because 'show system processes' lists all running processes with their PID, memory, and CPU usage, but it does not aggregate the load average over time intervals. Option D is wrong because 'show system statistics' displays various system-wide counters and statistics (e.g., packet counts, memory usage), but it does not include CPU load averages.

32
MCQeasy

A user wants to ensure that a configuration change is applied across both Routing Engines in a dual-RE system. Which command must be used?

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

commit synchronize is the correct command because it commits the candidate configuration on both Routing Engines in a single operation. The Junos OS first performs the commit on the local RE and then pushes the same configuration to the standby RE, verifying that both accept the change. This ensures configuration consistency across the control planes, which is essential for hitless failover and smooth operation in a dual-RE chassis.

Why this answer

The 'commit synchronize' command applies the candidate configuration to both Routing Engines simultaneously in a dual-RE system. This ensures configuration consistency across the master and backup RE, which is critical for high availability and seamless failover in Junos.

Exam trap

The trap here is that candidates often confuse 'commit synchronize' with 'commit full' or 'commit confirmed', assuming any commit command applies to both REs, but only 'commit synchronize' explicitly ensures dual-RE consistency.

How to eliminate wrong answers

Option A is wrong because 'commit and-quit' is used to commit the configuration and exit the configuration mode, but it does not synchronize changes to the backup RE. Option B is wrong because 'commit confirmed' is used to roll back a commit automatically if not confirmed within a specified time (for safe testing), not for synchronizing across REs. Option C is wrong because 'commit full' forces a full commit of the entire configuration, but it does not inherently synchronize to the backup RE; it is used to rebuild the configuration database from scratch.

33
MCQmedium

A static route is configured with next-hop 10.0.0.1, but the route does not appear in the routing table. The interface ge-0/0/0 has IP 192.168.1.2/24 and is up. What is the most likely reason?

A.The static route has a preference of 5.
B.The route is hidden due to an import policy.
C.The static route is configured with the 'discard' option.
D.The next-hop IP is not on a directly connected subnet.
AnswerD

For a static route with an IP next hop to be installed in the Junos routing table, that next hop must be directly reachable via one of the router's connected interfaces. If 10.0.0.1 does not belong to any subnet configured on the router, the route cannot resolve the next-hop MAC address and remains hidden. Without the 'resolve' option, Junos does not perform recursive lookup, so the route is not installed; this matches the symptom exactly.

Why this answer

D is correct because Junos requires the next-hop IP of a static route to be reachable via a directly connected subnet for the route to be installed in the routing table. Since the next-hop 10.0.0.1 is not on the same subnet as the interface ge-0/0/0 (192.168.1.2/24), the route remains hidden and does not appear in the routing table.

Exam trap

The trap here is that candidates often assume any IP address can be used as a next-hop for a static route, but Junos strictly enforces that the next-hop must be on a directly connected subnet unless recursive resolution is explicitly configured.

How to eliminate wrong answers

Option A is wrong because a preference of 5 is actually lower (more preferred) than the default static route preference of 5, so it would not prevent the route from appearing; in fact, it would make it more likely to be installed. Option B is wrong because import policies affect routes learned from routing protocols, not locally configured static routes; static routes are not subject to import policies unless explicitly filtered with an export policy on the forwarding table. Option C is wrong because the 'discard' option would still install the route in the routing table as a discard route (with next-hop 'discard'), not hide it entirely.

34
MCQeasy

A network engineer notices that a device is not sending SNMP traps to the NMS. Which operational command should be used to verify SNMP configuration?

A.show system uptime
B.show route
C.show snmp
D.show interfaces terse
AnswerC

The 'show snmp' command is the correct diagnostic tool on Junos devices for verifying SNMP configuration and operation. It displays whether the SNMP agent is enabled, configured trap groups, target addresses, community strings, and various SNMP statistics. This command directly shows why a device might not send traps, such as missing trap-group definitions, incorrect targets, or an explicitly disabled SNMP service.

Why this answer

The 'show snmp' command in Junos displays the current SNMP configuration, including community strings, trap destinations, and enabled trap groups. Since the issue is that the device is not sending SNMP traps, this command allows the engineer to verify that trap destinations are correctly configured and that the appropriate trap groups are enabled. Other commands like 'show system uptime' or 'show route' do not provide any SNMP-specific configuration details.

Exam trap

The trap here is that candidates often confuse 'show snmp' with 'show snmp statistics' or 'show snmp mib walk', but the question specifically asks for verifying configuration, not statistics or MIB data, making 'show snmp' the correct operational command.

How to eliminate wrong answers

Option A is wrong because 'show system uptime' displays the system uptime and load averages, not SNMP configuration or trap settings. Option B is wrong because 'show route' displays the routing table and is used for verifying network reachability, not SNMP trap configuration. Option D is wrong because 'show interfaces terse' shows a summary of interface status and configuration, which is unrelated to SNMP trap settings.

35
MCQhard

A technician notices that the /var partition on a Junos device is 95% full. Which action will immediately free up disk space without affecting device operation?

A.Delete unused software packages using 'request system software delete'
B.Reboot the device
C.Remove the /var/log directory
D.Clear log files using 'clear log messages'
AnswerD

Using 'clear log messages' is the correct immediate action because it truncates the active log files under /var/log (specifically /var/log/messages) and instantly releases all allocated blocks to the filesystem, freeing space in /var without requiring a reboot or commit. The syslog daemon continues writing to the file, which is recreated/truncated gracefully, so no logging interruption or packet loss occurs. This targeted approach addresses the symptom—a full /var partition—while preserving all other system files and services.

Why this answer

The 'clear log messages' command immediately removes the contents of the active log files (e.g., messages, interactive-commands) without requiring a reboot or affecting running processes. This directly frees up space in /var/log, which is a primary consumer of the /var partition, while leaving the directory structure intact so logging continues normally.

Exam trap

The trap here is that candidates may think rebooting (Option B) clears all temporary files and logs, but Junos does not automatically delete persistent log files on reboot; only volatile /tmp is cleared, so /var remains full.

How to eliminate wrong answers

Option A is wrong because 'request system software delete' removes inactive software packages from /var/sw/pkg, but if the /var partition is 95% full due to log files, this action may not free significant space and could be unnecessary; also, it does not immediately address the most common cause of /var fullness. Option B is wrong because rebooting the device does not delete any files; it only clears temporary runtime data in /tmp and /var/tmp, but persistent log files in /var/log remain, so disk space is not freed. Option C is wrong because removing the /var/log directory would break logging functionality, cause loss of forensic data, and potentially disrupt system operations (e.g., syslogd may fail to start), which violates the requirement of not affecting device operation.

36
MCQhard

Refer to the exhibit. An administrator wants to ensure that log messages are stored even if the remote syslog server becomes unavailable. What additional configuration is required?

A.set system syslog archive world-readable
B.set system syslog host 10.10.10.1 facility-override
C.set system syslog rate-limit 1000
D.set system syslog file messages any any
AnswerD

Configuring a local log file with `set system syslog file messages any any` ensures that log messages are stored locally on the device, even if the remote syslog server becomes unavailable. This provides a persistent local copy of logs that can be reviewed later, independent of the remote server's reachability.

Why this answer

Configuring a local log file with `set system syslog file messages any any` ensures that log messages are stored locally on the device, even if the remote syslog server becomes unavailable. This provides a persistent local copy of logs that can be reviewed later, independent of the remote server's reachability.

Exam trap

The trap here is that candidates often confuse remote syslog configuration (host) with local logging (file), assuming that simply configuring a remote server is sufficient for all logging needs, but Junos requires an explicit local file to store logs locally when the remote server is unavailable.

How to eliminate wrong answers

Option A is wrong because `set system syslog archive world-readable` only changes file permissions on archived log files, not the ability to store logs locally when the remote server is down. Option B is wrong because `set system syslog host 10.10.10.1 facility-override` modifies the facility tag of messages sent to the remote server, but does not create any local storage. Option C is wrong because `set system syslog rate-limit 1000` controls the rate at which log messages are generated, not where they are stored, and does not address local logging.

37
MCQmedium

A network engineer is in configuration mode and wants to see the configuration in a format that can be directly pasted into another router to reproduce the configuration. Which output modifier should they use?

A.| display inheritance
B.| display set
C.| display xml
D.| count
AnswerB

The 'display set' pipe option transforms the entire Junos configuration into a series of 'set' commands, one per line, in configuration-mode syntax. This output can be copied and pasted directly into another Junos device's configuration mode, or used in scripts, version control, and automated provisioning, making it the standard way to capture a reproducible configuration.

Why this answer

The '| display set' output modifier converts the current Junos configuration into a series of 'set' commands. This format is directly pasteable into another router's CLI to reproduce the exact configuration, making it ideal for configuration migration or backup restoration.

Exam trap

The trap here is that candidates familiar with Cisco IOS often expect 'show running-config' to output pasteable commands, but Junos requires the explicit '| display set' modifier to achieve the same effect, leading them to choose '| display xml' or '| display inheritance' due to unfamiliarity with Junos output modifiers.

How to eliminate wrong answers

Option A is wrong because '| display inheritance' shows inherited configuration data from groups or hierarchy levels, not a pasteable command format. Option C is wrong because '| display xml' outputs the configuration in XML format, which is not directly executable as CLI commands. Option D is wrong because '| count' simply counts the number of lines in the output, providing no configuration reproduction capability.

38
MCQeasy

Refer to the exhibit. What does this command accomplish?

A.Displays help for syslog messages that include 'error'.
B.Displays all syslog messages.
C.Displays syslog messages containing the word 'error'.
D.Displays the error log file.
AnswerC

This is correct because the command combines a log display command with a match filter. For example, `show log messages | match error` displays every line from the messages log that contains the substring "error" (case-sensitive by default in Junos). This is a standard way for an operator to quickly search a system log for error-related entries without reading the whole file. It is not restricted to a specific severity class; it is simply a text-pattern match against the log output.

Why this answer

The command shown filters the output of the system log file to display only lines containing the substring 'error'. This allows the administrator to quickly see log entries related to errors, rather than viewing all messages or a dedicated error log file.

Exam trap

Candidates often assume that the 'match' operator performs a whole-word search or that there is a dedicated error log file, but in Junos it performs a substring match on the default messages log.

How to eliminate wrong answers

Option B is wrong because 'show log messages' alone displays all syslog messages, but the pipe with 'match error' filters the output, so it does not display all messages. Option C is wrong because the 'match' filter performs a substring match, not a whole-word match; it would also match messages containing 'error' as part of a larger word (e.g., 'error-handling'), so it does not strictly display only messages containing the word 'error'. Option D is wrong because there is no separate 'error log file' in Junos; syslog messages are stored in the messages log file, and this command filters that file, not a dedicated error log.

39
MCQeasy

An administrator wants to navigate to the configuration mode to make changes to the device. Which command should be used?

A.set
B.edit
C.configure
D.cli
AnswerC

The 'configure' command is the correct Junos operational-mode command used to enter configuration mode, where the active or candidate configuration can be viewed and manipulated. When you type 'configure' at the operational prompt, the CLI switches to the configuration hierarchy, and the prompt changes to 'edit' (e.g., 'user@router#'). Variants like 'configure exclusive' or 'configure private' provide additional control over locking or private copies, but the base command is the standard entry point. Thus, 'configure' is the right answer.

Why this answer

The correct command to enter configuration mode on a Juniper device is 'configure'. This command transitions the CLI from operational mode to configuration mode, allowing the administrator to make changes to the device's configuration. In JUNOS, the CLI has two distinct modes: operational mode (for monitoring and troubleshooting) and configuration mode (for modifying the active or candidate configuration).

Exam trap

The trap here is that Cisco engineers often confuse 'configure terminal' (Cisco IOS) with JUNOS commands, mistakenly thinking 'set' or 'edit' are the entry points to configuration mode, when in fact 'configure' is the required command to enter configuration mode from operational mode.

How to eliminate wrong answers

Option A is wrong because 'set' is a configuration mode command used to add or modify configuration statements, not a command to enter configuration mode itself. Option B is wrong because 'edit' is a configuration mode command that navigates to a specific hierarchy level within the configuration, not a command to enter configuration mode from operational mode. Option D is wrong because 'cli' is used to access the JUNOS CLI from the shell or to restart the CLI process, not to enter configuration mode.

40
MCQeasy

An administrator wants to view the current operational status of interface ge-0/0/1 on a Junos device. Which command displays this information?

A.show interfaces terse ge-0/0/1
B.show configuration interfaces ge-0/0/1
C.monitor interface ge-0/0/1
D.show interface ge-0/0/1
AnswerA

The show interfaces terse ge-0/0/1 command displays each interface as a single line containing the key operational states: administrative status (enabled/disabled), link state (up/down), and active protocol addresses. For the specified interface ge-0/0/1, this reveals immediately whether the interface is physically connected and configured for operation, without the noise of packet counters or detailed error statistics. It is the standard one-shot operational inquiry for a quick health check.

Why this answer

The 'show interfaces terse ge-0/0/1' command displays a concise, one-line summary of the operational status of the specified interface, including its administrative and link state, protocol status, and configured IP addresses. This is the correct command for viewing the current operational status because 'terse' filters the output to show only the essential operational details without configuration data.

Exam trap

The trap here is that Cisco engineers often expect 'show interface' (singular) to work, but Junos strictly requires the plural 'interfaces' for operational commands, and candidates may confuse 'show configuration' (which shows config) with 'show interfaces terse' (which shows operational status).

How to eliminate wrong answers

Option B is wrong because 'show configuration interfaces ge-0/0/1' displays the configured settings for the interface, not its current operational status; it shows what is configured, not whether the interface is up or down. Option C is wrong because 'monitor interface ge-0/0/1' is used for real-time, continuous monitoring of interface statistics and traffic, not for a single snapshot of operational status. Option D is wrong because 'show interface ge-0/0/1' is not a valid Junos command; the correct syntax uses the plural 'interfaces' (e.g., 'show interfaces ge-0/0/1'), and this option omits the 's', which would result in a CLI error.

41
MCQhard

During troubleshooting, an engineer notices that BGP sessions are flapping. They suspect that the issue might be related to the maximum number of routes allowed. To see if the BGP import policy is rejecting routes, which operational command would provide immediate insight?

A.show version
B.show interfaces terse
C.show route protocol bgp
D.show bgp neighbor x.x.x.x
AnswerD

show bgp neighbor x.x.x.x is the primary troubleshooting command for BGP peering. It displays the session state (Idle, Connect, Active, OpenConfirm, Established), timers, TCP connection details, and per-neighbor capabilities. Crucially, it shows the counts of received and accepted prefixes, and a separate count of rejected prefixes, along with the policy names that caused that rejection. This allows an engineer to quickly determine whether the session is up but the exchange is failing, or whether the session itself is down.

Why this answer

The 'show bgp neighbor x.x.x.x' command displays detailed BGP session information, including the number of received and accepted routes, as well as any prefix-limit or policy-related rejections. If the BGP import policy is rejecting routes due to exceeding the maximum allowed, this command will show the 'received prefixes' count alongside the 'accepted prefixes' count, immediately revealing if routes are being dropped. This provides direct insight into whether the flapping is caused by route limit enforcement.

Exam trap

The trap here is that candidates often think 'show route protocol bgp' will show all BGP routes including rejected ones, but it only shows routes that passed the import policy and were installed in the routing table, missing the critical rejection information that 'show bgp neighbor' provides.

How to eliminate wrong answers

Option A is wrong because 'show version' displays only the Junos OS version, system uptime, and hardware model, which is irrelevant to BGP route acceptance or policy rejection. Option B is wrong because 'show interfaces terse' shows interface status and IP addresses but provides no BGP-specific information such as route counts or policy actions. Option C is wrong because 'show route protocol bgp' displays the routing table entries learned via BGP, but it does not show rejected routes or the reason for rejection; it only shows routes that have already been accepted and installed, so it cannot reveal if the import policy is discarding routes.

42
MCQmedium

An administrator is in configuration mode and wants to see only the interfaces configuration block while editing. Which command will display just that section?

A.show interfaces
B.show
C.display set | match interfaces
D.run show interfaces
AnswerA

In configuration mode, show interfaces is the correct command to display the configured interfaces hierarchy. Unlike the operational mode command of the same name, this variant is context-sensitive and outputs only the configuration statements under the interfaces hierarchy, such as interface names, units, and family configuration. It does not show operational status or statistics, but rather the exact configured parameters, which is what an administrator reviewing the configuration needs.

Why this answer

In Junos configuration mode, the 'show interfaces' command displays only the interfaces configuration block without leaving configuration mode. This is a Junos-specific feature where 'show' commands within configuration mode show the current candidate configuration, not operational state. The command filters the output to show only the 'interfaces' hierarchy, allowing the administrator to review just that section.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect 'show running-config | section interfaces' or 'show run interface' and mistakenly choose 'run show interfaces' (Option D), which in Junos shows operational state, not configuration, or they might think 'show' alone (Option B) is sufficient, not realizing it shows the entire configuration from the current level.

How to eliminate wrong answers

Option B is wrong because 'show' alone displays the entire candidate configuration from the current hierarchy level, not just the interfaces block, which would be too verbose if the administrator is at the top of the configuration tree. Option C is wrong because 'display set | match interfaces' is a valid pipe filter but 'display set' is a configuration mode command that converts the configuration to set format; however, the correct syntax would be 'show | display set | match interfaces', and the option as written is incomplete and would not work as intended. Option D is wrong because 'run show interfaces' executes the operational mode command 'show interfaces', which displays the current operational status of interfaces (like link state, IP addresses), not the configuration block, and it temporarily exits configuration mode to run the command.

43
MCQeasy

An engineer wants to configure a static route that will be used only if the primary route (learned via OSPF) becomes unavailable. Which feature should be used?

A.Floating static route with a higher preference.
B.Static route with a lower metric.
C.Reverse path forwarding.
D.Routing policy.
AnswerA

A floating static route is configured with a higher preference value than the dynamic protocol's default. Since OSPF's default preference is 10, setting the static route's preference to, say, 15 ensures it is only used when the OSPF route is unavailable. This makes it a backup route.

Why this answer

A floating static route is configured with a higher preference (administrative distance) than the OSPF-learned route. Since JUNOS prefers routes with lower preference values, the static route will only be installed in the routing table when the OSPF route is withdrawn, providing a backup path.

Exam trap

The trap here is that candidates often confuse 'metric' with 'preference' (administrative distance), assuming a lower metric on a static route would make it preferred over OSPF, but metric only applies within the same routing protocol, not between different sources.

How to eliminate wrong answers

Option B is wrong because metric is used by dynamic routing protocols (like OSPF cost) to compare routes within the same protocol, not to influence route selection between different protocols; a static route with a lower metric does not affect its preference over OSPF. Option C is wrong because Reverse Path Forwarding (RPF) is a unicast or multicast forwarding security feature that verifies the source address of incoming packets, not a mechanism for route redundancy or failover. Option D is wrong because routing policies can manipulate route attributes or filter routes, but they do not directly create a backup static route that automatically activates only when the primary route is lost; the concept of a floating route relies on preference values, not policy alone.

44
MCQmedium

Which field in an Ethernet frame is used by a switch to learn which source MAC address belongs to which port?

A.Ethertype field
B.Destination MAC address
C.VLAN ID field
D.Source MAC address
AnswerD

The switch learns that the source MAC address is reachable out of the port on which the frame arrived, creating or updating a MAC address table entry. This is the fundamental operation of transparent bridging: the switch records the association between the source MAC address, ingress port, and VLAN ID. Once learned, the entry is used to forward future frames destined to that MAC address only to the correct port, rather than flooding. Thus, the source MAC address is the field that triggers and drives MAC learning in an Ethernet switch.

Why this answer

A switch learns MAC address-to-port mappings by examining the source MAC address field of incoming Ethernet frames. When a frame arrives on a port, the switch records the source MAC address and associates it with that port in its MAC address table, enabling future frames destined for that MAC to be forwarded only to the correct port.

Exam trap

The trap here is that candidates often confuse the role of the destination MAC address (used for forwarding decisions) with the source MAC address (used for learning), especially when they recall that switches forward frames based on destination MAC, but forget that learning is done from the source MAC.

How to eliminate wrong answers

Option A is wrong because the Ethertype field indicates the upper-layer protocol (e.g., IPv4 or IPv6) encapsulated in the frame, not the source or destination MAC address, and is not used for MAC learning. Option B is wrong because the destination MAC address is used by the switch to look up the forwarding decision (which port to send the frame out of) after the MAC address table is built, not to learn which port a source MAC belongs to. Option C is wrong because the VLAN ID field (part of the 802.1Q tag) identifies the VLAN membership of the frame, but MAC learning is performed per VLAN using the source MAC address, not the VLAN ID itself.

45
MCQmedium

Refer to the exhibit. The network administrator made a change that caused connectivity loss. They need to revert to the configuration before the most recent commit. Which command would accomplish this?

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

rollback 1 loads the configuration that was committed before the most recent commit. Because the administrator's latest change caused the connectivity loss, this returns the network to the exact working state immediately prior to that change. It is the only rollback target that precisely reverts the faulty modification while preserving all earlier configuration data.

Why this answer

In Junos, rollback numbers are stored with 0 being the most recent committed configuration. To revert to the configuration before the most recent commit, you need to load the configuration that was active before that change. That is rollback 1, which represents the second most recent commit.

Using rollback 0 would load the configuration that caused the issue, not fix it.

Exam trap

Many candidates mistakenly believe that rollback 0 undoes the last change. However, rollback 0 loads the most recent committed configuration—the one that caused the connectivity loss—so it would reload the problem, not fix it. To revert to the configuration before the last commit, you must use rollback 1.

How to eliminate wrong answers

Option B (rollback 3) is wrong because rollback 3 refers to the configuration from three commits ago, not the most recent commit. Option C (rollback 2) is wrong because rollback 2 refers to the configuration from two commits ago. Option D (rollback 1) is wrong because rollback 1 refers to the configuration immediately before the last commit, which is the same as the current active configuration after the last commit, not the configuration before the most recent commit.

The key distinction is that rollback 0 is the most recent commit, while rollback 1 is the previous commit.

46
Drag & Dropmedium

Order the steps to reset the root password on a Junos device via the console.

Drag or tap steps into the slots.

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

Why this order

Root password recovery requires boot interruption and selecting the recovery option from the boot menu.

47
Multi-Selecteasy

Which TWO statements about static routes in Junos OS are correct? (Choose two.)

Select 2 answers
A.Two static routes to the same destination with the same preference will result in an active/backup scenario.
B.A static route can have a next-hop specified as an interface name for point-to-point interfaces.
C.A static route can use the 'reject' next-hop to drop traffic matching the route.
D.The default preference for a static route is 10.
E.A static route must always include a next-hop address.
AnswersB, C

In Junos, a static route may specify an interface name as the next-hop, but this is valid only for point-to-point interfaces such as serial links. Because a point-to-point interface has exactly one remote endpoint, an explicit next-hop IP address is not required. The router will use the interface directly to forward matching traffic. This flexibility allows simpler configuration on such links.

Why this answer

Option B is correct because in Junos OS a static route may specify a next-hop as an interface name (for example, set routing-options static route 10.0.0.0/24 next-hop ge-0/0/0.0), which is valid and commonly used on point-to-point interfaces such as PPP, HDLC, or GRE tunnels where no remote address resolution is needed. Option C is correct because Junos supports the reject next-hop (set routing-options static route 10.0.0.0/24 reject), which installs a route that discards matching traffic and returns an ICMP unreachable message to the sender, unlike discard which silently drops packets. Option A is wrong because two static routes to the same destination with equal preference are both eligible and, depending on next-hop type, can be installed as multipath (ECMP) or one selected by tie-breaking, not an automatic active/backup pair; active/backup requires different preferences.

Option D is wrong because the default preference for static routes in Junos is 5, not 10 (10 is the default for OSPF internal routes). Option E is wrong because a static route does not always require a next-hop address; it can instead use an interface name, a discard, reject, or receive next-hop, or be qualified with options such as no-readvertise.

Exam trap

The trap here is that candidates often confuse Junos default preference values with Cisco's (where static routes default to 1), leading them to incorrectly select option D, or they assume static routes always need a next-hop IP address, missing the valid interface-only next-hop for point-to-point links.

48
MCQeasy

An engineer notices that a Juniper device is not saving configuration changes across reboots. What is the most likely cause?

A.The rescue configuration is not set.
B.The device is booting from factory-default configuration.
C.The candidate configuration was not committed.
D.The command 'request system reboot' was used instead of 'commit'.
AnswerC

In Junos, configuration changes are held in the candidate configuration until you issue the 'commit' command, which activates and saves them to /config/juniper.conf.gz. Without a commit, the changes exist only in the volatile candidate buffer and are discarded on reboot or when a rollback is performed. Therefore, the most direct explanation for changes not being saved is that the candidate configuration was never committed.

Why this answer

In Junos OS, configuration changes are stored in a candidate configuration and only become active and persistent across reboots after a 'commit' operation. Without a commit, the changes remain in the candidate buffer and are discarded upon reboot, causing the device to revert to the last committed configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS may assume changes are saved automatically or with a 'copy running-config startup-config' equivalent, but Junos requires an explicit 'commit' to make changes persistent across reboots.

How to eliminate wrong answers

Option A is wrong because the rescue configuration is a separate, manually saved configuration used for recovery; its absence does not prevent normal configuration saves from persisting across reboots. Option B is wrong because booting from factory-default would require a specific action (e.g., 'request system zeroize' or loading factory-default), and the device normally boots from the last committed configuration, not factory-default. Option D is wrong because 'request system reboot' is a command to reboot the device, not a configuration command; it does not replace the need for 'commit' to save changes.

49
MCQeasy

Refer to the exhibit. Why is the route for 192.168.1.0/24 hidden?

A.The route has a higher metric
B.The route has a lower preference
C.The route is not committed
D.The next-hop is unreachable
AnswerD

Junos marks static routes as hidden when the configured next-hop address cannot be resolved to an active outgoing interface or next-hop route. Because the destination 192.168.1.0/24 is unreachable through that next-hop, the routing protocol process retains the route but does not install it in the forwarding table, displaying it with the 'hidden' flag. This is the standard condition that creates hidden static routes.

Why this answer

A route is hidden in the JUNOS routing table when its next-hop is unreachable. The show route command displays only active routes; if the next-hop address is not reachable via any active interface or route, the route is suppressed (hidden) and not used for forwarding. This is a fundamental behavior of JUNOS route selection and differs from Cisco IOS, which may still display such routes.

Exam trap

The trap here is that candidates often confuse hidden routes with routes that are not committed or have a higher metric, but JUNOS specifically hides routes when the next-hop is unreachable, not due to metric or preference comparisons.

How to eliminate wrong answers

Option A is wrong because metric (cost) is used for comparing routes from the same protocol to the same destination, but a hidden route is not hidden due to a higher metric—it is hidden because the next-hop is unreachable. Option B is wrong because preference (administrative distance) determines which route is active among different protocols, but a lower preference would make the route more preferred, not hidden; a hidden route is not caused by preference values. Option C is wrong because the route is committed (it appears in the configuration and is present in the routing table as a hidden route), but it is not active due to next-hop unreachability, not because it was not committed.

50
MCQmedium

You are troubleshooting a network connectivity issue at a medium-sized company that uses Juniper EX4300 switches. Users in VLAN 100 (10.10.100.0/24) report that they cannot access a server in VLAN 200 (10.10.200.0/24). The switch has IRB interfaces configured for both VLANs and is acting as the default gateway. The IRB interfaces are up and have correct IP addresses. The server and users have correct IP configurations. 'show arp' on the switch shows incomplete entries for some hosts in VLAN 100. 'show ethernet-switching table' shows MAC addresses for users are present on the correct access ports. However, pings from the switch to a user in VLAN 100 fail. What is the most likely issue?

A.Spanning Tree Protocol is blocking the user ports.
B.A static MAC address entry for the server is missing.
C.The switch cannot resolve ARP requests because the user's host is not responding.
D.The IRB interface for VLAN 100 is not configured with a proxy ARP.
AnswerC

When a switch's ARP table shows an entry as 'incomplete', it means the switch has sent ARP requests for that IP address but has not received any ARP reply. This occurs when the target host is down, has the wrong IP address, or is configured with a firewall that silently drops ARP probes. The user's host is not responding to the ARP requests, so the switch cannot determine the MAC address needed to forward frames, breaking connectivity even though the host may be physically connected.

Why this answer

The 'incomplete' entries in the 'show arp' output indicate that the switch sent ARP requests for hosts in VLAN 100 but received no replies. Since the switch is the default gateway, it must resolve the Layer 2 MAC address of each host to forward traffic. If a user's host is not responding to ARP (e.g., due to a firewall, misconfiguration, or the host being offline), the switch cannot complete the ARP cache entry, causing pings from the switch to fail and potentially disrupting inter-VLAN routing.

Exam trap

The trap here is that candidates may confuse a Layer 2 issue (like STP blocking or missing MAC entries) with a Layer 3 issue (ARP resolution failure), overlooking that 'incomplete' ARP entries directly point to a host not responding to ARP requests.

How to eliminate wrong answers

Option A is wrong because Spanning Tree Protocol (STP) blocking a port would prevent all traffic, including ARP replies, but the 'show ethernet-switching table' shows MAC addresses on the correct access ports, indicating STP is not blocking those ports. Option B is wrong because a missing static MAC address entry for the server would affect reachability to the server, not the switch's ability to ping a user in VLAN 100; the issue is with ARP resolution for local hosts, not the server. Option D is wrong because proxy ARP is used to allow hosts in one subnet to resolve MAC addresses for hosts in another subnet when the switch is not the default gateway; here, the switch is the default gateway with IRB interfaces, so proxy ARP is not required for the switch to resolve its own ARP requests.

51
MCQeasy

A Juniper device is running out of disk space on the /var partition. Which command can be used to check disk usage?

A.show system storage
B.show system disk-space
C.show system memory
D.show system resource
AnswerA

This is the correct command. It provides a detailed view of every mounted filesystem on the device, including the /var partition, with columns for total space, used space, available space, and mount points. The output is analogous to the UNIX 'df -k' utility, making it the standard operational command to diagnose disk-full conditions in Junos.

Why this answer

The correct command to check disk usage on a Juniper device is 'show system storage'. This command displays detailed information about disk partitions, including total, used, and available space, as well as the percentage of usage for each mounted filesystem, such as /var. It is the standard operational mode command for monitoring storage utilization in Junos OS.

Exam trap

The trap here is that candidates familiar with other operating systems might expect a command like 'show system disk-space' or confuse memory with storage, but Junos uses the specific phrase 'storage' for disk usage monitoring.

How to eliminate wrong answers

Option B is wrong because 'show system disk-space' is not a valid Junos command; the correct command uses 'storage' not 'disk-space'. Option C is wrong because 'show system memory' displays RAM and memory utilization, not disk storage. Option D is wrong because 'show system resource' shows system resource usage like CPU and memory, but does not provide disk partition or filesystem usage details.

52
MCQeasy

An administrator configures a static route to 192.168.2.0/24 with next-hop 10.0.0.1. The route does not appear in the routing table. What is the most likely cause?

A.The next-hop 10.0.0.1 is not reachable.
B.The static route has a higher preference than an existing dynamic route.
C.The configuration was not committed.
D.The prefix 192.168.2.0/24 already exists in the forwarding table.
AnswerA

A static route only installs when its next-hop resolves through a reachable interface. If 10.0.0.1 sits on no connected or otherwise resolvable subnet, the device cannot determine an egress interface, so the route stays inactive and never enters the routing table.

Why this answer

A static route will only be installed in the routing table if the next-hop address is reachable via an active route in the routing table. If 10.0.0.1 is not reachable (e.g., no route to that subnet, or the interface is down), Junos will reject the static route and not place it in the inet.0 table. This is a fundamental validation check in Junos that prevents black-hole routing.

Exam trap

The trap here is that candidates assume a static route is always installed immediately after configuration, forgetting that Junos requires the next-hop to be reachable via an existing route in the routing table before the static route becomes active.

How to eliminate wrong answers

Option B is wrong because preference (administrative distance) only matters when comparing routes to the same destination prefix; if the static route does not appear at all, it is not being suppressed by a more preferred route—it failed the next-hop reachability check. Option C is wrong because if the configuration were not committed, the route would not appear in the running configuration, but the question states the administrator configured it; a missing commit would mean the route is not in the candidate config, not that it fails to appear in the routing table. Option D is wrong because the forwarding table is derived from the routing table; if the prefix already existed in the forwarding table, it would have come from a route in the routing table, and a static route to the same prefix could still be installed (with a different preference) or could be rejected only if it were less preferred, but the primary issue is next-hop reachability.

53
MCQeasy

A technician needs to display the contents of a configuration file stored on the device's hard disk. Which operational mode command should they use?

A.show configuration
B.file show
C.file list
D.view file
AnswerB

The `file show <filename>` operational command is the correct way to display the contents of a file from the Junos file system, including configuration backup files such as /config/juniper.conf.0. It reads the file directly from disk and prints it to the terminal, making it ideal for inspecting configuration files, logs, or any other text file. For a technician seeking to see the actual contents of a configuration file, this is the precise command to use.

Why this answer

The 'file show' command in Junos operational mode is used to display the contents of a file stored on the device's hard disk, such as a configuration file. Unlike 'show configuration', which displays the active candidate or committed configuration, 'file show' reads the raw file from the filesystem, making it the correct choice for viewing a stored configuration file.

Exam trap

The trap here is that candidates often confuse 'show configuration' with viewing a file on disk, but 'show configuration' only shows the configuration from the system's operational database, not the raw file contents stored on the hard disk.

How to eliminate wrong answers

Option A is wrong because 'show configuration' displays the active or candidate configuration from the system's configuration database, not the raw contents of a file on the hard disk. Option C is wrong because 'file list' only lists the names of files in a directory, not their contents. Option D is wrong because 'view file' is not a valid Junos operational mode command; the correct syntax is 'file show'.

54
MCQmedium

Scenario: Your company has a Juniper SRX300 firewall used as a branch gateway. It runs Junos 15.1X49. The firewall has multiple security policies, NAT rules, and VPN tunnels. Recently, you added a new security policy to allow traffic from the internal network to a specific public server. After committing, you notice that the firewall is logging repeated denials for traffic that should be matched by the new policy. The policy appears correctly configured in the candidate configuration. You want to verify that the policy is actually active and check for any hidden rules that might be causing the issue. Which of the following is the most effective first step to troubleshoot this problem?

A.Roll back to the previous configuration to ensure the device is in a known state.
B.Run 'show configuration | display set | match policy' to verify the policy is present.
C.Run 'show security policies detail' and examine the policy order to see if a previous policy is denying the traffic.
D.Check the firewall logs with 'show log messages | match deny' to see which policy is denying.
AnswerC

The 'show security policies detail' command displays all active security policies in their actual evaluation order, including the specific match criteria, actions, and sequence numbers. By inspecting the order, you can quickly determine whether a preceding policy with a higher priority matches the same traffic and denies it before your new policy is ever reached, making it the most direct diagnostic for ordering problems.

Why this answer

The most common cause of traffic being denied despite a seemingly correct new policy is that a preceding policy in the security policy order matches the traffic and denies it before the new policy is evaluated. Junos security policies are evaluated in sequential order from top to bottom, and the first matching policy is applied. Running 'show security policies detail' displays the active configured policy order, allowing you to see if an earlier policy is intercepting the traffic.

Note: default policies are not shown with this command; use 'show security policies default' for that.

Exam trap

The trap here is that candidates assume a correctly configured policy will automatically be applied, but Junos requires careful attention to policy order, and the exam tests whether you know to verify the active policy sequence rather than just the configuration syntax.

How to eliminate wrong answers

Option A is wrong because rolling back to a previous configuration is a disruptive step that does not help diagnose why the new policy is not being matched; it only reverts to an older state without revealing the policy order issue. Option B is wrong because 'show configuration | display set | match policy' only shows the candidate configuration, not the active policy order; the policy may be present in the configuration but still be overridden by a higher-priority deny policy in the active commit. Option D is wrong because checking logs with 'show log messages | match deny' can show that traffic is being denied, but it does not reveal which policy is responsible or the policy order; it only confirms the symptom, not the root cause.

55
MCQmedium

A network administrator has made several configuration changes and now wants to revert all uncommitted changes back to the last committed configuration. Which command should they use?

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

The correct action to discard all uncommitted changes is rollback 0, because the rollback database stores a snapshot of each configuration that has been committed, and index 0 always refers to the most recently committed one. This command copies that snapshot over your candidate configuration, instantly removing any changes you made after the last commit. The active (running) configuration is unaffected until you issue a commit, at which point the rollback 0 snapshot becomes the new active configuration. This is the standard Junos workflow for reverting a series of uncommitted edits.

Why this answer

The 'rollback 0' command reverts all uncommitted changes and restores the active configuration to the last committed configuration. In Junos, candidate configurations are stored in numbered rollback slots (0 being the most recent committed configuration), so 'rollback 0' discards any uncommitted edits and loads the last committed state.

Exam trap

The trap here is that candidates confuse 'rollback 0' with 'rollback 1', mistakenly thinking that 'rollback 1' reverts to the last committed configuration, when in fact 'rollback 0' is the correct slot for the most recent committed state.

How to eliminate wrong answers

Option A is wrong because 'rollback 1' loads the configuration from the second most recent committed configuration (rollback slot 1), not the last committed one, so it would revert to an older committed state rather than discarding uncommitted changes. Option B is wrong because 'load override terminal' replaces the entire candidate configuration with text entered via terminal, which is used for merging or replacing configurations, not for reverting uncommitted changes. Option C is wrong because 'commit check' validates the syntax and semantics of the candidate configuration without committing it, so it does not revert any changes.

56
MCQhard

A network administrator is trying to configure a firewall filter on a Juniper device. They enter configuration mode and type 'set firewall family inet filter BLOCK-ICMP term 1 from protocol icmp'. They then type 'set firewall family inet filter BLOCK-ICMP term 1 then reject'. After committing, they notice that ICMP traffic is not being blocked. They run 'show configuration firewall' and see the filter is present. They run 'show firewall filter BLOCK-ICMP' to see the counters and notice the packet count is zero. What is the most likely reason?

A.The protocol icmp is not correct; it should be 'icmp6'.
B.The filter is not applied to any interface.
C.The term 'then reject' should be 'then discard'.
D.The filter must be applied under the 'edit firewall' hierarchy.
AnswerB

In Junos, a firewall filter takes effect only when it is applied to an interface, typically under the "family" hierarchy using an "apply-filter" statement. Without such a binding, the filter remains defined in the configuration but is never evaluated, so all traffic—including ICMP echo requests—continues to pass. The filter must be attached to the appropriate interface and address family to actually block traffic.

Why this answer

A firewall filter in Junos must be applied to an interface to take effect. Simply configuring the filter under the 'edit firewall' hierarchy does not activate it; the filter must be referenced with a 'family inet' statement under the interface configuration (e.g., 'set interfaces ge-0/0/0 unit 0 family inet filter input BLOCK-ICMP'). Without this application, the filter exists in the configuration but never processes traffic, resulting in zero packet counts.

Exam trap

The trap here is that candidates often assume configuring a firewall filter under the 'edit firewall' hierarchy automatically activates it, similar to Cisco IOS where ACLs are applied globally or to interfaces with separate commands, but Junos requires explicit interface application for the filter to process traffic.

How to eliminate wrong answers

Option A is wrong because 'protocol icmp' is correct for IPv4 ICMP; 'icmp6' is used for IPv6 ICMP, which is not relevant here. Option C is wrong because 'then reject' is a valid action that drops packets and sends an ICMP unreachable message; 'then discard' would also drop packets but without notification, and the issue is not about the action type. Option D is wrong because the 'edit firewall' hierarchy is the correct location for configuring firewall filters; the problem is the filter is not applied to an interface, not that it is configured in the wrong place.

57
MCQmedium

An engineer observes that traffic destined to 203.0.113.0/24 is being load-balanced across two equal-cost paths via OSPF. The engineer wants to ensure that all traffic for this prefix uses only one path unless the primary path fails. Which configuration change should be made?

A.Configure a static route for 203.0.113.0/24 with a lower preference.
B.Set the OSPF metric on the backup interface to a higher value.
C.Use policy-options to set a higher preference for one of the paths.
D.Modify the load-balance configuration under forwarding-options.
AnswerB

In OSPF, the metric (cost) determines the preference of a route: lower total cost wins. By configuring a higher metric on the backup interface, the backup path's total cost becomes larger, so OSPF installs the lower-cost primary path in the forwarding table. The backup path remains in the OSPF database and is immediately used if the primary path disappears, preserving dynamic failover. This is the standard method to create an active/backup topology while keeping OSPF's adaptive behavior intact.

Why this answer

Increasing the OSPF metric on the backup interface makes that path less preferred in the SPF calculation, breaking the equal-cost multipath (ECMP) condition. OSPF selects routes based on the lowest metric; by raising the metric on one interface, the engineer ensures only the lower-metric path is used for forwarding, with automatic failover to the backup path if the primary fails.

Exam trap

The trap here is that candidates mistakenly think modifying load-balancing or preference settings can break ECMP, but OSPF ECMP is solely determined by equal metric values; only changing the metric directly controls path selection.

How to eliminate wrong answers

Option A is wrong because configuring a static route with a lower preference (administrative distance) would override the OSPF-learned route entirely, but static routes do not dynamically fail over; they lack OSPF's link-state awareness and would require manual intervention or additional tracking to handle failures. Option C is wrong because policy-options can modify route preference (administrative distance) for OSPF routes, but preference is not used in OSPF's SPF metric-based path selection; changing preference would affect route selection among different protocols, not ECMP within OSPF. Option D is wrong because modifying the load-balance configuration under forwarding-options (e.g., `maximum-paths`) controls how many ECMP paths are used, but it does not break the equal-cost condition; if both paths have the same metric, OSPF will still install them as ECMP unless the metric is changed.

58
MCQhard

Refer to the exhibit. Based on the log output, what is the most likely issue with interface ge-0/0/1?

A.Interface is experiencing flapping
B.Interface is up and stable
C.Interface is administratively down
D.Interface is configured incorrectly
AnswerA

The log output shows repeated interface state transitions between up and down within a short time window, which is the classic signature of interface flapping. Such behavior is typically caused by physical-layer issues, such as a faulty transceiver, damaged cable, or a remote peer that is itself unstable. An interface that is flapping never reaches a sustained operational state, so the up/down cycles evident in the log directly support this conclusion.

Why this answer

The log output shows repeated 'link UP' and 'link DOWN' events for interface ge-0/0/1 within a short time window, which is the classic symptom of interface flapping. Flapping typically occurs due to physical layer issues such as faulty cables, damaged transceivers, or marginal signal integrity, causing the interface to continuously transition between up and down states.

Exam trap

The trap here is that candidates may assume any interface issue is configuration-related (Option D) or that a single 'link UP' message means the interface is stable (Option B), but the repeated pattern of alternating UP/DOWN events is the definitive indicator of flapping.

How to eliminate wrong answers

Option B is wrong because the log clearly shows the interface is not stable; it is oscillating between up and down states, which contradicts the definition of a stable interface. Option C is wrong because an administratively down interface would show a 'administratively down' status in the log, not repeated link transitions; the interface is actively trying to come up. Option D is wrong because while configuration errors can cause operational issues, the specific pattern of rapid link state changes points to a physical or Layer 1 problem, not a configuration mistake like incorrect VLAN or IP settings.

59
MCQmedium

A network administrator configures the following: `set routing-options static route 0.0.0.0/0 next-hop 192.168.1.1`. After committing, the administrator notices that the default route is not active. What could be the reason?

A.The route preference is set to 170.
B.The route is not exported into the forwarding table.
C.The next-hop 192.168.1.1 is not reachable.
D.The router already has a default route learned via DHCP.
AnswerC

For a static route with a next-hop address such as 192.168.1.1, the router must be able to resolve that address to a directly connected network or a route in the routing table. If 192.168.1.1 is not reachable—for example, because the subnet is not directly connected and no other route to it exists—the static route is considered to have an 'unresolvable next hop' and is kept inactive. Junos will not install an inactive route into the forwarding table, which directly explains the observed behavior. This is the most common reason a static default route fails to activate.

Why this answer

A static route becomes active only if the next-hop address is reachable via a directly connected interface or another active route. If 192.168.1.1 is not reachable (e.g., interface down, no matching subnet, or no route to the next-hop), the route remains hidden (inactive) in the routing table. Junos verifies next-hop reachability before installing a static route into the forwarding table.

Exam trap

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

How to eliminate wrong answers

Option A is wrong because route preference (administrative distance) does not affect whether a static route is active; a preference of 170 is typical for BGP routes, not static routes, and even if set, it would only influence route selection among multiple routes, not activation. Option B is wrong because static routes are automatically exported into the forwarding table upon becoming active; no explicit export policy is required for static routes to appear in the forwarding table. Option D is wrong because the presence of a DHCP-learned default route does not prevent a static default route from being active; both can coexist, and route preference determines which is used, but the static route would still be active if its next-hop is reachable.

60
MCQmedium

You are troubleshooting an OSPF adjacency issue between two Juniper MX series routers, R1 and R2, both running Junos 18.2. They are directly connected via a Gigabit Ethernet link. R1's interface ge-0/0/0 is configured with IP 192.168.1.1/24, and R2's ge-0/0/0 is configured with IP 192.168.1.2/24. Both interfaces are in OSPF area 0.0.0.0. The physical connectivity is confirmed up, and both interfaces are administratively enabled. You have checked that the hello and dead intervals match (hello 10, dead 40), the area IDs are identical, and the subnet masks are /24. No firewall filters are blocking OSPF. The OSPF configuration on R1 includes 'authentication-type md5' and 'authentication-key juniper123' under the interface. On R2, the configuration also includes 'authentication-type md5' but the key is 'juniper321'. Both routers have loopback addresses as router IDs: 1.1.1.1 for R1 and 2.2.2.2 for R2. No explicit OSPF network type is set, so the default is broadcast. Despite these configurations, the OSPF adjacency state on both routers remains in INIT. What is the most likely cause of this issue?

A.The interface MTU size is mismatched.
B.The OSPF network type is mismatched.
C.The OSPF authentication keys do not match.
D.The router IDs are not properly configured.
AnswerC

When MD5 authentication keys differ, each router silently drops the other's Hello packets after the keyed digest fails verification. Because the local router never receives a valid Hello containing its own router ID, the neighbor state cannot advance from INIT to 2-Way. The adjacency therefore remains stuck in INIT, even though the Hello packets arrive at the interface, making this the misconfiguration exactly consistent with the symptoms.

Why this answer

OSPF authentication keys must match exactly for the adjacency to form. R1 uses key 'juniper123' while R2 uses 'juniper321', causing the MD5 digest computed on each Hello packet to differ. Since OSPF authentication is validated per-packet, mismatched keys prevent the routers from moving past the INIT state.

Exam trap

The trap here is that candidates often overlook authentication key consistency because they focus on matching hello/dead intervals and area IDs, assuming authentication is correctly configured if the type matches.

How to eliminate wrong answers

Option A is wrong because an MTU mismatch would typically cause the adjacency to stall in EXSTART/EXCHANGE state, not INIT, and both interfaces are Gigabit Ethernet with default MTU 1500. Option B is wrong because both interfaces use the default OSPF network type 'broadcast' (no explicit type set), so there is no mismatch. Option D is wrong because the router IDs (1.1.1.1 and 2.2.2.2) are valid and properly configured; mismatched router IDs do not prevent the INIT state, as OSPF uses router IDs only after the 2-Way state.

61
MCQmedium

A junior engineer is troubleshooting connectivity issues and wants to trace the path packets take to a remote destination. Which Junos command should be used?

A.monitor traffic
B.show route
C.traceroute
D.ping
AnswerC

traceroute is the correct tool because it actively probes the network path by sending packets with incrementally increasing TTL values, then collects the ICMP TTL-exceeded messages sent back by each router in turn. This reveals the sequence of IP addresses of every hop along the route to the destination, along with round-trip times for each hop, thus mapping the actual forwarding path hop by hop.

Why this answer

The 'traceroute' command in Junos is specifically designed to trace the path packets take to a remote destination by sending UDP probes with increasing TTL values and analyzing ICMP Time Exceeded messages from intermediate routers. This directly addresses the junior engineer's need to map the Layer 3 path and identify where connectivity failures occur.

Exam trap

The trap here is that candidates often confuse 'ping' (which tests reachability) with 'traceroute' (which traces the path), leading them to select Option D when the question explicitly asks for path tracing rather than simple connectivity testing.

How to eliminate wrong answers

Option A is wrong because 'monitor traffic' is used for real-time packet capture and analysis on an interface, not for tracing the path to a remote destination. Option B is wrong because 'show route' displays the routing table entries on the local device, showing how the local router would forward packets, but it does not actively trace the path taken by packets across multiple hops. Option D is wrong because 'ping' tests reachability and measures round-trip time to a destination, but it does not provide hop-by-hop path information or identify intermediate routers.

62
MCQhard

Scenario: Your company has a Juniper MX Series router at a branch office running Junos 18.4. The device has been in production for two years with a stable configuration. Yesterday, a senior engineer made several changes to the OSPF configuration to optimize routing for a new link. They committed the changes and left for the day. This morning, the branch office experiences intermittent connectivity, and the OSPF neighbor relationships are flapping. You suspect the recent OSPF changes caused the issue. You have remote console access to the router. The goal is to restore network stability as quickly as possible while preserving the ability to re-apply the changes after troubleshooting. Which course of action should you take?

A.Use 'deactivate protocols ospf' to disable OSPF entirely and then manually re-enable pieces.
B.Immediately delete the OSPF configuration sections that were changed and re-add the original settings manually.
C.Use 'rollback 1' to revert to the configuration before the changes, then 'commit confirmed 10' to verify stability.
D.Perform a 'load factory-default' and 'commit' to reset the device to base settings, then reconfigure from backup.
AnswerC

This is the correct approach because rollback 1 reverts the candidate configuration to the last committed configuration prior to the current one, which is exactly the stable state you want. Issuing commit confirmed 10 activates that configuration for 10 minutes; if nothing else is done, the system automatically rolls back to the previous config, ensuring connectivity is restored without a permanent lock-in. You can later issue commit (or commit confirmed again) to make the change permanent once you have verified OSPF stability.

Why this answer

'rollback 1' reverts the active configuration to the previous committed version (before the problematic OSPF changes), and 'commit confirmed 10' applies that rollback with a 10-minute confirmation timer. If connectivity stabilizes, the rollback becomes permanent; if not, the router automatically reverts to the previous configuration, ensuring no prolonged outage. This approach restores stability quickly while preserving the ability to later re-apply and test the OSPF changes in a controlled manner.

Exam trap

The trap here is that candidates may choose Option A (deactivate OSPF) thinking it is a quick fix, but they overlook that deactivating the entire protocol causes a complete routing disruption, whereas 'rollback' with 'commit confirmed' is the precise, safe, and reversible method Junos provides for this exact scenario.

How to eliminate wrong answers

Option A is wrong because 'deactivate protocols ospf' disables the entire OSPF process, which would drop all OSPF adjacencies and potentially cause a complete routing blackout, not just intermittent flapping, and it does not preserve the changed configuration for later re-application. Option B is wrong because manually deleting and re-adding configuration sections is error-prone, time-consuming, and does not leverage Junos's built-in rollback capability, which is the fastest and safest method to revert to a known-good state. Option D is wrong because 'load factory-default' resets the entire device to factory settings, wiping all configurations, including interfaces, security policies, and routing protocols, which would cause a total outage and require full reconfiguration from backup, far exceeding the goal of quickly restoring stability.

63
MCQmedium

Refer to the exhibit. An administrator sees the following configuration output. What is the purpose of the 'description' statement in this context?

A.It sets the SNMP ifAlias to the interface's MAC address.
B.It sets the administrative comment visible in the config.
C.It sets the interface description visible in 'show interfaces description'.
D.It sets the interface's syslog tag.
AnswerC

The `description` statement sets a free-form text label for an interface, and that label is precisely what appears under the Description column when you issue `show interfaces description`. This operational command is specifically designed to display these strings, making them useful for documenting purpose, circuit ID, or peer information without needing to view the full interface configuration. Additionally, the same value is propagated to the SNMP ifAlias object, allowing external NMS tools to read it.

Why this answer

In Junos, the 'description' statement under an interface configuration sets a text string that is displayed in the output of 'show interfaces description'. This is the standard way to provide a human-readable label for the interface, such as 'Link to Core Router A'. It does not affect SNMP, administrative comments, or syslog tags.

Exam trap

The trap here is that candidates often confuse the 'description' statement with the SNMP ifAlias or administrative comments, assuming they serve the same purpose as in other vendors' syntax, but Junos explicitly separates these functions.

How to eliminate wrong answers

Option A is wrong because the SNMP ifAlias is set by the 'snmp ifAlias' statement, not by the 'description' statement; the description does not automatically populate the MAC address. Option B is wrong because the 'description' statement is not an administrative comment; administrative comments in Junos are added using the 'annotate' command or inline comments with '/* ... */'. Option D is wrong because the 'description' statement does not set a syslog tag; syslog tags are configured under the 'syslog' hierarchy or via structured syslog messages.

64
MCQmedium

You are configuring a Juniper EX Series switch port that connects to an IP phone. The phone must tag its voice traffic in VLAN 30, while an attached PC sends untagged traffic that should be placed in VLAN 20. You want to configure the port so that both traffic types are accepted on the same physical interface. Which port mode should you configure?

A.access mode with vlan-id 30
B.trunk mode with native-vlan-id 20 and VLAN 30 as a member
C.trunk mode with native-vlan-id 20
D.access mode with vlan-id 20
AnswerB

A trunk port with native-vlan-id 20 accepts untagged PC frames and places them in VLAN 20. Adding VLAN 30 as a member allows the port to accept the phone's tagged frames in VLAN 30. This configuration correctly supports both traffic types on the same physical interface, which is the standard VoIP deployment model.

Why this answer

A trunk port can carry multiple VLANs, with the native VLAN handling untagged frames and other VLANs handling tagged frames. Setting the native VLAN to 20 places untagged PC traffic correctly, while including VLAN 30 as a member allows the phone's tagged voice traffic. This is the correct way to support both devices on one switch port.

Exam trap

The trap here is assuming that an access port can process tagged frames or that a trunk port automatically accepts all VLANs without explicit membership.

65
MCQhard

An administrator observes that the router's CPU utilization is consistently high. Which command helps identify which process is consuming the most CPU?

A.show log messages
B.show system resource
C.show chassis routing-engine
D.show system processes extensive
AnswerD

This command displays detailed information about every running process, including its process ID, parent, and the amount of CPU and memory it is consuming. The "extensive" variant adds per-thread and per-process statistics, allowing an administrator to identify exactly which process is causing high CPU utilization. It is the equivalent of "top" on Unix and is the appropriate tool for this diagnostic.

Why this answer

'show system processes extensive', is correct because it displays detailed CPU utilization statistics for each running process on a Junos device, including the percentage of CPU time consumed. This allows the administrator to identify which specific process (e.g., routing protocol daemon, SNMP, or management process) is causing the high CPU load, enabling targeted troubleshooting.

Exam trap

The trap here is that candidates often confuse 'show chassis routing-engine' (which shows aggregate CPU load) with process-level CPU breakdown, leading them to choose option C, but only 'show system processes extensive' provides the per-process detail needed to pinpoint the culprit.

How to eliminate wrong answers

Option A is wrong because 'show log messages' displays system log entries (syslog messages) and does not provide real-time CPU utilization per process; it is used for reviewing events and errors, not for process-level CPU monitoring. Option B is wrong because 'show system resource' shows overall system resource usage (memory, CPU, and storage) but does not break down CPU usage by individual process; it gives a high-level summary, not per-process granularity. Option C is wrong because 'show chassis routing-engine' displays the status and resource utilization of the Routing Engine (RE), including CPU load average, but it does not list individual processes; it shows aggregate RE health, not process-specific CPU consumption.

66
MCQeasy

What is the primary function of the fxp0 interface on a Juniper device?

A.Internal routing
B.Management interface
C.Loopback testing
D.Data plane forwarding
AnswerB

fxp0 is specifically engineered as an out-of-band management interface, providing administrative access to the device via protocols like SSH, SNMP, and syslog. It is isolated from the data plane and much of the control plane, operating in its own management routing instance, so management connectivity remains available even when the network interfaces are down or the device is not forwarding traffic. This separation allows network operators to recover and configure a device remotely during outages, making fxp0 essential for lifecycle management.

Why this answer

The fxp0 interface is a dedicated out-of-band management Ethernet port on Juniper devices, used exclusively for management traffic such as SSH, SNMP, and syslog. It is separate from the data plane and control plane forwarding interfaces, ensuring administrative access remains available even if the routing or forwarding planes are disrupted.

Exam trap

The trap here is confusing fxp0 with loopback (lo0) or internal RE interfaces, leading candidates to incorrectly select internal routing or loopback testing, when in fact fxp0 is solely for out-of-band management.

How to eliminate wrong answers

Option A is wrong because internal routing between REs or between RE and PFE uses the internal fxp1 or fxp2 interfaces, not fxp0. Option C is wrong because loopback testing is performed on the lo0 interface, which provides a stable IP address for the router and is used for protocols like OSPF and BGP, not for management access. Option D is wrong because data plane forwarding is handled by network interfaces (e.g., ge-, xe-, et-) and the Packet Forwarding Engine (PFE), while fxp0 is strictly an out-of-band management interface that does not participate in forwarding transit traffic.

67
Multi-Selecthard

Which THREE commands are valid in Junos operational mode? (Choose three.)

Select 3 answers
A.show interfaces terse
B.set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/24
C.commit and-quit
D.ping 10.0.0.1 count 5
E.request system software add /var/tmp/junos-install.tgz
AnswersA, D, E

The 'show interfaces terse' command is a read-only operational mode command that displays a concise summary of all interface statuses, including administrative state, link state, and protocol family addresses. It is valid in operational mode because it is a 'show' command, which is used for monitoring and troubleshooting, not for modifying the device configuration.

Why this answer

Option A, 'show interfaces terse', is valid in Junos operational mode because show commands are operational-mode commands used to display interface status and configuration summaries. Option D, 'ping 10.0.0.1 count 5', is valid in operational mode because ping is an operational-mode diagnostic command, and 'count 5' correctly limits the number of ICMP echo requests. Option E, 'request system software add /var/tmp/junos-install.tgz', is valid in operational mode because request commands are operational-mode commands used to perform system actions such as installing a Junos software package.

Option B, 'set interfaces ge-0/0/0 unit 0 family inet address 10.0.0.1/24', is a configuration-mode command and is not valid in operational mode. Option C, 'commit and-quit', is also a configuration-mode command used to commit candidate configuration changes and exit configuration mode, so it is not valid in operational mode.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly think 'set' commands are valid in operational mode, or that 'commit and-quit' is a valid shortcut, when in Junos, operational mode only supports 'show', 'ping', 'traceroute', 'request', and other monitoring commands, while configuration changes require explicit entry into configuration mode.

68
MCQeasy

An engineer needs to check the current system uptime on a Juniper device running Junos OS. Which command should they use?

A.show system status
B.show system health
C.show system resources
D.show system uptime
AnswerD

The correct term for checking uptime on Junos is 'show system uptime'. This operational command presents the current time, how long the system has been running, and load average figures. It also shows the number of users logged in, making it the standard tool for verifying system availability in Junos troubleshooting and monitoring workflows.

Why this answer

The correct command to check current system uptime on a Juniper device running Junos OS is 'show system uptime'. This command displays the time since the system was last booted, as well as the current time and the time since the routing protocol process (rpd) started. It is the standard operational command for this specific metric.

Exam trap

The trap here is that candidates may confuse 'show system uptime' with similar-sounding commands from other vendors (like Cisco's 'show version' or 'show system status'), leading them to select a non-existent or incorrect Junos command.

How to eliminate wrong answers

Option A is wrong because 'show system status' is not a valid Junos command; the correct command for general system status information is 'show system information'. Option B is wrong because 'show system health' is not a valid Junos command; the correct command for hardware health monitoring is 'show chassis hardware' or 'show system health-monitor' (in newer releases). Option C is wrong because 'show system resources' displays CPU, memory, and filesystem utilization, not system uptime.

69
MCQmedium

Refer to the exhibit. The interface ge-0/0/0 is configured as shown, but the interface is operationally down. Which command would provide the most detailed information about the interface status and errors?

A.show interfaces ge-0/0/0
B.show configuration interfaces ge-0/0/0
C.show interfaces ge-0/0/0 terse
D.show interfaces ge-0/0/0 extensive
AnswerD

The `show interfaces ge-0/0/0 extensive` command is the most detailed operational view available in Junos, providing a comprehensive output that includes all interface flags, encapsulation type, link status, input/output rates, per-protocol packet counters, and an exhaustive listing of error counters such as CRC errors, framing errors, and drops. It also reveals interface history like last flap time and any coincident packet loss, which is essential for troubleshooting. This is the correct choice when the exhibit refers to detailed interface information including errors, because the extensive keyword expands the output to the full diagnostic level.

Why this answer

The correct option is D, 'show interfaces ge-0/0/0 extensive', because the extensive keyword produces the most detailed output for a Junos interface, including physical and logical interface status, error counters (input/output errors, drops, framing, CRC, collisions), MAC/PHY details, and operational flags needed to diagnose why ge-0/0/0 is operationally down. Option A, 'show interfaces ge-0/0/0', gives a standard summary with basic status and counters but omits the deeper diagnostic detail. Option B, 'show configuration interfaces ge-0/0/0', only displays the configured statements and cannot reveal live operational state or errors.

Option C, 'show interfaces ge-0/0/0 terse', provides a brief one-line-per-interface summary, which is the least detailed for troubleshooting.

70
MCQmedium

An administrator wants to verify that BGP neighbors are established. Which command provides a summary of all BGP peer sessions?

A.show bgp neighbor
B.show bgp summary
C.show interfaces terse
D.show route protocol bgp
AnswerB

The 'show bgp summary' command is the standard tool for verifying BGP peer status at a glance. Its tabular output lists each neighbor's address, AS number, session state (e.g., Active, Idle, or Established), and uptime, along with the number of prefixes received and advertised. Because it condenses all peers into a single screen, an administrator can immediately confirm that each peer is in the Established state, which is exactly what this task requires.

Why this answer

The 'show bgp summary' command is correct because it provides a concise, one-line-per-peer overview of all BGP sessions, including the peer IP address, AS number, state (e.g., Established), and counters for prefixes received. This is the standard command in Junos for quickly verifying that all BGP neighbors are in the Established state without the detailed per-neighbor output.

Exam trap

The trap here is that candidates familiar with Cisco IOS might expect 'show ip bgp summary' but mistakenly choose 'show bgp neighbor' because they confuse the detailed neighbor output with a summary view, or they overlook that Junos uses 'show bgp summary' for the aggregated peer list.

How to eliminate wrong answers

Option A is wrong because 'show bgp neighbor' displays detailed per-neighbor information (including timers, capabilities, and NLRI details) for each BGP peer, not a summary table. Option C is wrong because 'show interfaces terse' lists interface status and configuration, not BGP peer session information. Option D is wrong because 'show route protocol bgp' displays the routing table entries learned via BGP, not the status of BGP peer sessions.

71
MCQmedium

A junior engineer accidentally enters 'set interfaces ge-0/0/0 unit 0 family inet address 192.0.2.1/24' in operational mode. What will happen?

A.An error message is displayed, and no changes are made.
B.The IP address is configured successfully.
C.The command is queued for later execution.
D.The CLI automatically switches to configuration mode.
AnswerA

When a `set` command is entered at the operational-mode prompt (`user@host>`), the Junos CLI parser immediately recognizes that `set` is not a valid operational command. It displays an error such as `error: unknown command` or `syntax error`, and because the command is rejected at parse time, no changes are made to the running or candidate configuration. The CLI does not attempt to reinterpret the input or apply any partial configuration.

Why this answer

In Junos OS, the 'set' command is a configuration mode command used to modify the candidate configuration. When entered in operational mode (indicated by the '>' prompt), the CLI does not recognize it as a valid operational command. Junos will immediately display an error message such as 'unknown command' and make no changes to the running or candidate configuration.

Exam trap

The trap here is that candidates accustomed to Cisco IOS, where 'configure terminal' is not required for every command and some configuration commands can be entered from privileged EXEC mode, mistakenly assume Junos behaves similarly, leading them to expect the command to succeed or the CLI to auto-switch modes.

How to eliminate wrong answers

Option B is wrong because the command is not executed; Junos strictly separates operational and configuration modes, and 'set' is not a valid operational command. Option C is wrong because Junos does not queue configuration commands for later execution; it either rejects them immediately or, if in configuration mode, applies them to the candidate configuration. Option D is wrong because the CLI does not automatically switch modes; the engineer must explicitly enter configuration mode using the 'configure' command.

72
Multi-Selecthard

Which TWO statements are true about the 'commit confirmed' command? (Choose two.)

Select 2 answers
A.It is used to schedule a commit at a future time.
B.The default timeout is 10 minutes.
C.It saves the configuration to a file before applying.
D.The timeout can be set only in multiples of 5 minutes.
E.It requires a confirmation within the specified time to make the commit permanent.
AnswersB, E

When you issue 'commit confirmed' without explicitly specifying a timeout, Junos applies a default of 10 minutes. This means the new configuration remains active for exactly 10 minutes, and if no confirmation is received before the timer expires, the system automatically restores the previous configuration. You can override this default by appending a numeric value to the command, such as 'commit confirmed 5'.

Why this answer

Option B is correct because the 'commit confirmed' command in Junos OS uses a default rollback timeout of 10 minutes, during which the configuration is active but not yet permanent. Option E is correct because the commit only becomes permanent if the administrator issues a confirming 'commit' command within that timeout window; otherwise, the device automatically rolls back to the previous configuration. Option A is incorrect because scheduling a commit for a future time is done with the 'commit at' command, not 'commit confirmed'.

Option C is incorrect because 'commit confirmed' does not save the configuration to a file before applying; it applies the candidate configuration with an automatic rollback timer. Option D is incorrect because the timeout can be set to any value from 1 to 65,535 minutes using the 'commit confirmed <minutes>' syntax, not only in multiples of 5 minutes.

Exam trap

The trap here is confusing 'commit confirmed' with 'commit at' (scheduling) or assuming the timeout is restricted to 5-minute increments, when in fact it accepts any integer minute value.

73
MCQmedium

After a configuration change, a router is not behaving as expected. The administrator wants to rollback to the previous configuration. Which command accomplishes this?

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

Rollback 1 is the automatic configuration snapshot saved at the commit immediately before the most recent one, i.e., the last known-good state prior to your change. Issuing `rollback 1` replaces the candidate configuration with that snapshot, and once you commit, the router reverts to its previous behavior. This is the standard way to undo the most recent commit in Junos because it precisely targets the prior committed configuration rather than a file or the current state.

Why this answer

The 'rollback 1' command reverts the active configuration to the most recent committed configuration (the one before the latest commit). In JUNOS, the rollback command uses a numeric index where 0 is the current active configuration, 1 is the previous committed configuration, and higher numbers go further back. This allows the administrator to undo an unwanted configuration change without manually editing the configuration.

Exam trap

The trap here is that candidates familiar with Cisco IOS might think 'rollback 0' undoes the last change, but in JUNOS, rollback 0 refers to the current active configuration, not the previous one.

How to eliminate wrong answers

Option A is wrong because 'rollback 0' reverts to the current active configuration, which is effectively a no-op and does not undo any changes. Option B is wrong because 'commit check' only validates the syntax and semantics of the candidate configuration without committing it; it does not roll back to a previous configuration. Option D is wrong because 'load override current' is not a valid JUNOS command; the correct command to replace the candidate configuration with the current active configuration is 'load override terminal' or 'load override <filename>', but this does not roll back to a previous committed configuration.

74
MCQeasy

A network administrator is troubleshooting a missing route in the routing table. The route is learned via OSPF, and the OSPF neighbor adjacency is up. Which command would help determine if OSPF received the route?

A.show route protocol ospf
B.show ospf neighbor
C.show ospf database
D.show interface terse
AnswerC

The OSPF database command reveals the link-state advertisements (LSAs) stored in the router's OSPF LSDB, including Router, Network, and Summary LSAs that contain the actual prefix information. This is the authoritative source to verify whether a route's LSA has been received and is present in the network topology. If the prefix appears here but not in the routing table, the troubleshooting focus shifts to route selection or policy, making this the correct diagnostic step.

Why this answer

The OSPF link-state database (LSDB) contains all received LSAs, including Type 1 (Router) and Type 3 (Summary) LSAs that advertise routes. Even if a route is not installed in the routing table (e.g., due to a higher administrative distance or a missing route preference), the 'show ospf database' command confirms whether OSPF has received the LSA carrying that route. This directly answers the question of whether OSPF received the route, independent of route installation.

Exam trap

The trap here is that candidates often confuse 'show route protocol ospf' (which shows installed routes) with 'show ospf database' (which shows received LSAs), leading them to pick option A when the route is missing from the routing table but still present in the LSDB.

How to eliminate wrong answers

Option A is wrong because 'show route protocol ospf' displays only routes that are actually installed in the routing table, not all routes received by OSPF; a missing route in the routing table could be due to filtering or preference issues, and this command would not show it. Option B is wrong because 'show ospf neighbor' only verifies the adjacency state (e.g., Full) and does not reveal the contents of received LSAs or specific routes. Option D is wrong because 'show interface terse' shows interface status and configuration, not OSPF-specific route information or LSA details.

75
Multi-Selectmedium

Which TWO statements are correct regarding the Junos OS configuration hierarchy?

Select 2 answers
A.The 'commit check' command applies the candidate configuration to the active configuration.
B.The 'load replace' command merges a configuration file into the candidate configuration.
C.The 'show | compare' command displays differences between the candidate and active configurations.
D.The 'rollback 0' command reverts the candidate configuration to the previous state.
E.The 'set' command is used to modify the candidate configuration.
AnswersC, E

When you execute 'show | compare' in configuration mode, Junos displays the differences between the candidate configuration and the active configuration, prefixed with '+' for additions and '-' for deletions. This is a read-only diagnostic that helps you review pending changes before committing, and it does not modify either configuration.

Why this answer

Option C is correct because the 'show | compare' command in Junos displays the differences between the candidate configuration and the active (committed) configuration, allowing operators to review pending changes before committing. Option E is correct because the 'set' command is used in configuration mode to modify the candidate configuration, adding or changing statements in the hierarchy. Option A is incorrect because 'commit check' only validates the candidate configuration for syntax and semantic errors without applying it; the 'commit' command applies it to the active configuration.

Option B is incorrect because 'load replace' replaces the entire candidate configuration with the contents of a file, whereas 'load merge' merges a file into the candidate configuration. Option D is incorrect because 'rollback 0' reverts the candidate configuration to the currently active configuration, discarding uncommitted changes; 'rollback 1' reverts to the previous committed configuration.

Page 1 of 5

Page 2

All pages