nerdexam
Palo_Alto_Networks

PCNSA · Question #333

How would a Security policy need to be written to allow outbound traffic using Secure Shell (SSH) to destination ports tcp/22 and tcp/4422?

The correct answer is C. The admin creates a custom service object named "tcp-4422" with port tcp/4422. The built-in 'ssh' application uses 'application-default', which only permits tcp/22. To also allow SSH over the non-standard port tcp/4422, the administrator must create a custom Service object (e.g., 'tcp-4422') defining port tcp/4422, then reference both the 'ssh'…

Submitted by priya_blr· Apr 18, 2026Securing Traffic

Question

How would a Security policy need to be written to allow outbound traffic using Secure Shell (SSH) to destination ports tcp/22 and tcp/4422?

Options

  • AThe admin creates a custom service object named "tcp-4422" with port tcp/4422.
  • BThe admin creates a custom service object named "tcp-4422" with port tcp/4422.
  • CThe admin creates a custom service object named "tcp-4422" with port tcp/4422.
  • DThe admin creates a Security policy allowing application "ssh" and service "application-default".

How the community answered

(17 responses)
  • A
    6% (1)
  • B
    12% (2)
  • C
    76% (13)
  • D
    6% (1)

Explanation

The built-in 'ssh' application uses 'application-default', which only permits tcp/22. To also allow SSH over the non-standard port tcp/4422, the administrator must create a custom Service object (e.g., 'tcp-4422') defining port tcp/4422, then reference both the 'ssh' application and the custom service in the Security policy. Using 'application-default' alone (choice D) would block tcp/4422 since it is not a default port for SSH. The correct approach combines explicit application identification with a custom service object to cover both ports.

Topics

#Security Policy#Custom Service Objects#App-ID#Network Services

Community Discussion

No community discussion yet for this question.

Full PCNSA Practice