nerdexam
Palo_Alto_Networks

PCNSA · Question #294

If users from the Trusted zone need to allow traffic to an SFTP server in the DMZ zone, how should a Security policy with App-ID be configured?

The correct answer is B. Source Zone: Trusted. To allow SFTP traffic from the Trusted zone to a server in the DMZ zone using App-ID, the security policy should specify the Trusted Source Zone, DMZ Destination Zone, 'sftp' Application, and 'application-default' Service.

Submitted by luis.pe· Apr 18, 2026Securing Traffic

Question

If users from the Trusted zone need to allow traffic to an SFTP server in the DMZ zone, how should a Security policy with App-ID be configured?

Options

  • ASource Zone: Trusted
  • BSource Zone: Trusted
  • CSource Zone: Trusted
  • DSource Zone: Trusted

How the community answered

(68 responses)
  • A
    9% (6)
  • B
    82% (56)
  • C
    3% (2)
  • D
    6% (4)

Why each option

To allow SFTP traffic from the Trusted zone to a server in the DMZ zone using App-ID, the security policy should specify the Trusted Source Zone, DMZ Destination Zone, 'sftp' Application, and 'application-default' Service.

ASource Zone: Trusted

Specifying 'Application: any' defeats the purpose of App-ID by allowing any application on the SFTP port, making the policy less secure.

BSource Zone: TrustedCorrect

Configuring the 'Application' as 'sftp' leverages App-ID to identify SFTP traffic regardless of its port, while setting 'Service' to 'application-default' ensures the policy matches SFTP on its standard port (TCP/22) or any other port App-ID detects it on, providing robust control from the Trusted to the DMZ zone.

CSource Zone: Trusted

Setting 'Service' to 'any' is less secure than 'application-default' as it allows the application on any port without App-ID's default port enforcement.

DSource Zone: Trusted

Using 'Application: any' with 'Service: application-default' is overly permissive, allowing any application on its default port, which is not suitable for a specific SFTP allowance.

Concept tested: App-ID based security policy for specific application

Source: https://docs.paloaltonetworks.com/pan-os/10-2/pan-os-admin/policy/security-policy/security-policy-rules/create-a-security-policy-rule

Topics

#Security Policy#App-ID#Zone-Based Policy#SFTP

Community Discussion

No community discussion yet for this question.

Full PCNSA Practice