Juniper Networks · Free Practice Questions · Last reviewed May 2026
36real exam-style questions organised by domain, each with the correct answer highlighted and a plain-English explanation of why it's right — and why the others are wrong.
During troubleshooting, an engineer needs to view real-time logging messages on a Junos device. Which command should be used?
file show /var/log/messages
monitor start messages
Displays real-time log messages.
show log messages
traceoptions
You are a network engineer for a service provider that recently deployed a Juniper MX router at a new Point of Presence (PoP). The router is used to aggregate customer connections and exchange routes with upstream providers via BGP. After the initial configuration, you notice that the router is not learning any routes from one of the upstream BGP peers. You have verified that the BGP session is established (state Established) and that the peer is sending routes. You suspect that the issue might be related to the firewall filter or routing policy. You want to determine if any inbound routes are being rejected and why. Which command would provide the most direct information about why routes are being rejected?
show route protocol bgp
show route receive-protocol bgp 192.0.2.1
show route receive-protocol bgp 192.0.2.1 shows the exact updates received from that specific neighbor before they pass through the routing table, including the import-policy decision. The output marks each prefix with an 'A' (accept) or 'I' (ignore/reject) and, when rejected, prints the policy name and reason. This makes it the right diagnostic for verifying why a route from 192.0.2.1 was not installed, because it exposes the BGP input policy evaluation on every received prefix.
show bgp summary
show firewall filter <filter-name>
A network engineer needs to view the operational status of all interfaces on a Junos device, including those that are disabled. Which command should be used?
show interfaces
show configuration interfaces
show interfaces terse
Correct — 'show interfaces terse' displays a single-line-per-interface summary with columns for Interface, Admin, Link, Proto, and Local address, covering both physical and logical interfaces. It explicitly shows administratively disabled interfaces with an 'admin-down' flag, while also indicating the actual operational link state ('up' or 'down'). This makes it the most efficient command for quickly surveying the operational status of all interfaces on a Junos device.
monitor interface traffic
You are a network engineer for a company that has just deployed a Juniper SRX firewall in a branch office. The device has multiple interfaces: ge-0/0/0 connected to the internet, ge-0/0/1 connected to the internal LAN (192.168.1.0/24), and ge-0/0/2 connected to a DMZ (10.0.0.0/24). After initial configuration, you attempt to ping from the SRX to a server on the internet (8.8.8.8) but receive no response. You also notice that internal users can access the internet. You have verified the routing table shows a default route via ge-0/0/0. The security policies appear correct. You suspect the issue is related to interface configuration. What is the most likely cause and the correct course of action?
The security policy from the trust zone to the untrust zone is blocking traffic; you should create a policy allowing all traffic from the SRX itself.
The interface ge-0/0/0 has an incorrect MAC address; you should clear the ARP cache.
The interface ge-0/0/0 is missing the 'host-inbound-traffic' configuration under its security zone; you should add the appropriate system services under the zone.
This is the most likely cause because the device cannot initiate traffic without explicit host-inbound traffic settings.
The default route is missing or incorrect; you should add a default route via the internet gateway IP.
You are a junior network engineer at a company that uses Juniper MX routers. You are troubleshooting a connectivity issue on a branch router. The branch router has two upstream links to the corporate network: ge-0/0/0 (10.1.1.1/30, connected to core router A) and ge-0/0/1 (10.1.1.5/30, connected to core router B). The branch router runs OSPF and has a default route learned from both upstream routers. The routing table shows two equal-cost default routes via both next hops. However, traffic from the branch to the corporate network is experiencing intermittent high latency and some packet loss. You suspect that asymmetric routing is causing issues because the return traffic is not following the same path. You want to influence the router to prefer one upstream link for all traffic to the corporate network. You have decided to adjust the OSPF metric on the branch router to make the link to core router A more preferred. You are in configuration mode on the branch router. Which single configuration change will accomplish this goal?
set interfaces ge-0/0/1 unit 0 family inet cost 200
set protocols ospf area 0 interface ge-0/0/1 passive
set protocols ospf area 0 interface ge-0/0/1 metric 200
This is the correct configuration because in JUNOS, OSPF interface metric is explicitly set with the `metric` statement under `protocols ospf` for the specific interface. By assigning a metric of 200 to ge-0/0/1, the router's OSPF cost calculation makes that interface significantly more expensive than ge-0/0/0 (which retains the default metric, typically 10 for Ethernet), thereby forcing transit traffic to prefer ge-0/0/0. This effectively shifts traffic away from ge-0/0/1 while still allowing the OSPF adjacency to remain established, so the link stays available for redundancy or less-preferred use.
set interfaces lo0 unit 0 family inet address 10.0.0.1/32 metric 100
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?
Emergency messages are logged to the console only.
Emergency messages are logged to all destinations.
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.
Emergency messages are logged only to the file 'messages'.
Emergency messages are logged only to the remote host.
Want more User Interfaces practice?
Practice this domain17% of exam · 6 sample questions below
An engineer is designing a network and needs to ensure that management traffic (SSH, SNMP) is always permitted, even if an interface firewall filter is applied. Which Juniper best practice should be followed?
Use a firewall filter that permits all management traffic at the top of the list on each interface
Apply a firewall filter on the loopback interface (lo0) to protect the device
The loopback interface (lo0) represents the device's control plane, and all traffic destined to the device's own IP addresses—such as SSH, SNMP, BGP, and OSPF—is processed through it, regardless of the physical ingress interface. Applying a firewall filter to lo0 in the input direction provides a single, centralized point to secure management and routing protocol access. This Juniper-recommended practice ensures consistent protection and simplifies administration, as the filter is applied once rather than on every interface.
Apply a firewall filter to the management interface (fxp0)
Disable the firewall filter on all interfaces
Which THREE statements about the 'commit' command are correct?
The 'commit check' command validates the syntax of the candidate configuration.
Correct.
The 'commit synchronize' command is used on a dual-RE system to commit on both REs.
Correct.
The 'commit full' command activates the configuration without performing any validation.
The 'commit' command can only be issued when no other users are in configuration mode.
The 'commit confirmed 5' command will roll back the configuration after 5 minutes if not confirmed.
Correct.
A company has a Juniper MX router acting as a BGP route reflector. The router has two routing instances: 'internet' and 'management'. The 'internet' instance uses a firewall filter to block traffic to the router's loopback address from external sources. After a recent configuration change, the engineer notices that SSH access to the router's loopback IP (10.0.0.1) from the internal management network (192.168.0.0/16) is being dropped. The firewall filter for the loopback interface in the 'internet' instance is correctly configured to allow traffic from 192.168.0.0/16. The management instance has no firewall filter applied. The engineer suspects that the issue is related to how the routing instances interact with the loopback interface. Which of the following is the most likely cause and solution?
The management instance needs a firewall filter that allows SSH; add a filter to the management instance's loopback.
The firewall filter in the 'internet' instance incorrectly blocks SSH; modify the filter to allow SSH from any source.
The BGP configuration is causing the loopback to be unreachable; disable BGP on the management instance.
The firewall filter applied to the loopback interface is shared across all routing instances; use a separate interface for management traffic or apply the filter only to the 'internet' instance's logical system.
The loopback interface is shared; the filter affects all traffic to the loopback.
Which TWO statements about configuration groups in Junos are correct? (Choose two.)
Configuration groups are defined under the [edit groups] hierarchy.
Configuration groups are indeed defined under the 'groups' hierarchy and can be inherited.
Configuration groups are stored in separate files that are imported using the 'file' statement.
The 'apply-groups' statement is used to include a group's configuration at a specific hierarchy level.
'apply-groups' is used to apply a group's configuration at the desired hierarchy level.
The 'replace' tag is used to reference a configuration group.
Configuration groups are applied only at the [edit interfaces] hierarchy level.
An engineer needs to apply a configuration change to the Junos device that must survive a reboot. Which configuration mode command should be used to save the changes?
commit
The 'commit' command permanently activates the candidate configuration by copying it into the active configuration and applying it to the routing and forwarding planes. It also writes the configuration to non-volatile storage (e.g., flash), ensuring it survives a reboot or power cycle. This is the standard, definitive way to make configuration changes persistent in Junos.
commit confirmed
commit synchronize
commit check
A network engineer wants to quickly restore the device to a known good configuration after a failed change. What is the recommended approach?
Use the 'request system configuration rescue save' command.
Use the 'rollback 0' command.
Use the 'rollback rescue' command.
The 'rollback rescue' command loads the previously saved rescue configuration from the rescue area into the candidate configuration. This is the correct restore mechanism because it explicitly retrieves the snapshot created via 'request system configuration rescue save'. The command does not automatically commit the change; the engineer must still run 'commit' to apply the rescued configuration to the active Janos configuration.
Use the 'load override terminal' command.
Want more Junos Configuration Basics practice?
Practice this domain17% of exam · 6 sample questions below
You are managing a Juniper MX router that serves as a BGP route reflector for multiple customer VPNs. The router has two routing engines (RE0 and RE1) in a graceful switchover (GRES) configuration. During a routine maintenance window, you need to upgrade the Junos OS from version 18.1R1 to 20.2R2. The upgrade must minimize traffic disruption. You have already staged the new image on both REs. Which sequence of commands ensures minimal impact?
On RE0: request system software add jinstall-20.2R2.tgz reboot; then on RE1 same command
On RE0: request system reboot (without adding software)
On RE1: request system software add jinstall-20.2R2.tgz reboot; after reboot, on RE0: request chassis routing-engine master switch; then request system software add jinstall-20.2R2.tgz reboot
Minimizes downtime by upgrading backup first, then switching.
On both REs: request system software add jinstall-20.2R2.tgz reboot
You are managing a Juniper MX240 router at a small ISP. The router has been operating normally for months. This morning, a customer reports intermittent packet loss on their connection, which is served by interface ge-0/0/2. You SSH into the router and run 'show interfaces ge-0/0/2 extensive'. The output shows input errors increasing rapidly, including CRC errors and frame errors. The interface is up/up. You also notice that the interface statistics show a high number of carrier transitions. The cable connecting the router to the customer's CPE was recently replaced by the customer's technician. What is the most likely cause of the errors and the correct action to resolve the issue?
Clear the MAC address table on the router to fix possible MAC flapping issues.
Administer a 'shutdown' and 'no shutdown' on the interface to reset the line protocol.
Replace the cable with a known good one because CRC and frame errors indicate a physical layer problem such as a damaged cable or loose connector.
CRC and frame errors indicate that frames are receiving an invalid FCS, which is a classic symptom of a physical-layer issue such as a damaged cable, loose connector, or excessive signal attenuation. The problem appeared after a recent cable change, which strongly implicates the new cable or its seating. Replacing that cable with a known-good one is the correct first step because it directly tests the most likely failure point, and a clean interface afterward confirms the diagnosis.
Change the interface speed and duplex settings to auto-negotiate because the errors are due to a mismatch between the router and CPE.
Which two events typically trigger a change to the routing table? (Choose two.)
Interface state change
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.
System uptime
Log file rotation
BGP neighbor reset
Resetting a BGP neighbor—whether a hard reset or a soft reset—forces the BGP session to be torn down or refreshed. The neighbor withdraws all previously advertised routes and then re-advertises them (for a hard reset, via a full session re-establishment), causing the routing table to be emptied and repopulated with those BGP routes, often leading to brief route churn and traffic loss.
Configuration commit
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?
show chassis routing-engine
show system uptime
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.
show system processes
show system statistics
A technician notices that the /var partition is filling up on a Juniper device. Which action would be most appropriate to free up space while preserving critical logs?
Delete core files manually
Run 'request system storage cleanup'
The 'request system storage cleanup' command is the correct method because it systematically scans well-known system directories and removes only files that are safe to delete, such as stale core files, old log files, and unused software images, while preserving the current system's operational logs and active configuration. It reports how much space was reclaimed and is designed by Juniper to be the standard, nondestructive way to free the /var partition. This avoids the pitfalls of ad-hoc deletion and ensures essential diagnostic data remains intact.
Reboot the device
Delete all files in /var/log
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?
Use 'request system software add <image> re1' and then 'request system reboot re1'
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.
Use 'request system software add <image> both' and then 'request system reboot both'
Use 'request system software add <image> re0' and then 'request system reboot re0'
Copy the image to both REs and reboot the backup RE with 'request system reboot slice 1'
Want more Operational Monitoring and Maintenance practice?
Practice this domain16% of exam · 6 sample questions below
An organization has two ISPs and wants to load-balance traffic equally across both links for all outbound traffic. Which routing configuration approach should be used?
Configure two static default routes with different metric values.
Configure policy-based routing to match all traffic and forward to both ISPs.
Configure two static default routes with equal metric values and enable ECMP.
In Junos, two static default routes with equal metrics have the same preference and are both installed in the routing table as equal-cost paths. To actually balance traffic, you must enable ECMP, typically by configuring 'load-balance per-packet' in the forwarding options or a policy statement. This allows Junos to distribute flows across both ISPs while maintaining per-flow consistency, which is essential for TCP sessions.
Establish BGP sessions with both ISPs and rely on BGP path selection.
You are the network engineer for a mid-sized enterprise with a Juniper MX router running Junos. The router has two uplinks to the internet: one to ISP-A via ge-0/0/0 (10.0.0.1/30) and one to ISP-B via ge-0/0/1 (10.0.0.5/30). You have configured static default routes to both ISPs: one to 10.0.0.2 and one to 10.0.0.6. Both routes have the same preference (default 5) and metric. You enabled ECMP to load-balance outbound traffic. After testing, you notice that all traffic is being sent only to ISP-A, and none to ISP-B. You verify that both interfaces are up and that the next-hop addresses are reachable. You check the routing table and see both routes are active but with different next-hop counts. What is the most likely cause of the traffic not being load-balanced?
One of the static routes resolves to multiple next hops, causing imbalance.
If one route resolves to multiple next hops, it may appear as multiple routes, skewing load balancing.
ECMP is not enabled in the forwarding-options.
The route to ISP-B is not active.
Hash-based load balancing requires per-packet configuration.
Your Juniper router is running OSPF with multiple neighbors. You have a prefix 10.10.10.0/24 that is being learned via OSPF from two different routers: Router A with metric 30 and Router B with metric 20. The OSPF route from Router B is active. You want to ensure that traffic to 10.10.10.0/24 uses the path through Router A instead, even though it has a higher metric. You cannot change the OSPF metric on Router A. Which action should you take?
Use a routing policy to increase the preference of the OSPF route from Router B.
Using a routing policy to increase the preference of the OSPF route from Router B makes that route less desirable in the Junos routing table. Since Junos selects the route with the lowest preference value, raising Router B's preference (say, from the default 10 to 15) leaves Router A's default OSPF route as the active path. This allows you to influence the active route selection centrally on the local router without changing OSPF metrics or filtering prefixes.
Increase the metric on Router B for that prefix.
Use a routing policy to reject the OSPF route from Router A.
Configure a static route to 10.10.10.0/24 pointing to Router A.
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?
The route with preference 10.
Preference is the primary selection criterion.
The route with metric 3.
Neither route is installed.
Both routes are installed if ECMP is enabled.
Your company operates a dual-homed network with two Juniper MX routers (R1 and R2) each connected to a different ISP. R1 uses BGP to receive a default route from ISP-A (preference 170), and R2 uses BGP to receive a default route from ISP-B (preference 170). Additionally, both routers have a static default route pointing to a local next-hop (192.0.2.1) with preference 5 for backup. R1 and R2 are connected via an internal link (10.0.0.0/30) and run OSPF to exchange internal routes. You notice that traffic from internal hosts is always exiting via R1's ISP-A link, even when R1's BGP session to ISP-A goes down. The OSPF routes are preferred. You want traffic to fail over to R2's ISP-B link when R1 loses its BGP default. Which configuration change should you make?
Increase the preference of the BGP default routes to 180 so that the static default is always preferred.
Configure a routing policy on R2 to reject the default route from ISP-B, forcing all traffic through R1.
Remove the static default route and rely on OSPF to propagate a default route from the router with the active BGP session.
Configure the static default route with a preference of 180 so that the BGP default routes (pref 170) are preferred when available.
This ensures BGP default is used when up, and OSPF routes to R2's default become active when R1's BGP is down.
Order the steps to configure firewall filters (ACLs) in Junos.
First configure match conditions, then configure the action, and finally apply the filter to the interface.
This is correct because you must define what traffic to match (from clause) and what action to take (then clause) before applying the filter to an interface. Applying the filter without a complete term would result in an incomplete configuration.
First apply the filter to the interface, then configure match conditions, then configure the action.
First configure the action, then configure match conditions, then apply the filter to the interface.
First configure match conditions, then apply the filter to the interface, then configure the action.
Want more Routing Fundamentals practice?
Practice this domain16% of exam · 6 sample questions below
A network administrator notices that traffic between two VLANs is not reaching its destination. The switch has an IRB interface configured with an IP address in each VLAN's subnet. What is the most likely missing configuration?
The IRB interface does not have an IP address configured.
The VLANs are on different switches.
The VLANs are not defined on the switch.
For inter-VLAN routing to work in Junos, each VLAN must first be defined under the [edit vlans] hierarchy so the switch knows which VLAN ID or name to associate with the ports and IRB interface. Without that definition, the IRB interface cannot be logically bound to a broadcast domain, and traffic cannot be forwarded between the two VLAN subnets. The stem confirms the IRB has an IP address, but if the VLANs themselves are not configured, the switch has no way to match incoming frames to a routing instance. This missing VLAN definition is exactly what breaks the traffic flow, making this the correct answer.
The switch ports are not configured for VLAN tagging.
A network engineer is troubleshooting OSPF adjacencies between two Juniper routers. The routers are directly connected and have matching OSPF configurations except for the router IDs. Router A has router-id 10.0.0.1, Router B has router-id 10.0.0.2. The adjacency remains in the EXSTART state. What is the most likely cause?
The MTU on the interface is mismatched.
An MTU mismatch is a classic cause of OSPF adjacency being stuck in the EXSTART state. During the Database Description (DD) packet exchange, OSPF embeds the interface MTU in the DD header. If one interface has a larger MTU and sends a DD packet that exceeds the neighbor's MTU, the receiving router will drop the packet. Since the neighbor never receives the DD packet, the routers cannot complete the master/slave negotiation, and the adjacency remains permanently in EXSTART rather than progressing to FULL.
The router IDs are not the same.
The area ID is not configured.
The hello and dead intervals are mismatched.
You are responsible for a Juniper MX router that connects two customer sites over a Layer 3 VPN. The router is configured with BGP for VPN routes and uses MPLS to forward traffic. Recently, the customer reported that traffic from Site A (10.0.1.0/24) to Site B (10.0.2.0/24) is intermittently failing. You check the routing table on the router and see that both routes are present with valid next-hops. However, when you ping from the router's loopback to the remote site's loopback, the ping succeeds. MPLS labels are being assigned and the LSP is up. You also notice that when the failure occurs, the router's BGP session to the remote PE is still established. The failure seems random and lasts a few seconds before recovering. Which troubleshooting step is most likely to identify the root cause?
Check the interface error counters for CRC errors or drops.
Review the forwarding table for the affected prefixes and check for any discrepancies.
The forwarding table may have stale entries or incorrect label operations causing intermittent forwarding failures.
Verify the BGP session state and check for route flapping.
Check the MPLS label switching table to ensure labels are correctly assigned.
A network engineer is troubleshooting connectivity between two directly connected Juniper routers. The interface on Router A shows 'up' but no packets are being received from Router B. Which command should the engineer use on Router A to check if the interface is expecting to receive a specific encapsulation type?
show interfaces extensive
The 'show interfaces extensive' command is essential because it reveals the actual data-link encapsulation currently in use on the interface, along with detailed physical and protocol state information. This allows the engineer to confirm whether both routers are configured with matching encapsulation types (e.g., PPP, HDLC, or Frame Relay). It also provides error counters and keepalive statistics, which can expose framing mismatches or negotiation failures. Without this operational view, a layer-1 connectivity issue could be mistakenly attributed to configuration when the real cause is an encapsulation mismatch.
show interfaces terse
show configuration interfaces
monitor traffic interface
A network administrator is configuring a new subnet for servers that must not communicate with each other directly but must be able to reach a default gateway. Which type of route should be configured on the servers?
Host route for the gateway
Default route pointing to the gateway
A default route (0.0.0.0/0) is the least-specific route and matches all packets whose destination has no other matching entry in the routing table. In Junos, configuring a static default route with next-hop pointing to the gateway is the standard way to give a server off-subnet reachability. This is exactly what a default gateway does for a host.
Dynamic route via OSPF
Static route to each other server
A Juniper router is configured with two static routes to the same destination network, both with the same preference. One route has a metric of 5, the other a metric of 10. Which route will be installed in the routing table?
Neither route is installed because they conflict
The route with metric 5 is installed
Lower metric is preferred when preference is equal.
The route with metric 10 is installed
Both routes are installed with equal preference
Want more Networking Fundamentals practice?
Practice this domain17% of exam · 6 sample questions below
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?
monitor traffic
show route
traceroute
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.
ping
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?
set interfaces ge-0/0/0 enable
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.1/24
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.
set interfaces ge-0/0/0 unit 0 family inet
set interfaces ge-0/0/0 disable
Based on the exhibit, what is the most likely impact on the router?
Routing protocol adjacencies will be lost, causing routing instability.
The rpd (Routing Protocol Daemon) is the sole software process managing all dynamic routing protocols, including OSPF, BGP, and IS-IS. When it is killed, every established adjacency immediately tears down, causing neighboring routers to mark the node unreachable and recalculate paths. This produces route flap and forwarding loops until rpd restarts and rebuilds sessions, so the primary impact is severe routing instability.
The CPU will be overloaded due to the kernel messages.
The router will stop forwarding packets immediately.
The router will reboot automatically.
You are a network administrator for a large enterprise. You have a Juniper SRX firewall that is used as the primary internet gateway. Users are reporting that they are unable to access certain external websites. You check the device and find that the security policies appear correct, and the routing is in place. You suspect that the issue might be related to the DNS resolution. You want to verify that the device can resolve DNS names and that the DNS server configuration is correct. Which command should you use to test DNS resolution from the Juniper device?
show system connections
ping <external website FQDN>
When you execute 'ping <external website FQDN>' on Junos, the CLI first resolves the hostname to an IP address using the DNS servers configured under 'system name-server'. A successful resolution is shown directly in the output, where ping reports the target IP before sending ICMP requests. If the DNS query times out or fails, Junos returns a 'unable to resolve hostname' error, making this an effective, one-command DNS resolution test. Note that even if ICMP is blocked by the remote host, the appearance of the IP address in the output already confirms forward DNS works.
traceroute <external website FQDN>
show dns name-server
Which THREE of the following statements are true regarding Junos OS commit operations?
The 'commit check' command validates the candidate configuration without activating it.
It checks syntax and semantics without applying.
The commit command activates the candidate configuration.
This is the primary purpose of commit.
The 'commit confirmed' command automatically rolls back if not confirmed within the timeout.
This is the behavior of commit confirmed.
You can run multiple commit scripts during a single commit operation.
The rollback command reverts to the current active configuration.
You are administering a Juniper MX240 router that provides connectivity to multiple customer sites. The router uses BGP to exchange routes with two upstream ISPs. Recently, you applied a new firewall filter to the loopback interface to restrict management access. After committing the configuration, you can no longer establish SSH sessions to the router from the management network. You are currently connected via console. The loopback filter is still applied. You suspect the filter is blocking SSH traffic from the management network. What should you do to restore SSH access without losing the other filter rules?
Roll back to the previous configuration using 'rollback 0' and commit.
Add a new term at the end of the filter that accepts SSH traffic from any source.
Add a new term at the beginning of the filter that accepts SSH traffic from the management network, then reorder the terms so that this term is evaluated first.
Inserting a new accept term at the top of the filter and committing it ensures that SSH packets sourced from the management network match this term first, before any deny term can be evaluated. Junos first-match semantics guarantee that once the accept action is applied, no later term can override it. Limiting the source to the management network preserves the security boundary and only restores the intended SSH access, rather than allowing SSH from arbitrary sources.
Delete the firewall filter from the loopback interface and commit.
Want more Junos OS Fundamentals practice?
Practice this domainThe JN0-106 exam has 65 questions and must be completed in 90 minutes. The passing score is 700/1000.
Scenario-based questions covering exam objectives with detailed answer explanations.
The exam covers 6 domains: User Interfaces, Junos Configuration Basics, Operational Monitoring and Maintenance, Routing Fundamentals, Networking Fundamentals, Junos OS Fundamentals. Questions are weighted by domain — higher-weight domains appear more on your actual exam.
No. These are original exam-style practice questions written against the official Juniper Networks JN0-106 exam objectives. They are not copied from the real exam. Courseiva focuses on genuine understanding, not memorisation of braindumps.
Courseiva tracks your accuracy per domain and routes you toward weak areas automatically. Free, no account required.