Juniper JNCIA-Junos (JN0-104) Exam-style mock test
Juniper JNCIA-Junos JN0-104 Practice Exams|Practice test
Full explanations
Exam format
Pass line 65%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Networking Fundamentals and the Junos OS
A B2B SaaS company connects 12 laptops to a single Layer 2 Ethernet switch in its office. How do collision and broadcast domains behave in this topology?
✓Each switch port on the device forms its own separate collision domain, while all ports together share one common broadcast domain
Correct. A switch separates collision domains per port, but by default forwards broadcasts out all ports, placing them in one broadcast domain.
・All switch ports share one collision domain, and each individual port forms its own separate broadcast domain
Incorrect. This reverses the behavior; switches isolate collisions per port and share broadcasts, not the opposite.
・Every port forms its own collision domain and its own broadcast domain
Incorrect. A single switch without VLANs does not segment broadcasts per port; all ports share one broadcast domain.
・All ports share a single collision domain and a single broadcast domain
Incorrect. That describes a hub for collisions; a switch gives each port its own collision domain.
Explanation
A Layer 2 switch microsegments the LAN so each port is its own collision domain, but all ports remain in one broadcast domain unless VLANs are configured.
Example2 · Junos CLI, Configuration, and Operation
A junior network engineer at a B2B SaaS company logs into a Junos device for the first time and lands at a prompt ending with the > symbol. Which statement about this CLI mode is accurate?
・The user is in configuration mode, where candidate changes are staged before being committed to the device
Incorrect. The configuration mode prompt ends with the # symbol, not the > symbol, and is entered with configure.
✓The user is in operational mode, which is used to monitor and troubleshoot the device
Correct. The > prompt indicates operational mode, which is used to run show, ping, and other monitoring and troubleshooting commands.
・The user must type load override before any show commands will run
Incorrect. The load override command applies only in configuration mode and is unrelated to running show commands in operational mode.
・The user is at the shell prompt and must type cli to enter Junos
Incorrect. The Unix shell prompt ends with % or $; the > prompt means the CLI is already running in operational mode.
Explanation
In Junos, operational mode is shown by a prompt ending in >, while configuration mode uses a prompt ending in #. Operational mode is for monitoring and troubleshooting.
Example3 · Routing Fundamentals and Routing Policy
At a B2B SaaS company, a network engineer runs 'show route' on an MX router and separately examines the Packet Forwarding Engine. She wants to explain to a junior colleague how the control plane and data plane relate. Which statement best describes the relationship between the routing table and the forwarding table on a Junos device?
・The routing table resides in the Packet Forwarding Engine and the forwarding table is maintained only by the Routing Engine for backup purposes
Incorrect. The routing table lives in the Routing Engine (control plane), not the PFE, and the forwarding table is the one used by the PFE.
✓The routing table holds all learned routes in the Routing Engine, and the active best routes are copied to the forwarding table used by the PFE
Correct. The Routing Engine builds the routing table (RIB) from all learned routes and installs the selected active routes into the forwarding table (FIB) that the PFE uses to forward traffic.
・The routing table and the forwarding table are identical copies synchronized between two Routing Engines
Incorrect. They serve different roles; the forwarding table is a derived subset of active routes, not an identical copy for redundancy.
・The forwarding table stores every candidate route while the routing table keeps only the single active next hop
Incorrect. This reverses the roles; the routing table holds all candidate routes and the forwarding table holds active next hops.
Explanation
In Junos, the Routing Engine maintains the routing table (RIB) containing all routes, then installs the active best routes into the forwarding table (FIB), which is pushed to the PFE for actual packet forwarding.
Example4 · Firewall Filters and Class of Service
A network engineer at a healthcare services firm applies a stateless firewall filter with several named terms to the clinic VLAN interface. How does the Junos device evaluate incoming packets against this filter?
✓The terms are processed sequentially from the first term to the last, and the first matching term's action is applied before processing stops
Correct. Firewall filter terms are evaluated top to bottom, and once a term matches, its action is executed and no further terms are checked.
・The terms are compared and whichever term specifies the most precise match conditions for the packet determines the action taken
Incorrect. Junos does not pick a term by match precision; it uses top-to-bottom term order, not longest or most-specific match.
・Every term is evaluated and the actions are combined together
Incorrect. Terms are not all evaluated and merged; processing stops at the first matching term.
・Terms run in parallel and highest priority wins
Incorrect. Terms are sequential, not parallel, and there is no priority field that overrides order.
Explanation
Stateless firewall filters evaluate terms in the order they are written, applying the action of the first term whose match conditions are satisfied and then halting evaluation.
Example5 · Interfaces, Protocol-Independent Routing, and Services
A network engineer at a healthcare services firm reviews a Junos interface named ge-0/1/2 on a patient-records gateway router. Which component of this interface name identifies the PIC slot?
・The value 0, which identifies the FPC slot that houses the line card in the chassis
Incorrect. The value 0 in ge-0/1/2 identifies the FPC slot, not the PIC; the FPC is the first numeric field after the media type.
✓The value 1, which identifies the PIC on the Flexible PIC Concentrator
Correct. In ge-0/1/2 the second numeric field (1) identifies the PIC within the FPC.
・The value 2, which identifies the port on the PIC where the cable connects
Incorrect. The value 2 is the port number on the PIC, not the PIC slot itself.
・The prefix ge, which identifies the Gigabit Ethernet media type of the interface
Incorrect. The prefix ge denotes the media type (Gigabit Ethernet), not a slot position.
Explanation
Junos physical interface names follow the pattern media-type-FPC/PIC/port. For ge-0/1/2, FPC=0, PIC=1, and port=2.
Example6 · Networking Fundamentals and the Junos OS
A network engineer at a healthcare services firm is troubleshooting why clinical workstations cannot reach the records server by IP address, although the physical link lights are green. At which OSI layer does logical addressing and path determination between networks occur?
・The data link layer, which frames bits and handles MAC addressing on the local segment
Incorrect. The data link layer (Layer 2) deals with MAC addressing and framing within a single segment, not logical addressing across networks.
・The transport layer, which segments data and provides end-to-end reliability
Incorrect. The transport layer (Layer 4) provides segmentation and reliability but does not perform inter-network path determination.
✓The network layer
Correct. The network layer (Layer 3) handles logical (IP) addressing and determines the path between separate networks, which is where IP reachability is decided.
・The physical layer, which transmits raw electrical or optical signals over the medium
Incorrect. The physical layer (Layer 1) only transmits raw signals and has no concept of logical addressing or routing.
Explanation
Logical addressing and path determination between networks are functions of the OSI network layer (Layer 3), where IP routing decisions are made.
Example7 · Networking Fundamentals and the Junos OS
A network engineer at the retail chain UrbanThreads is documenting how its point-of-sale traffic flows. She needs to classify IP addressing and routing within the TCP/IP model. At which layer of the TCP/IP model does IP addressing and routing operate?
・The application layer, which handles user-facing programs
Incorrect. The application layer handles protocols like HTTP and DNS, not IP addressing or routing decisions.
✓The internet layer, responsible for logical addressing and routing
Correct. The internet layer provides logical IP addressing and makes routing decisions between networks.
・The transport layer, which provides reliable end-to-end delivery
Incorrect. The transport layer (TCP/UDP) manages end-to-end delivery and ports, not IP routing.
・The link layer, handling physical frame transmission locally
Incorrect. The link layer deals with local frame delivery and MAC addressing, not logical IP routing.
Explanation
In the TCP/IP model, the internet layer is where IP addressing and routing between networks occur, distinct from transport and link responsibilities.
Example8 · Networking Fundamentals and the Junos OS
UrbanThreads connects 12 registers to a single unmanaged Layer 2 switch, and that switch uplinks to one router interface. A technician asks how many broadcast domains exist in this register segment. What is the correct count?
・Twelve broadcast domains, because each connected register port forms its own separate domain
Incorrect. A switch does not divide broadcast domains per port; all ports share one broadcast domain by default.
・Zero broadcast domains, since switches do not create any broadcast boundaries at all
Incorrect. The switched segment is itself a single broadcast domain, not zero.
✓One broadcast domain for the whole switched segment
Correct. A single Layer 2 switch without VLANs forms one broadcast domain for all its ports.
・Thirteen broadcast domains, counting every switch port plus the router uplink port
Incorrect. Ports do not each create a broadcast domain; a router interface bounds the domain, it does not multiply it.
Explanation
A Layer 2 switch separates collision domains per port but keeps all ports in one broadcast domain; a router is what bounds broadcast domains.
Example9 · Networking Fundamentals and the Junos OS
On an UrbanThreads distribution router running Junos, an engineer wants to know which component builds routing tables and runs protocols like OSPF before forwarding decisions are programmed. Which plane performs this function?
✓The control plane, implemented by the Routing Engine running the protocols
Correct. The control plane, run by the Routing Engine, computes routes and runs protocols such as OSPF.
・The forwarding plane, which rewrites and transmits packets at line rate
Incorrect. The forwarding plane (PFE) moves packets based on tables the control plane builds; it does not run the protocols.
・The management plane, used only for out-of-band administrative access tasks
Incorrect. The management plane handles administrative access, not route computation or protocol operation.
・The services plane that applies stateful firewall and NAT processing to flows
Incorrect. A services plane processes flows like firewall or NAT; it does not compute the routing table.
Explanation
Junos separates the control plane (Routing Engine, protocols, route computation) from the forwarding plane (PFE), which executes packet forwarding.
Example10 · Networking Fundamentals and the Junos OS
A network engineer at a financial services firm is documenting where logical addressing and best-path forwarding between its data-center subnets occur. At which OSI layer does IP routing of traffic between these subnets take place?
・Layer 2, the data link layer, which forwards frames using burned-in MAC hardware addresses within a single broadcast domain
Incorrect. Layer 2 forwards frames by MAC address within a broadcast domain and does not make routing decisions between different IP subnets.
✓Layer 3, the network layer
Correct. The network layer (Layer 3) handles logical IP addressing and best-path routing of packets between separate subnets.
・Layer 4, the transport layer, which segments data and ensures reliable end-to-end delivery using TCP port numbers
Incorrect. The transport layer handles segmentation and reliable delivery with ports, not path selection between subnets.
・Layer 1, the physical layer
Incorrect. The physical layer deals with electrical and optical signaling on the medium, not logical addressing or routing.
Explanation
Routing between IP subnets is a Layer 3 (network layer) function, which relies on logical IP addresses to select a best path.
Example11 · Networking Fundamentals and the Junos OS
On an MX Series router handling a financial services provider's core traffic, which component is responsible for running routing protocols and building the master routing table that the device uses to learn paths?
・The Packet Forwarding Engine (PFE), which performs the actual per-packet lookups and forwards transit traffic across the fabric at line rate
Incorrect. The PFE is the forwarding plane; it forwards packets but does not run routing protocols or build the master routing table.
✓The Routing Engine (RE)
Correct. The Routing Engine is the control plane and runs routing protocols, maintains the routing table, and manages the device.
・The management Ethernet (fxp0) interface used strictly for out-of-band administrative access to the chassis
Incorrect. The fxp0 interface provides out-of-band management access but does not compute routes or maintain the routing table.
・The craft interface front panel, which shows LED status indicators and alarm conditions for field technicians
Incorrect. The craft interface displays status and alarms; it has no role in running protocols or building the routing table.
Explanation
The Routing Engine is the control plane: it runs routing protocols and builds the routing table, then downloads a forwarding table to the PFE.
Example12 · Networking Fundamentals and the Junos OS
A manufacturing distributor has all packing-station PCs connected to a single Layer 2 switch, which uplinks to a router that reaches the warehouse management servers. The warehouse manager asks how many broadcast domains exist on the packing-station side of that router interface. Which answer correctly describes the broadcast domain situation?
・Every switch port forms its own separate broadcast domain, so each packing-station PC is isolated from the broadcasts of the others
Incorrect. Separate switch ports form separate collision domains, not separate broadcast domains; a Layer 2 switch keeps all ports in one VLAN within a single broadcast domain.
✓All packing-station PCs share one broadcast domain because the switch floods broadcasts to every port in the same VLAN
Correct. A Layer 2 switch floods broadcast frames out all ports in the same VLAN, so the packing-station PCs together form one broadcast domain bounded by the router.
・The router creates a new broadcast domain for each PC, so the number of broadcast domains equals the number of connected PCs
Incorrect. A router bounds broadcast domains rather than creating one per attached host; it does not multiply the count by the number of PCs.
・Broadcast domains are determined by cable length, so longer runs split the PCs into additional broadcast domains
Incorrect. Broadcast domain boundaries are a function of Layer 2/Layer 3 devices and VLANs, not physical cable length.
Explanation
Routers terminate broadcast domains; a single switched VLAN is one broadcast domain regardless of how many ports or PCs are attached, while individual switch ports separate collision domains.
Example13 · Networking Fundamentals and the Junos OS
While troubleshooting an order-entry application at the distributor's central office, a technician needs to identify which TCP/IP model layer is responsible for end-to-end reliable delivery, segmentation, and port numbers. Which layer should the technician focus on?
・The network access layer, which frames the data onto the physical medium and controls access to the shared wire between stations
Incorrect. The network access layer handles framing and media access, not reliable end-to-end delivery or port numbers.
・The internet layer, which selects the best path and performs logical addressing of hosts across interconnected networks
Incorrect. The internet layer provides logical addressing and routing, but reliability and ports belong to the transport layer above it.
✓The transport layer, which handles reliable end-to-end delivery, segmentation, and uses port numbers to multiplex data between the hosts
Correct. The transport layer provides end-to-end delivery, segmentation, and port numbers, with TCP adding reliability through acknowledgements.
・The application layer, which presents data to user programs and defines the formats those programs exchange with each other
Incorrect. The application layer defines data formats for programs; it relies on the transport layer for reliable delivery and ports.
Explanation
In the TCP/IP model the transport layer (TCP/UDP) owns segmentation, port-based multiplexing, and, with TCP, reliable end-to-end delivery.
Example14 · Networking Fundamentals and the Junos OS
A NOC engineer at a nationwide telecom operator is troubleshooting a subscriber complaint where IP packets reach the edge router but are never forwarded toward the correct destination network. Which OSI layer is responsible for the logical addressing and path selection the engineer should examine first?
・The data link layer, which frames bits and handles MAC addressing locally
Incorrect. The data link layer handles MAC addressing and framing on a single segment, not end-to-end logical path selection.
・The transport layer, which provides reliable end-to-end delivery and port-based multiplexing of application sessions
Incorrect. The transport layer manages reliability and ports but does not perform IP routing between networks.
✓The network layer, which provides logical IP addressing and selects the destination path
Correct. The network layer handles logical (IP) addressing and path selection, which governs how packets are routed toward the destination network.
・The physical layer, which only transmits raw electrical and optical signals
Incorrect. The physical layer only moves raw signals and has no concept of logical addressing or routing.
Explanation
Logical addressing and routing decisions are a network layer (Layer 3) function, making it the correct focus for a forwarding-path issue between networks.
Example15 · Networking Fundamentals and the Junos OS
In the operator's regional aggregation site, a technician replaces a legacy Ethernet hub with a modern Layer 2 switch between several access devices. After the swap, what change should the technician expect regarding collision domains on the connected links?
✓Each individual switch port now becomes its own separate collision domain after the swap
Correct. A switch creates a separate collision domain per port, so each connected link no longer contends with the others.
・All connected ports continue to share one large single collision domain exactly as they did before
Incorrect. A hub shares one collision domain across all ports, but a switch segments them instead.
・Collision domains are eliminated entirely because the switch forwards using IP addresses
Incorrect. Switches reduce collision domains to one per port but do not eliminate the concept, and they forward using MAC addresses, not IP.
・Every port joins one broadcast domain that also serves as a shared collision domain
Incorrect. Ports do share a broadcast domain by default, but each port is its own collision domain, not a shared one.
Explanation
Switches microsegment the network so each port is an independent collision domain, while all ports in the same VLAN remain in one broadcast domain.
▶ Try 10 free questions (graded)