# Free JN0-106 practice questions

> 10 free JN0-106 practice questions with the correct answer and an explanation.

Page: https://devopscodelab.com/exams/juniper-jn0-106/free-practice-questions/
Practice exams: https://devopscodelab.com/exams/juniper-jn0-106/

### Question 1 of 10

A provider must hold a customer to 50 Mbps. What is the key difference between policing and shaping the customer's traffic?

- A. Policing and shaping both buffer the excess, and they differ only in the queue depth that they use
- B. Policing drops or re-marks traffic above the rate, while shaping buffers the excess and sends it later
- C. Policing can be applied only to outbound traffic, while shaping can be applied only to inbound traffic
- D. Policing buffers excess traffic and sends it later, while shaping drops anything above the rate

**Answer:** B

**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

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?

- A. Ten: one for each host, because the switch isolates every attached end device
- B. One: the hub extends a single collision domain across every port of the switch
- C. Two: one for the hub segment and one shared by all directly connected switch ports
- D. Seven: one for the hub segment plus one for each directly connected host

**Answer:** D

**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

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?

- A. The control plane, because expired packets become exception traffic that needs ICMP time-exceeded replies
- B. Neither part, because Junos silently drops packets with an expired TTL and never generates ICMP for them
- C. The forwarding plane alone, because every TTL expiry is fully handled in the PFE without host-path involvement
- D. The management plane, because ICMP error messages are always sourced from the fxp0 management interface

**Answer:** A

**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

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?

- A. show interfaces | match "Physical|down"
- B. show interfaces | find Physical | except down
- C. show interfaces | except up | match Physical
- D. show interfaces | match Physical | match down

**Answer:** A

**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

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?

- A. run show protocols ospf
- B. show protocols ospf
- C. top show protocols ospf
- D. edit protocols ospf show

**Answer:** C

**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

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?

- A. set interfaces ge-0/0/9 apply-groups-except JUMBO
- B. deactivate groups JUMBO interfaces ge-0/0/9
- C. set groups JUMBO interfaces ge-0/0/9 disable
- D. Delete apply-groups JUMBO and apply it on every other interface individually

**Answer:** A

**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

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?

- A. destination
- B. master-only
- C. preferred
- D. primary

**Answer:** C

**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

Which sequence correctly describes the root password recovery procedure on a typical Junos device running Junos OS?

- A. SSH in, reboot, interrupt the loader, boot -s, type recovery, set the root password, commit, reboot
- B. Console in, reboot, interrupt the loader, boot -s, type recovery, set the root password, commit, reboot
- C. Console in, enter configure, delete system root-authentication, commit, reboot, then set the new password
- D. Console in, reboot, interrupt the loader, boot -r, load rescue, set the root password, commit, reboot

**Answer:** B

**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

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?

- A. retain
- B. install
- C. no-readvertise
- D. no-install

**Answer:** C

**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

An engineer wants to know how many packets a filter term called SSH has matched. Which configuration and command achieve this?

- A. Add then count to the term and read it with show interfaces extensive
- B. Add then count SSH-HITS to the term and check show firewall filter
- C. Add then syslog to the term and read the matches with show firewall log
- D. Add then log to the term and read the matches with show log messages

**Answer:** B

**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.

Ready for a timed run? Take the free 15-question JN0-106 mini exam: https://devopscodelab.com/app/exams/juniper-jn0-106/mini/

DevOpsCode Lab is not affiliated with Juniper Networks. JN0-106 and related names are trademarks of their owners. We write every question ourselves; these are not real exam questions.
