JNCIA Junos Firewall Filters Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Thames
T
Thames
Community Contributor
Quizzes Created: 11982 | Total Attempts: 187,298
| Attempts: 13 | Questions: 20 | Updated: Aug 16, 2026
Please wait...
Question 1 / 21
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. A Junos firewall filter can be applied to both ingress and egress traffic on an interface. True or False?

Explanation

True. In Junos, a firewall filter can be attached to an interface’s `input` direction to inspect traffic entering the interface, or its `output` direction to inspect traffic leaving it. This lets administrators apply filtering rules to both ingress and egress traffic.

Submit
Please wait...
About This Quiz
JNCIA Junos Firewall Filters Quiz - Quiz

This quiz evaluates your understanding of Juniper Junos firewall filters and security policies. It covers filter structure, term syntax, match conditions, and actions essential for configuring network security on Juniper devices. Ideal for professionals preparing for the JNCIA certification or strengthening firewall configuration knowledge.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. In a Junos firewall filter, which of the following is NOT a valid match condition?

Explanation

Junos firewall filters can match packet fields such as source address, protocol, and destination port. “Packet-color” is not a standard firewall-filter match condition; packet color is associated with other QoS or policing functions rather than a directly supported filter match criterion.

Submit

3. A Junos firewall filter with no explicit 'then' clause at the end will default to accepting all remaining traffic. True or False?

Explanation

False. In Junos, traffic that does not match any term in a firewall filter is implicitly discarded, not accepted. To allow remaining traffic, the filter must include an explicit final term with an `accept` action.

Submit

4. In Junos, firewall filters use ____ logic to evaluate multiple match conditions within a single term.

Explanation

Within a Junos firewall filter term, multiple match conditions are combined using AND logic. The term matches only when every specified condition is satisfied. If any condition fails, the term does not match, and filter evaluation continues according to the configured term order and actions.

Submit

5. In Junos, what is the purpose of the 'logging' action in a firewall filter term?

Explanation

The `logging` action records information about packets that match the firewall filter term by generating a syslog message. It does not determine whether those packets are accepted or rejected; that behavior is controlled by a separate action in the term.

Submit

6. A Junos firewall filter named 'test-filter' is applied to both input and output on the same interface. How many times will a packet be evaluated?

Explanation

A Junos firewall filter applied in both directions is evaluated at two separate processing points: once when the packet enters the interface (input) and again when it leaves the interface (output). Applying the same filter name in both places does not combine the evaluations; each direction has its own filter check.

Submit

7. In a Junos firewall filter term, the 'then' clause specifies the ____ to be taken if all match conditions are satisfied.

Explanation

In a Junos firewall filter term, the `then` clause defines what the filter does when all conditions in the `from` clause match, such as accepting, discarding, or modifying the packet. This specified response is the term’s action.

Submit

8. Which Junos command displays statistics for a specific firewall filter?

Explanation

Use `show firewall filter [name] statistics` to view the counters for a particular firewall filter. Replace `[name]` with the filter’s configured name. The output reports statistics, such as packet and byte counts, for the filter’s terms, helping you verify which rules are matching traffic.

Submit

9. In Junos, what does the 'count' action in a firewall filter term do?

Explanation

The `count` action updates a named firewall-filter counter for packets that match the term. It does not stop packet processing; Junos continues evaluating the filter according to the term’s other actions and the filter’s rules.

Submit

10. In Junos, what is the primary purpose of a firewall filter?

Explanation

A Junos firewall filter examines packets against configured match conditions, such as source or destination address, protocol, and port. It then applies specified actions, such as accepting or discarding matching traffic. Filters help control which traffic is allowed to pass through a router or interface; they do not perform routing, compression, or encryption.

Submit

11. In Junos, which command applies a firewall filter to an interface?

Explanation

The `set interfaces [interface] filter input/output` command attaches a firewall filter to an interface. Use `input` to filter traffic entering the interface and `output` to filter traffic leaving it. Replace `[interface]` with the interface name and specify the filter name in the command.

Submit

12. What is the correct order of evaluation for terms within a Junos firewall filter?

Explanation

Junos evaluates firewall filter terms sequentially, starting with the first term and proceeding downward in the order they are configured. When a packet matches a term, its actions are applied; depending on those actions, evaluation may stop or continue to the next term. Therefore, term order can affect the filter’s behavior.

Submit

13. In a Junos firewall filter, the 'protocol' match condition can match TCP, UDP, and ____.

Explanation

In a Junos firewall filter, the `protocol` match condition checks the IP protocol field in a packet. It can match common protocols such as TCP, UDP, and ICMP.

Submit

14. Which match condition in a Junos firewall filter term is used to specify source or destination IP addresses?

Explanation

The `address` match condition identifies packets by their source or destination IP address, typically using an address or prefix. `protocol` matches the IP protocol, `port` matches transport-layer ports, and `interface` matches an interface.

Submit

15. In Junos, what does the 'reject' action do when applied to a firewall filter term?

Explanation

In a Junos firewall filter, the `reject` action discards the packet and sends an ICMP error message back to the source, indicating that the traffic was refused.

Submit

16. What is the default action if no term in a firewall filter matches incoming traffic?

Explanation

Firewall filters evaluate incoming traffic against their configured terms. If none matches, the filter’s implicit default action applies: the packet is discarded rather than permitted. This “deny by default” behavior helps prevent traffic that has not been explicitly authorized from reaching the protected network.

Submit

17. In a Junos firewall filter term, what does the 'from' clause specify?

Explanation

The `from` clause defines the criteria a packet must meet to match a firewall filter term, such as its source or destination address, protocol, or port. If the packet meets those conditions, the term’s `then` clause specifies the action to take.

Submit

18. Which statement correctly describes the structure of a Junos firewall filter?

Explanation

A Junos firewall filter is organized into terms, with each term defining a rule that specifies what traffic to match and what action to take. This structure lets a filter apply multiple distinct match-and-action rules to traffic.

Submit

19. Which Junos firewall filter action terminates packet processing and sends the packet to the next filter or interface?

Explanation

The `accept` action stops evaluation of the current firewall filter and permits the packet to continue through any subsequent filters or toward its destination interface. By contrast, `discard` drops the packet silently, and `reject` drops it while sending an error response. `forward` is not the standard terminating action for this purpose.

Submit

20. Which match condition allows you to filter traffic based on TCP or UDP port numbers in a Junos firewall filter?

Explanation

Junos firewall filters can inspect transport-layer port fields to identify services or applications. The source-port condition matches the TCP or UDP port used by the sender, while destination-port matches the port being contacted. Either condition lets you filter traffic by port number, depending on the direction and purpose of the rule.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (20)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
A Junos firewall filter can be applied to both ingress and egress...
In a Junos firewall filter, which of the following is NOT a valid...
A Junos firewall filter with no explicit 'then' clause at the end will...
In Junos, firewall filters use ____ logic to evaluate multiple match...
In Junos, what is the purpose of the 'logging' action in a firewall...
A Junos firewall filter named 'test-filter' is applied to both input...
In a Junos firewall filter term, the 'then' clause specifies the ____...
Which Junos command displays statistics for a specific firewall...
In Junos, what does the 'count' action in a firewall filter term do?
In Junos, what is the primary purpose of a firewall filter?
In Junos, which command applies a firewall filter to an interface?
What is the correct order of evaluation for terms within a Junos...
In a Junos firewall filter, the 'protocol' match condition can match...
Which match condition in a Junos firewall filter term is used to...
In Junos, what does the 'reject' action do when applied to a firewall...
What is the default action if no term in a firewall filter matches...
In a Junos firewall filter term, what does the 'from' clause specify?
Which statement correctly describes the structure of a Junos firewall...
Which Junos firewall filter action terminates packet processing and...
Which match condition allows you to filter traffic based on TCP or UDP...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!