Juniper certification · Exam JN0-105

JN0-105 Mock Exam Page 2

Junos - Associate (JNCIA-Junos)

Free JN0-105 mock exam questions 11–20, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Free JN0-105 questions

11–20 of 30 free
Question 11 Choose 2
An administrator configures a router's interface with an IPv4 address and subnet mask. The administrator also confirms that this interface is in an up state. In this scenario, which two route types are created on the local router? (Choose two.)
Show answerHide answer

Correct answer: B, D a local routea direct route

Explanation

Explanation:
When you configure an IPv4 address on a Junos interface and it is operationally up, the routing protocol process (rpd) automatically installs two types of routes into the routing table without requiring any static or dynamic routing configuration.

D. A direct route:
This is the route to the connected network (the subnet) of the configured interface.

Example: If you configure 192.168.1.1/24 on ge-0/0/0, the direct route would be 192.168.1.0/24.
Purpose: This route informs the router that any host within the 192.168.1.0/24 subnet is directly reachable out of the ge-0/0/0 interface. It is the fundamental basis for local network communication.

B. A local route:
This is a host route (a /32 route) pointing to the specific IP address assigned to the router's own interface.

Example: Using the same configuration, the local route would be 192.168.1.1/32.
Purpose: This route is crucial for traffic that is destined to the router itself. When a packet arrives at the router with a destination IP of 192.168.1.1, the local route ensures that the Packet Forwarding Engine (PFE) knows to punt that packet to the Routing Engine (RE) for processing (e.g., for a ping, SSH session, or routing protocol update).
These two routes work together: the direct route defines "how to get to my local network," and the local route defines "how to get to me on that network."

Analysis of Incorrect Options

A. A static route
Incorrect. A static route is one that an administrator manually configures using the set routing-options static route ... command. It is not automatically created by bringing up an interface.

C. A dynamic route
Incorrect. A dynamic route is learned from a routing protocol like OSPF, BGP, or ISIS. These are learned from neighboring routers, not generated internally from a local interface configuration.

Reference:
This is a core routing fundamental covered in the JNCIA-Junos curriculum under "Routing Tables" or "Routing Fundamentals." You can observe these routes by using the show route command. The direct route is typically marked with * and C (for Connected), and the local route is marked with * and L (for Local). Understanding the existence and purpose of these automatically generated routes is essential for IP networking and troubleshooting.
Question 12 Choose 1
What does the user@router> clear log ospf-trace command accomplish?
Show answerHide answer

Correct answer: C Data in the ospf-trace file is removed and logging continues.

Explanation

Explanation:
The clear log command in Junos OS is an operational mode command designed for log file management. Its specific function is to erase the current contents of a specified log file without stopping the logging process itself.

Function: When you execute clear log ospf-trace, the system empties the /var/log/ospf-trace file, resetting its size to zero bytes.

Logging Continues: Crucially, the OSPF traceoptions that were configured to write to this file remain fully active. Any new OSPF events that occur after the command is issued will be written to the now-empty ospf-trace file. This is extremely useful for troubleshooting an ongoing issue, as it allows you to start with a clean log to capture only the most recent events without the noise of old data.

Analysis of Incorrect Options

A. Logging data into ospf-trace is stopped.
Incorrect. The clear log command does not stop, disable, or modify the configuration for logging. It only clears the existing data. To stop logging, you would need to remove the traceoptions configuration.

B. Trace parameters are removed from the OSPF protocol configuration.
Incorrect. This command does not interact with or alter the device's configuration in any way. It is a purely operational command that acts on the log files generated by an existing configuration.

D. The ospf-trace file is deleted.
Incorrect. The command clears the file's contents; it does not delete the file itself from the file system. The file remains as an empty container, ready to receive new log entries.

Reference:
This is a common operational task covered in the JNCIA-Junos curriculum under "System Logging and Tracing" or "Troubleshooting Tools." The clear log command is an essential tool for effective troubleshooting, allowing an administrator to manage log file sizes and focus on recent events. This behavior is consistent across all log files in Junos, not just those for OSPF.
Question 13 Choose 2
What are two functions of the routing protocol daemon (rpd)? (Choose two.)
Show answerHide answer

Correct answer: C, D It creates forwarding tables.It maintains routing tables.

Explanation

Explanation:

The rpd is the core process responsible for all routing intelligence on a Junos device. It is the "brain" of the control plane for routing.

D. It maintains routing tables.
This is the primary function of the rpd. It is responsible for building the Routing Information Base (RIB) by:
Learning routes from directly connected interfaces.
Processing statically configured routes.
Running dynamic routing protocols (OSPF, BGP, IS-IS, etc.) to exchange routing information with neighbors and select the best paths based on protocol metrics and Junos routing policy.

C. It creates forwarding tables.
This is a critically important function. Once the rpd has built the master RIB, it processes the routes and creates a forwarding table for each routing instance (e.g., inet.0 for IPv4). This forwarding table is then downloaded from the Routing Engine (RE) to the Packet Forwarding Engine (PFE), which uses it to make high-speed forwarding decisions for transit traffic. The rpd creates the table; the kernel pushes it to the PFE.

Analysis of Incorrect Options

A. It generates chassis alarms.
Incorrect. Chassis alarms are generated by the Chassis Daemon (chassisd), which is responsible for monitoring the physical hardware components like power supplies, fan trays, and Physical Interface Cards (PICs). The rpd deals with logical routing information, not physical hardware status.

B. It provides access to the CLI.
Incorrect. Access to the Junos CLI is provided by the Management Daemon (mgd). The mgd handles all user interaction, authentication, and configuration sessions. While you can use the CLI to view and configure routing protocols (which are part of the rpd), the rpd process itself does not provide the CLI interface.

Reference:
This topic is a core part of the Junos OS architecture and is covered in the JNCIA-Junos curriculum under "Junos OS Architecture" or "Control and Forwarding Plane Separation." Understanding the role of the rpd is fundamental. It highlights the separation where the rpd on the RE builds the routing and forwarding tables, and the PFE uses those downloaded tables to forward traffic at line rate.
Question 14 Choose 3
You need to recover the root password on a Junos router without losing the current configuration settings. Which three statements describe what you should perform in this scenario? (Choose three.)
Show answerHide answer

Correct answer: A, D, E Enter and commit the new root password.Hit the space bar and enter recovery when prompted.Use a console connection to reboot the device.

Explanation

Explanation:
The standard Junos root password recovery procedure is designed to allow administrative access without erasing the device's configuration. The correct steps are as follows:

E. Use a console connection to reboot the device.
Why: This is the first physical step. You must have physical or out-of-band console access to interact with the device's boot process. A network connection will not work as you cannot log in.

D. Hit the space bar and enter recovery when prompted.
Why: As the device boots, you will see a prompt asking you to press any key to enter the boot loader. Pressing the space bar at this moment interrupts the normal boot process and gives you access to the loader prompt, where you can type recovery to boot into single-user (recovery) mode. This mode grants you root shell access without requiring a password.

A. Enter and commit the new root password.
Why: Once in single-user mode, you mount the hard drive, load the existing configuration, set the new root-authentication (password or SSH key), and most critically, you commit the change. The commit saves the new password to the configuration, preserving all other existing settings. After a reboot, you can log in with the new password, and the configuration will be intact.

Analysis of Incorrect Options:

B. Load the factory-default configuration.
Incorrect. This is the exact opposite of the goal. Loading the factory-default configuration (load factory-default) erases the entire current configuration, including the root password and all other settings. This command is used to completely wipe a device, not to recover a password while preserving settings.

C. Upgrade the Junos OS to the latest version.
Incorrect. An OS upgrade is unrelated to password recovery. While it's possible to perform during maintenance, it is not a step in the password recovery process and does not help regain access to a locked device.

Reference:

This procedure is a critical administrative task documented by Juniper in their official technical documentation, often found in a guide titled "How to Recover a Lost root Password" or within the "System Basics" administration guide. It is a key topic for the JNCIA-Junos exam, testing the candidate's knowledge of fundamental system recovery techniques. The core principle is using the boot loader to bypass normal authentication while maintaining the integrity of the configuration database.
Question 15 Choose 1
Which statement is correct concerning exception traffic processing?
Show answerHide answer

Correct answer: B Exception traffic is rate-limited to protect the RE.

Explanation

Explanation:
Exception traffic (traffic destined to the router itself, such as SSH, OSPF, BGP, and pings to the router's interface) must be processed by the Routing Engine's (RE) CPU. This makes the RE a potential target for denial-of-service attacks where an attacker could overwhelm the CPU with traffic.

To mitigate this risk, Junos OS has a built-in protective mechanism:

Rate Limiting:The system automatically imposes rate limits (policers) on exception traffic. If the volume of exception traffic exceeds a predefined threshold, the Packet Forwarding Engine (PFE) will drop the excess packets before they can reach the RE.

Purpose: This ensures that even under a flood of management or control plane traffic, the RE retains enough CPU capacity to perform its critical functions, like running routing protocols and allowing administrator access for troubleshooting.

Analysis of Incorrect Options

A. Exception traffic is always dropped during congestion.
Incorrect. It is not always dropped. It is only dropped if it exceeds the policer's rate limit. A normal, non-malicious level of exception traffic is processed without issue, even during network congestion affecting transit traffic.

C. Exception traffic is discarded by the PFE.
Incorrect and Misleading. While the PFE does drop packets due to rate limiting, its primary role for exception traffic is to identify it and forward it to the RE for processing. Saying it is "discarded by the PFE" implies that is its final destination, which is false. The PFE's job is to send it to the RE, unless a policer is triggered.

D. Exception traffic is never forwarded.
Incorrect. This statement is ambiguous but generally false. Exception traffic is "forwarded" by the PFE—but it is forwarded up to the RE (the control plane), not out another data plane interface (like transit traffic). Furthermore, the router itself can generate and forward new packets in response to exception traffic (e.g., sending an OSPF update or an ICMP reply).

Reference:
This is a key security and architectural concept in Junos OS, covered in the JNCIA-Junos curriculum under topics like "Control Plane Protection" or "Traffic Processing." Understanding that the RE is protected by implicit rate limits is fundamental for both network security and for troubleshooting scenarios where legitimate control plane traffic might be dropped under high-load conditions.
Question 16 Choose 1
You want to find out the chassis serial number of a Junos device. Which command would display this information?
Show answerHide answer

Correct answer: B show chassis hardware

Explanation

Explanation:
The show chassis hardware command provides a detailed inventory of all physical components in the device, including the chassis itself, Routing Engines, line cards (FPCs), Physical Interface Cards (PICs), and more. For each component, it lists the:

Hardware model number
Serial number
Part number
Version number

The very first entry in this output is for the chassis itself, which includes the chassis serial number. This is the standard and most direct command to obtain this information.

Analysis of Incorrect Options

A. show chassis environment
Incorrect. This command displays environmental status information, such as temperatures, fan speeds, and power supply states. It does not list serial numbers or hardware inventory.

C. show chassis routing-engine
Incorrect. This command shows status information specific to the Routing Engine(s), such as CPU and memory utilization, temperature, and uptime. It may show the serial number of the Routing Engine, but not necessarily the serial number of the overall chassis.

D. show chassis location
Incorrect. This command is used to display or configure physical location information for the chassis, such as a data center location, row, and rack. This is a user-configured field and does not display the manufacturer-assigned serial number.

Reference
This is a fundamental operational command covered in the JNCIA-Junos curriculum under "System Monitoring" or "Hardware Inventory." The show chassis hardware command is the primary tool for auditing device components and is essential for support cases with Juniper, as it provides all the necessary hardware identification details.
Question 17 Choose 1
Which service does RADIUS provide?
Show answerHide answer

Correct answer: B authentication

Explanation

Explanation:
RADIUS (Remote Authentication Dial-In User Service) is a networking protocol that provides centralized Authentication, Authorization, and Accounting (AAA) management for users who connect and use a network service.

Authentication: This is its primary service. It verifies the identity of a user attempting to access the network, typically by checking a username and password against a central database.

Authorization: After authenticating a user, it determines what network resources and level of access that user is permitted to use.

Accounting: It tracks the usage of network resources by the user, such as session time and data volume, for billing or auditing purposes.

In the context of a Junos device, RADIUS is commonly configured as an external server to authenticate administrators logging in via SSH or Telnet, providing a more secure and centralized alternative to local user accounts.

Analysis of Incorrect Options

A. routing
Incorrect. Routing is the process of determining the path for network traffic. Protocols like OSPF, BGP, and RIP handle routing. RADIUS operates at the application layer for management access and has no role in packet forwarding.

C. DNS resolution
Incorrect. DNS (Domain Name System) is the service that translates human-readable domain names (like www.juniper.net) into IP addresses. This is a completely separate function from user authentication.

D. time synchronization
Incorrect. Time synchronization is the function of the NTP (Network Time Protocol). RADIUS does not provide or manage time services.

Reference:
The use of RADIUS for user authentication is a standard security practice in network administration and is covered in the JNCIA-Junos curriculum under "System Services" or "User Authentication". Configuring RADIUS involves specifying the server details under the [edit system] hierarchy in Junos, demonstrating its role as a centralized authentication service for device management.
Question 18 Choose 1
You have just increased the MTU size of interface ge-0/0/0 and committed the configuration. Which command would help you identify the applied MTU change?
Show answerHide answer

Correct answer: D show interfaces ge-0/0/0

Explanation

Explanation:
The show interfaces command (without any terse or extensive modifiers) is the primary tool for displaying the detailed status and configuration of a specific interface. When you run show interfaces ge-0/0/0, the output includes a dedicated line that explicitly shows the configured MTU.

You will see an output section that looks similar to this:
text
Physical interface: ge-0/0/0, Enabled, Physical link is Up
Interface index: 148, SNMP ifIndex: 526
Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, ...(output truncated)...
The MTU: 1514 field in this output directly confirms the currently applied MTU size for the interface.
This is the most straightforward and definitive way to verify the configuration change.

Analysis of Incorrect Options
A. monitor interface ge-0/0/0
Incorrect. The monitor interface command launches a real-time traffic monitoring tool that shows packet and byte counters, errors, and packet rates. It is used for observing traffic flow, not for displaying static interface configuration parameters like MTU.

B. monitor traffic interface ge-0/0/0
Incorrect. This command is used to capture live packet headers on the specified interface. It is a troubleshooting tool for analyzing the contents of packets, not for viewing interface configuration settings.

C. show interfaces ge-0/0/0 terse
Incorrect. The terse modifier provides a condensed, summarized overview of all interfaces or a specific one. While it shows the interface's administrative and operational status along with IP addresses, it omits detailed configuration parameters like the MTU.

Reference:
This is a fundamental operational task covered in the JNCIA-Junos curriculum under "Monitoring Interfaces". The show interfaces command is the standard method for verifying the operational state and configuration of any interface. Understanding the different output formats of the show interfaces command (terse, detail, extensive) and knowing which one provides the required information is a key skill for the exam and real-world network management.
Question 19 Choose 2
You received a new Junos device and are configuring the system-related settings. You must configure this device for the current date and time on the US West coast. You have set the time zone to America/Los_Angeies. however the time and date did not change. In this scenario, which two additional actions would satisfy this requirement? (Choose two.)
Show answerHide answer

Correct answer: A, B Set the date and time setting manually.Configure an NTP server.

Explanation

Explanation:
Configuring the time zone alone only tells the device how to offset the system clock from Universal Coordinated Time (UTC). It does not actually set the system clock itself.

A. Set the date and time setting manually.
This is a direct and immediate solution. From operational mode, you can use the set date command (e.g., set date YYYYMMDDHHMM.SS) to manually configure the correct local time. The device will then use the configured America/Los_Angeles timezone to calculate and display the time correctly.

B. Configure an NTP server.
This is the preferred and most accurate method for production environments. By configuring NTP under [edit system ntp] and committing, the device will automatically synchronize its clock with a reliable time server. Once synchronized, it will apply the America/Los_Angeles timezone offset to display the correct local time. This ensures long-term accuracy without manual intervention.

Both of these actions provide the necessary step of actually setting the system clock, which is what was missing after only configuring the timezone.

Analysis of Incorrect Options

C. Configure a DNS server.
Incorrect. DNS is used for domain name resolution (translating hostnames to IP addresses). It has no functional relationship with time synchronization or setting the system clock.

D. Reboot the device.
Incorrect. Rebooting the device will not magically set the correct time. The device will likely just restart with the same incorrect hardware clock time it had before. A reboot is not a step in the time configuration process.

Reference:
This process is covered in the JNCIA-Junos curriculum under "Initial System Configuration" or "System Management." The official Junos documentation clearly outlines that setting the timezone and setting the clock are two distinct configuration tasks. The set date command is for immediate manual correction, while NTP configuration is for automated, sustained timekeeping, which is a critical best practice for logging, security, and troubleshooting.
Question 20 Choose 2
When considering routing tables and forwarding tables, which two statements are correct? (Choose two.)
Show answerHide answer

Correct answer: A, D The routing table is used by the RE to select the best route.The routing table stores all routes and prefixes from all protocols.

Explanation

Explanation:
This question tests the fundamental distinction between the control plane (Routing Engine) and the forwarding plane (Packet Forwarding Engine) in Junos architecture.

A. The routing table is used by the RE to select the best route.
Correct. The Routing Engine (RE) is the control plane. It runs the routing protocols (OSPF, BGP, etc.). The primary function of the routing protocol process (rpd) on the RE is to take all learned routes (from all protocols and sources), run a route selection algorithm, and choose the single best route for each prefix. This collection of best routes is stored in the main routing table.

D. The routing table stores all routes and prefixes from all protocols.
Correct.The routing table, or Routing Information Base (RIB), is the master database on the RE. It contains all routes learned from all sources—directly connected, static, OSPF, BGP, etc. For each prefix, it shows every possible path and then marks the best one as active. You can view this with the show route command.

Analysis of Incorrect Options

B. The forwarding table stores all routes and prefixes from all protocols.
Incorrect. This is the role of the routing table (RIB) on the RE. The forwarding table, or Forwarding Information Base (FIB), is a streamlined, optimized version that resides on the PFE. It contains only the active routes from the RIB, along with the specific next-hop information needed for high-speed packet forwarding. It does not store all possible paths, only the best one.

C. The forwarding table is used by the RE to select the best route.
Incorrect. This statement reverses the entire process. The RE uses the routing table (RIB) to select the best route. After the best route is selected in the RIB, that information is downloaded from the RE to the PFE to populate the forwarding table (FIB). The RE does not use the FIB for route selection; it creates it.

Reference
This is a core architectural concept in Junos OS and is a key topic in the JNCIA-Junos certification, covered under "Junos OS Architecture" or "Routing Tables." Understanding the separation between the RIB (control plane, all routes, best path selection) and the FIB (forwarding plane, active routes only, high-speed lookups) is fundamental to understanding how Juniper devices operate and how to troubleshoot routing issues.
Full mock exam

Sit the JN0-105 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-105 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full JN0-105 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 100questions in the bank
  • Newmock on every attempt