Juniper certification · Exam JN0-106

JN0-106 Mock Exam

Junos - Associate (JNCIA-Junos) Junos OS 21.2

Free JN0-106 questions on Routing Policy and Firewall Filters, each with the answer and an explanation.

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

Routing Policy and Firewall Filters questions

1–2 of 2 free
Question 1 Choose 1
Which statement describes the primary purpose of a routing policy in Junos OS?
Show answerHide answer

Correct answer: A It controls which routes are accepted or advertised by a routing protocol.

Explanation

Explanation:
Routing policies in Junos OS are used to control routing information flow. They evaluate routes based on conditions (prefix, protocol, next-hop, etc.) and apply actions such as accept, reject, or modify route attributes (preference, metric, tags) for routes being imported or exported by routing protocols.

Correct Option:

A: It controls which routes are accepted or advertised by a routing protocol.
This is the primary purpose. Routing policies are applied to protocol import/export statements (e.g., import my-policy under OSPF or BGP) to filter which routes enter the routing table or are advertised to neighbors. Policies can also modify route characteristics like local preference or MED.

Incorrect Option:

B: It determines the physical interface used for forwarding traffic.
Physical interface selection is determined by the forwarding table and routing decisions, not routing policies. Policies affect route acceptance and attributes, but the actual forwarding interface is chosen based on the active route's next-hop.

C: It sets the maximum number of routes in the routing table.
Route limits are configured using routing-options (e.g., maximum routes) or protocol-specific limits. Routing policies do not impose global maximums on the routing table size.

D: It enables automatic rollback of routing changes.
Automatic rollback is a configuration management feature (commit and rollback), unrelated to routing policies. Routing policies do not provide auto-rollback capabilities for routing changes.

Reference:
Juniper TechLibrary – "Routing Policy Overview": Routing policies control the import and export of routing information, allowing you to filter routes and set routing attributes for routes exchanged between routing protocols.
Question 2 Choose 2
Which two statements are true about the firewall filter configuration shown in the exhibit? (Choose two.)

Show answerHide answer

Correct answer: A, C It applies the filter to a physical interface.It evaluates SSH packets egressing from the management interface.

Explanation

Explanation:
The exhibit shows a firewall filter mgmt_fill (likely a typo for mgmt_filter) defined under family inet with a term matching SSH destination port. However, the filter is not yet applied to any interface because the filter stanza under me0 is empty. The question asks about what would happen if properly applied.

Correct Option:

A: It applies the filter to a physical interface.
The filter is intended to be applied to me0 (management Ethernet interface), which is a physical interface. Firewall filters are always applied to logical units on physical interfaces.

C: It evaluates SSH packets egressing from the management interface.
When applied to me0 unit 0 as an egress filter (the exhibit does not specify input/output, but typically filters on management interfaces are applied to input or output), packets with destination-port SSH exiting the management interface would be evaluated by term t1.

Incorrect Option:

B: It counts the number of SSH packets that egress from the source SSH interface.
The counter is named c1 but is placed inside the then clause of term t1. However, there is no accept or discard action alongside count, so counted packets would still be evaluated further. Also, the filter as shown is not actually applied (empty filter stanza).

D: It sends filtered data to a syslog file.
The filter does not contain any syslog action. To send logs to syslog, the action log or syslog must be explicitly configured in the then clause. This filter only has count and implicit evaluation.

Reference:
Juniper TechLibrary – "Firewall Filter Syntax": A firewall filter must be applied to an interface under family inet filter (input/output). The count action increments a counter; logging requires log or syslog. Empty filter brackets mean no filter is applied.

That's the last free question in Routing Policy and Firewall Filters

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

Unlock full mock exam
Full mock exam

Sit the JN0-106 exam before exam day

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