nerdexam
Palo_Alto_Networks

PCNSE · Question #97

What are the differences between using a service versus using an application for Security Policy match?

The correct answer is C. Use of a "service" enables the firewall to take immediate action with the first observed packet. A 'service' in a Security Policy rule refers to a Layer 4 port/protocol (e.g., TCP/443). Because the port is visible in the very first packet's header, the firewall can match and act on the rule immediately - no buffering required. In contrast, 'application' matching relies on…

Submitted by chiamaka_o· Apr 18, 2026Core Concepts

Question

What are the differences between using a service versus using an application for Security Policy match?

Options

  • AUse of a "service" enables the firewall to take immediate action with the first observed packet
  • BThere are no differences between "service" or "application". Use of an "application" simplifies
  • CUse of a "service" enables the firewall to take immediate action with the first observed packet
  • DUse of a "service" enables the firewall to take action after enough packets allow for App-ID

How the community answered

(64 responses)
  • A
    5% (3)
  • B
    2% (1)
  • C
    91% (58)
  • D
    3% (2)

Explanation

A 'service' in a Security Policy rule refers to a Layer 4 port/protocol (e.g., TCP/443). Because the port is visible in the very first packet's header, the firewall can match and act on the rule immediately - no buffering required. In contrast, 'application' matching relies on App-ID, which uses deep packet inspection and may require several packets (the first few exchanges of a session) before the application signature can be identified, causing a slight delay in enforcement. This means service-based rules act faster but are less granular and easier to bypass via non-standard ports, while application-based rules are more precise but need enough session data to classify the app.

Topics

#Security Policy#App-ID#Service Matching#Packet Processing

Community Discussion

No community discussion yet for this question.

Full PCNSE Practice