Courseiva

Juniper Networks Certified Associate Junos JNCIA-Junos (JN0-106) — Questions 301–326

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

Page 4

Page 5 of 5

301
MCQeasy

An administrator wants to see the differences between the candidate configuration and the active configuration. Which command should be used?

A.show | display set
B.run show configuration
C.show | compare
D.show configuration
AnswerC

`show | compare` is the correct Junos CLI command to display the differences between the candidate configuration and the active committed configuration. It outputs a unified diff-style output with `+` for lines added in the candidate and `-` for lines removed, making pending changes immediately visible. If there are no uncommitted changes, the command produces no output, but when changes exist, this is the definitive tool for reviewing them.

Why this answer

The 'show | compare' command displays the differences between the candidate configuration and the active (committed) configuration. This is the standard Junos method for reviewing uncommitted changes before committing them, as it outputs a diff-style output showing lines added, deleted, or modified.

Exam trap

The trap here is that candidates often confuse 'show | compare' with 'show configuration' or 'show | display set', thinking they all show differences, but only 'show | compare' provides the explicit diff output between candidate and active configurations.

How to eliminate wrong answers

Option A is wrong because 'show | display set' reformats the output of the 'show' command into 'set' commands, but does not compare configurations. Option B is wrong because 'run show configuration' is used to display the active configuration on the RE (Routing Engine) from the shell, not to compare candidate and active configurations. Option D is wrong because 'show configuration' displays the entire active configuration, not the differences between candidate and active.

302
MCQhard

A network engineer needs to verify the checksum of a downloaded Junos image before installation. Which command is used?

A.file checksum sha256 <filename>
B.compare <filename> original
C.request system software validate <filename>
D.show system software
AnswerA

The Junos CLI command 'file checksum sha256 <filename>' computes the SHA-256 cryptographic hash of the specified file, producing a deterministic digest that can be compared against the vendor-published checksum to confirm the download's integrity and detect corruption or tampering. This is the standard, purpose-built method on Junos for verifying a downloaded image or file, and it directly addresses the engineer's task.

Why this answer

The `file checksum sha256 <filename>` command computes the SHA-256 hash of the specified file, allowing the engineer to compare it against the published checksum from Juniper Networks to verify integrity and authenticity before installation. This ensures the image has not been corrupted or tampered with during download.

Exam trap

The trap here is that candidates confuse the `request system software validate` command, which performs a package validation, with a checksum verification, but it does not compute or display a cryptographic hash for external comparison.

How to eliminate wrong answers

Option B is wrong because `compare <filename> original` is not a valid Junos command; it is likely confused with the `file compare` command used to diff two files, not to verify checksums. Option C is wrong because `request system software validate <filename>` validates the software package's internal integrity and compatibility with the current system, but it does not compute or display a checksum for external verification against a published hash. Option D is wrong because `show system software` displays installed software packages and their versions, not a checksum verification function for a downloaded image.

303
Multi-Selecthard

Which TWO configuration statements are valid for defining a static route on a Junos device?

Select 2 answers
A.set routing-options static route 10.0.0.0/8 discard
B.set routing-options static route 10.0.0.0/8 reject-all
C.set routing-options static route 10.0.0.0/8 qualified-next-hop 192.168.1.1 preference 10
D.set routing-options static route 10.0.0.0/8 next-hop 192.168.1.1 metric 10
E.set routing-options static route 10.0.0.0/8 passive
AnswersA, C

The `discard` action is a valid static route next-hop type in Junos, causing the router to silently drop packets that match the route without generating an ICMP unreachable message. This statement installs a route to 10.0.0.0/8 with a next-hop type of 'discard', effectively blackholing traffic—a common technique for preventing routing loops or intentionally dropping traffic. The syntax `set routing-options static route 10.0.0.0/8 discard` is fully valid and correctly configured.

Why this answer

Option A is correct because Junos supports the discard next-hop on a static route, which silently drops matching traffic and is configured exactly as set routing-options static route 10.0.0.0/8 discard. Option C is correct because qualified-next-hop is a valid Junos static-route next-hop type that allows a per-next-hop preference, so set routing-options static route 10.0.0.0/8 qualified-next-hop 192.168.1.1 preference 10 is syntactically valid. Option B is wrong because reject-all is not a valid Junos static-route next-hop keyword; the valid reject form is simply reject.

Option D is wrong because Junos static routes do not use a metric statement; route preference is set with preference, not metric. Option E is wrong because passive is not a valid static-route option in Junos.

Exam trap

The trap here is that candidates familiar with Cisco IOS may mistakenly use `metric` or `passive` keywords, which are not valid in Junos for static routes, or confuse `reject-all` with the correct `reject` action.

304
MCQmedium

You configure an aggregate route for 172.16.0.0/16. What must exist for this aggregate to be active in the routing table?

A.A directly connected interface on that subnet
B.A static route to the aggregate prefix
C.A contributing route (more specific route within the aggregate range)
D.Nothing; the aggregate is always active once committed.
AnswerC

The one mandatory configuration for an aggregate route is a contributing route: any active route with a prefix that is more specific than 172.16.0.0/16 and whose destination lies within that aggregate's address space. Junos evaluates the routing table for such routes and installs the aggregate with a next hop derived from the selected contributor; without at least one contributor, the aggregate is not installed and cannot be advertised or used for packet forwarding. This requirement ensures the aggregate always has a valid forwarding path rather than becoming a black hole.

Why this answer

The correct option is C: a contributing route (a more specific route within the aggregate range) must exist for the aggregate to become active. In Junos, an aggregate route is only installed into the routing table when at least one more-specific route covered by the aggregate prefix is present in the routing table; for 172.16.0.0/16, that means a route such as 172.16.1.0/24 must be learned or configured. Option A is incorrect because a directly connected interface on the exact aggregate subnet is not required, and a more-specific connected route would itself serve as the contributing route.

Option B is incorrect because a static route to the aggregate prefix does not activate the aggregate and would conflict with the aggregate's purpose. Option D is incorrect because aggregate routes are not unconditionally active; they depend on the presence of contributing routes.

305
MCQeasy

A medium-sized enterprise has its headquarters (HQ) and a remote branch office connected via a dedicated point-to-point link. The HQ router (Juniper MX) has interface ge-0/0/1 with IP 10.0.0.1/30 connected to the branch router (Juniper SRX) interface ge-0/0/0 with IP 10.0.0.2/30. The branch LAN is 192.168.2.0/24, and the HQ LAN is 10.0.1.0/24. The branch router has a default route pointing to 10.0.0.1. The HQ router has a static route for 192.168.2.0/24 with next-hop 10.0.0.2, but it was recently changed incorrectly to point to 10.0.0.10 due to a configuration error. Users at the branch report that they can access the internet via the HQ router but cannot reach the HQ LAN's file server at 10.0.1.100. From the HQ router, you can ping the branch router's interface IP (10.0.0.2) successfully, but you cannot ping any device in the branch LAN (192.168.2.0/24). You check the routing table on the HQ router and see that the static route for 192.168.2.0/24 points to 10.0.0.10. What is the most appropriate corrective action?

A.Add a static route on the branch router for 10.0.1.0/24 pointing to 10.0.0.1.
B.Remove the static route and rely on the default route on the branch router.
C.Enable proxy ARP on the HQ router's ge-0/0/1 interface.
D.Change the static route on the HQ router to point to 10.0.0.2.
AnswerD

Changing the static route on the HQ router to point to 10.0.0.2 is the correct fix because 10.0.0.2 is the branch router's interface address on the shared point-to-point link. The existing static route likely uses 10.0.0.1, which is the HQ router's own address, making the next-hop unreachable and causing the router to recursively look up its own interface, ultimately dropping the packets. Pointing to 10.0.0.2 gives the HQ router a valid, directly connected next-hop through which it can forward traffic toward the branch LAN, restoring end-to-end connectivity.

Why this answer

The correct action is D: change the static route on the HQ router for 192.168.2.0/24 to point to 10.0.0.2, the actual next-hop IP of the branch router's ge-0/0/0 interface. The HQ router currently has the route pointing to 10.0.0.10, which is not a valid next hop on the 10.0.0.0/30 point-to-point link, so traffic destined for the branch LAN is dropped or unresolved even though 10.0.0.2 is directly reachable. Correcting the next hop restores forwarding to 192.168.2.0/24 and allows return traffic to reach the HQ LAN.

Option A is unnecessary because the branch router already has a default route via 10.0.0.1, which covers 10.0.1.0/24. Option B is wrong because removing the HQ static route would not fix the misconfigured next hop and would leave the branch LAN unreachable from HQ. Option C is irrelevant because proxy ARP does not repair an invalid static route next hop.

306
MCQmedium

An engineer is preparing a Juniper EX Series switch for deployment and wants to load a previously saved configuration from a USB device into the candidate configuration without deleting any existing candidate statements. The saved file is named ex-config.conf and is located in the /var/tmp directory. Which command accomplishes this?

A.load set /var/tmp/ex-config.conf
B.load override /var/tmp/ex-config.conf
C.load merge /var/tmp/ex-config.conf
D.load replace /var/tmp/ex-config.conf
AnswerC

The load merge command reads the specified file and merges its contents into the candidate configuration, preserving all existing candidate statements. It is the correct choice when the requirement is to add configuration without removing what is already present. The path /var/tmp/ex-config.conf is valid and the merge action keeps existing hierarchies intact.

Why this answer

The load merge command is designed to combine a saved configuration file with the current candidate configuration, keeping all existing candidate statements intact. The requirement is to add the saved configuration without deleting anything, so merge is the correct action. Other load variants either replace hierarchies, override the entire candidate, or expect a different file format.

Exam trap

The trap here is assuming that any load command preserves existing configuration, when in fact load override and load replace can delete candidate statements.

307
MCQeasy

An engineer needs to view the current active configuration of a Junos device without making any changes. Which CLI mode should they use?

A.Operational mode
B.Privileged mode
C.Configuration mode
D.Exclusive configuration mode
AnswerA

Operational mode is the default Junos CLI state, where an engineer can execute read-only commands such as 'show configuration' and 'show interfaces'. It provides a complete view of the active configuration without permitting any direct edits. To change the configuration, the engineer must explicitly enter configuration mode, making operational mode strictly for monitoring and verification.

Why this answer

Operational mode is the default CLI mode in Junos, used for monitoring, troubleshooting, and viewing the current active configuration without making any changes. Commands in this mode are read-only and do not modify the device's configuration. The active configuration is the one currently running on the device, and it can be viewed using commands like 'show configuration' in operational mode.

Exam trap

The trap here is that candidates familiar with Cisco IOS may confuse 'Privileged mode' (which allows viewing and some changes) with Junos operational mode, but Junos strictly separates read-only (operational) and read-write (configuration) modes.

How to eliminate wrong answers

Option B is wrong because 'Privileged mode' is a Cisco IOS term, not a Junos CLI mode; Junos uses operational mode for read-only access and configuration mode for changes. Option C is wrong because Configuration mode is used to modify the candidate configuration, not just view the active configuration; entering this mode allows changes to be made. Option D is wrong because Exclusive configuration mode is a variant of configuration mode that locks the configuration database to prevent other users from making changes, but it still allows modifications and is not for read-only viewing.

308
MCQeasy

A network engineer is troubleshooting connectivity between two hosts on the same VLAN connected to different Juniper EX switches. The MAC address table on each switch shows the correct MAC addresses for both hosts, but ping fails. What is the most likely cause?

A.The VLAN is not allowed on the trunk between the switches
B.The hosts are configured with IP addresses in different subnets
C.The ARP cache on the hosts is stale
D.Spanning Tree Protocol is blocking a port
AnswerB

If the hosts are on the same VLAN but in different IP subnets, they cannot communicate directly at Layer 3. However, the scenario indicates that the switches have learned MAC addresses for both hosts on their access ports, which is a Layer 2 function and would still occur regardless of IP subnet. The ping failure would then be due to a missing default gateway or router, not because the MAC forwarding table lacks the necessary entries.

Why this answer

Since both switches have correctly learned the MAC addresses of both hosts, Layer 2 forwarding across the trunk is working, meaning the VLAN is allowed. The ping failure therefore points to a Layer 3 issue: the hosts are configured with IP addresses in different subnets. They cannot communicate via IP without a router, even though they are on the same VLAN.

The correct answer is B.

Exam trap

The trap is that MAC address table correctness only confirms Layer 2 reachability, not Layer 3 IP reachability. Candidates may blame trunk VLAN filtering without realizing that MAC learning would not occur if the VLAN were not allowed.

How to eliminate wrong answers

Option B is wrong because if the hosts were in different subnets, they would need a router to communicate, but the question specifies they are on the same VLAN, which implies the same subnet; ping failure due to subnet mismatch would be a Layer 3 issue, not a Layer 2 MAC table problem. Option C is wrong because a stale ARP cache would cause a Layer 3 issue (hosts would have incorrect IP-to-MAC mappings), but the MAC tables on the switches are correct, indicating that ARP resolution has succeeded; ping failure here is not due to ARP. Option D is wrong because Spanning Tree Protocol (STP) blocking a port would prevent MAC address learning on that port, but the question states the MAC address tables are correct, meaning STP is not blocking the relevant ports; STP blocking would also show the port in a blocking state in the STP topology.

309
MCQeasy

A user wants to see all available commands starting with 'show'. Which key should they press after typing 'show'?

A.Space
B.?
C.Tab
D.Ctrl-P
AnswerB

The '?' character is the Junos CLI's context-sensitive help trigger. When typed after a partial command like 'sh', the CLI immediately displays a list of all available commands that begin with that prefix, such as 'show' and 'show log'. This differs from completion or recall functions because it explicitly shows all matching possibilities rather than filling in one result or retrieving history.

Why this answer

In the Junos CLI, pressing the '?' key after typing a partial command like 'show' displays a list of all available commands or options that start with that string. This is the standard context-sensitive help feature in Junos, which is distinct from other CLI behaviors.

Exam trap

The trap here is that candidates familiar with Cisco IOS may expect the Tab key to list completions, but in Junos, Tab only auto-completes a unique command, while '?' is used to list all available options.

How to eliminate wrong answers

Option A is wrong because pressing the Space bar after 'show' would execute the command if it is complete, or cause an error if incomplete; it does not display available commands. Option C is wrong because the Tab key in Junos CLI performs command completion (auto-fills the command if unique), not listing all available options. Option D is wrong because Ctrl-P is a readline shortcut that recalls the previous command from the history buffer, not related to showing available commands.

310
MCQeasy

A junior engineer uses 'set system host-name R1' in configuration mode and exits without committing. After a reboot, the hostname reverts to the original. What step did the engineer miss?

A.They must use 'run set system host-name' instead.
B.They must save the configuration to a file.
C.They must reboot after setting the hostname.
D.They must commit the configuration with 'commit'.
AnswerD

Junos uses a candidate configuration model: all `set` commands are staged in the candidate configuration until explicitly activated. The `commit` command validates the candidate, applies it to the active configuration, and writes it as the permanent configuration that persists across reboots. For the hostname change to become effective immediately and survive a future reboot, you must run `commit` from configuration mode. Without this step, the change remains staged but inactive.

Why this answer

In Junos OS, configuration changes made in configuration mode are stored in a candidate configuration and do not take effect until explicitly committed using the 'commit' command. Rebooting without committing discards all uncommitted changes, causing the hostname to revert to its original value. Option D is correct because the engineer must issue 'commit' to activate the new hostname permanently.

Exam trap

The trap here is that candidates familiar with Cisco IOS may assume changes take effect immediately in configuration mode, but Junos requires an explicit 'commit' to activate changes, and rebooting does not save uncommitted changes.

How to eliminate wrong answers

Option A is wrong because 'run set system host-name' is not a valid command; 'run' executes operational-mode commands, while 'set system host-name' is a configuration-mode command. Option B is wrong because saving the configuration to a file (e.g., with 'save') is not required for activation; the candidate configuration is automatically stored in memory and only needs to be committed to become the active configuration. Option C is wrong because rebooting is unnecessary and does not commit changes; in fact, rebooting without committing discards uncommitted changes, which is the opposite of the desired outcome.

311
MCQhard

Tom is a junior network engineer who recently joined a service provider. He is tasked with configuring a new BGP session on an MX240 router to peer with a customer. He accesses the router via SSH and enters configuration mode using the `configure` command. He then navigates to `edit protocols bgp` and begins configuring. He sets the local AS number, adds a group named 'CUSTOMER-A', and specifies the peer IP address 192.0.2.2. After completing the configuration, he attempts to commit by typing `commit`. The system returns a syntax error and indicates that the configuration is invalid. Tom is unsure what went wrong and wants to identify the error before making any changes. What should Tom do next?

A.Issue the `commit check` command to validate the candidate configuration syntax.
B.Issue the `show | compare` command to see the differences from the previous committed configuration.
C.Issue the `run show configuration protocols bgp` command to display the current active configuration.
D.Issue the `edit protocols bgp` command again to re-enter the hierarchy and review the settings.
AnswerA

The `commit check` command performs the same full syntax and validation checks as `commit` but without actually activating the candidate configuration. If there is a syntax error, it will immediately report the specific line and the nature of the problem, allowing you to fix it before any impact to the live network. This is the correct first step when a user sees an invalid configuration error.

Why this answer

The correct action is to issue the `commit check` command (option A), which validates the candidate configuration for syntax and semantic errors without actually committing it, exactly what Tom needs to identify the invalid statement before making changes. On Junos, `commit` itself failed with a syntax error, so running `commit check` will report the specific error location and reason while leaving the active configuration untouched. Option B (`show | compare`) only shows the diff between the candidate and the last committed configuration and does not validate syntax or explain the error.

Option C (`run show configuration protocols bgp`) displays the active committed BGP configuration, not the candidate, so it would not reveal Tom's invalid edits. Option D merely re-enters the BGP hierarchy and shows the candidate text but performs no validation, so it would not identify the syntax error.

312
MCQeasy

An engineer needs to check the last time the configuration was changed. Which command provides this information?

A.show system commit
B.show configuration | display set
C.show system alarms
D.show system uptime
AnswerA

show system commit is correct because it directly displays the commit log, which records every configuration commit along with the timestamp, user, and commit comment. By listing each commit event, it provides the exact last time the configuration was changed and saved as an active operational state. This command is the standard way to audit configuration change history on Junos devices.

Why this answer

The 'show system commit' command displays the commit history, including the date, time, and user for each configuration change. This allows the engineer to see exactly when the last configuration was committed, which is the definitive way to determine the last time the configuration was changed.

Exam trap

The trap here is that candidates often confuse 'show configuration' (which shows the current config) with a command that shows when the config was last changed, but only 'show system commit' provides the timestamp of the last commit.

How to eliminate wrong answers

Option B is wrong because 'show configuration | display set' shows the current active configuration in set format, but it does not include any timestamp or commit history to indicate when the configuration was last changed. Option C is wrong because 'show system alarms' displays active system alarms (such as hardware or software issues), not configuration change timestamps. Option D is wrong because 'show system uptime' shows how long the device has been running and the time since the last reboot, but it does not provide any information about configuration commit times.

313
Multi-Selecteasy

Which two statements are true about static routes on Juniper devices? (Choose two.)

Select 2 answers
A.A static route with a next-hop of an IP address requires that the next-hop be reachable.
B.Static routes can be configured with a qualified-next-hop to provide conditional routing.
C.A static route with a next-hop of an interface will be active even if the interface is down.
D.A static route with a preference of 10 is preferred over a static route with a preference of 5.
E.Static routes cannot be used for load balancing.
AnswersA, B

In Junos, a static route with a next-hop IP address is activated only when that next-hop is resolvable through an existing active route in the routing table. If the next-hop becomes unreachable (e.g., its connected interface goes down or the route to it disappears), the static route is marked inactive and no longer installs in the forwarding table. This ensures the router does not black-hole traffic by sending it to a dead next-hop.

Why this answer

Option A is correct because a static route whose next-hop is specified as an IP address is only installed in the routing table (and thus active) if that next-hop is resolvable and reachable via a route in inet.0; if the next-hop is unreachable, the route stays hidden. Option B is correct because Junos supports the qualified-next-hop statement, which lets you attach a separate preference to each next-hop of a static route, enabling conditional/backup routing where the secondary next-hop is used only when the primary becomes unreachable. Option C is wrong because a static route pointing at an interface (e.g., next-hop ge-0/0/0.0) is only active while that interface is up, so it is not active when the interface is down.

Option D is wrong because in Junos a lower preference value is preferred, so a route with preference 5 wins over one with preference 10. Option E is wrong because static routes can perform load balancing by configuring multiple next-hops (or multiple paths) for the same destination, which are then installed as equal-cost multipath entries.

Exam trap

The trap here is that candidates often assume a static route with a next-hop of an interface remains active regardless of interface state, but Junos strictly requires the interface to be up for the route to be installed.

314
MCQhard

An engineer needs to load a full configuration from a text file onto a Junos device, replacing the entire candidate configuration. Which command should be used?

A.load set /path/to/config.txt
B.load override /path/to/config.txt
C.load patch /path/to/config.txt
D.load merge /path/to/config.txt
AnswerB

`load override` reads the text file as a complete hierarchical configuration and replaces the entire candidate configuration with its contents. Every existing statement in the candidate is discarded, and the resulting candidate matches the file exactly. This is the correct command when the goal is to load a full configuration from a text file, because it guarantees that statements absent from the file are removed and the device processes the file as the definitive configuration.

Why this answer

The 'load override' command replaces the entire candidate configuration with the contents of the specified text file, discarding any existing candidate changes. This is the correct choice because the engineer explicitly needs to replace the full configuration, not merge or patch it.

Exam trap

The trap here is that candidates often confuse 'load override' with 'load merge' because both load a file, but only 'load override' discards the existing candidate configuration, while 'load merge' preserves it and can cause configuration conflicts or residual settings.

How to eliminate wrong answers

Option A is wrong because 'load set' is not a valid Junos command; the correct syntax for loading a set-based configuration is 'load set terminal' or 'load set filename', but 'load set /path/to/config.txt' is not standard and would fail. Option C is wrong because 'load patch' applies only incremental changes (diffs) to the candidate configuration, not a full replacement. Option D is wrong because 'load merge' combines the text file with the existing candidate configuration, potentially retaining old settings and not achieving a full replacement.

315
MCQhard

Refer to the exhibit. An administrator wants to remove the address 10.0.0.2/24 from unit 0. Which configuration mode command achieves this without affecting other configuration?

A.delete interfaces ge-0/0/1 unit 0
B.delete interfaces ge-0/0/1 unit 0 family inet address
C.delete interfaces ge-0/0/1 unit 0 family inet address 10.0.0.2/24
D.delete interfaces ge-0/0/1 unit 1 family inet address 10.0.0.2/24
AnswerC

Junos treats addresses under 'family inet' as a list of prefix-form entries. By specifying '10.0.0.2/24' with the exact prefix length, the delete operation becomes a subtraction from that list, affecting only that entry. Any other addresses on unit 0 remain untouched; this precisely matches the administrator's intention.

Why this answer

The command `delete interfaces ge-0/0/1 unit 0 family inet address 10.0.0.2/24` specifically removes only the IPv4 address 10.0.0.2/24 from the logical unit 0, leaving all other configuration (such as other addresses, VLAN tagging, or protocol families) intact. In Junos, addresses are hierarchical under `family inet address`, and deleting a specific address entry does not affect sibling addresses or the unit itself.

Exam trap

The trap here is that candidates often confuse deleting the entire unit or address family with deleting a single address, leading them to choose options that remove more configuration than intended, which is a common mistake in Junos hierarchical configuration management.

How to eliminate wrong answers

Option A is wrong because `delete interfaces ge-0/0/1 unit 0` removes the entire logical unit 0, including all its addresses, protocol families, and any other configuration (e.g., VLAN ID, filters), which is too broad. Option B is wrong because `delete interfaces ge-0/0/1 unit 0 family inet address` removes all IPv4 addresses under unit 0, not just the specific 10.0.0.2/24, potentially deleting other configured addresses. Option D is wrong because it targets unit 1 instead of unit 0, so it would not affect the address on unit 0 at all; it either does nothing or modifies the wrong interface unit.

316
MCQeasy

A network administrator configures a default route using 'set routing-options static route 0.0.0.0/0 next-hop 10.0.0.1 preference 10' and later enables OSPF which also advertises a default route with default preference 150. Which route becomes active in the routing table?

A.Neither route becomes active due to conflicting protocols
B.Both routes are active for ECMP load balancing
C.Static route to 0.0.0.0/0 with next-hop 10.0.0.1
D.OSPF route to 0.0.0.0/0
AnswerC

The static route to 0.0.0.0/0 with next-hop 10.0.0.1 is the winning route. With a route preference of 10, it is more trustworthy than the OSPF default route’s preference of 150. Junos installs it in the inet.0 routing table and destination table, so it becomes the active default route.

Why this answer

The static route has a preference of 10, which is lower than OSPF's default preference of 150. Junos uses the route with the lowest preference value as the active route in the routing table. Therefore, the static default route becomes active.

Exam trap

The trap here is that candidates may think OSPF always overrides static routes or that both routes can be used for ECMP, but Junos uses preference values to select a single active route, and ECMP only applies when preferences are equal.

How to eliminate wrong answers

Option A is wrong because conflicting protocols do not prevent a route from becoming active; Junos selects the route with the lowest preference. Option B is wrong because ECMP load balancing requires equal preference values, and here the static route (preference 10) and OSPF route (preference 150) have different preferences, so only the best route is installed. Option D is wrong because the OSPF default route has a higher preference (150) than the static route (10), so it is not selected as active.

317
MCQmedium

You are a network engineer responsible for a Juniper MX240 router in a data center. The router is running Junos 18.2R1 and you need to upgrade it to 19.1R2 to fix a critical security vulnerability. You establish an SSH session to the router and enter configuration mode to prepare the upgrade. While in configuration mode, you notice that the candidate configuration contains several uncommitted changes from a previous engineer that attempted to modify BGP settings but introduced a syntax error. The candidate configuration fails any commit operation due to this error. The currently active configuration is stable and the router is handling production traffic. The upgrade process requires you to change the boot media and specify the new image. Which action should you take to clear the candidate configuration and proceed with the upgrade?

A.Reboot the router to clear the candidate configuration and then start the upgrade.
B.Execute the 'rollback 0' command to discard the candidate and replace it with the active configuration, then proceed with the upgrade commands.
C.Run the 'load override terminal' command and paste the active configuration from memory, then commit and upgrade.
D.Use the 'commit force' command to override the syntax error and commit the candidate, then perform the upgrade.
AnswerB

The 'rollback 0' command is the correct recovery action because it discards the entire candidate configuration and copies the last committed active configuration into the candidate, giving you a clean, syntactically valid starting point. This operation is local to the configuration database and does not affect the running system until you commit, so you can safely rollback, verify with 'show configuration', and then proceed with the standard software upgrade commands such as 'request system software add'.

Why this answer

The 'rollback 0' command discards all uncommitted changes in the candidate configuration and replaces it with the active, committed configuration. This clears the syntax error without affecting the running router, allowing you to proceed with the upgrade commands (e.g., 'request system software add') without a reboot or forced commit.

Exam trap

The trap here is that candidates may think a reboot is needed to clear uncommitted changes (Option A) or that 'commit force' can bypass syntax errors (Option D), when in fact Junos provides a dedicated 'rollback' command to safely discard the candidate configuration without impacting the active state.

How to eliminate wrong answers

Option A is wrong because rebooting the router would disrupt production traffic and is unnecessary; the candidate configuration is not stored in active memory that requires a reboot to clear. Option C is wrong because 'load override terminal' is used to load a configuration from a terminal session, not to discard the candidate; it would require manually pasting the active config, which is error-prone and redundant when 'rollback 0' exists. Option D is wrong because 'commit force' does not override syntax errors; it only bypasses certain validation warnings (e.g., missing root password), and a syntax error in the candidate will still cause the commit to fail.

318
MCQmedium

An administrator is troubleshooting an interface and wants to see real-time packet statistics. Which command should they use?

A.traceoptions
B.show interfaces statistics
C.show interfaces extensive
D.monitor interface
AnswerD

The 'monitor interface' operational command is specifically designed to display interface statistics in real time, refreshing periodically so the administrator can see counters update as traffic flows. It shows live packet and error counters, making it ideal for troubleshooting dynamic issues such as intermittent link errors or traffic spikes. This is the correct choice for real-time interface statistics.

Why this answer

The 'monitor interface' command in Junos provides real-time, continuously updated packet statistics for a specified interface, making it the correct choice for live troubleshooting. Unlike static commands, it refreshes statistics every second until interrupted, allowing the administrator to observe traffic patterns as they occur.

Exam trap

The trap here is that candidates often confuse 'show interfaces statistics' (a static snapshot) with real-time monitoring, failing to recognize that only 'monitor interface' provides live, continuously updated data.

How to eliminate wrong answers

Option A is wrong because 'traceoptions' is used for debugging control-plane protocols (e.g., OSPF, BGP) by logging events to a file, not for viewing real-time interface packet statistics. Option B is wrong because 'show interfaces statistics' displays a static snapshot of cumulative packet counts at the moment the command is issued, not real-time updates. Option C is wrong because 'show interfaces extensive' provides detailed static output including errors and queue information, but it does not refresh automatically or show live statistics.

319
Multi-Selecteasy

Which THREE modes can be used to enter configuration mode in Junos? (Choose three.)

Select 3 answers
A.configure static
B.configure private
C.configure shared
D.configure dynamic
E.configure exclusive
AnswersB, C, E

`configure private` opens a private configuration session, giving the user an exclusive candidate configuration that is merged into the shared one only on commit. This satisfies the stem's requirement for a valid configuration-mode entry command, alongside `configure` and `configure exclusive`, without affecting other users' uncommitted changes.

Why this answer

In Junos, the CLI configuration mode can be entered with different locking behaviors: 'configure private' (option B) gives each user a private candidate configuration so concurrent users don't interfere, 'configure shared' (option C) lets multiple users edit the same shared candidate configuration, and 'configure exclusive' (option E) locks the candidate configuration so only one user can make changes at a time. These three are valid Junos commands for entering configuration mode with the specified locking semantics. Options A ('configure static') and D ('configure dynamic') are not valid Junos configuration-mode commands; there is no 'static' or 'dynamic' configure variant in Junos.

Exam trap

The trap here is that candidates may confuse Junos configuration modes with Cisco IOS configuration modes (like 'configure terminal' or 'configure memory'), leading them to select non-existent options like 'configure static' or 'configure dynamic'.

320
MCQmedium

Refer to the exhibit. A host connected to ge-0/0/1 cannot reach a host connected to ge-0/0/2 even though both are in VLAN10. What is the most likely cause?

A.VLAN10 is not defined in the global VLAN configuration.
B.The hosts are configured with IP addresses on different subnets.
C.An IRB interface for VLAN10 is not configured.
D.The interface ge-0/0/2 is configured as a trunk port.
AnswerB

They can't communicate at Layer 2? Actually Layer 2 doesn't care about IP. So this is tricky. Actually within same VLAN, IP subnet must match for Layer 3, but Layer 2 should work. However if hosts are on different subnets, they need a router. But the question says 'cannot reach' - likely they try to ping. If on different subnets, they need default gateway. So the most likely cause is they are on different subnets and no gateway. Alternatively, the switch might have port security. But given typical JNCIA, this is plausible.

Why this answer

Although both hosts are in the same VLAN and can communicate at Layer 2 (MAC addresses), IP communication requires them to be on the same IP subnet. If the hosts have IP addresses on different subnets, they will attempt to use a default gateway for routing. Without a router or IRB interface configured, the traffic cannot be delivered, leading to unreachability.

Exam trap

The trap here is that candidates often assume VLAN membership alone guarantees IP connectivity, overlooking the fact that IP communication requires the hosts to be in the same IP subnet or have a router to forward traffic between subnets.

How to eliminate wrong answers

Option A is wrong because VLAN10 does not need to be globally defined in the VLAN configuration for it to function; VLANs can be created dynamically on trunk ports or by simply assigning interfaces to a VLAN ID. Option C is wrong because an IRB (Integrated Routing and Bridging) interface is only required for Layer 3 routing between VLANs or for the VLAN to have an IP address for management; hosts within the same VLAN can communicate at Layer 2 without any IRB. Option D is wrong because if ge-0/0/2 were configured as a trunk port, it could still carry VLAN10 traffic as long as VLAN10 is allowed on that trunk; the trunk configuration alone does not prevent communication between hosts in the same VLAN.

321
MCQmedium

A network operations team has received a new Juniper router to replace an existing legacy router. The team needs to apply a baseline configuration that includes system settings, interfaces, and security policies. The configuration is provided as a text file containing Junos configuration hierarchy syntax (e.g., 'system { host-name... }'). The engineer connects to the console and sees the prompt 'root@%'. What is the most efficient way to apply the configuration?

A.Use the 'load set' command to load a set of configuration commands.
B.Use FTP to transfer the file and then commit.
C.Enter configuration mode and manually type each command.
D.Use the 'load merge' command to merge the configuration file.
AnswerD

The 'load merge' command is the correct choice because it reads a configuration file in the Junos hierarchy format and merges its contents into the current candidate configuration. This is the standard way to apply a full or partial configuration file without wiping out existing settings; overlapping statements are updated while untouched parts remain intact. After the merge, the candidate can be reviewed and then committed with 'commit'.

Why this answer

The engineer is at the shell prompt (root@%), not in configuration mode. The 'load merge' command is used within configuration mode to merge a configuration file (in Junos hierarchy syntax) into the candidate configuration, which is the most efficient way to apply a pre-written baseline configuration without manual typing or complex file transfers.

Exam trap

The trap here is that candidates may confuse the shell prompt (root@%) with the configuration mode prompt (root@#) and attempt to use 'load merge' directly at the shell, which fails; they must first enter configuration mode with 'configure' or 'edit' before loading the file.

How to eliminate wrong answers

Option A is wrong because 'load set' is used to load a file containing 'set' commands (flat format), not the hierarchical configuration syntax provided; using it on a hierarchy file would cause syntax errors. Option B is wrong because FTP transfer is unnecessary and inefficient; Junos supports loading configuration files directly from local storage or via SCP/HTTP, and FTP adds security risks and extra steps. Option C is wrong because manually typing each command is time-consuming and error-prone, defeating the purpose of having a pre-written configuration file.

322
Multi-Selectmedium

Which two events typically trigger a change to the routing table? (Choose two.)

Select 2 answers
A.Interface state change
B.System uptime
C.Log file rotation
D.BGP neighbor reset
E.Configuration commit
AnswersA, D

An interface state change (up or down) is a primary trigger for routing table updates. When an interface transitions, the kernel notifies rpd, which immediately adds or removes the directly connected route for that subnet; this change in turn causes the routing table to recalculate and, if necessary, sends updated route information to dynamic routing protocols like OSPF or IS-IS.

Why this answer

An interface state change (up/down) directly affects the reachability of directly connected networks. When an interface goes up, Junos adds the corresponding directly connected route to the routing table; when it goes down, the route is removed. Similarly, a BGP neighbor reset causes the BGP session to be torn down and re-established, which triggers the withdrawal and re-advertisement of all BGP routes, thereby modifying the routing table.

Exam trap

The trap here is that candidates often confuse a configuration commit (option E) with an automatic routing table change. A commit only activates the configuration; it does not directly modify the routing table unless the configuration itself triggers a protocol event or interface change.

323
Multi-Selecteasy

Which TWO statements about ARP are correct? (Select two.)

Select 2 answers
A.ARP request is sent to the broadcast MAC address
B.ARP request is sent to a multicast MAC address
C.ARP reply is sent to the broadcast MAC address
D.ARP is used for both IPv4 and IPv6
E.ARP reply is sent directly to the requesting host's MAC address
AnswersA, E

ARP requests are Layer 2 broadcast frames sent to FF:FF:FF:FF:FF:FF. Because the sender does not know the target's MAC address, it must reach every host on the local subnet simultaneously, prompting only the node that owns the target IPv4 address to respond. This broadcast mechanism is fundamental to how ARP resolves IPv4 addresses to MAC addresses on a LAN.

Why this answer

Option A is correct because an ARP request must reach every device on the local segment, so it is encapsulated in a frame with the broadcast destination MAC address FF:FF:FF:FF:FF:FF. Option E is correct because the ARP reply is unicast: the responding host already knows the requester's MAC address from the sender hardware address field in the request, so it sends the reply directly to that MAC address. Option B is wrong because ARP requests use the broadcast MAC address, not a multicast address (IPv6 uses multicast with Neighbor Discovery instead of ARP).

Option C is wrong because the reply is unicast to the requester, not broadcast, which would waste bandwidth and force all hosts to process it. Option D is wrong because ARP resolves IPv4 addresses to MAC addresses; IPv6 uses Neighbor Discovery (NDP) with ICMPv6 rather than ARP.

Exam trap

The trap here is that candidates often confuse ARP with IPv6 Neighbor Discovery, mistakenly thinking ARP works for both IPv4 and IPv6, or they assume ARP replies are broadcast because ARP requests are broadcast.

324
MCQeasy

You are a junior network engineer tasked with upgrading the Junos OS on a pair of EX3400 switches that are in a Virtual Chassis. You have downloaded the new software image to the primary switch. Before performing the upgrade, you must verify the image's integrity and check the current version. Which sequence of commands should you use?

A.Run 'show system uptime' and then 'request system software add /var/tmp/junos-new.tgz'.
B.Run 'show system software' and then 'request system software add validate'.
C.Run 'show version' and then 'request system software validate /var/tmp/junos-new.tgz'.
D.Run 'show configuration system software' and then 'file checksum sha256 /var/tmp/junos-new.tgz'.
AnswerC

This is the correct approach because 'show version' first confirms the currently running Junos image and software version, which is essential for comparing against the new package and verifying upgrade path compatibility. Then 'request system software validate /var/tmp/junos-new.tgz' performs a dry-run validation of the image file, checking its integrity, checksum, and compatibility with the current system without actually installing it. Together, these two commands give the engineer a clear picture of the current state and a verified upgrade package before installation.

Why this answer

'show version' displays the current Junos OS version running on the switch, which is necessary to confirm the starting point before an upgrade. Then 'request system software validate /var/tmp/junos-new.tgz' performs a checksum verification and package integrity check on the image file without installing it, ensuring the image is not corrupted. This sequence directly addresses the two tasks: verifying the image's integrity and checking the current version.

Exam trap

The trap here is that candidates confuse 'show system software' (a non-existent command) with 'show version', or think that 'file checksum sha256' alone is sufficient for integrity verification, missing the fact that Junos requires the full 'request system software validate' command to perform a comprehensive package check before installation.

How to eliminate wrong answers

Option A is wrong because 'show system uptime' shows how long the switch has been running, not the current software version, and 'request system software add /var/tmp/junos-new.tgz' immediately installs the image without any integrity validation. Option B is wrong because 'show system software' is not a valid Junos command (the correct command is 'show version' or 'show system software information'), and 'request system software add validate' is syntactically incorrect—the correct syntax is 'request system software validate <filename>'. Option D is wrong because 'show configuration system software' displays the software-related configuration (e.g., licenses), not the current running version, and while 'file checksum sha256' does verify integrity, it only checks the hash and does not perform the full package validation that 'request system software validate' does, nor does it check the current version.

325
Multi-Selectmedium

Which THREE pipe modifiers can be used to filter command output? (Choose three.)

Select 3 answers
A.no-more
B.count
C.display set
D.match
E.except
AnswersB, D, E

The count pipe modifier computes and displays the total number of lines in the command output, replacing all content with a single integer. This effectively filters out every line's actual data and presents only a summary statistic. It is useful for quick size assessment—e.g., counting routes or interfaces—without viewing individual entries, but it does not selectively include or exclude lines based on a pattern.

Why this answer

In network CLI environments such as Junos, the pipe modifier 'count' (option B) filters command output by returning only the number of lines the preceding command produces, which is a valid way to filter/summarize output. The 'match' modifier (option D) filters output by displaying only lines that match a given regular expression, directly narrowing the returned text. The 'except' modifier (option E) filters output by excluding lines that match a specified pattern, the inverse of match, and is likewise a legitimate output filter.

The unmarked options do not belong: 'no-more' (option A) is a terminal display control that disables paging, not a filter, and 'display set' (option C) is a configuration display format command, not a pipe modifier for filtering output.

Exam trap

The trap here is that candidates often confuse pipe modifiers that change display behavior (like 'no-more' or 'display set') with those that actually filter the output content, leading them to select 'no-more' as a filtering modifier when it only controls pagination.

326
MCQmedium

An engineer is troubleshooting a connectivity issue and wants to see real-time interface traffic statistics. Which command provides continuous updates?

A.show interface statistics
B.monitor interface traffic
C.monitor start messages
D.show interfaces extensive
AnswerB

The monitor interface traffic command enters a real-time monitoring mode that periodically refreshes the interface throughput, packet rate, and error counters on screen. Its continuous updates let an engineer watch how counters change moment by moment, making it straightforward to correlate a spike or drop with other events. This is the most direct way to confirm whether traffic is actually passing on the interface at the time of the problem.

Why this answer

The `monitor interface traffic` command in Junos OS provides a real-time, continuously updating display of interface traffic statistics, making it the correct choice for live monitoring. Unlike static commands that show a single snapshot, this command refreshes the output at a default interval (typically 1 second) until the user interrupts it with Ctrl+C.

Exam trap

The trap here is that candidates often confuse `monitor interface traffic` with `show interface statistics`, assuming both provide live updates, but only the `monitor` command offers continuous real-time output in Junos OS.

How to eliminate wrong answers

Option A is wrong because `show interface statistics` displays a static snapshot of interface counters at the moment the command is executed, not continuous updates. Option C is wrong because `monitor start messages` is used to monitor system log messages in real time, not interface traffic statistics. Option D is wrong because `show interfaces extensive` provides a detailed static output of interface configuration and statistics, but does not offer continuous, live updates.

Page 4

Page 5 of 5

All pages