First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Security Platform and Architecture
In a Junos security platform design, which component is responsible for maintaining session state and applying security policy to transit traffic?
- The switching fabric, which enforces zone-based policy in hardware
- The Packet Forwarding Engine, which performs route lookups on every packet
- The Routing Engine, which inspects each packet against the policy before forwarding
- The Services Processing Unit, which handles flow-based inspection and policy enforcement Correct answer.
Explanation
On SRX platforms the Services Processing Unit (SPU) performs flow-based session setup, policy lookup, and inspection of transit traffic, while the Routing Engine handles control-plane protocols. The Packet Forwarding Engine forwards packets but does not own session state or policy enforcement.
Question 2Security Platform and Architecture
Which statement best describes the purpose of security zones on an SRX Series device?
- They define the logical grouping of interfaces that share a common security policy boundary Correct answer.
- They determine which routing protocol runs on each interface
- They assign a MAC address to each logical unit for forwarding
- They map each physical interface to a unique VLAN identifier for Layer 2 separation
Explanation
A security zone groups one or more interfaces into a logical boundary, and policies are written between zones rather than per interface. Zones also carry host-inbound traffic settings and screen options that apply to all member interfaces.
Question 3Security Platform and Architecture
An engineer needs transit traffic between two zones to be permitted. What is the default policy behavior between zones on an SRX device before any explicit policy is configured?
- Only TCP traffic is permitted by default
- Only traffic matching the junos-host zone is permitted
- All inter-zone traffic is permitted by default
- All inter-zone traffic is denied by default Correct answer.
Explanation
Junos security policy has an implicit default deny for inter-zone traffic, so any permitted flow requires an explicit policy. Intra-zone traffic is permitted by default, which is a separate behavior from inter-zone transit.
Question 4Security Platform and Architecture
Which two elements are required when configuring a stateful firewall policy on an SRX Series device?
- A NAT pool and a destination address
- A source zone and a destination zone Correct answer.
- A routing instance and a policy statement
- A screen profile and an application firewall rule
Explanation
Every Junos security policy is defined from a source zone to a destination zone, and the match conditions then reference addresses and applications. NAT pools, routing instances, and screen profiles are optional features rather than mandatory policy components.
Question 5Security Platform and Architecture
What is the primary function of the junos-host zone on an SRX Series device?
- It controls traffic destined to or originating from the device itself Correct answer.
- It provides a default zone for all unassigned interfaces
- It handles only management traffic on the fxp0 interface
- It carries transit traffic between two untrust zones
Explanation
The junos-host zone applies policies to traffic whose destination or source is the device itself, such as management access or control-plane protocols. It does not carry transit traffic and is not a catch-all for unassigned interfaces.
Question 6Security Platform and Architecture
Which statement accurately describes how an SRX device handles the first packet of a new TCP session when a matching permit policy exists?
- It performs a route lookup and creates a session entry after policy evaluation Correct answer.
- It sends the packet to the Routing Engine for inspection
- It forwards the packet immediately without creating a session entry
- It drops the packet and waits for a retransmission before creating a session
Explanation
For the first packet, the SRX performs a route lookup to select the egress zone, evaluates policy, and on a permit creates a session entry in the flow table. Subsequent packets match the session and are forwarded without repeating full policy evaluation.
Question 7Security Platform and Architecture
An engineer wants to confirm which SPU is processing a specific flow on a high-end SRX chassis cluster. Which command displays the session with its SPU information?
- show security flow session extensive Correct answer.
- show security zones
- show route forwarding-table
- show chassis cluster status
Explanation
The extensive form of show security flow session includes details such as the SPU or session token handling the flow, along with NAT and policy references. The other commands show cluster status, zone configuration, or forwarding entries without per-session SPU detail.
Question 8Security Platform and Architecture
Which address book entry type allows a single policy to reference a group of addresses that can be updated centrally without editing the policy?
- A global address book prefix list
- A NAT address pool
- A dynamic VPN address assignment
- An address-set that contains multiple address entries Correct answer.
Explanation
An address-set groups multiple address entries so a policy can reference the set and remain unchanged when members are added or removed. Address books may be zone-based or global depending on configuration, but the grouping construct is the address-set.
Question 9Security Platform and Architecture
An engineer configures an application firewall rule that must inspect HTTP traffic for a specific pattern. Which SRX feature must be enabled on the policy for the rule to take effect?
- Unified threat management inspection with application firewall enabled Correct answer.
- MPLS label switching
- Stateful SYN cookie protection
- Class of service scheduling
Explanation
Application firewall rules are applied when the policy enables the appropriate UTM or application firewall inspection profile. SYN cookie protection, CoS, and MPLS are unrelated features that do not trigger application firewall rule evaluation.
Question 10Security Platform and Architecture
Which statement describes the role of screens in an SRX security design?
- They define the encryption algorithms used for IPsec tunnels
- They determine which interfaces belong to which zone
- They provide address translation for outbound traffic
- They detect and mitigate anomalies such as floods and malformed packets before policy evaluation Correct answer.
Explanation
Screen options provide stateless and stateful attack detection, such as SYN flood and IP spoofing protection, applied at the zone level before session policy processing. They do not handle encryption, zone membership, or NAT.
Question 11Security Platform and Architecture
In an SRX chassis cluster, which component is shared between the two nodes to allow session state to survive a failover?
- The session synchronization channel between the control links Correct answer.
- The forwarding table on each PFE
- The NAT pool allocation
- The Routing Engine configuration
Explanation
Chassis cluster nodes synchronize session state over the control link fabric so that established sessions can continue after a failover. Routing Engine configuration, forwarding tables, and NAT pools are separate per-node constructs that are not the synchronization mechanism.
Question 12Security Platform and Architecture
Which redundancy group in an SRX chassis cluster typically owns the data-plane processing for a given redundancy group ID?
- The redundancy group that is primary for that group ID Correct answer.
- The redundancy group assigned to the fabric link
- The redundancy group assigned to the fxp0 interface
- The redundancy group that is secondary for that group ID
Explanation
Each redundancy group has a primary and secondary node, and the primary node owns the data-plane processing for that group. The secondary node is ready to take over if a failover occurs.
Question 13Security Platform and Architecture
An engineer needs to ensure that management traffic to the device is permitted while transit traffic remains denied. Which configuration element controls access to the device itself?
- A security policy from the junos-host zone Correct answer.
- A security policy between two transit zones
- A screen profile on the untrust zone
- A NAT source rule
Explanation
Policies involving the junos-host zone govern traffic destined to or sourced from the device, including management access. Transit policies, NAT rules, and screens do not directly authorize host-bound management traffic.
Question 14Security Platform and Architecture
Which statement correctly describes the relationship between a global address book and a zone address book on SRX Series devices?
- A global address book can be referenced by policies across multiple zones Correct answer.
- A global address book is used only for NAT and not for policies
- A zone address book is automatically copied into the global address book
- A zone address book can be referenced only by policies in other zones
Explanation
Global address book entries are available to policies regardless of zone, which simplifies designs with many zones. Zone address books are scoped to their zone and are not automatically merged into the global book.
Question 15Security Platform and Architecture
A policy references an application-set containing multiple applications. What is the effect of this configuration?
- The policy matches only traffic that uses all applications simultaneously
- The policy matches traffic for any application in the set Correct answer.
- The policy matches traffic only if the application set is empty
- The policy matches traffic based on source port only
Explanation
An application-set is a logical OR of its members, so a policy referencing the set matches traffic for any application contained in it. It does not require simultaneous use of every member, and it still evaluates the configured match criteria.
Question 16Security Platform and Architecture
Which SRX feature allows inspection of encrypted traffic by terminating and re-originating the TLS session?
- Class of service
- IPsec tunnel mode
- Stateful SYN cookie protection
- SSL forward proxy Correct answer.
Explanation
SSL forward proxy terminates the client TLS session, inspects the plaintext, and re-originates a session to the server, enabling inspection of encrypted traffic. IPsec protects tunnels, while SYN cookies and CoS do not decrypt TLS.
Question 17Security Platform and Architecture
An engineer deploys two SRX devices in an active/active chassis cluster and wants traffic for different redundancy groups to be processed on different nodes. Which configuration is required?
- Assign the same redundancy group ID to all reth interfaces
- Configure both nodes as primary for the same redundancy group
- Assign different redundancy group IDs to different interface reth pairs Correct answer.
- Disable session synchronization between nodes
Explanation
Active/active behavior is achieved by placing different reth interfaces in different redundancy groups so that each node is primary for some groups. Using a single group or making both nodes primary for the same group does not distribute processing.
Question 18Security Platform and Architecture
Which statement best explains why session affinity matters when designing an SRX chassis cluster with active/active redundancy groups?
- It disables session synchronization to reduce overhead
- It forces all sessions to be re-evaluated on every packet
- It guarantees that all traffic uses the primary node regardless of group ownership
- It ensures return traffic for a flow is processed by the same node that handled the forward direction Correct answer.
Explanation
Session affinity keeps both directions of a flow on the same node so stateful inspection remains consistent and return traffic is not dropped. It is not about forcing all traffic to one node and does not disable synchronization.
Question 19Security Platform and Architecture
Which statement describes the function of the control link in an SRX chassis cluster?
- It carries all transit data traffic between nodes
- It encrypts all inter-zone traffic
- It carries session synchronization and cluster control traffic between nodes Correct answer.
- It provides power redundancy to both nodes
Explanation
The control link (and its fabric counterpart) carries control messages and session synchronization between cluster nodes. Transit data traffic uses the fabric data path, and the control link does not provide power or encryption services.
Question 20Security Platform and Architecture
A security architect wants to reduce the attack surface on an SRX device by limiting which protocols can reach the device on an untrust interface. Which configuration achieves this?
- Enable all system services on the untrust zone
- Apply a NAT destination rule to the untrust interface
- Disable the junos-host zone
- Configure host-inbound-traffic to permit only the required system services on the untrust zone Correct answer.
Explanation
Host-inbound-traffic settings on a zone control which protocols are accepted by the device on that zone's interfaces, so restricting them to required services reduces exposure. NAT rules and enabling all services do not limit the attack surface, and the junos-host zone cannot simply be disabled.
Question 21Security Platform and Architecture
Which statement accurately describes how a screen profile is applied in an SRX security design?
- It is applied to a policy and inspects only permitted sessions
- It is applied to a routing instance and inspects control-plane traffic
- It is applied to a NAT pool and inspects translated traffic
- It is applied to a zone and inspects traffic entering that zone Correct answer.
Explanation
Screen profiles are attached to zones and evaluate traffic as it enters the zone, allowing anomalies to be dropped before session policy processing. They are not attached to policies, NAT pools, or routing instances for this purpose.
Question 22Security Platform and Architecture
An engineer observes that a newly configured policy is not matching traffic. Which factor is most likely to prevent the policy from being evaluated?
- The policy is in the same zone pair as the traffic
- The policy is placed below a broader policy that already matches the traffic Correct answer.
- The policy references an address-set with one member
- The policy uses a predefined application
Explanation
Junos evaluates policies in order within a zone pair and stops at the first match, so a broader earlier policy can shadow a later specific one. Address-sets, predefined applications, and correct zone pairing do not by themselves prevent evaluation.
Question 23Security Platform and Architecture
Which statement best describes the purpose of a security intelligence or dynamic address feed in an SRX design?
- It assigns IP addresses to VPN clients
- It updates policy match data from external threat feeds without manual edits Correct answer.
- It provides encryption for management sessions
- It replaces the need for security zones
Explanation
Dynamic address feeds let the device consume external threat intelligence and use it in policy matching, so malicious sources can be blocked without manually editing policies. They do not replace zones, provide encryption, or allocate VPN addresses.
Question 24Security Platform and Architecture
An architect must choose between flow-based and packet-based processing for a specific deployment. Which statement correctly characterizes flow-based processing on SRX?
- Policy is evaluated only on the Routing Engine
- The first packet creates a session and subsequent packets are forwarded by session lookup Correct answer.
- Every packet is independently inspected against the full policy
- Sessions are created only after the TCP handshake completes
Explanation
Flow-based processing creates a session on the first permitted packet and forwards later packets by session lookup, which improves performance. It does not inspect every packet against the full policy, nor does it defer session creation until the handshake completes.
Question 25Security Platform and Architecture
Which statement accurately describes how NAT interacts with security policy evaluation on an SRX device?
- Policy is always evaluated after all NAT translations are applied
- Policy is evaluated using pre-NAT source and post-NAT destination addresses depending on direction Correct answer.
- Policy is evaluated only on translated addresses in both directions
- NAT is applied only after a session is closed
Explanation
Junos security policy evaluation uses the pre-NAT source address and the post-NAT destination address for the initial direction, which is why NAT rule order and policy address books must be designed together. It is not a simple post-NAT or translated-only evaluation, and NAT is not deferred until session close.
Question 26Security Platform and Architecture
An architect is designing a new SRX deployment and wants to ensure that the device can inspect traffic for threats while maintaining high throughput. Which two components are primarily responsible for packet forwarding and security processing in an SRX Series device?
- Flow Daemon and Session Manager
- Routing Engine and Packet Forwarding Engine
- Security Processing Unit and Network Processing Unit Correct answer.
- Control Plane and Data Plane
Explanation
SRX Series devices use dedicated Security Processing Units (SPUs) for security inspection and Network Processing Units (NPUs) for forwarding, enabling high throughput. The Routing Engine handles control plane functions, and the Packet Forwarding Engine encompasses NPUs and SPUs, but the specific components for security and forwarding are SPU and NPU. Flow daemon and session manager are software modules, not hardware components.
Question 27Security Platform and Architecture
A network engineer is deploying an SRX chassis cluster and needs to ensure that management traffic to the cluster remains accessible even if the primary node fails. Which statement correctly describes the recommended management interface configuration for a chassis cluster?
- Configure a reth interface for management and assign it to redundancy group 0.
- Configure a single management interface on the primary node only and use a backup interface on the secondary node.
- Configure management interfaces on both nodes and assign them to the same redundancy group as the data plane.
- Configure a dedicated management interface on each node and use a separate management network for out-of-band access. Correct answer.
Explanation
In a chassis cluster, each node should have its own management interface connected to a separate management network to ensure out-of-band access regardless of failover state. Management interfaces are not typically part of redundancy groups because they are used for out-of-band management. Using a reth interface for management is not supported because reth interfaces are for data plane traffic.
Question 28Security Platform and Architecture
An engineer is troubleshooting why a new security policy is not being evaluated for certain traffic. The policy is placed at the bottom of the policy list. What is the most likely reason that the policy is not matching?
- The policy is disabled by default.
- A more specific policy above it is matching the traffic first. Correct answer.
- The policy is applied to the wrong zone.
- The policy does not have a logging action configured.
Explanation
SRX security policies are evaluated in order from top to bottom, and the first matching policy is applied. If a more specific policy above the new policy matches the traffic, the new policy will not be evaluated. Policies are not disabled by default, logging does not affect matching, and zone misconfiguration would cause the policy not to match at all, but the question implies the policy is not matching because of its position.
Question 29Security Platform and Architecture
A security architect is designing a solution that requires inspection of traffic between two internal zones. The traffic must be inspected by the SRX, but the architect wants to avoid asymmetric routing issues. Which deployment mode should be used?
- Tap mode
- NAT mode
- Route mode Correct answer.
- Transparent mode
Explanation
In route mode, the SRX acts as a router and inspects traffic between zones, ensuring symmetric routing by design because it is the default gateway for the zones. Transparent mode (also known as bump-in-the-wire) can introduce asymmetric routing if not carefully designed. NAT mode is not a deployment mode but a feature. Tap mode is for monitoring only and does not inspect in-line.
Question 30Security Platform and Architecture
An engineer needs to configure an SRX device to allow HTTP traffic from the untrust zone to a web server in the DMZ zone, but only to the specific server IP address. Which two elements must be configured in the security policy to achieve this?
- Source zone untrust, destination zone DMZ, source address any, destination address any, application HTTP
- Source zone untrust, destination zone DMZ, source address any, destination address web server IP, application any
- Source zone untrust, destination zone DMZ, source address any, destination address web server IP, application HTTP Correct answer.
- Source zone DMZ, destination zone untrust, source address web server IP, destination address any, application HTTP
Explanation
A security policy must specify the source zone, destination zone, source address, destination address, and application. To allow HTTP only to the specific web server, the destination address must be the web server IP, and the application must be HTTP. The source address can be any. The other options either allow too much traffic or have incorrect zones.
Question 31Security Platform and Architecture
An engineer is configuring a chassis cluster and wants to ensure that the control link failure does not cause a split-brain scenario. Which feature should be enabled?
- Split brain detection Correct answer.
- Control link recovery
- Heartbeat monitoring
- Redundancy group failover
Explanation
Split brain detection is a feature that prevents both nodes from becoming primary when the control link fails. It uses a backup method, such as a fabric link or a separate heartbeat, to determine which node should remain primary. Control link recovery is not a standard feature name, heartbeat monitoring is part of detection but not the feature itself, and redundancy group failover is the result of failover, not prevention of split brain.
Question 32Security Platform and Architecture
A security administrator is configuring an SRX device to perform source NAT for traffic originating from the trust zone and going to the untrust zone. The administrator wants to ensure that the source IP address is translated to the egress interface IP address. Which NAT configuration should be used?
- Static NAT with interface address
- Destination NAT with pool address
- Source NAT with pool address
- Source NAT with interface address Correct answer.
Explanation
Source NAT with interface address translates the source IP to the IP address of the egress interface. This is commonly used for hide NAT. Source NAT with a pool uses a configured address pool, destination NAT translates the destination IP, and static NAT maps one-to-one addresses.
Question 33Security Platform and Architecture
An engineer is designing a security policy for an SRX device and wants to ensure that traffic is logged at session close. Which action should be configured in the policy?
- log session-close Correct answer.
- count
- session-close
- log
Explanation
The 'log session-close' action in a security policy logs traffic when the session is closed. The 'log' action logs at session start, 'count' counts packets but does not log, and 'session-close' alone is not a valid action.
Question 34Security Platform and Architecture
An architect is evaluating the use of application firewall features on an SRX device. Which statement correctly describes the function of the application firewall?
- It enforces security policies based on application-layer attributes. Correct answer.
- It performs IPsec VPN termination.
- It provides antivirus scanning for email attachments.
- It routes traffic between zones based on destination IP.
Explanation
The application firewall on SRX enables enforcement of security policies based on application-layer attributes, such as HTTP URLs, headers, and content. Antivirus scanning is a separate UTM feature, IPsec VPN termination is a different function, and routing is handled by the routing engine.
Question 35Security Platform and Architecture
A network engineer is configuring a chassis cluster and needs to ensure that the control link is redundant. Which statement correctly describes a recommended practice for control link redundancy?
- Use a single control link with high bandwidth.
- Configure two control links on different physical interfaces. Correct answer.
- Use a control link that is shared with the fabric link.
- Configure the control link as a reth interface.
Explanation
For redundancy, it is recommended to configure two control links on separate physical interfaces to avoid a single point of failure. A single control link, even with high bandwidth, is not redundant. Sharing with the fabric link is not recommended because it can cause contention. Control links cannot be reth interfaces because they are not data plane interfaces.
Question 36Security Platform and Architecture
An engineer is troubleshooting a chassis cluster and notices that the secondary node is not receiving session synchronization updates. Which component is responsible for synchronizing sessions between nodes?
- Management interface
- Fabric link
- Data link
- Control link Correct answer.
Explanation
Session synchronization in a chassis cluster occurs over the control link, which is a dedicated link between the nodes. The fabric link carries data traffic between SPUs, the management interface is for out-of-band management, and data links carry user traffic.
Question 37Security Platform and Architecture
A security architect is designing a solution that requires the SRX to inspect traffic between two virtual routers. Which feature should be used to enable communication between the virtual routers while applying security policies?
- Inter-VR routing with security policies Correct answer.
- Virtual Router Routing Instance
- Policy-based routing
- Next-hop tunnel
Explanation
To inspect traffic between virtual routers, you configure inter-VR routing and apply security policies to the traffic. Virtual Router Routing Instance is a concept, but the feature that enables communication with policy enforcement is inter-VR routing. Policy-based routing and next-hop tunnels do not inherently provide security policy inspection between VRs.
Question 38Security Platform and Architecture
An engineer is configuring a high-availability cluster and wants to ensure that the backup node can take over quickly if the primary fails. Which factor most affects the failover time?
- The number of redundancy groups.
- The heartbeat interval and threshold. Correct answer.
- The speed of the control link.
- The number of sessions synchronized.
Explanation
Failover time is primarily determined by the heartbeat interval and threshold; a shorter interval and lower threshold result in faster detection of failure and quicker failover. The number of sessions, control link speed, and number of redundancy groups can influence but are not the primary factors.
Question 39Security Platform and Architecture
A security administrator is configuring an SRX device to block traffic from a specific country. Which feature should be used?
- Intrusion prevention system
- Application firewall
- Security intelligence feed Correct answer.
- URL filtering
Explanation
Security intelligence feeds can be used to block traffic based on geographic location by using a feed that contains IP addresses associated with countries. Application firewall, IPS, and URL filtering do not provide geographic blocking.
Question 40Security Platform and Architecture
An engineer is designing a VPN solution using SRX devices and wants to ensure that traffic is encrypted and authenticated. Which protocol should be used?
- SSL
- L2TP
- GRE
- IPsec Correct answer.
Explanation
IPsec provides encryption and authentication for VPN traffic. SSL is used for secure web traffic, GRE is a tunneling protocol without encryption, and L2TP is a tunneling protocol that does not provide encryption by itself.
Question 41Firewall Filters and Security Policies
On a Junos SRX, which statement correctly describes the evaluation of stateless firewall filters versus stateful security policies for transit traffic?
- Firewall filters apply only to host-inbound traffic, while security policies handle all transit traffic.
- Security policies are evaluated first, and firewall filters apply only to traffic that a policy has already permitted.
- Only one of the two mechanisms can be active on a given interface at a time.
- A firewall filter is evaluated first and can discard a packet before any security policy lookup occurs. Correct answer.
Explanation
Junos processes stateless filters in the packet-forwarding path before stateful policy inspection, so a filter term with a discard or reject action removes the packet regardless of what the policy would have decided. This ordering lets you drop unwanted traffic cheaply at the interface edge. Security policies operate later on permitted flows and create sessions.
Question 42Firewall Filters and Security Policies
Which configuration element is required before a security policy can reference a custom application in the from-application match?
- An address book entry that resolves to the application server.
- A predefined application-set that contains the custom application.
- A firewall filter term that classifies the traffic into a forwarding class.
- An application definition whose protocol and destination port match the traffic. Correct answer.
Explanation
Security policies match applications, and a custom application must exist under applications with its protocol and port (or ICMP type, or ALG) defined so the policy can reference it. Predefined applications are built in, but a custom one is user-defined. The policy then uses from-application with that name.
Question 43Firewall Filters and Security Policies
A policy is configured with match conditions from-zone trust to-zone untrust, source-address any, destination-address any, and application any, with action permit. What is the effect on traffic from trust to untrust?
- All traffic from trust to untrust that reaches policy evaluation is permitted. Correct answer.
- Only traffic matching predefined applications is permitted.
- The policy is invalid because any/any/any matches are not allowed.
- Traffic is permitted only if a session already exists.
Explanation
A policy with any for source, destination, and application matches all traffic between the specified zones, so any flow from trust to untrust that reaches evaluation is permitted and a session is created. Junos allows any matches in policies, though best practice is to be more specific. The zone pair still scopes the policy.
Question 44Firewall Filters and Security Policies
Which action in a firewall filter term silently discards a matching packet without sending any ICMP notification to the source?
- discard Correct answer.
- reject
- drop-and-log
- deny
Explanation
The discard action drops the packet without notifying the sender, which is useful for hiding the existence of a filter. The reject action drops the packet and returns an ICMP unreachable or TCP reset. The other two are not Junos filter terminating actions.
Question 45Firewall Filters and Security Policies
When a firewall filter is applied to a Junos interface with the input keyword, at what point in packet processing does it act?
- After Network Address Translation has been applied to the packet.
- Only after a security policy has created a session for the flow.
- As the packet arrives on the interface, before route lookup and policy evaluation. Correct answer.
- After the packet has been routed and before it is transmitted.
Explanation
An input filter is evaluated as the packet is received, before route lookup and before any stateful inspection or NAT. This is why input filters are commonly used to protect the device and drop unwanted traffic early. Output filters, by contrast, act just before transmission.
Question 46Firewall Filters and Security Policies
Which security policy match condition is used to reference a group of addresses defined once and reused across multiple policies?
- dynamic-address
- from-zone
- from-application
- source-address referencing an address book entry or address set Correct answer.
Explanation
Address book entries and address sets let you define addresses once in a zone's address book and reference them by name in policy source-address and destination-address matches. Address sets group multiple entries for reuse. The other options are zone or application matches, or not a policy match at all.
Question 47Firewall Filters and Security Policies
What does the count action in a firewall filter term accomplish?
- It terminates filter evaluation and discards the packet.
- It logs the packet header to the system log.
- It applies a policer to the matching traffic.
- It increments a counter for matching packets and continues to the next term. Correct answer.
Explanation
count is a non-terminating action that increments a named counter and lets evaluation continue to subsequent terms. It is useful for profiling traffic without altering its disposition. To also act on the traffic, combine count with a terminating action or place it in a term that does not terminate.
Question 48Firewall Filters and Security Policies
Which statement about the implicit deny at the end of a Junos security policy set is correct?
- Traffic not matching any policy is permitted and logged by default.
- The implicit deny applies only to inter-zone traffic, not intra-zone traffic.
- The implicit deny can be removed by deleting the last policy.
- Traffic not matching any policy is dropped because of the default deny-all policy. Correct answer.
Explanation
Junos security policy sets end with an implicit deny-all, so any traffic that does not match an explicit permit policy is dropped and a session is not created. This default-deny behavior is the reason explicit permit policies must be written for desired traffic. Intra-zone traffic is also subject to policy evaluation.
Question 49Firewall Filters and Security Policies
An SRX has two policies from zone trust to zone untrust: policy A matches application junos-http with action permit, and policy B matches application any with action deny. Policy A is above policy B. A user opens an HTTPS session to the internet. What happens?
- The session is denied only after policy A is evaluated twice.
- The session is permitted because any in policy B permits all traffic.
- The session is permitted because policy B is evaluated first.
- The session is denied because it does not match policy A and matches policy B. Correct answer.
Explanation
Policies are evaluated top-down and the first matching policy determines the action. HTTPS does not match junos-http, so evaluation continues to policy B, whose application any matches and whose action is deny. The session is therefore dropped.
Question 50Firewall Filters and Security Policies
You want to permit DNS from a specific server to any destination while denying all other traffic from that server's subnet. Which approach reflects correct Junos policy design?
- Place a permit policy matching the server address and junos-dns above a deny policy matching the subnet with application any. Correct answer.
- Use a single policy matching the subnet with application junos-dns and action permit.
- Rely on the implicit deny and add no policies.
- Place a deny policy matching the subnet above the permit policy for the server address.
Explanation
Because the first matching policy wins, the more specific permit must appear above the broader deny. The permit matches the server address and DNS application; the deny below matches the subnet with any application. This ordering permits DNS for the server and denies everything else from the subnet.