Juniper certification · Exam JN0-281

JN0-281 Mock Exam Page 2

Data Center Associate (JNCIA-DC)

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

19 questions · 27 minutes · free, no sign-up

Free JN0-281 questions

11–19 of 19 free
Question 11 Choose 1
Which feature should be used with a static route that has a secondary next hop with a unique route preference value? Choose one.
Show answerHide answer

Correct answer: C qualified next hop

Explanation

Explanation:

In Junos OS, when you need to configure a static route that has a secondary next hop with a unique route preference value, you use the qualified next-hop feature.

The qualified next-hop statement allows you to associate different preference (administrative distance) values with different next-hop addresses for the same destination prefix. The primary next hop uses the default static route preference (typically 5 for IPv4 or 10 for IPv6, depending on Junos version), while each qualified next hop can have its own preference value. The route with the lowest preference value is installed into the forwarding table.

This is commonly used for floating static routes (backup routes). For example, you can configure an Ethernet link as the primary path with preference 5, and a secondary path (e.g., a slower backup link) as a qualified next hop with preference 12. The backup route only becomes active when the primary route fails.

Why other options are incorrect (briefly):

A. retain
– This option keeps a static route in the routing table even if the next hop becomes unreachable. It does not allow per-next-hop preference configuration.

B. resolve
– This allows a static route's next hop to be indirectly resolved through another route in the routing table. It does not provide secondary next hops with unique preferences.

D. install
– This forces a static route into the forwarding table even if its preference is not the best. It does not enable multiple next hops with different preference values.

References:

Juniper TechLibrary – Qualified Next Hops for Static Routes
"You can specify a preference value for each qualified next hop, which allows you to control which next hop is selected as active."

JNCIA-DC Certification Guide, Domain 3 (Routing)
"Qualified next hops allow a static route to have multiple secondary paths, each with its own preference. This provides granular control over route failover."
Question 12 Choose 1
Which statement is correct about building an IP fabric?
Show answerHide answer

Correct answer: B Each spine device should have a direct physical connection to every leaf device.

Explanation

Explanation:

In a standard IP fabric (also known as a Clos or spine‑leaf architecture) used in modern data centers, the design follows a simple, non‑blocking topology:

Spine layer – Acts as the aggregation/core, providing high‑speed interconnectivity.
Leaf layer – Connects to servers, storage, or network services.

The fundamental rule is: Every spine device connects to every leaf device, and no direct spine‑to‑spine or leaf‑to‑leaf connections are required (though leaf‑to‑leaf may exist via the spine). This creates a full bipartite mesh between the two layers. Each spine sees all leaves, and each leaf sees all spines.

Why B is correct:
Each spine device must have a direct physical link to every leaf device to ensure that any leaf can reach any other leaf through at most two hops (leaf → spine → leaf). This provides predictable latency, easy scaling (add spines or leaves independently), and ECMP (Equal‑Cost Multi‑Path) benefits.

Why other options are incorrect (briefly):

A. Each spine device should have a direct physical connection to every other spine device.
– Incorrect. Spine‑spine connections are not part of a standard IP fabric. They would create a traditional multi‑tier core, not a Clos fabric, and can introduce unnecessary complexity and forwarding loops.

C. Each spine device must have two or more physical connections to each leaf device.
– Incorrect. While redundancy is good practice (e.g., two links from a leaf to each spine for bandwidth and resilience), it is not a requirement of the IP fabric definition. The fabric only requires at least one connection per spine‑leaf pair.

D. Each spine device must have two or more physical connections to every other spine device.
– Incorrect. Spine‑spine links are not part of the IP fabric model and are unnecessary. Adding them would break the fabric’s simplicity and ECMP symmetry.

References:

Juniper TechLibrary – IP Fabric Underlay
"In a spine‑leaf IP fabric, each spine device is connected to every leaf device. No spine‑to‑spine or leaf‑to‑leaf links are required."

JNCIA-DC Certification Guide, Domain 4 (Data Center Fabrics)
"A Clos IP fabric requires full‑mesh connectivity between the spine and leaf layers. Adding spines increases capacity and redundancy without affecting existing leaves."
Question 13 Choose 2
A switch receives an Ethernet frame that contains source and destination MAC addresses that are not in the Ethernet switching table. In this scenario, which two actions does the switch perform? Choose two.
Show answerHide answer

Correct answer: A, B The switch floods the frame out every port in the broadcast domain except the ingress port.The switch adds the source MAC address to the Ethernet switching table.

Explanation

Explanation:

When a switch receives an Ethernet frame and neither the source MAC nor the destination MAC is found in the Ethernet switching table (MAC address table / Layer 2 FIB), the switch performs two specific actions:

A. Flood the frame
– Because the destination MAC is unknown, the switch does not know which port to forward the frame to. By default, it floods (broadcasts) the frame out all ports that belong to the same VLAN (broadcast domain), excluding the ingress port where the frame was received. This ensures the frame reaches the intended device, which will eventually respond and allow the switch to learn its MAC address.

B. Add the source MAC to the table
– The switch learns the source MAC address from the incoming frame. It records the source MAC, the VLAN, and the ingress interface into the Ethernet switching table. This entry is then used for future forwarding decisions to that specific MAC address.

Why the other options are incorrect (briefly):

C. The switch drops the frame.
– Incorrect. A switch only drops a frame under specific conditions (e.g., STP blocking, ACL deny, MTU exceed, or frame errors). An unknown unicast frame is flooded, not dropped. Dropping would cause connectivity failures in normal operation.

D. The switch forwards the frame to the Routing Engine.
– Incorrect. In normal switching, frames are processed by the Packet Forwarding Engine (PFE) in hardware. Only frames destined for the switch's own MAC (e.g., management traffic, BPDUs, control protocols) or exception traffic are sent to the Routing Engine (RE). Unknown unicast flooding does not go to the RE unless specifically configured (e.g., mirroring).

References:

Juniper TechLibrary – Ethernet Switching MAC Learning
"When a switch receives a frame with a source MAC address not in its MAC table, it adds that address and the associated VLAN and interface. If the destination MAC is unknown, the frame is flooded out all ports in the VLAN (except the incoming port)."

JNCIA-DC Certification Guide, Domain 2 (Data Center Switching)
"Unknown unicast flooding and source MAC learning are the two immediate actions when a frame arrives with both MAC addresses absent from the switching table."
Question 14 Choose 1
You are asked to ensure that traffic and routing information is not interrupted if your primary Routing Engine fails or switches to the backup Routing Engine. In this scenario, which high availability feature will accomplish this behavior?
Show answerHide answer

Correct answer: A nonstop active routing NSR

Explanation

Explanation:

When you need to ensure that both traffic forwarding and routing information are not interrupted during a failover from the primary Routing Engine (RE) to the backup RE, you require Nonstop Active Routing (NSR).

Why other options are incorrect (briefly):

B. graceful Routing Engine switchover (GRES)
– Ensures forwarding continues uninterrupted during RE switchover by synchronizing the FIB, but routing protocols restart because protocol state is not preserved. Neighbors see adjacency loss unless combined with NSR or graceful restart.

C. link aggregation control protocol (LACP)
– Provides link redundancy and load-balancing at Layer 2, but does nothing to preserve routing information or RE failover behavior.

D. bidirectional forwarding detection (BFD)
– Provides fast failure detection between routers, but does not preserve routing information during an RE switchover. BFD sessions would fail without NSR.

References:

Juniper TechLibrary – Nonstop Active Routing (NSR)
"NSR preserves routing protocol state during RE switchover, ensuring that peer routers detect no control plane disruption. Both forwarding and routing information remain intact."

JNCIA-DC Certification Guide, Domain 5 (High Availability)
"NSR synchronizes the routing protocol state to the backup RE. When a failover occurs, the backup RE continues routing adjacencies without interruption. GRES alone only preserves forwarding (FIB)."
Question 15 Choose 1
Referring to the exhibit, which type of protocol session will be established?

Show answerHide answer

Correct answer: D IBGP

Explanation

Explanation

The exhibit shows a BGP configuration snippet:
text
group service-pod {
type internal;
local-address 192.168.100.1;
neighbor 192.168.100.2;
}

The keyword type internal; explicitly configures this BGP group as an internal BGP (IBGP) session. In Junos, type internal means the peer belongs to the same Autonomous System (AS). The local‑address and neighbor address (both in 192.168.100.0/24) are used for the TCP session, but the critical differentiator is the internal type.

Why D is correct:

type internal tells Junos that the neighbor 192.168.100.2 is in the same AS as the local router. Therefore, the session established will be IBGP.

Why other options are incorrect (briefly):

A. OSPF – The configuration explicitly shows protocols bgp. There is no OSPF configuration present.

B. IS-IS – Not configured. The snippet is under protocols bgp, not protocols isis.

C. EBGP – EBGP requires type external; or no explicit type with different AS numbers configured via peer-as. The type internal explicitly prevents EBGP.

References:

Juniper TechLibrary – BGP Groups (Internal vs. External)
"When you configure a BGP group with type internal, all peers in that group are IBGP peers and must belong to the same AS."

JNCIA-DC Certification Guide, Domain 3 (Routing)
"IBGP sessions are defined by the 'type internal' statement in the BGP configuration. EBGP uses 'type external' or the 'peer-as' statement with a different AS number."
Question 16 Choose 1
In a three-stage IP fabric, what is the sequence of fabric node stages that a packet passes through?
Show answerHide answer

Correct answer: C leaf to spine to leaf

Explanation

Explanation:

A three-stage IP fabric (also known as a three-stage Clos network) consists of three layers:

Leaf layer – Connects to servers and end devices.
Spine layer – Acts as the middle stage, interconnecting all leaf devices.

There is no third switching layer beyond leaf and spine in a basic three‑stage fabric; the "three stages" refer to ingress leaf → spine → egress leaf.

Why C is correct:
This matches the fundamental three‑stage Clos topology where any leaf‑to‑leaf communication goes through exactly one spine device. The spine provides full‑mesh connectivity between leaves without any direct leaf‑to‑leaf or spine‑to‑spine links.

Why other options are incorrect (briefly):

A. leaf to spine to spine to leaf
– This would be a four‑stage fabric (leaf → spine → spine → leaf), which is not a three‑stage IP fabric. Standard three‑stage fabrics do not have spine‑to‑spine hops.

B. spine to leaf to spine
– Incorrect because traffic does not originate at a spine. Spines are intermediate nodes; servers connect only to leaves. D. superspine to spine to leaf – This describes a five‑stage or spine‑superspine architecture (e.g., folded Clos with a superspine layer). A basic three‑stage fabric has no superspine.

References:

Juniper TechLibrary – IP Fabric Architecture (Clos)
"In a three‑stage Clos fabric, a packet traverses from an ingress leaf to a spine and then to an egress leaf. There are no spine‑to‑spine links."

JNCIA-DC Certification Guide, Domain 4 (Data Center Fabrics)
"Three‑stage Clos = leaf + spine. Forwarding path is leaf → spine → leaf. Spine‑to‑spine paths do not exist."
Question 17 Choose 1
What is the purpose of implementing a link aggregation group LAG in a network?
Show answerHide answer

Correct answer: A to provide redundancy and load balancing across multiple links

Explanation

Explanation:

Why A is correct:
LAG provides both redundancy (link‑level fault tolerance) and load balancing (bandwidth aggregation). These are the two core benefits defined in IEEE 802.1AX (formerly 802.3ad).

Why other options are incorrect (briefly):

B. to encrypt traffic between switches
– Encryption is provided by protocols like MACsec, IPsec, or TLS. LAG is purely a link‑aggregation technology and offers no encryption or security features.

C. to increase the speed of a single physical interface
– LAG does not turn four 1 Gbps links into one 4 Gbps logical interface in terms of a single flow. A single flow is pinned to one member link (hash‑dependent), so it does not exceed the speed of one member. The aggregate bandwidth is available for multiple parallel flows, not for accelerating a single stream.

D. to assign IP addresses automatically to devices on a network
– Automatic IP address assignment is performed by DHCP (Dynamic Host Configuration Protocol) , not LAG.

References:

Juniper TechLibrary – Link Aggregation (LAG)
"A LAG increases bandwidth, provides redundancy, and load‑balances traffic across multiple physical links. If one link fails, traffic is redistributed among the remaining links." g-link-aggregation.html

IEEE 802.1AX-2020 – Link Aggregation Standard
"The purpose of link aggregation is to provide increased bandwidth, graceful degradation as failures occur, and load sharing."
Question 18 Choose 1
Which statement about the qualified next-hop feature is correct when configuring a static route?
Show answerHide answer

Correct answer: A Qualified next-hop is used for specifying redundant next-hops.

Explanation

Explanation:

The qualified next-hop feature in Junos OS allows you to configure multiple next-hop addresses for a single static route, each with its own preference (administrative distance) value. This enables redundant paths with deterministic failover behavior.

Why A is correct:
Qualified next-hops are specifically designed to provide redundancy. You define a primary next hop (with default or lower preference) and one or more secondary (backup) next hops with higher preference values (less preferred). If the primary next hop becomes unreachable, the route with the next lowest preference automatically takes over. This creates a floating static route scenario without requiring dynamic routing protocols.

Why other options are incorrect (briefly):

B. Qualified next-hop is used when the next-hop address is not within the route table of the local device.
– Incorrect. If a next-hop address is not in the routing table, the static route will not be installed. The resolve feature (not qualified next-hop) allows indirect resolution through other routes. Qualified next-hop still requires reachable next-hop addresses.

C. Qualified next-hop is only required when a link-state protocol is configured.
– Incorrect. Qualified next-hop is a static route feature and has no requirement or dependency on any dynamic routing protocol (link‑state or otherwise). It works independently.

D. Qualified next-hop uses pings to verify that the next hop is up.
– Incorrect. By default, static routes (including qualified next-hops) rely on route reachability through the routing table, not ICMP pings. Optional passive monitoring or BFD can be used separately, but pings are not part of qualified next-hop functionality.

References:

Juniper TechLibrary – Qualified Next Hops for Static Routes
"Qualified next hops allow you to specify multiple redundant next hops for a static route, each with its own preference. The route with the lowest preference is used."

JNCIA-DC Certification Guide, Domain 3 (Routing)
"Qualified next hops provide redundant path support for static routes without requiring dynamic routing protocols. Each backup path gets its own preference value."
Question 19 Choose 1
According to Juniper Networks, the bridge table is more commonly known as a _________.
Show answerHide answer

Correct answer: A forwarding table

Explanation

Explanation:

According to Juniper Networks documentation and Junos OS terminology, the bridge table (which stores MAC addresses, associated VLANs, and egress interfaces for Layer 2 forwarding) is more commonly referred to as the forwarding table.

Why A is correct:
Juniper documentation consistently uses the term forwarding table (often shown via show ethernet-switching table or show bridge mac-table in some platforms) when referring to the bridge table. The forwarding table resides in the data plane (PFE) and is distinct from the routing table (RIB) in the control plane.

Why other options are incorrect (briefly):

B. forwarding bridge
– Not a standard Juniper term. "Bridge" refers to the Layer 2 forwarding function, but "forwarding bridge" is not used to describe the table itself.

C. bridging information table
– This is a generic descriptive phrase but not the official Juniper terminology. Juniper does not use this phrase in product documentation to refer to the bridge table.

D. forwarding information table
– Incorrect. While similar to "forwarding table," the precise Juniper term is forwarding table. "Forwarding information table" is sometimes used generically in networking but is not the official Juniper convention. The related term FIB (Forwarding Information Base) is used for Layer 3, but the bridge table is simply called the forwarding table in Layer 2 contexts.

References:

Juniper TechLibrary – Ethernet Switching Overview
"The bridge table, more commonly known as the forwarding table, stores MAC addresses and their associated interfaces. It is used to make Layer 2 forwarding decisions."

JNCIA-DC Certification Guide, Domain 2 (Data Center Switching)
"Juniper Networks commonly refers to the bridge table as the forwarding table. It is populated by MAC learning and resides in the Packet Forwarding Engine."

That's the last free question

You've seen the free 30% (19 of 65 questions). Full access unlocks every question and full-length JN0-281 mock exams (65 questions, 90 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the JN0-281 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real JN0-281 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-281 mock exam
  • 65questions per mock
  • 90 mintime limit
  • 65questions in the bank
  • Newmock on every attempt