Courseiva

CCNA Security Policies Questions

63 questions · Security Policies topic · All types, answers revealed

1
MCQeasy

What is the purpose of the 'then { permit; }' statement in a Junos security policy?

A.It permits the interface to come up in L3 routing mode.
B.It enables dynamic routing protocol updates across the zone boundary.
C.It allows administrative SSH access to the Junos routing engine.
D.It allows matching traffic to create a session and pass through the security device.
AnswerD

The permit action authorises matching traffic to establish a session and be forwarded through the device. Without it, the policy's match criteria are evaluated but traffic is dropped, so permit is what actually allows passage.

Why this answer

The 'permit' action allows matching traffic to establish a session and pass through the firewall.

2
Multi-Selecteasy

Which TWO statements are correct regarding Junos security policies and their evaluation behavior? (Choose two.)

Select 2 answers
A.Security policies are evaluated sequentially from top to bottom within a zone pair.
B.If no policy matches the traffic, it is permitted by default.
C.Global policies are evaluated before zone-based policies.
D.Security policies operate exclusively at Layer 2 without state tracking.
E.Matching traffic creates a stateful session in the Junos session table.
AnswersA, E

Junos evaluates security policies sequentially, top to bottom, within each zone pair, stopping at the first match. This satisfies the stem's evaluation-behaviour constraint: policy order determines which rule applies, so a broader permit placed above a specific deny shadows it entirely.

Why this answer

Option A is correct because Junos security policies within a given zone pair are evaluated in a first-match, top-to-bottom order, so the first policy whose match criteria (source/destination addresses, applications, etc.) are satisfied is applied and subsequent policies are not evaluated. Option E is correct because when a policy permits traffic, Junos SRX creates a stateful session entry in the session table, allowing return traffic and subsequent packets of the same flow to bypass full policy re-evaluation. Option B is incorrect because Junos SRX has an implicit deny-all policy at the end of each zone pair, so unmatched traffic is dropped, not permitted.

Option C is incorrect because global policies are evaluated after zone-specific policies, not before them. Option D is incorrect because security policies operate at Layers 3 and 4 (and above with application identification) and are inherently stateful, not Layer 2 only.

Exam trap

The trap is assuming that global policies are evaluated before zone-based policies or that unmatched traffic is permitted by default, when in fact the opposite is true.

3
MCQmedium

An administrator is configuring a security policy on an SRX Series device that must allow traffic from the trust zone to the untrust zone, but only for users who have authenticated via the device's captive portal. Which policy match condition should be used?

A.source-zone
B.source-address
C.source-identity
D.application
AnswerC

The source-identity match condition allows a policy to match traffic based on the authenticated user or group identity. When integrated with a captive portal or user firewall authentication, the source-identity field can enforce that only authenticated users matching specific roles or groups are permitted.

Why this answer

The source-identity match condition is used to enforce policies based on authenticated user or group. When a captive portal is used, users authenticate and their identity is associated with their traffic. The policy can then match on source-identity to allow only authenticated users, providing granular access control.

Exam trap

The trap here is thinking that source-address or source-zone can enforce user authentication, when only source-identity provides that capability.

4
MCQhard

An auditor points out that a security policy configured on your SRX device is completely shadowed by an earlier policy in the same zone pair. What does policy shadowing mean in this context?

A.The shadowed policy is missing a valid source zone definition.
B.The routing engine has cached an old version of the policy table.
C.A preceding policy has broader or identical match criteria that catches all traffic intended for the subsequent policy.
D.The shadowed policy is using global scope instead of zone-based scope.
AnswerC

Shadowing occurs because the earlier policy's match criteria are broader than or identical to the later one's, so every packet the subsequent policy would match is already claimed by the preceding policy. The later policy therefore never receives traffic, making it effectively unreachable within that zone pair.

Why this answer

Policy shadowing occurs when a preceding policy completely encompasses the match criteria of a subsequent policy, rendering the later policy unreachable.

5
MCQmedium

You need to log every time a specific security policy is hit by traffic, including when a session is closed. Which action modifier should you configure within the security policy?

A.Configure 'then { permit; syslog source-address; }'.
B.Configure 'then { permit; alarm; }'.
C.Configure 'then { permit; count; }'.
D.Configure 'then { permit; log { session-init; session-close; } }'.
AnswerD

The 'log' action modifier with both 'session-init' and 'session-close' generates log entries when the session starts and when it terminates. This satisfies the stem's requirement to record every policy hit, including session closure, using the permit action.

Why this answer

The 'log' option in a security policy can include session-init and session-close logging.

6
MCQhard

An administrator notices that a security policy configured with a custom schedule is not enforcing time-based access control as expected. Upon checking the system time on the SRX device, it is discovered that the clock is set to UTC while the schedule was configured in local time without NTP synchronization. What is the recommended best practice to ensure security policy schedules operate correctly?

A.Manually restart the flow processing daemon (flowd) after every time zone change.
B.Configure NTP on the SRX device to synchronize time with a reliable time server.
C.Convert all schedule parameters in the policy configuration to use absolute epoch timestamps.
D.Disable stateful inspection so that schedule checks occur on every individual packet.
AnswerB

NTP synchronises the SRX clock with a reliable time source, ensuring schedule definitions align with actual time. Without synchronisation, the UTC-versus-local-time mismatch causes schedules to trigger at wrong intervals, so NTP is the recommended best practice for accurate time-based policy enforcement.

Why this answer

The recommended best practice for ensuring security policy schedules work correctly is to configure NTP on the SRX device so its clock is synchronized with a reliable time source. Accurate, synchronized time is essential because schedule-based policies rely on the device's local clock, and drift or time zone mismatches can cause schedules to activate at the wrong times.

Exam trap

The trap is thinking that restarting services or changing schedule formats can fix time-based policy issues, when the real fix is always proper NTP synchronization.

How to eliminate wrong answers

Option A is wrong because restarting the flowd daemon does not fix time synchronization issues and would cause unnecessary disruption to active sessions. Option C is wrong because converting schedules to epoch timestamps is not a supported or practical configuration method in Junos, and it would be unmanageable. Option D is wrong because disabling stateful inspection would severely degrade security and performance, and it does not address the root cause of time misconfiguration.

7
MCQhard

You are configuring global security policies in Junos OS on an SRX Series device. Which statement is accurate regarding the evaluation order between zone-based policies and global policies?

A.Global policies are always evaluated before zone-based policies.
B.Zone-based policies are evaluated first, followed by global policies if no zone-based match occurs.
C.Global policies replace zone-based policies entirely when unified policies are enabled.
D.Global policies and zone-based policies are evaluated simultaneously in parallel.
AnswerB

The SRX evaluates zone-based policies before global policies. If no zone-pair policy matches the traffic, evaluation falls through to global policies, which apply across all zones. This ordering satisfies the stem's requirement for the accurate evaluation sequence between the two policy types.

Why this answer

Junos OS evaluates zone-based policies before global security policies. If a zone-based policy matches, global policies are bypassed for that traffic flow.

8
MCQmedium

You are troubleshooting a connection failure where traffic passing from zone A to zone B is being blocked. You check the security policies and notice an explicit permit rule exists, but traffic is still dropped. Upon reviewing session details using the operational command 'show security flow session', you see no session is created. Which feature or tool would best help you verify if the security policy match is failing due to zone mismatches or incorrect match criteria?

A.Configuring security flow traceoptions to log packet processing details.
B.Using 'ping' with the 'do-not-fragment' bit set.
C.Checking the system log file for routing protocol errors.
D.Running 'show firewall' to inspect interface filter counters.
AnswerA

Security flow traceoptions log each packet's path through the flow module, exposing exactly which policy lookup occurs and why no session forms. This directly verifies zone mismatches or failed match criteria, since the trace shows the ingress and egress zone evaluation that the absent session cannot reveal.

Why this answer

Security flow traceoptions allow administrators to trace packet processing through the security engine to see why a packet is dropped or which policy it matched.

9
Multi-Selectmedium

Which THREE components are mandatory when defining a standard zone-based security policy rule in Junos OS? (Choose three.)

Select 3 answers
A.Source zone
B.Destination zone
C.A predefined security screen profile
D.Policy action (such as permit or deny)
E.Static NAT rule binding
AnswersA, B, D

A standard zone-based policy rule requires a source zone to identify where traffic originates, satisfying the mandatory from-zone match criterion. Junos OS pairs it with a destination zone and a permit, deny, or reject action; without a source zone, the rule cannot be committed.

Why this answer

In Junos OS zone-based security policies, every rule must specify a from-zone (source zone) and a to-zone (destination zone) because the policy is evaluated within the context of a zone pair — this makes options A (Source zone) and B (Destination zone) mandatory. The third required element is the policy action, such as permit, deny, reject, or count, since a rule without an action cannot determine traffic handling — this makes option D (Policy action) mandatory. A predefined security screen profile (option C) is not required in a policy rule; screens are applied separately under the zone's screen configuration to protect against floods and malformed packets.

Static NAT rule binding (option E) is also not part of a standard security policy rule; NAT is configured separately and referenced via NAT rules, not as a mandatory policy component.

Exam trap

The trap is confusing optional security features like screen profiles or NAT bindings with the core mandatory fields (source zone, destination zone, action) that define every policy rule.

10
MCQmedium

You want to create a security policy that applies to traffic originating from a specific address book entry named 'HQ-Net' in the 'trust' zone destined for 'Branch-Net' in the 'untrust' zone. Where must the 'HQ-Net' address be defined?

A.Directly within the system login configuration block.
B.Inside the routing-options static route definition.
C.Within the address-book configuration of the 'trust' zone or at the global address-book level.
D.As an interface unit attribute under the [edit interfaces] hierarchy.
AnswerC

Address book entries are scoped either to a zone's address-book or to the global address-book. Defining HQ-Net in the trust zone's address-book, or globally, makes it resolvable when the policy matches source traffic from the trust zone.

Why this answer

Address entries can be defined either globally or inside the specific zone configuration.

11
MCQmedium

You have multiple security policies configured within the context of a specific source and destination zone. A new requirement dictates that a specific subset of users must be denied access while everyone else in the same zone remains permitted. How should you order your security policies to achieve this without disrupting existing traffic?

A.Place the general permit policy above the deny policy and set the deny policy action to 'reject'.
B.Place the explicit deny policy for the specific subset of users above the general permit policy.
C.Convert the policies to global policies and place them at the bottom of the evaluation list.
D.Use an address set to combine the users and rely on automatic policy sorting by IP prefix length.
AnswerB

Junos evaluates security policies top-down, first match wins. Placing the explicit deny for the specific user subset above the general permit ensures those users are blocked before the broader rule is evaluated, while everyone else falls through to the permit, preserving existing traffic flows.

Why this answer

Junos security policies are evaluated top-down, first-match wins. To deny a specific subset while permitting everyone else in the same zone pair, the explicit deny policy for that subset must be placed above the general permit policy. This ensures the deny matches first for those users, while all other traffic falls through to the permit.

Ordering is the key mechanism — no automatic sorting occurs.

Exam trap

JNCIA-SEC often tests policy ordering by presenting a scenario where a broad permit is placed above a specific deny — candidates who assume Junos auto-sorts by specificity pick the wrong ordering.

How to eliminate wrong answers

Option A is wrong because placing the general permit above the deny means the permit matches first for all traffic, including the subset that should be denied, so the deny never takes effect. Option C is wrong because global policies are evaluated after zone-specific policies and are intended for cross-zone or default actions, not for overriding a specific subset within a zone pair. Option D is wrong because Junos does not automatically sort policies by IP prefix length — policy order is strictly administrative, and relying on automatic sorting is a misconception.

12
Multi-Selectmedium

Which THREE methods can be used to modify the order of existing security policies in Junos OS? (Choose three.)

Select 3 answers
A.Using the 'insert ... before' configuration command.
B.Configuring an automated priority metric based on IP prefix length.
C.Using the 'insert ... after' configuration command.
D.Using the 'sort security-policies auto' operational command.
E.Deleting and recreating the policy in the desired sequence order.
AnswersA, C, E

The 'insert ... before' command repositions an existing policy relative to another named policy, directly altering evaluation order without deleting it. Junos applies policies top-down, so placing a policy before another changes which rule matches first, satisfying the reordering requirement.

Why this answer

Option A is correct because Junos OS supports the 'insert' configuration command with the 'before' keyword (e.g., 'insert security policies from-zone trust to-zone untrust policy P1 before policy P2') to reposition an existing policy ahead of another. Option C is correct for the same reason: the 'insert ... after' form (e.g., 'insert ... policy P1 after policy P2') reorders an existing policy to follow a specified policy. Option E is correct because deleting a policy and recreating it at the desired point in the policy list effectively changes its evaluation order, since Junos evaluates policies top-down.

Option B is not a Junos feature—there is no automated priority metric based on IP prefix length for ordering security policies. Option D is invalid because there is no 'sort security-policies auto' operational command in Junos OS; policy order is controlled through configuration, not an operational sort command.

Exam trap

The trap is assuming Junos has an automatic policy sorting feature (like 'sort security-policies auto') or priority based on prefix length — in reality, policy order is strictly manual, and the only supported reordering methods are 'insert before', 'insert after', and delete/recreate.

13
MCQmedium

An administrator configures a security policy on a SRX Series device with the action set to 'count'. What is the primary function of this action in Junos security policies?

A.It mirrors the matching traffic packet headers to a designated analyzer port.
B.It drops the packet and logs the event to the local event log.
C.It sends a TCP reset to the client and server.
D.It permits the matching traffic while maintaining packet and byte counters.
AnswerD

The 'count' action in Junos security policies permits matching traffic and increments packet and byte counters, but it does not log or deny. It satisfies the stem's requirement by combining permit behaviour with traffic accounting, unlike 'log' or 'deny' actions, which serve separate purposes.

Why this answer

The 'count' action allows traffic matching the policy to be permitted while incrementing packet and byte counters for traffic monitoring and auditing purposes.

14
MCQeasy

What is the primary difference between a zone-based security policy and a global security policy in Junos OS?

A.Global policies bypass stateful inspection, whereas zone-based policies enforce it.
B.Zone-based policies are evaluated after global policies.
C.Global policies can only be used for IPv6 traffic, while zone-based policies handle IPv4.
D.Global policies apply across all security zones without requiring explicit source and destination zone pairs in the rule.
AnswerD

Zone-based policies require an explicit from-zone and to-zone pair, so they are evaluated only for that specific zone context. Global policies omit zone pairs and are evaluated across all zones, which is the defining structural difference between the two policy types in Junos OS.

Why this answer

Global security policies in Junos OS are applied across all zones and do not require the administrator to specify source-zone and destination-zone pairs, unlike zone-based policies which are bound to a specific zone context (from-zone X to-zone Y). This makes global policies useful for rules that must apply universally, such as blanket deny rules or logging policies. Zone-based policies, by contrast, are evaluated within the context of a specific inter-zone traffic flow.

Exam trap

JNCIA-SEC often tests the misconception that global policies are evaluated before zone-based policies or that they bypass stateful inspection — candidates confuse 'global scope' with 'higher priority' or 'stateless.'

How to eliminate wrong answers

Option A is wrong because both global and zone-based policies are processed by the same stateful flow engine — global policies do not bypass stateful inspection; statefulness is a property of the session, not the policy type. Option B is wrong because global policies are actually evaluated after zone-based policies in the policy lookup order (zone-pair policy first, then global policy as a fallback), not before. Option C is wrong because both policy types support IPv4 and IPv6; address family is determined by the address book entries and family inet/inet6 configuration, not by whether the policy is global or zone-based.

15
MCQmedium

You are configuring a security policy that needs to match multiple specific applications (HTTP, HTTPS, and SSH) within a single rule. How should you specify these applications in the Junos CLI?

A.set security policies from-zone trust to-zone untrust policy p1 match application junos-http, junos-https, junos-ssh
B.set security policies from-zone trust to-zone untrust policy p1 match application-group junos-all-services
C.set security policies from-zone trust to-zone untrust policy p1 match application [ junos-http junos-https junos-ssh ]
D.set security policies from-zone trust to-zone untrust policy p1 match application multiple junos-http+junos-https
AnswerC

Listing multiple applications inside square brackets assigns the whole set to the rule's single match condition, so HTTP, HTTPS and SSH are matched by one policy. Junos expects predefined names such as junos-http, junos-https and junos-ssh, satisfying the requirement to combine several specific applications in a single rule.

Why this answer

In Junos CLI, when matching multiple applications within a single security policy, you must enclose the list of applications in square brackets [ ], which is the standard Junos syntax for specifying a set of values. The correct command uses 'application [ junos-http junos-https junos-ssh ]' to match any of the three applications. This tells the policy to accept traffic if it matches any application in the list.

Exam trap

The trap is assuming that commas or plus signs can be used to separate multiple applications in a Junos CLI command, when in fact square brackets are required to denote a list.

How to eliminate wrong answers

Option A is wrong because using commas to separate applications (junos-http, junos-https, junos-ssh) is not valid Junos syntax; commas are not used as delimiters in this context. Option B is wrong because 'application-group junos-all-services' is not a predefined application group in Junos, and even if it were, it would not specifically match only HTTP, HTTPS, and SSH. Option D is wrong because 'multiple' is not a valid keyword in this context, and the plus sign (+) is not used to concatenate application names in Junos security policy configuration.

16
MCQhard

An administrator configures a unified security policy with a custom application signature. However, traffic matching the expected port is failing because the application identification engine (AppID) has not yet recognized the session payload. What mechanism does Junos use to handle initial packets while AppID inspects the traffic?

A.Traffic is dropped until AppID completes full packet payload decryption.
B.Traffic is initially evaluated using preliminary port-based match criteria until application identification completes.
C.Traffic is immediately forwarded to the CPU for software-based deep packet inspection, bypassing the PFE.
D.Traffic is rejected with an ICMP redirection message prompting re-transmission.
AnswerB

Junos applies preliminary port-based match criteria to the first packets, allowing the session to proceed while AppID performs payload inspection. This satisfies the requirement that traffic on the expected port is not dropped before application identification completes, after which the session is re-evaluated against the custom signature.

Why this answer

When AppID is enabled in a security policy, Junos initially permits or denies packets based on traditional port-based matching until AppID identifies the application, after which the policy action is re-evaluated.

17
MCQeasy

Where are address books defined when configuring zone-based security policies in Junos OS?

A.Only under the system services configuration menu.
B.At the global security hierarchy or within individual security zones.
C.Inside the interface configuration stanza for each physical port.
D.Exclusively within the routing-options hierarchy.
AnswerB

Address books can be defined at the global `[edit security address-book]` hierarchy or bound to a specific zone under `[edit security zones security-zone <name> address-book]`. This satisfies the stem's requirement by allowing both global and per-zone scope, so policies reference the appropriate book depending on where the object is declared.

Why this answer

Address books in Junos security policies can be defined at two levels: globally under the [edit security address-book] hierarchy, or within individual security zones under [edit security zones security-zone <zone-name> address-book]. This allows for both centralized and zone-specific address management. Global address books are available to all zones, while zone-specific address books are only usable within policies involving that zone.

Exam trap

The trap is assuming address books can only be defined in one place (either global or zone-specific) when in fact both are valid and commonly used together.

How to eliminate wrong answers

Option A is wrong because address books are not configured under system services; that hierarchy is for configuring services like DHCP, DNS, or NTP, not security address objects. Option C is wrong because address books are not defined inside interface configuration stanzas; interfaces are configured under [edit interfaces], and while zones contain interfaces, address books are separate logical constructs. Option D is wrong because routing-options is for routing protocol and static route configuration, not security address books.

18
MCQhard

An enterprise network has multiple virtual routers configured within separate routing instances. How do security policies interact with traffic passing between two different routing instances on the same SRX device?

A.Routing instances handle all security enforcement natively without policy intervention.
B.Security policies are completely bypassed for traffic within the same physical device regardless of routing instances.
C.Only global policies apply to multi-instance routing environments.
D.Security zones and policies are evaluated when traffic crosses between routing instances if the interfaces belong to different security zones.
AnswerD

Traffic crossing between routing instances is treated as inter-zone traffic, so Microsoft Entra ID-independent SRX policy evaluation occurs whenever the ingress and egress interfaces sit in different security zones. The stem's constraint—separate routing instances on one device—does not bypass zone-based policy; it simply changes route lookup, not policy enforcement.

Why this answer

Traffic between different routing instances must traverse security zones and policies, and interfaces in each instance must be assigned to appropriate zones.

19
Multi-Selectmedium

Which TWO factors contribute to policy shadowing in Junos security policy evaluation? (Choose two.)

Select 2 answers
A.Using global policies instead of zone-based policies.
B.Assigning multiple IP addresses to a single security zone interface.
C.Enabling stateful inspection timeout values.
D.Incorrect policy ordering within the policy list.
E.An earlier policy has broader match criteria (e.g., 'any' source or destination) that encompasses a later policy.
AnswersD, E

Policy shadowing occurs when a preceding policy matches all traffic a later policy would match, so the later rule is never evaluated. Incorrect ordering places the broader rule first, rendering subsequent specific policies unreachable in the top-down evaluation.

Why this answer

Option D is correct because Junos evaluates security policies top-down within a policy list and stops at the first match, so incorrect policy ordering (placing a more specific rule after a more general one) causes the later rule to be shadowed and never evaluated. Option E is correct because when an earlier policy uses broader match criteria such as 'any' source or destination, it encompasses the traffic that a later, more specific policy was intended to match, so that later policy is effectively shadowed and never hit. Option A is incorrect because global policies are simply evaluated in a separate global policy list before zone-based policies; using them does not by itself cause shadowing within a policy list.

Option B is incorrect because assigning multiple IP addresses to a single zone interface is a valid configuration and does not affect policy evaluation order or cause shadowing. Option C is incorrect because stateful inspection timeout values affect session aging and teardown behavior, not the top-down matching logic that produces policy shadowing.

Exam trap

JNCIA-SEC often tests whether candidates understand that policy shadowing is caused by ordering and match breadth, not by unrelated features like global policies or interface addressing—candidates frequently confuse configuration options that affect policy scope with those that affect policy reachability.

20
MCQmedium

You are troubleshooting a session-based firewall configuration on an SRX Series device. An application establishes a control connection on one port, but dynamically negotiates a secondary data port for file transfers. Without configuring an explicit policy for the secondary dynamic port, what Junos feature enables the security policy to dynamically permit this secondary data flow?

A.Application Layer Gateways (ALGs)
B.Unified Security Policy Framework
C.Advanced Policy-Based Routing (APBR)
D.Global Policy Fallback
AnswerA

ALGs inspect the control connection and dynamically open pinholes for negotiated secondary data ports, so the security policy permits the data flow without an explicit rule for that dynamic port. This satisfies the requirement for session-based firewalls handling protocols like FTP.

Why this answer

Application Layer Gateways (ALGs) are the Junos feature that enables security policies to dynamically permit secondary data flows for protocols that negotiate additional ports, such as FTP, SIP, and H.323. The ALG inspects the control connection, extracts the dynamically negotiated port information from the payload, and automatically opens a pinhole for the data connection without requiring an explicit policy for that secondary port. This is essential for protocols where the data port is not known in advance.

Exam trap

JNCIA-SEC often tests whether candidates recognize that ALGs are the mechanism for dynamic pinhole creation, and candidates frequently confuse ALGs with other Junos features like APBR or global policies that serve entirely different purposes.

How to eliminate wrong answers

Option B is wrong because the Unified Security Policy Framework is not a Junos feature for dynamic port opening; it is a distractor term that does not describe ALG functionality. Option C is wrong because Advanced Policy-Based Routing (APBR) is used for application-aware routing decisions, not for dynamically permitting secondary data flows. Option D is wrong because Global Policy Fallback does not exist as a Junos feature for dynamic port negotiation; global policies are a separate concept for applying policies across zones, not for ALG-like dynamic pinhole creation.

21
MCQeasy

Which Junos CLI command allows an administrator to verify the active hit count and packet match statistics for a specific security policy?

A.show security policies hit-count
B.show firewall filter statistics
C.show security flow session statistics
D.show security monitoring policies
AnswerA

This operational command displays per-policy packet and byte counters, showing which security policies traffic has matched. It satisfies the requirement to verify active hit counts and match statistics for a specific policy on the SRX device.

Why this answer

'show security policies hit-count' displays the per-policy hit counters, showing how many packets/sessions matched each security policy. This directly answers the need to verify active hit count and match statistics for a specific policy.

Exam trap

The trap is confusing security policy hit counts with firewall filter statistics or flow session statistics, which measure different things entirely.

How to eliminate wrong answers

Option B is wrong because 'show firewall filter statistics' displays stateless firewall filter counters, not security policy hit counts. Option C is wrong because 'show security flow session statistics' shows session table statistics, not per-policy match counts. Option D is wrong because 'show security monitoring policies' is not a valid command for retrieving policy hit counts.

22
MCQeasy

Which command is used to display the currently active security policies on a Junos device?

A.show security zones
B.show security policies
C.show firewall filter
D.show system security status
AnswerB

`show security policies` queries the active policy set loaded in the security policy database, listing each rule's source, destination, application and action. It satisfies the stem's requirement to display currently active policies, unlike configuration-oriented commands that merely echo candidate or committed configuration stanzas without confirming runtime policy state.

Why this answer

The command 'show security policies' displays the currently active security policies on a Junos device, including their order, match conditions, and actions. This is the primary command for viewing policy configuration and status.

Exam trap

JNCIA-SEC often tests the distinction between security policies and firewall filters; candidates may confuse 'show security policies' with 'show firewall filter' or other show commands.

How to eliminate wrong answers

Option A is wrong because 'show security zones' displays zone information, not policies. Option C is wrong because 'show firewall filter' displays stateless firewall filter configurations, not security policies. Option D is wrong because 'show system security status' is not a valid command for displaying security policies; it might show system security status but not policies.

23
Multi-Selectmedium

Which THREE types of logging modifiers are available when configuring logging in a Junos security policy? (Choose three.)

Select 3 answers
A.packet-drop-immediate
B.session-init
C.state-change-alert
D.session-close
E.periodic
AnswersB, D, E

Session-init logging generates a log entry when a session is first created, capturing the initial packet's header details. Junos security policies support three logging modifiers: session-init, session-close and session-close-without-summary. This satisfies the question's requirement for a valid logging modifier type.

Why this answer

In Junos security policy configuration, the log option accepts three logging modifiers: session-init, session-close, and periodic. Option B (session-init) is correct because it generates a log entry when a session is first established, capturing the initial session setup details. Option D (session-close) is correct because it logs when a session is torn down, recording session termination information such as bytes transferred.

Option E (periodic) is correct because it produces log entries at regular intervals during the lifetime of a long-lived session, providing ongoing session statistics. Options A (packet-drop-immediate) and C (state-change-alert) are not valid Junos logging modifiers for security policies; they do not exist as configurable log options in the Junos security policy syntax.

Exam trap

The trap is picking plausible-sounding but non-existent modifiers like 'packet-drop-immediate' or 'state-change-alert' instead of the three real Junos policy logging modifiers.

24
Multi-Selecteasy

Which TWO actions can be specified in the 'then' statement of a Junos security policy? (Choose two.)

Select 2 answers
A.bridge
B.reject
C.permit
D.switched-vlan
E.route-via
AnswersB, C

The then statement supports reject, which drops the matching packet and returns an ICMP unreachable or TCP reset to the source. This is a terminating action distinct from permit, deny and discard, and it satisfies the question's requirement for valid Junos security policy actions.

Why this answer

In a Junos security policy, the 'then' statement defines the action taken when traffic matches the policy's 'from' criteria, and the valid terminating actions include permit (option C) and reject (option B). 'Permit' allows the matching traffic to pass through the device and is the standard accept action, while 'reject' blocks the traffic and sends a TCP RST or ICMP unreachable message back to the source, making both correct for the 'then' clause. The other options are not valid security policy actions: 'bridge' and 'switched-vlan' are Layer 2 forwarding constructs used in bridging or VLAN contexts, not security policy 'then' actions, and 'route-via' is not a Junos security policy action (routing decisions are handled by the routing table and forwarding options, not by a security policy 'then' statement).

Exam trap

JNCIA-SEC often tests the confusion between valid security policy actions (permit, deny, reject) and invalid ones (bridge, switched-vlan, route-via), which are related to other Junos features but not to security policy 'then' statements.

25
MCQhard

An administrator configures a security policy with a scheduler-name attribute to restrict access during specific hours. What occurs outside of the scheduled time window for an existing active session that was created during the allowed window?

A.Existing active sessions remain open until they naturally expire or idle out, but new sessions are blocked.
B.The device reboots to clear the session table and re-evaluate all rules.
C.Existing sessions are immediately converted to 'reject' action state and send ICMP unreachable messages.
D.Existing active sessions are immediately terminated the moment the schedule window closes.
AnswerA

Schedulers govern policy evaluation at session setup only. Once a session is permitted and installed, it persists in the session table and is not torn down when the window closes; only new session attempts are denied. This matches the stem's constraint about existing active sessions.

Why this answer

Schedulers in Junos security policies control session creation; existing active sessions are not automatically terminated when the schedule expires unless specifically configured or aged out.

26
MCQmedium

An administrator needs to create a security policy that allows users in the trust zone to access a web server in the DMZ zone, but only during business hours (09:00 to 17:00, Monday through Friday). Outside these hours, the traffic should be denied and logged. Which configuration approach should be used?

A.Create a single deny policy with a scheduler for outside business hours and set the action to deny with log.
B.Create a permit policy with a scheduler for business hours, and place a subsequent deny policy for the same zones with logging enabled.
C.Create a scheduler with the desired time range, apply it to the policy, and set the action to permit with log session-init and log session-close.
D.Create a scheduler with the desired time range, apply it to a deny policy placed above a permit policy, and set the action to deny with log.
AnswerB

The permit policy with a scheduler is active only during business hours. Outside those hours, it does not match, so traffic is evaluated by the next policy. A subsequent deny policy for the same zones will then match and deny the traffic, with logging enabled to record the denied sessions. This achieves the required behavior.

Why this answer

The correct approach is to use a permit policy with a scheduler that activates only during business hours. When the scheduler is inactive, the permit policy does not match, and a subsequent deny policy for the same zones will deny and log the traffic. This combination enforces the time-based access control.

Exam trap

The trap here is assuming a scheduler can define an exclusion period or that a deny policy can be scheduled to activate outside hours, when schedulers only define when a policy is active.

27
Multi-Selecthard

Which TWO conditions can cause a security policy to be considered shadowed in a Junos configuration? (Choose two.)

Select 2 answers
A.The shadowed policy is assigned to a non-existent security zone.
B.A preceding policy has 'any' for source, destination, and application, while a subsequent policy specifies a specific subnet.
C.A preceding policy has identical or broader match criteria and is evaluated before the subsequent policy.
D.The security device is operating in packet-mode instead of flow-mode.
E.The shadowed policy has hit counts enabled while the preceding policy does not.
AnswersB, C

Shadowing occurs when an earlier policy's match criteria encompass a later policy's. A preceding 'any/any/any' policy matches all traffic, so the subsequent subnet-specific policy can never be evaluated, rendering it unreachable within the same zone pair.

Why this answer

Option B is correct because when a preceding policy matches 'any' source, destination, and application, it matches all traffic that a subsequent policy specifying a specific subnet would match, so the later policy can never be evaluated and is therefore shadowed. Option C is correct because shadowing occurs whenever an earlier policy in the policy order has identical or broader match criteria than a later policy, causing the later policy to be unreachable in the top-down first-match evaluation used by Junos security policies. Option A is not correct because a policy bound to a non-existent zone is a configuration error, not a shadowing condition, and shadowing specifically concerns overlapping match criteria between ordered policies.

Option D is not correct because packet-mode versus flow-mode is a device processing mode and does not by itself cause a policy to be shadowed. Option E is not correct because hit counts are a monitoring feature and have no effect on policy evaluation order or match overlap.

Exam trap

The trap is thinking that operational modes (packet-mode vs flow-mode) or logging features (hit counts) affect policy shadowing — shadowing is strictly about match criteria overlap and evaluation order, not device mode or monitoring settings.

28
MCQeasy

When configuring a zone-based security policy in Junos, what is the default action applied to any traffic that does not match any explicitly defined security policy rules?

A.Reject
B.Permit
C.Log only
D.Deny (Drop)
AnswerD

Junos zone-based security policies end with an implicit deny-all, so unmatched traffic is dropped without any log or ICMP response. This default-deny posture satisfies the stem's constraint by ensuring no traffic passes unless an explicit permit rule allows it.

Why this answer

Junos zone-based security policies have an implicit default deny at the end of every zone-pair policy set. If no explicit policy matches a session's first packet, the SRX drops the traffic and, by default, does not log it unless a `then log` action or a default-deny logging policy is configured. This is the foundational 'implicit deny' behavior that makes SRX a default-deny firewall.

Exam trap

The trap here is confusing 'deny' with 'reject' — candidates who think the SRX sends a reset by default pick 'Reject' instead of the silent 'Deny (Drop)'.

How to eliminate wrong answers

Option A is wrong because 'reject' sends a TCP RST or ICMP unreachable back to the source; the implicit default is a silent drop, not a reject. Option B is wrong because 'permit' would make the SRX default-allow, which contradicts Junos security design. Option C is wrong because 'log only' is not an action — logging is an auxiliary action attached to permit/deny, and the implicit default does not log by default.

29
Multi-Selectmedium

Which THREE components are required when defining a standard zone-based security policy in Junos OS? (Choose three.)

Select 3 answers
A.A static routing table entry in inet.3
B.Source zone
C.Match criteria (such as source address, destination address, and application)
D.Destination zone
E.An integrated Layer 2 bridging profile
AnswersB, C, D

A standard zone-based policy requires a source zone as one of its match components, paired with a destination zone, to define the traffic direction. Without it, the policy cannot be placed in the zone-pair evaluation order.

Why this answer

In Junos OS zone-based security policies, every policy must specify the source zone (option B) and the destination zone (option D) because the policy is applied to traffic flowing between two distinct security zones, and the zone pair defines the context in which the policy is evaluated. Option C is also required: each policy must contain match criteria such as source address, destination address, and application (or application-set) to identify which traffic the policy governs, along with the then action (permit, deny, or reject). Option A is incorrect because a static route in inet.3 is used for MPLS/VPN next-hop resolution and is not a required element of a security policy.

Option E is incorrect because an integrated Layer 2 bridging profile relates to transparent-mode/bridging configuration and is not part of a standard zone-based security policy definition.

Exam trap

The trap is thinking that routing or Layer 2 constructs are part of a security policy definition — candidates sometimes pick 'static routing table entry' or 'bridging profile' because they sound like infrastructure requirements, but a zone-based policy only needs source zone, destination zone, and match criteria.

30
MCQmedium

You need to configure a security policy that inspects traffic for computer viruses and malware as part of the unified security policy framework. Which security feature must be referenced within the policy action?

A.A Junos screen profile.
B.An IPsec VPN gateway proposal.
C.A stateless firewall filter action.
D.A UTM anti-virus profile.
AnswerD

A UTM anti-virus profile supplies the virus and malware inspection engine that the unified security policy action references. Without it, the policy permits or denies traffic but performs no content scanning, so the required virus and malware inspection cannot occur.

Why this answer

Within the Junos unified security policy framework, UTM (Unified Threat Management) features such as anti-virus, anti-spam, content filtering, and web filtering are invoked by referencing a UTM profile in the policy's then action. To inspect traffic for viruses and malware, the policy must reference a UTM anti-virus profile, which defines the scan engine, fallback behavior, and notification options. Without this profile binding, the policy simply permits or denies traffic without deep inspection.

Exam trap

JNCIA-SEC often tests whether candidates confuse UTM profiles (content inspection) with screen profiles (attack/DoS protection), since both are referenced in security policy actions but serve completely different purposes.

How to eliminate wrong answers

Option A is wrong because a screen profile provides stateless/stateful attack protection (SYN floods, IP spoofing, land attacks) and does not perform virus or malware inspection. Option B is wrong because an IPsec VPN gateway proposal defines Phase 1/Phase 2 encryption, authentication, and lifetime parameters for tunnel establishment, not content inspection. Option C is wrong because a stateless firewall filter action (accept, discard, reject) operates on packet headers in the packet-forwarding path and cannot invoke UTM scanning.

31
MCQeasy

An administrator needs to create a security policy on a Junos device that permits traffic from the trust zone to the untrust zone. Which configuration hierarchy is used to define this security policy?

A.[edit firewall]
B.[edit security screen]
C.[edit interfaces security-zones]
D.[edit security policies]
AnswerD

Security policies on Junos devices are configured under the [edit security policies] hierarchy, where zone-pair contexts such as from-zone trust to-zone untrust are defined. This satisfies the requirement to permit trust-to-untrust traffic by housing the policy statement that matches source, destination, and application.

Why this answer

Security policies in Junos OS are configured under the [edit security policies] hierarchy.

32
Multi-Selecthard

An administrator is reviewing policy shadowing and rule optimization on an SRX Series device. Which THREE conditions must be met for one security policy to completely shadow (make redundant) a subsequent security policy?

Select 3 answers
A.Both policies must belong to the exact same zone pair or be global policies.
B.The preceding policy must have a 'deny' action while the subsequent policy has a 'permit' action.
C.The subsequent policy must use dynamic application identification while the preceding policy uses static port numbers.
D.The preceding policy must be placed higher in the top-down evaluation order than the subsequent policy.
E.The preceding policy must have a broader or identical match criteria (source, destination, application) compared to the subsequent policy.
AnswersA, D, E

Shadowing requires both rules to be evaluated in the same policy context, meaning an identical zone pair or both global. A rule in a different zone pair is never reached by the same traffic, so it cannot be shadowed.

Why this answer

For a security policy to completely shadow a subsequent policy on an SRX, the two policies must be evaluated in the same context, so option A is correct: they must belong to the exact same zone pair (for example, trust-to-untrust) or both be global policies, since policies in different zone pairs or contexts are not compared against each other. Option D is correct because SRX security policies are evaluated top-down in first-match order, so the shadowing policy must appear higher in the policy list than the policy it makes redundant. Option E is correct because the preceding policy must match at least everything the subsequent policy matches — its source, destination, and application criteria must be broader than or identical to the subsequent policy's criteria — so the later policy can never be reached.

Option B is incorrect because shadowing is about match scope and evaluation order, not about requiring a deny action before a permit action; a broader permit policy can shadow a narrower permit policy just as well. Option C is incorrect because dynamic application identification versus static ports is not a requirement for shadowing; the relevant issue is whether the match criteria of the earlier policy encompass those of the later policy.

Exam trap

JNCIA-SEC often tests the misconception that shadowing requires a deny-then-permit action pairing, when in fact shadowing is purely about zone context, evaluation order, and match-criteria containment.

33
MCQeasy

When reviewing security policies, you see the term 'junos-any' used in the application match field. What does this represent?

A.It matches all applications and protocols.
B.It matches internal management traffic destined for the routing engine.
C.It matches only standard web traffic (HTTP and HTTPS).
D.It matches only encrypted IPsec sessions.
AnswerA

The junos-any predefined application matches every application and protocol, effectively applying no application restriction. It is used when a policy should permit or deny all traffic regardless of protocol, relying on other match criteria for granularity.

Why this answer

The term 'junos-any' in the application match field is a predefined application that matches all applications and protocols. It is essentially a wildcard that allows any IP traffic, regardless of protocol or port. This is useful when you want a policy to permit or deny all traffic without specifying individual applications.

Exam trap

The trap is confusing junos-any with other predefined applications that have specific purposes, such as junos-http or junos-ssh, and not realizing it is a catch-all.

How to eliminate wrong answers

Option B is wrong because internal management traffic to the routing engine is matched by specific applications like junos-ssh or junos-https, not junos-any; junos-any matches all traffic, not just management. Option C is wrong because junos-any is not limited to HTTP and HTTPS; that would be junos-http and junos-https respectively. Option D is wrong because junos-any does not specifically match IPsec sessions; IPsec traffic is matched by junos-ike and junos-esp, among others.

34
MCQeasy

Which statement correctly describes the order in which Junos security policies are evaluated on an SRX Series device?

A.Policies are evaluated based on the specificity of the source and destination addresses, with more specific policies taking precedence.
B.Policies are evaluated in random order, and the action of the first matching policy is applied.
C.Policies are evaluated from the bottom to the top of the policy list, and the first match is applied.
D.Policies are evaluated from the top to the bottom of the policy list, and the first match is applied.
AnswerD

Junos security policies are evaluated sequentially from the first policy in the list to the last. When a policy matches all criteria (source zone, destination zone, source address, destination address, application, and user if applicable), its action is applied, and no further policies are evaluated. This top-down, first-match behavior is fundamental to policy ordering and priority.

Why this answer

Junos security policies are evaluated from top to bottom, and the first policy that matches all criteria is applied. This first-match behavior means that policy order determines which policy takes effect, so more specific policies should be placed above general ones.

Exam trap

The trap here is assuming that more specific policies automatically take precedence, when in fact order is solely determined by position in the policy list.

35
Multi-Selectmedium

Which THREE statements are true regarding global security policies in Junos OS? (Choose three.)

Select 3 answers
A.Global policies support matching on applications, source addresses, and destination addresses.
B.Global policies require an explicit zone pair declaration in the configuration hierarchy.
C.Global policies are evaluated after zone-based security policies.
D.Global policies can be applied across multiple zones without specifying individual source-to-destination zone pairs in every rule.
E.Global policies take precedence over any configured zone-based security policies.
AnswersA, C, D

Global policies match on applications, source addresses, and destination addresses, unlike zone-based policies that also require explicit zone context. This five-tuple-plus-application matching capability is what allows global policies to enforce consistent rules regardless of the zones traffic traverses.

Why this answer

Option A is correct because global policies in Junos OS support the same match criteria as zone-based policies, including applications, source addresses, and destination addresses, allowing flexible traffic identification. Option C is correct because the Junos security policy evaluation order processes zone-based policies first and then global policies, so global policies act as a fallback for traffic not matched by zone-specific rules. Option D is correct because global policies are defined without a from-zone/to-zone context, so a single rule can apply across multiple zones without declaring individual source-to-destination zone pairs.

Option B is incorrect because global policies are configured under the global policy hierarchy and do not require an explicit zone pair declaration. Option E is incorrect because global policies are evaluated after, not before, zone-based policies, so they do not take precedence over them.

Exam trap

The trap is assuming global policies take precedence over zone-based policies — candidates who think 'global' means 'highest priority' pick option E instead of the correct evaluation-order statement.

36
MCQeasy

An administrator has created a security policy on an SRX Series device that permits HTTP traffic from the trust zone to the untrust zone. The administrator now wants to verify that this specific policy is matching traffic without examining the entire session table. Which operational command should be used?

A.show security policies hit-count
B.show security zones
C.show configuration security policies
D.show security flow session
AnswerA

This command displays the hit count for each configured security policy, allowing the administrator to confirm whether the specific permit policy is matching traffic. It provides a simple counter per policy without needing to inspect individual sessions, making it ideal for quick verification in this scenario.

Why this answer

The show security policies hit-count command is specifically designed to display how many times each security policy has been matched. It gives a per-policy counter, which directly answers whether the HTTP permit policy is being evaluated and matched. Other commands either show sessions without policy attribution or only display configuration, so they do not provide the needed runtime match information.

Exam trap

The trap here is assuming that viewing active sessions or configuration is enough to confirm policy matches, when only the hit-count command provides per-policy match statistics.

37
MCQmedium

When reviewing security policies, you notice multiple rules defined within the same source-zone and destination-zone context. Which Junos feature allows you to group these related policies together for easier management and readability?

A.Virtual security domains
B.Zone clusters
C.Policy sets
D.Security profiles
AnswerC

Policy sets group multiple security policies sharing the same source-zone and destination-zone context, letting you insert, reorder, and manage them as one unit. This directly satisfies the stem's requirement for easier management and readability of related rules within a single zone pair, rather than editing each policy individually.

Why this answer

Junos policy terms can be organized and grouped using policy sets, allowing administrators to apply administrative containers to multiple security policies.

38
MCQeasy

By default, what action does an SRX Series device take when traffic does not match any configured security policy between two zones?

A.Forward the traffic to the default gateway for inspection.
B.Permit the traffic and generate an informational system log.
C.Drop the traffic silently via the implicit deny policy.
D.Prompt the user with a captive portal redirect.
AnswerC

The SRX Series applies an implicit deny-all policy at the end of every inter-zone policy set, so unmatched traffic is discarded without notification. This satisfies the default behaviour between two zones: no configured policy permits the session, therefore the packet is silently dropped rather than rejected or logged.

Why this answer

By default, an SRX Series device enforces an implicit deny-all policy for any traffic that does not match an explicitly configured security policy between zones. This default behavior drops the traffic silently without sending any notification to the source, which is a fundamental security posture of the Junos zone-based firewall.

Exam trap

The trap here is assuming the SRX might permit unmatched traffic by default or send it somewhere for further inspection — the default-deny posture is absolute and silent.

How to eliminate wrong answers

Option A is wrong because the SRX does not forward unmatched traffic to a default gateway for inspection — inspection occurs on the SRX itself, and unmatched traffic is denied. Option B is wrong because the default action is deny, not permit; permitting unmatched traffic would defeat the purpose of a default-deny security model. Option D is wrong because captive portal redirection is a feature that must be explicitly configured for user authentication, not a default action for unmatched traffic.

39
Multi-Selecteasy

When configuring the unified security policy framework on Junos OS, which TWO elements are key components that extend traditional layer 4 firewall policies into layer 7 application and threat visibility?

Select 2 answers
A.Unified Threat Management (UTM) or security services profiles
B.Application identification (AppID)
C.Static MAC-address filtering lists
D.Traditional static port-based service objects
E.Layer 2 bridging control protocols
AnswersA, B

UTM security services profiles supply the layer 7 inspection engines — antivirus, anti-spam, content filtering and IPS — that attach to a policy rule. Without them, the unified policy framework can only match layer 4 tuples, so they are the element that delivers application and threat visibility.

Why this answer

Option A is correct because UTM/security services profiles (antivirus, anti-spam, content filtering, IPS, and AppTrack) attach layer 7 inspection and threat prevention to a policy, providing the application and threat visibility that plain L4 rules lack. Option B is correct because Application Identification (AppID) is the Junos engine that detects and classifies applications (including nested/evasive ones) so policies can match on application rather than just port/protocol, which is the foundation for extending L4 policies into layer 7. Option C is not part of the unified security policy framework since static MAC filtering is a layer 2 access control, not application/threat inspection.

Option D is incorrect because static port-based service objects are exactly the traditional layer 4 matching construct that the unified policy extends beyond. Option E is incorrect because layer 2 bridging control protocols (e.g., STP, LLDP) are switching functions unrelated to layer 7 application and threat visibility.

Exam trap

JNCIA-SEC often tests the misconception that traditional port-based service objects or Layer 2 filters provide application visibility, when in fact only AppID and UTM profiles enable Layer 7 inspection.

40
MCQhard

You are configuring security policies on an SRX Series device that uses destination NAT. In what order does Junos evaluate security policies relative to destination NAT processing?

A.Destination NAT is evaluated first; security policies are then evaluated using the post-NAT destination addresses.
B.Destination NAT and security policies are evaluated simultaneously in parallel.
C.Security policies are evaluated before destination NAT, using pre-NAT IP addresses.
D.Security policies are evaluated twice: once pre-NAT and once post-NAT.
AnswerA

Junos applies destination NAT before policy lookup, so security policies match the translated destination address rather than the original packet header. This satisfies the stem's ordering requirement, ensuring policy terms reference post-NAT addresses when destination NAT is configured.

Why this answer

On Junos SRX, destination NAT is evaluated before security policy lookup, and the security policy is then matched against the post-NAT destination address. This means the policy must reference the translated (inside) address, not the original public address. The order is: packet arrives, destination NAT is applied, then the security policy is evaluated using the translated destination IP.

Exam trap

JNCIA-SEC often tests the confusion about NAT and policy order, tempting candidates to think policies match pre-NAT addresses or that NAT and policy are evaluated in parallel.

How to eliminate wrong answers

Option B is wrong because NAT and policy are not evaluated in parallel; Junos processes NAT first, then policy, in a deterministic order. Option C is wrong because security policies are not evaluated before destination NAT; if they were, policies would need to match pre-NAT addresses, which is not how SRX works. Option D is wrong because policies are not evaluated twice; there is a single policy lookup after NAT, not a pre-NAT and post-NAT double evaluation.

41
MCQhard

An administrator configures a security policy with source address set 'Internal-Subnets', destination address 'Any', and application 'junos-ftp'. During testing, active FTP data connections (PASV mode) are failing. What security policy consideration is most relevant to fixing this issue?

A.The FTP Application Layer Gateway (ALG) must be enabled to dynamically open security sessions for data channels.
B.The security policy action must be changed from 'permit' to 'allow-pasv'.
C.FTP must be replaced with SFTP because security policies cannot support stateful FTP parsing.
D.A separate security policy must be created allowing traffic from untrust back to trust for port 20.
AnswerA

Active FTP negotiates data channels dynamically, so a static junos-ftp policy alone cannot predict the PASV ports. The FTP ALG inspects the control channel and opens pinholes for the negotiated data sessions, satisfying the requirement to permit those secondary flows.

Why this answer

FTP uses dynamically negotiated data ports, requiring the Junos ALG (Application Layer Gateway) for FTP to be active so security policies dynamically permit the data channel.

42
MCQmedium

You are troubleshooting a connectivity issue where traffic between two custom zones is being blocked despite a policy permitting it. Upon reviewing the security policies using the CLI command 'show security policies', you notice that an earlier policy with broader match criteria is catching the traffic and applying a deny action. What security policy concept is causing this behavior?

A.Stateful inspection timeout
B.Policy shadowing
C.Reverse path forwarding mismatch
D.Zone segregation failure
AnswerB

Policy shadowing occurs when an earlier policy with broader match criteria captures traffic before a later, more specific policy is evaluated. Junos OS evaluates policies top-down, so the broader deny rule matches first and the permitting policy is never reached.

Why this answer

Policy ordering is sequential in Junos. The first matching policy is applied, and broader policies placed higher in the list can shadow subsequent specific policies.

43
MCQmedium

You are configuring a security policy and need to reference a group of IP addresses that frequently changes. You decide to use an address set. How do you add individual address entries into this address set?

A.By applying firewall filter terms to the address set container.
B.By assigning the address set to an interface unit.
C.By referencing the individual address entries within the address-set definition statement.
D.By listing raw IP subnet masks directly inside the security policy match statement.
AnswerC

An address set is populated by listing member addresses inside its definition statement, each referenced by name. Junos OS resolves those references at commit, so the set automatically reflects changes to the individual address entries without editing the policy itself.

Why this answer

An address set in Junos is a named container that groups multiple address book entries. To add individual address entries into the set, you reference them within the address-set definition using the 'address' statement (e.g., 'set security address-book global address-set MySet address Server1'). This creates a logical group that can be referenced in policies.

Exam trap

The trap is confusing address set definition with policy match syntax — candidates may think you add entries by listing IPs directly in the policy match, but the correct method is to reference individual address entries inside the address-set definition statement.

How to eliminate wrong answers

Option A is wrong because firewall filter terms are stateless ACL constructs applied to interfaces, not a mechanism for populating address sets — they operate at a different layer of the configuration. Option B is wrong because assigning an address set to an interface unit is not a valid operation; address sets are referenced in policies, not bound to interfaces. Option D is wrong because listing raw IP subnet masks directly inside a policy match statement bypasses the address set entirely — it does not add entries to the set, and it defeats the purpose of using a named group for frequently changing addresses.

44
MCQeasy

Which statement correctly describes a Junos security zone requirement before you can apply a security policy referencing that zone?

A.The zone must be assigned to a virtual router routing instance.
B.The zone must have at least one active interface assigned to it.
C.The zone must have screen options enabled for DoS protection.
D.The zone must have an IPv4 address assigned directly to the zone context.
AnswerB

Junos requires a zone to contain at least one active (up) interface before a security policy referencing it can be committed; an empty or down zone causes the commit to fail. The active interface binding is the prerequisite the stem asks about.

Why this answer

Before a security policy can reference a zone, that zone must have at least one active interface assigned to it. Junos requires zones to be bound to physical or logical interfaces so the device knows which ingress and egress points the zone represents; a zone with no interfaces cannot participate in policy evaluation.

Exam trap

JNCIA-SEC often tests the misconception that zones need IP addresses or routing instances, when the actual mandatory requirement is an active interface binding.

How to eliminate wrong answers

Option A is wrong because while zones are associated with routing instances, assigning a zone to a virtual router is not a prerequisite for applying a security policy — the interface binding is the mandatory requirement. Option C is wrong because screen options for DoS protection are optional security hardening features, not a prerequisite for policy creation. Option D is wrong because IP addresses are assigned to interfaces, not directly to the zone context; the zone itself does not hold an IP address.

45
MCQhard

An administrator implements AppID within the unified security policy framework on an SRX Series device to identify and control specific cloud-based applications. The initial policy uses a broad match for 'junos-ssl' at the transport layer, while a subsequent policy specifies 'junos-facebook' using AppID. How does the SRX policy engine evaluate and re-evaluate traffic when application identification takes multiple packets to determine?

A.The session is terminated immediately upon initial packet inspection because the AppID cannot be determined instantly.
B.AppID policies are evaluated before any transport layer policies, regardless of rule ordering.
C.The SRX evaluates the initial packets against transport-layer criteria, and once AppID identifies the specific application, it re-evaluates the session against application-specific policies.
D.Application identification only occurs for the return traffic stream.
AnswerC

Initial packets match the broad junos-ssl transport-layer criteria, permitting the session provisionally. Once AppID inspects enough packets to identify junos-facebook, the SRX re-evaluates the existing session against the application-specific policy, applying the correct action without terminating the connection. This satisfies the stem's multi-packet identification constraint.

Why this answer

When AppID is used, the SRX first evaluates initial packets against transport-layer criteria (e.g., junos-ssl), and once enough packets are inspected to identify the specific application (e.g., junos-facebook), it re-evaluates the session against application-specific policies. This allows a broad transport rule to permit the initial handshake while a more specific AppID rule can then apply. The session is not terminated just because AppID is not immediate.

Exam trap

JNCIA-SEC often tests the misconception that AppID must identify the application on the first packet or that the session is dropped if identification is delayed, when in fact the SRX allows initial transport-layer matching and later re-evaluation.

How to eliminate wrong answers

Option A is wrong because the SRX does not terminate the session immediately if AppID cannot be determined instantly; it allows the session to proceed under the initial transport-layer policy while continuing identification. Option B is wrong because AppID policies are not evaluated before transport-layer policies; policy order is top-down, and the initial match is on transport criteria until AppID completes. Option D is wrong because application identification occurs on both directions as needed, not only for return traffic; it inspects the forward stream to identify the application.

46
MCQeasy

An administrator needs to create a unified security policy that permits traffic from the trust zone to the untrust zone. Using Junos J-Web, which primary menu path should the administrator navigate to configure this security policy?

A.Monitor > Security > Policy Overview
B.Security Services > NAT > Rules
C.Configure > Security Services > Security Policies
D.Configure > Network > Zones and Interfaces
AnswerC

J-Web groups zone-based policy configuration under Configure > Security Services > Security Policies, where trust-to-untrust rules are created. This satisfies the requirement to build a unified security policy permitting trust-to-untrust traffic through the correct J-Web menu path.

Why this answer

In Junos J-Web, security policies are configured under the 'Configure > Security Services > Security Policies' menu path. This is the primary location where administrators create, edit, and manage zone-based security policies. From this menu, you can define policies between zones, specify source and destination addresses, applications, and actions.

Exam trap

The trap is confusing the monitoring path with the configuration path, or selecting a path related to NAT or zones instead of the dedicated Security Policies configuration menu.

How to eliminate wrong answers

Option A is wrong because 'Monitor > Security > Policy Overview' is for monitoring and viewing existing policies, not for configuring new ones. Option B is wrong because 'Security Services > NAT > Rules' is for configuring Network Address Translation rules, not security policies. Option D is wrong because 'Configure > Network > Zones and Interfaces' is for configuring zones and interfaces, not security policies themselves.

47
MCQeasy

What happens to return traffic for an established session that was originally permitted by a security policy?

A.Return traffic is dropped unless stateless firewall filters permit it.
B.Return traffic is evaluated against global policies only.
C.Return traffic is automatically permitted by the stateful inspection engine without requiring a reverse security policy.
D.A separate security policy allowing traffic from the destination zone back to the source zone must be explicitly configured.
AnswerC

Stateful inspection maintains a session table tracking the flow's five-tuple, so reply packets matching an established entry bypass policy lookup entirely. This satisfies the stem's constraint that no reverse security policy is needed, since the engine recognises the return traffic as part of the original permitted session rather than a new connection.

Why this answer

Junos is a stateful firewall; return traffic belonging to an established session is automatically permitted without needing a separate return policy.

48
Multi-Selecteasy

Which TWO items are valid options when specifying source addresses in a security policy match statement? (Choose two.)

Select 2 answers
A.A MAC address string (e.g., 00:11:22:33:44:55)
B.An individual IP address or subnet prefix (e.g., 192.168.1.0/24)
C.An address book entry name (e.g., trust-servers)
D.A physical interface name (e.g., ge-0/0/0.0)
E.A BGP autonomous system number (e.g., ASN 65000)
AnswersB, C

Junos security policy source-address accepts literal addresses and CIDR prefixes, letting a single term match a host or an entire subnet. The prefix 192.168.1.0/24 is therefore valid, satisfying the stem's requirement for a permissible source-address match specification.

Why this answer

In a security policy match statement, source addresses are specified using address objects, so option B is correct because an individual IP address or subnet prefix such as 192.168.1.0/24 can be entered directly as a source address value. Option C is also correct because an address book entry name such as trust-servers is the standard way to reference a predefined address object in the source-address field of a policy rule. Option A is not valid because MAC addresses are layer-2 identifiers and are not used in security policy source-address matching, which operates on layer-3/layer-4 information.

Option D is not valid because a physical interface name such as ge-0/0/0.0 is used in zone or interface matching, not as a source address value. Option E is not valid because a BGP autonomous system number is routing metadata and cannot be used as a source address in a security policy match statement.

Exam trap

JNCIA-SEC often tests whether candidates know that security policy source-address matching operates at Layer 3/4 (IP/subnet or named address book entry) and cannot use Layer 2 (MAC) or routing (ASN) identifiers — distractors like MAC addresses and ASNs look technical but are invalid in this context.

49
Multi-Selecthard

You are configuring a security policy on an SRX Series device that must allow DNS queries from clients in the trust zone to a DNS server in the DMZ zone. You want to limit the policy to UDP port 53 and also log session creation and closure. Which two configuration elements are required in the policy to achieve this? (Choose two.)

Select 2 answers
A.A NAT rule that translates the DNS server address to a public IP.
B.The then log session-init and log session-close options in the policy action.
C.The then count and log options in the policy action.
D.A firewall filter applied to the DMZ interface that counts UDP port 53 packets.
E.An application or application-set that includes UDP port 53.
AnswersB, E

The log session-init and log session-close options in the policy action generate logs when the session is created and terminated. This provides visibility into DNS query sessions. These options are configured under the then clause of the security policy, and they are necessary to meet the logging requirement.

Why this answer

To allow DNS over UDP port 53, the policy must reference an application or application-set that includes that port. To log session creation and closure, the policy action must include log session-init and log session-close. These two elements together satisfy the matching and logging requirements.

Exam trap

The trap here is confusing session logging options with simple log or count, which do not provide both session start and end logging.

50
MCQeasy

Which operational command should you use to view active stateful firewall sessions currently passing through an SRX Series device?

A.show security flow session
B.show security policies active
C.show route active-sessions
D.show interfaces extensive session
AnswerA

The show security flow session command lists entries in the SRX session table, displaying source, destination, protocol, state and timeout for each active flow. It directly satisfies the requirement to view stateful sessions currently passing through the device.

Why this answer

`show security flow session` is the operational command that displays the stateful session table on an SRX, including source/destination IPs, ports, protocol, policy name, and session state (e.g., 'Forward', 'Drop'). It is the primary tool for verifying that traffic is being permitted and tracked by the flow daemon.

Exam trap

The trap is picking a plausible-sounding but non-existent command — candidates who have not memorized Junos operational syntax may choose `show security policies active` or `show route active-sessions`.

How to eliminate wrong answers

Option B is wrong because `show security policies active` is not a valid Junos command — policy status is viewed with `show security policies` or `show security policies hit-count`. Option C is wrong because `show route active-sessions` is not a Junos command; routing and sessions are separate tables. Option D is wrong because `show interfaces extensive session` is not valid syntax — interface statistics are viewed with `show interfaces extensive`, which does not show session state.

51
Multi-Selectmedium

Which THREE statements are true regarding Junos security policy configuration hierarchy and syntax? (Choose three.)

Select 3 answers
A.Policies are evaluated top-down within their specific zone pair context.
B.Policies are organized hierarchically under source and destination zone pairs.
C.Policy configuration changes take effect immediately without requiring a commit command.
D.A single security policy can contain multiple match terms.
E.Policies can only be configured via J-Web and are unsupported on the CLI.
AnswersA, B, D

Junos evaluates policies sequentially from the first configured rule to the last, within the specific zone-pair context, so the first matching policy's action is applied and remaining rules are skipped. This satisfies the stem's hierarchy requirement: ordering determines enforcement, making top-down evaluation within each zone pair accurate.

Why this answer

Option A is correct because Junos security policies are evaluated in a top-down, first-match order within the specific zone-pair context (from-zone X to-zone Y), so the first matching policy's action is applied and subsequent policies are not evaluated. Option B is correct because the configuration hierarchy organizes policies under the zone-pair structure, i.e., security policies are defined under 'from-zone <source> to-zone <destination>' stanzas, which is the fundamental organizational model in Junos. Option D is correct because a single security policy can contain multiple match terms (source-address, destination-address, application, etc.), and all terms within a policy must match for the policy's action to be applied.

Option C is incorrect because Junos uses a candidate configuration model; policy changes must be committed with the 'commit' command before they take effect. Option E is incorrect because security policies can be configured via the CLI (set security policies from-zone ... to-zone ...) as well as J-Web, so they are not limited to J-Web.

Exam trap

JNCIA-SEC often tests the misconception that Junos applies configuration changes immediately — candidates forget the candidate-config/commit model and pick 'takes effect immediately' as true.

52
MCQeasy

What is the default action taken by Junos OS when traffic does not match any configured security policy between two zones?

A.The traffic is redirected to the default gateway routing instance.
B.The traffic is queued for administrative review.
C.The traffic is silently dropped.
D.The traffic is permitted and an alert is logged.
AnswerC

Junos OS enforces an implicit deny-all at the end of every inter-zone policy set, so unmatched traffic is discarded without logging or notification. This silent drop satisfies the default-action requirement, as no permit policy exists to authorise the session, and no reject message is returned to the source host.

Why this answer

By default, Junos OS denies all traffic that does not match any configured security policy between two zones. This default-deny behavior is a fundamental security principle: if no policy explicitly permits the traffic, it is dropped. The drop is silent, meaning no reject message is sent back to the source, which helps prevent information leakage.

Exam trap

The trap is thinking that unmatched traffic might be permitted by default or that it generates a reject message, when in fact it is silently dropped.

How to eliminate wrong answers

Option A is wrong because traffic is not redirected to a default gateway routing instance; unmatched traffic is simply dropped, not rerouted. Option B is wrong because Junos does not queue traffic for administrative review; there is no such mechanism for unmatched traffic. Option D is wrong because the default action is not permit with logging; that would be a security risk and is not the default behavior.

53
MCQhard

An enterprise security policy requires that any traffic traversing from the DMZ zone to the Internal zone must first be inspected by an application-identification engine before the policy action is enforced. Which feature must be enabled within the security policy to achieve this behavior?

A.Attaching a security screen profile to the DMZ zone.
B.Enabling AppID match criteria by specifying applications within the security policy.
C.Enabling stateless firewall filters on the egress interface.
D.Configuring global policies with an idle-timeout parameter.
AnswerB

Specifying applications as match criteria activates the AppID engine, which performs application identification before the policy action is evaluated. This satisfies the stem's constraint that DMZ-to-Internal traffic be inspected by an application-identification engine first, since the Junos security policy only invokes AppID when application match criteria are configured.

Why this answer

AppID requires application identification to be integrated into the security policy match criteria, which can be accomplished by referencing specific applications or application sets.

54
MCQmedium

You are configuring a security policy on an SRX Series device that must match traffic from the trust zone to the untrust zone, but only for applications HTTP and HTTPS. You want to ensure that the policy is evaluated only after a more specific policy that permits SSH. What should you do?

A.Place the HTTP/HTTPS policy below the SSH policy in the policy list.
B.Use a scheduler to activate the HTTP/HTTPS policy only after the SSH policy is matched.
C.Configure the HTTP/HTTPS policy with a higher precedence value than the SSH policy.
D.Assign the HTTP/HTTPS policy to a different zone pair than the SSH policy.
AnswerA

Security policies are evaluated top-down, and the first matching policy is applied. Placing the HTTP/HTTPS policy after the SSH policy ensures that SSH traffic is matched by the SSH policy first, while HTTP/HTTPS traffic falls through to the subsequent policy. This is the correct approach to achieve the desired evaluation order.

Why this answer

Security policies on Junos SRX devices are evaluated in the order they appear in the policy list. The first policy that matches the traffic is applied, and no further policies are evaluated. To ensure that SSH traffic is handled by a specific policy before a more general HTTP/HTTPS policy, the SSH policy must appear above the HTTP/HTTPS policy.

Placing the HTTP/HTTPS policy below achieves this.

Exam trap

The trap here is assuming that policies can be prioritized by a numeric value or other attribute rather than by their position in the list.

55
MCQhard

During policy review, you notice that multiple global policies and zone-based policies are configured. In what order does the Junos security engine evaluate these policies when a packet arrives?

A.All policies, both global and zone-based, are evaluated in a single combined sequence based strictly on rule naming alphabetically.
B.Policies are evaluated based on IP prefix length regardless of whether they are global or zone-based.
C.Global policies are evaluated first, followed by zone-based policies.
D.Zone-based policies are evaluated first, followed by global policies.
AnswerD

Zone-based policies are evaluated before global policies, so this ordering is right. The Junos security engine checks traffic against the source-zone to destination-zone policy set first; global policies apply only if no zone policy matches, acting as a catch-all across all zones.

Why this answer

Junos evaluates zone-based policies first, followed by global policies if no zone-based policy matches.

56
MCQmedium

You need to configure a security policy that permits HTTP and HTTPS traffic from the 'users' zone to the 'internet' zone. You want to maintain clean configuration practices by grouping these applications together. Which Junos construct should you create first?

A.An application set containing both HTTP and HTTPS.
B.An address book entry containing the web server IP addresses.
C.A global policy with a service term.
D.A security zone profile containing the protocols.
AnswerA

An application set groups HTTP and HTTPS into a single named object, satisfying the requirement to bundle both applications cleanly before referencing them in the zone-to-zone policy. Junos matches the set as one unit, so the policy from 'users' to 'internet' stays concise rather than listing each application separately.

Why this answer

An application set allows grouping multiple applications for simplified policy administration.

57
MCQeasy

Which statement is true regarding address book configuration scope in Junos OS security policies?

A.Address books cannot contain address sets; they can only contain single IP addresses.
B.An address book entry defined at the zone level can be referenced by security policies involving that specific zone.
C.Zone-based address books override global address books if names overlap.
D.Address book entries must be globally unique across the entire device, even across different zones.
AnswerB

Zone-level address books bind entries to a single security zone, so only policies referencing that zone can use them. This satisfies the stem's scope constraint: Junos OS resolves address names within the zone context of the policy, unlike global address books, which any policy can reference regardless of zone.

Why this answer

In Junos OS, address books can be defined at the global level or attached to a specific zone. When an address book entry is defined at the zone level, it is scoped to that zone and can only be referenced by security policies that involve that zone (either as source or destination). This zone-specific scoping allows administrators to reuse the same address name in different zones without conflict, and policies referencing that zone automatically have access to its address book entries.

Exam trap

JNCIA-SEC often tests the misconception that address book entries must be globally unique or that zone-based entries override global ones, when in fact they are scoped independently and resolved based on the zone context of the policy.

How to eliminate wrong answers

Option A is wrong because address books can contain both individual addresses and address sets (groups of addresses), which are used to simplify policy configuration. Option C is wrong because zone-based address books do not override global address books; instead, they are separate scopes, and name resolution follows a specific order: zone-specific entries are checked first, then global entries, but there is no override—if a name exists in both, the zone-specific one is used for policies involving that zone, but global entries remain available for other zones. Option D is wrong because address book entries do not need to be globally unique; the same name can be used in different zones (or globally and in a zone) without conflict, as they are scoped to their respective contexts.

58
MCQeasy

Which statement accurately describes zone-based security policies in Junos OS?

A.Security policies are always applied globally and do not require zone definitions.
B.Traffic flowing between two different security zones is implicitly denied unless explicitly permitted by a security policy.
C.Traffic flowing between interfaces in the same security zone is blocked by default unless a policy is created.
D.Policies defined under the global context take precedence over all zone-based policies.
AnswerB

Inter-zone traffic is denied by default because Junos OS evaluates sessions against security policies applied between zone pairs; no policy means no session, so packets are dropped. This satisfies the stem's requirement that only explicitly permitted traffic crosses zone boundaries, unlike intra-zone traffic, which is permitted by default.

Why this answer

Zone-based security policies require traffic to be explicitly permitted between security zones, as the default behavior is deny-all.

59
MCQhard

An administrator implements a security policy that references a custom application matching UDP port 5000. When reviewing active traffic, packets on UDP port 5000 are being dropped even though a policy permits the custom application. Upon further inspection, you find that Junos AppID has classified the traffic as 'unknown-udp'. Why is the policy not matching?

A.The source zone does not have host-inbound-traffic enabled for UDP.
B.UDP traffic cannot be matched by security policies and requires stateless filters.
C.Global policies always block custom applications by default.
D.The custom application definition lacks the correct port mapping or signature definition required for AppID to correlate the traffic.
AnswerD

AppID matches traffic against application signatures and port mappings, not merely the policy's stated port. Because the custom application lacks the signature or mapping AppID needs, traffic is classified as unknown-udp and never correlates to the policy, so it is dropped.

Why this answer

If AppID classifies traffic as 'unknown-udp' and the policy specifies a specific custom application instead of a generic port service, the match fails. Alternatively, custom applications require proper signature or port mapping.

60
MCQmedium

You are configuring a security policy that needs to reference an address prefix that includes both IPv4 and IPv6 addresses. How should you handle this in Junos OS security address books?

A.Combine IPv4 and IPv6 addresses into a single address entry string separated by a comma.
B.Define separate address book entries for IPv4 and IPv6, as address entries are specific to an IP version.
C.Configure the address book under the [edit security inet6] hierarchy only.
D.Use dual-stack address translation objects.
AnswerB

Junos address book entries bind to a single IP version, so an entry cannot hold both IPv4 and IPv6 prefixes. Defining separate entries per version satisfies the requirement to reference both address families within the security policy.

Why this answer

In Junos security address books, address entries are IP-version specific — an IPv4 prefix and an IPv6 prefix cannot be combined into one entry. You must define separate address book entries (and typically separate address books under the inet and inet6 hierarchies) for IPv4 and IPv6.

Exam trap

The trap is assuming Junos can store mixed IPv4/IPv6 in one address entry or that a single hierarchy covers both families, when address entries are strictly family-specific.

How to eliminate wrong answers

Option A is wrong because Junos does not support comma-separated mixed IPv4/IPv6 strings in a single address entry; each entry is a single prefix of one family. Option C is wrong because configuring only under [edit security inet6] would omit IPv4 entirely, and the question requires both families. Option D is wrong because 'dual-stack address translation objects' is not a real Junos construct — NAT objects do not merge address families.

61
MCQhard

An administrator configures a security policy with the action set to 'reject'. Another policy uses the action 'deny'. What is the functional difference between these two actions when a packet matches the policy?

A.'reject' drops the packet silently, whereas 'deny' sends an ICMP unreachable message.
B.'reject' sends an ICMP unreachable message back to the packet source, whereas 'deny' silently drops the packet.
C.'reject' logs the event to the system log, whereas 'deny' suppresses all logging.
D.'reject' requires stateful session tracking, whereas 'deny' is applied statelessly.
AnswerB

Reject actively notifies the source by returning an ICMP unreachable message, so the sender learns delivery failed. Deny drops the packet silently with no response, leaving the source to time out. This difference matters when troubleshooting or when applications must fail fast rather than hang.

Why this answer

The 'reject' action sends an ICMP unreachable message back to the source, whereas 'deny' (drop) silently discards the packet.

62
MCQmedium

You need to modify an existing security policy to add a new IP address to an existing address set used in the policy match criteria. Which configuration hierarchy should you access to update the address set?

A.[edit security policies] directly within the policy match criteria.
B.[edit interfaces]
C.[edit routing-options]
D.[edit security address-book] or within the specific zone's address-book configuration.
AnswerD

Address sets are configured under [edit security address-book], either globally or inside a specific zone's address-book hierarchy. Editing the set there updates the object referenced by the policy's match criteria without altering the policy rule itself.

Why this answer

Address sets are configured within address books, either globally or under specific zones.

63
Multi-Selectmedium

Which THREE parameters can be used as match criteria within a Junos security policy? (Choose three.)

Select 3 answers
A.Applications or application sets
B.BGP AS path attributes
C.Physical interface MAC addresses
D.User identities via Junos User Firewall integration
E.Source and destination address book entries
AnswersA, D, E

Applications and application sets are valid Junos security policy match criteria, letting you permit or deny traffic by Layer 7 application identity rather than port alone. This satisfies the stem's requirement for match parameters, since Junos evaluates them alongside source and destination addresses within the policy's from clause.

Why this answer

Option A is correct because a Junos security policy can match on applications or application sets, which are defined objects (e.g., junos-http, junos-ssh) that identify the traffic by protocol and port. Option D is correct because Junos User Firewall (integrated user firewall) allows policies to match on user identities sourced from Active Directory or ICAP, enabling role-based enforcement. Option E is correct because security policies match on source-address and destination-address entries drawn from address books (zones' address-book objects).

Option B is not a security policy match criterion; BGP AS path attributes are used in routing policy (policy-statement) for route selection, not in security policy. Option C is also not a match criterion in a standard Junos security policy; MAC addresses are matched in Layer 2 switching/filter contexts (e.g., family ethernet-switching firewall filters), not in security policy match conditions.

Exam trap

JNCIA-SEC often tests the confusion between security policy match criteria and routing policy match criteria; candidates might incorrectly include BGP attributes or MAC addresses as valid security policy matches.

Ready to test yourself?

Try a timed practice session using only Security Policies questions.