nerdexam
Palo_Alto_Networks

PCNSE · Question #798

The server team is concerned about the high volume of logs forwarded to their syslog server, it is determined that DNS is generating the most logs per second. The risk and compliance team requests…

The correct answer is B. With '(port dst neq 53)' Traffic log filter inside Device > log Settings. To reduce the volume of DNS logs while forwarding other traffic, configure a Traffic log filter to exclude logs where the destination port is not 53 within Device > Log Settings.

Submitted by zhang_li· Apr 18, 2026

Question

The server team is concerned about the high volume of logs forwarded to their syslog server, it is determined that DNS is generating the most logs per second. The risk and compliance team requests that any Traffic logs indicating port abuse of port 53 must still be forwarded to syslog. All other DNS. Traffic logs can be exclude from syslog forwarding. How should syslog log forwarding be configured?

Options

  • AWith '(port,dst neq 53)' Traffic log filter Object > Log Forwarding.
  • BWith '(port dst neq 53)' Traffic log filter inside Device > log Settings.
  • CWith '(app neq dns-base)' Traffic log filter inside Device> Log Settings.
  • DWith '(app neq dns-base)' Traffic log filter inside Objects> Log Forwarding

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    82% (18)
  • C
    5% (1)
  • D
    5% (1)

Why each option

To reduce the volume of DNS logs while forwarding other traffic, configure a Traffic log filter to exclude logs where the destination port is not 53 within Device > Log Settings.

AWith '(port,dst neq 53)' Traffic log filter Object > Log Forwarding.

The specific log filtering definitions for log types (like Traffic logs) are configured in Device > Log Settings, not directly in Objects > Log Forwarding which defines profiles.

BWith '(port dst neq 53)' Traffic log filter inside Device > log Settings.Correct

Log filtering for specific log types, such as Traffic logs, is configured within Device > Log Settings. Applying the filter `(port dst neq 53)` to Traffic logs will exclude all traffic logs where the destination port is 53, thereby significantly reducing the high volume of legitimate DNS traffic logs as requested.

CWith '(app neq dns-base)' Traffic log filter inside Device> Log Settings.

While `(app neq dns-base)` would logically achieve the goal of excluding legitimate DNS logs and forwarding port abuse, the correct answer explicitly uses `(port dst neq 53)` as the filter criterion.

DWith '(app neq dns-base)' Traffic log filter inside Objects> Log Forwarding

The specific log filtering definitions for log types are configured in Device > Log Settings, not directly in Objects > Log Forwarding.

Concept tested: Log forwarding traffic filtering

Source: https://docs.paloaltonetworks.com/pan-os/11-1/pan-os-admin/monitoring/configure-log-forwarding/configure-log-forwarding-with-filters

Community Discussion

No community discussion yet for this question.

Full PCNSE Practice