JN0-106
Free JN0-106 practice questions
10 questions from our JN0-106 practice tests, each with the correct answer and a written explanation. Read them with the answers shown, or switch to quiz mode and answer first.
Question 1 of 10, Networking Fundamentals
A provider must hold a customer to 50 Mbps. What is the key difference between policing and shaping the customer's traffic?
- APolicing and shaping both buffer the excess, and they differ only in the queue depth that they use
- BPolicing drops or re-marks traffic above the rate, while shaping buffers the excess and sends it later Correct answer
- CPolicing can be applied only to outbound traffic, while shaping can be applied only to inbound traffic
- DPolicing buffers excess traffic and sends it later, while shaping drops anything above the rate
Answer and explanation: A policer enforces a rate by discarding or re-marking out-of-profile traffic immediately, whereas a shaper queues excess traffic and releases it at the configured rate, which adds delay but avoids drops. The buffering roles are reversed in one distractor. Policers can be applied in either direction and shaping is an egress function, so the direction claim is backwards, and policers do not buffer at all.
Question 2 of 10, Networking Fundamentals
In one VLAN, an Ethernet switch has six hosts connected directly to six ports and a seventh port connected to a hub that serves four more hosts. How many collision domains does this segment contain?
- ATen: one for each host, because the switch isolates every attached end device
- BOne: the hub extends a single collision domain across every port of the switch
- CTwo: one for the hub segment and one shared by all directly connected switch ports
- DSeven: one for the hub segment plus one for each directly connected host Correct answer
Answer and explanation: Each switch port is its own collision domain, so the six direct ports give six, and the port to the hub gives one more that all four hub hosts share, for seven. The switch cannot split the hosts behind the hub because the hub repeats every signal to all of its ports. A hub does not extend its collision domain into the switch, and switch ports never share a collision domain with each other.
Question 3 of 10, Junos OS Fundamentals
An MX router receives a high rate of transit packets whose TTL expires on arrival, for example from a traceroute flood. Which part of the router is mainly stressed, and why?
- AThe control plane, because expired packets become exception traffic that needs ICMP time-exceeded replies Correct answer
- BNeither part, because Junos silently drops packets with an expired TTL and never generates ICMP for them
- CThe forwarding plane alone, because every TTL expiry is fully handled in the PFE without host-path involvement
- DThe management plane, because ICMP error messages are always sourced from the fxp0 management interface
Answer and explanation: A TTL-expired packet cannot be forwarded and requires an ICMP time-exceeded reply, so it is handled as exception traffic on the host path, which is why such traffic is rate-limited to protect the RE. It is not purely a forwarding-plane event. Junos does generate time-exceeded messages, which is how traceroute works, and they are not sourced from fxp0.
Question 4 of 10, User Interfaces
While troubleshooting, an engineer needs show interfaces to print only the lines that mention either the word Physical or the word down. Which command produces this output?
- Ashow interfaces | match "Physical|down" Correct answer
- Bshow interfaces | find Physical | except down
- Cshow interfaces | except up | match Physical
- Dshow interfaces | match Physical | match down
Answer and explanation: The match filter takes a regular expression, and a pipe inside the quoted expression acts as OR, so every line containing either word is printed. Two chained match filters keep only lines that contain both words. find followed by except prints everything after the first Physical line minus lines with down, and except up followed by match Physical keeps only Physical lines that lack the word up.
Question 5 of 10, User Interfaces
An administrator at [edit interfaces ge-0/0/0 unit 0] wants to view the OSPF configuration without changing the current hierarchy level. Which command should be used?
- Arun show protocols ospf
- Bshow protocols ospf
- Ctop show protocols ospf Correct answer
- Dedit protocols ospf show
Answer and explanation: Prefixing a command with top runs it relative to the [edit] level while the session stays at the current level. A plain show is relative to the current level, so it looks for protocols ospf under the interface unit. run executes operational commands, and there is no operational show protocols command; edit changes the current level and does not accept a trailing show.
Question 6 of 10, Configuration Basics
A group named JUMBO is applied at the top level and sets an MTU of 9192 on all ge interfaces. Port ge-0/0/9 connects to a device that requires the default MTU. What is the MOST efficient way to exclude only that port?
- Aset interfaces ge-0/0/9 apply-groups-except JUMBO Correct answer
- Bdeactivate groups JUMBO interfaces ge-0/0/9
- Cset groups JUMBO interfaces ge-0/0/9 disable
- DDelete apply-groups JUMBO and apply it on every other interface individually
Answer and explanation: apply-groups-except at a hierarchy level blocks inheritance of the named group there, so ge-0/0/9 keeps the default MTU. The group contains a wildcard entry rather than a ge-0/0/9 entry, so deactivating that path does nothing, and adding disable inside the group would administratively disable inherited interfaces. Re-applying the group per interface works but adds a lot of configuration to maintain.
Question 7 of 10, Configuration Basics
Logical interface ge-0/0/1.0 has two addresses in the same subnet, 10.1.1.1/24 and 10.1.1.2/24. The router must use 10.1.1.2 as the source address when it sends packets to hosts in 10.1.1.0/24. Which option should be added to 10.1.1.2/24?
- Adestination
- Bmaster-only
- Cpreferred Correct answer
- Dprimary
Answer and explanation: When an interface has several addresses in the same subnet, the preferred option chooses which one is used as the source for traffic to that subnet. primary selects the address used by default for traffic sent to non-local destinations and for broadcasts. master-only applies an address only on the active Routing Engine, and destination specifies the remote end of a point-to-point link.
Question 8 of 10, Operational Monitoring and Maintenance
Which sequence correctly describes the root password recovery procedure on a typical Junos device running Junos OS?
- ASSH in, reboot, interrupt the loader, boot -s, type recovery, set the root password, commit, reboot
- BConsole in, reboot, interrupt the loader, boot -s, type recovery, set the root password, commit, reboot Correct answer
- CConsole in, enter configure, delete system root-authentication, commit, reboot, then set the new password
- DConsole in, reboot, interrupt the loader, boot -r, load rescue, set the root password, commit, reboot
Answer and explanation: Recovery requires the console, interrupting the boot loader, booting single-user mode with boot -s, and typing recovery to reach the CLI, where the new root password is set and committed before rebooting. SSH cannot reach the boot loader. boot -r and loading the rescue configuration are not the recovery steps, and entering configuration mode is impossible without already knowing a password.
Question 9 of 10, Routing Fundamentals
A static route to the out-of-band management network must never be redistributed into OSPF, even though an export policy on the router accepts all static routes. Which option on the static route meets this requirement?
- Aretain
- Binstall
- Cno-readvertise Correct answer
- Dno-install
Answer and explanation: no-readvertise marks the static route as ineligible for export to routing protocols, regardless of the export policy. install is the default behavior that places the route in the forwarding table and says nothing about export. retain keeps the route in the forwarding table during rpd restarts, and no-install keeps it out of the forwarding table while still allowing it to be exported.
Question 10 of 10, Routing Policy and Firewall Filters
An engineer wants to know how many packets a filter term called SSH has matched. Which configuration and command achieve this?
- AAdd then count to the term and read it with show interfaces extensive
- BAdd then count SSH-HITS to the term and check show firewall filter Correct answer
- CAdd then syslog to the term and read the matches with show firewall log
- DAdd then log to the term and read the matches with show log messages
Answer and explanation: The count action keeps a named counter that show firewall (or show firewall filter with the filter name) displays. log stores packet headers in a buffer that is viewed with show firewall log, not in the messages file. syslog sends entries to the system log rather than show firewall log, and filter counters do not appear in show interfaces extensive.