Home / Palo Alto Networks Certified Network Security Engineer (PCNSE) / Mock exam
Palo Alto Networks Certified Network Security Engineer (PCNSE) Exam-style mock test

Palo Alto PCNSE Network Security Engineer Practice Exams|Practice test

Full explanations Exam format Pass line 70%
33 USD One-time · lifetime access
Enroll →

Sample questions

Example1 · Core Configuration, Security and NAT Policies
A B2B SaaS company's firewall has a Security policy list where a broad 'allow outbound web' rule sits near the top and a more specific 'block risky-URL category' rule sits further down. Users are reaching sites that should be blocked. How does the firewall evaluate the rules, and what fix resolves this?
✓Rules are evaluated top to bottom and the first match wins, so the broad allow rule must be moved below the specific block rule
Correct. The firewall matches top to bottom and stops at the first match, so the specific block rule must precede the broad allow rule.
・Rules are evaluated by most-specific match regardless of list order, so no reordering is required for the block to take effect
Incorrect. PAN-OS does not reorder by specificity; list order determines which rule matches first.
・Rules are evaluated bottom to top and the last match wins, so the broad allow rule should remain at the top of the list
Incorrect. Evaluation is top to bottom, not bottom to top, so this description is wrong.
・Rules are evaluated in parallel and the most restrictive action is automatically applied to the matching session
Incorrect. Rules are not evaluated in parallel and the firewall does not auto-select the most restrictive action.
Explanation
PAN-OS evaluates Security rules top to bottom and applies the first matching rule, so specific rules must be placed above broader ones.
Example2 · App-ID, User-ID, Content-ID, and Decryption
A B2B SaaS firm's Security policy allows only the 'ms-office365-base' application for staff. Users report that the Outlook mail client fails to connect although the firewall logs show ms-office365-base sessions being allowed. What is the most likely configuration cause?
・The ssl application was incorrectly placed in a deny rule below the allow rule
Incorrect. The ssl base application being denied would also break the handshake, but the symptom described (base allowed yet client-specific function failing) points to a missing dependency, not an ssl deny rule.
✓A required dependent application such as ms-office365-enterprise is not permitted in the rule
Correct. Office 365 is a layered application; permitting only ms-office365-base without its dependent applications like ms-office365-enterprise prevents the specific client functions from working.
・The rule is missing the service object set to application-default for the allowed traffic
Incorrect. Using application-default as the service is a best practice and would not by itself break an already-allowed application.
・URL Filtering blocked the login category
Incorrect. URL Filtering acts on web categories during decryption or HTTP, not on the App-ID dependency chain that governs client connectivity here.
Explanation
App-ID handles layered applications through dependencies. When only the base application is allowed, the dependent applications must also be permitted (or the implicit dependency setting used) for full functionality.
Example3 · Site-to-Site and GlobalProtect VPN
A B2B SaaS company is building an IPSec site-to-site tunnel between its primary firewall and a partner whose peer presents a dynamic public IP that changes weekly. The partner can supply a consistent FQDN. On the company's IKE Gateway, which peer identification approach lets the tunnel establish reliably despite the changing address?
✓Set Peer IP Address Type to Dynamic and authenticate using the partner's FQDN as the Peer Identification so the gateway resolves and matches the remote peer each negotiation
Correct. A Dynamic peer type with FQDN-based Peer Identification allows the gateway to accept the changing remote address while still verifying identity, which fits a peer that only guarantees a stable FQDN.
・Hard-code the partner's current public IP as a static peer and schedule a job to rewrite it
Incorrect. Hard-coding an address that changes weekly and patching it with a job is fragile and breaks the tunnel between changes.
・Disable peer identification entirely and rely on the pre-shared key alone
Incorrect. Removing peer identification weakens authentication and does not solve address volatility.
・Enable passive mode and wait for the partner to initiate every rekey
Incorrect. Passive mode controls who initiates but does nothing to match a changing peer address.
Explanation
For peers with changing public IPs, a Dynamic peer type combined with FQDN or other ID-based peer identification keeps the IKE negotiation matching the correct remote endpoint.
Example4 · High Availability, Panorama, and Management
A healthcare services firm runs two PA-3220 firewalls in an active/passive HA pair protecting its electronic health record data center. The network team wants a failover to occur if the upstream router serving the clinical VLAN becomes unreachable, even while all firewall interfaces stay physically up. Which HA feature should the engineer configure to meet this requirement?
・Link monitoring on the HA2 backup interface group
Incorrect. Link monitoring only detects a physical link-down condition on monitored interfaces; it cannot detect that a remote router is unreachable while the interface stays up.
✓Path monitoring with a destination IP of the upstream router
Correct. Path monitoring sends ICMP pings to a configured destination IP such as the upstream router, so the firewall fails over when the path is lost even though its own interfaces remain up.
・Heartbeat backup using the management interface as the secondary HA1 link
Incorrect. Heartbeat backup adds resilience to the HA1 control link; it does not evaluate reachability of an upstream data-plane router.
・Configuring preemption so the designated active firewall reclaims the active role after it recovers from a prior failure
Incorrect. Preemption governs which unit becomes active after recovery and has nothing to do with detecting an unreachable upstream router through the data path.
Explanation
Path monitoring probes a remote destination to confirm the forwarding path is healthy, triggering failover when an upstream device becomes unreachable even if local links are up.
Example5 · Troubleshooting, Logging, and Best Practices
At a healthcare services firm, clinicians report that a new telehealth web app loads partially then stalls. In the Traffic log, the session shows an application of 'incomplete' and a Session End Reason of 'tcp-rst-from-server'. What does this most likely indicate?
・The firewall completed App-ID but the Security policy explicitly denied the telehealth application, generating a reset back to the client
Incorrect. A policy deny would show the app once identified or an application-default behavior, not 'incomplete', which specifically means App-ID never had enough data.
・A threat signature matched the payload and the firewall reset the session as part of a configured vulnerability protection action
Incorrect. A threat-based reset records a corresponding Threat log entry and a threat-related end reason, not a bare 'incomplete' application.
✓The TCP handshake finished but the server sent a reset before enough data arrived for App-ID to identify the application
Correct. 'incomplete' means the three-way handshake occurred but not enough payload was seen to identify the app, and 'tcp-rst-from-server' points to the server ending the session early.
・SSL decryption failed because the server certificate was untrusted, so the firewall terminated the handshake and logged the drop
Incorrect. A decryption failure is logged under decryption errors with 'decrypt-error' indicators, not as an 'incomplete' application with a server reset.
Explanation
An 'incomplete' application combined with a server-sent reset indicates the handshake completed but the server tore down the connection before App-ID could classify the traffic, pointing the investigation toward the server or an upstream device rather than firewall policy.
Example6 · Core Configuration, Security and NAT Policies
At a healthcare services firm, an engineer adds a new Security policy rule to permit the radiology VLAN to reach a PACS imaging server. After commit, the traffic is still being denied. A broad rule above it denies the radiology subnet to the entire data center zone. How does the firewall decide which rule applies to this session?
✓The firewall evaluates rules top to bottom and applies the first rule the session fully matches.
Correct. Security policy is evaluated top to bottom and the first rule that matches all criteria is applied, so the broad deny above wins.
・The firewall applies whichever matching rule is the most specific regardless of its configured position in the ordered rulebase list.
Incorrect. PAN-OS does not choose by specificity; rule order, not match granularity, determines which rule applies.
・The firewall applies the rule with the highest configured priority value among all rules that match the session.
Incorrect. Security rules have no separate numeric priority field that overrides their list order.
・The firewall merges all matching rules and uses the most permissive combined action for that session.
Incorrect. Matching rules are never merged, and the most permissive action is not selected automatically.
Explanation
PAN-OS evaluates Security policy top to bottom and applies the first matching rule. The broad deny sits above the new permit, so it is matched first and the new rule is never reached. The permit must be moved above the deny.
Example7 · Core Configuration, Security and NAT Policies
A retail chain, UrbanThread, has a Security policy where rule 5 allows store HQ users to any-destination web browsing, and rule 12 blocks a specific malware category to those same HQ users. Traffic that should be blocked is still being allowed. What is the most likely cause?
✓The firewall evaluates Security rules top to bottom and the broad allow at rule 5 matches first, so the block at rule 12 is never reached
Correct. Security policy is evaluated top to bottom and the first matching rule is applied; the broad allow at rule 5 matches the traffic before rule 12 is reached.
・Security rules are evaluated by specificity, so rule 12 should always win over rule 5
Incorrect. Palo Alto Security rules are not evaluated by specificity; they are matched in listed order, first match wins.
・The block rule at position 12 requires a URL Filtering license that has not yet been activated on the firewall for category enforcement
Incorrect. A missing URL Filtering license would affect category enforcement generally, but the described symptom is caused by rule ordering, not licensing.
・Rule 12 is shadowed because it uses a service of application-default while rule 5 uses any, and application-default silently disables matching
Incorrect. application-default restricts services to each app's default ports but does not silently disable rule matching.
Explanation
Because the firewall applies the first matching Security rule, a broad allow placed above a specific block will shadow the block. Moving the block rule above the allow resolves it.
Example8 · Core Configuration, Security and NAT Policies
UrbanThread needs all store-branch client traffic to reach the internet using the firewall's single public IP on the untrust interface. Which source NAT translation type should the engineer configure to allow many internal hosts to share that one address?
・Static IP with bi-directional translation enabled
Incorrect. Static IP maps one source to one translated address and does not let many hosts share a single IP.
✓Dynamic IP and Port (DIPP) using the interface address
Correct. Dynamic IP and Port translation lets many internal hosts share one public address by also translating the source port, which is required for a single interface IP.
・Dynamic IP from a dedicated address pool
Incorrect. Dynamic IP without port translation needs as many public addresses as concurrent hosts, so a single IP is insufficient.
・No-NAT rule referencing the untrust zone
Incorrect. A no-NAT rule exempts traffic from translation, which is the opposite of what is needed here.
Explanation
DIPP translates both source IP and source port, enabling thousands of internal hosts to egress through one interface address, which is the standard outbound NAT design.
Example9 · Core Configuration, Security and NAT Policies
At UrbanThread's data center, two servers reside in the same security zone named DC-Servers. By default, how does the firewall handle traffic flowing between these two servers within that zone?
・It is dropped unless an explicit intrazone-override allow rule with logging is configured first
Incorrect. Intrazone traffic is not dropped by default and does not require an override rule to be permitted.
✓It is allowed by the default intrazone-default rule
Correct. The predefined intrazone-default rule allows traffic within the same zone unless an administrator overrides it.
・It is inspected by all configured Security Profiles automatically
Incorrect. Security Profiles are not applied automatically to default rules; they must be explicitly attached.
・It is denied by the default interzone-default rule
Incorrect. The interzone-default rule applies to traffic crossing different zones, not traffic within one zone.
Explanation
Palo Alto firewalls include predefined rules: intrazone-default allows same-zone traffic and interzone-default denies cross-zone traffic unless changed.
Example10 · Core Configuration, Security and NAT Policies
At a financial services firm, the security team adds a new rule to permit a trading application and places it at the bottom of the Security policy, below an existing broad deny rule for the same zones. Users report the application is still blocked. Which characteristic of PTP firewall rule evaluation explains this behavior?
✓Rules are compared from top to bottom and the first rule that matches the traffic is applied, so the earlier deny rule wins before the new permit rule is reached.
Correct. Security policy is evaluated top to bottom and the first matching rule is applied, so the broad deny above the new permit short-circuits the match.
・Rules are evaluated based on which one has the most specific match criteria regardless of their order in the list.
Incorrect. The firewall does not rank rules by specificity; ordering, not match granularity, determines which rule applies first.
・The firewall merges all matching rules and applies the most restrictive action it finds anywhere in the policy.
Incorrect. Rules are not merged, and the firewall does not aggregate actions across multiple matching rules.
・Newly added rules are automatically disabled until a commit with validation override is performed by an administrator.
Incorrect. New rules are active once committed; a commit does not disable them pending any override.
Explanation
PAN-OS evaluates Security rules sequentially from top to bottom and applies the first match. A broad deny positioned above a new permit rule blocks the traffic before evaluation reaches the permit, so the rule must be moved above the deny.
Example11 · Core Configuration, Security and NAT Policies
A bank's engineer notices that traffic between two hosts in the same Trust zone passes without any explicitly configured Security rule, while traffic from Trust to DMZ is dropped when no rule matches. Which default behavior of the predefined rules accounts for this?
✓The predefined intrazone-default rule allows traffic within a zone while the interzone-default rule denies traffic between different zones.
Correct. The intrazone-default rule permits same-zone traffic and the interzone-default rule denies traffic between different zones unless an explicit rule allows it.
・All same-zone traffic bypasses the Security policy engine entirely because intrazone traffic is never inspected by the dataplane.
Incorrect. Intrazone traffic still traverses the policy engine and can be inspected; it is not exempted from the dataplane.
・The firewall always permits any traffic until an administrator explicitly creates at least one deny rule in the policy.
Incorrect. Cross-zone traffic is denied by default via the interzone-default rule, not universally permitted.
・Same-zone traffic is logged and dropped by default whereas cross-zone traffic is silently permitted by default.
Incorrect. This reverses the actual defaults; same-zone is allowed and cross-zone is denied.
Explanation
PAN-OS ships two predefined rules: intrazone-default (allow) and interzone-default (deny). This is why same-zone hosts communicate freely while cross-zone traffic needs an explicit allow rule.
Example12 · Core Configuration, Security and NAT Policies
A manufacturing distributor's firewall has a Security policy with an explicit rule allowing warehouse scanners to a WMS server placed near the bottom of the rulebase, below a broad deny rule for the warehouse zone. Scanners cannot reach the WMS server. What is the most likely cause?
・The intrazone-default rule is overriding the explicit allow because both endpoints share the same zone
Incorrect. Intrazone-default only applies to same-zone traffic, and the ordering problem is the real cause of the block here.
✓A broad deny rule above the specific allow rule is matched first and blocks the traffic
Correct. Security rules are evaluated top to bottom and the first match wins, so a broad deny above the specific allow blocks the traffic first.
・The explicit allow rule has been disabled and is therefore skipped during rule evaluation
Incorrect. A disabled rule is skipped, but the scenario describes a deny rule above matching before the allow.
・The firewall always evaluates the single most specific matching rule regardless of its position in the list
Incorrect. The firewall does not select the most specific rule; it applies the first match in top-to-bottom order.
Explanation
PAN-OS evaluates Security rules top to bottom and applies the first match. A broad deny rule positioned above a specific allow rule shadows it, so rule order must be corrected.
Example13 · Core Configuration, Security and NAT Policies
The distributor wants its new ERP web application allowed only when the firewall positively identifies the application, and all other unidentified traffic to that server blocked. Which Security rule configuration meets this goal?
・Build an allow rule based on destination port 443 with the application field set to 'any'
Incorrect. Matching only on port 443 with application 'any' permits any app on that port, not just the identified ERP application.
✓Build an allow rule matching the ERP App-ID with service set to application-default
Correct. Matching the ERP App-ID with service application-default allows only positively identified ERP traffic on its standard ports and denies unidentified traffic.
・Rely on the default intrazone rule to permit the ERP server traffic
Incorrect. The intrazone-default rule does not provide App-ID-based control for the ERP server traffic described.
・Build an allow rule where the application is 'any' and attach a URL filtering profile
Incorrect. Setting application to 'any' permits all applications, and a URL filtering profile does not restrict by App-ID.
Explanation
App-ID-based rules combined with the application-default service restrict traffic to positively identified applications on their standard ports, achieving the intended least-privilege result.
Example14 · Core Configuration, Security and NAT Policies
A telecom operator's PA-5250 firewall has a Security policy where rule 3 allows traffic from the Subscriber zone to the Internet zone for application 'ssl', and rule 8 denies all traffic from Subscriber to Internet. A subscriber's HTTPS session is being allowed unexpectedly. How does the firewall decide which rule applies to this session?
✓It evaluates rules top to bottom and applies rule 3 because it is the first rule whose zones, addresses, and application match the session, stopping further evaluation
Correct. Security rules are evaluated top-down, and the first rule matching zone, address, and application is applied, after which evaluation stops.
・It applies rule 8 because explicit deny rules always take precedence over allow rules regardless of position in the rulebase order
Incorrect. Deny rules have no inherent precedence; position in the top-down order determines the match, so rule 3 wins.
・It merges rule 3 and rule 8, giving priority to the rule with the more specific application match on the session
Incorrect. The firewall does not merge rules or weigh application specificity across multiple rules; the first match wins.
・It applies the intrazone-default rule since both rules reference the same subscriber traffic flow context
Incorrect. The intrazone-default applies only to same-zone traffic, not interzone Subscriber-to-Internet flows.
Explanation
PAN-OS evaluates Security policy rules from top to bottom and applies the first rule whose match criteria (zones, addresses, application, service) are satisfied, then stops. Rule 3 precedes rule 8, so the HTTPS/ssl session matches rule 3.
Example15 · Core Configuration, Security and NAT Policies
A telecom operator must allow thousands of subscribers in the 10.80.0.0/16 trust network to reach the Internet through a single public IP 203.0.113.10 on the untrust interface. Which source NAT translation type should the engineer configure on the firewall to support this many concurrent sessions from one address?
✓Dynamic IP And Port (DIPP), which overloads the single public address by translating both the source address and the source port for each session
Correct. DIPP translates both source IP and source port, allowing many internal hosts to share one public IP for roughly 64,000 sessions per address.
・Static IP translation mapping each subscriber host one-to-one to a reserved public address from the operator block
Incorrect. Static one-to-one translation requires a unique public IP per host and cannot scale thousands of subscribers to a single address.
・Dynamic IP translation using a one-to-one pool assignment from the untrust address range
Incorrect. Dynamic IP (without port) maps hosts one-to-one from a pool and cannot overload a single address for many concurrent sessions.
・Destination NAT with port forwarding configured on the untrust interface
Incorrect. Destination NAT translates inbound destination addresses, not outbound subscriber source traffic to the Internet.
Explanation
Dynamic IP And Port (DIPP) performs port address translation, letting many internal subscribers share a single public IP by uniquely translating source port, which is required to scale a /16 to one address.
▶ Try 10 free questions (graded)
Measure your readiness with a full mock exam
All questions · full explanations · lifetime access
Enroll(33 USD)