- A
show session all
Why wrong: This shows current sessions but does not indicate which policy matched.
- B
debug dataplane packet-diag
Why wrong: This is for packet tracing and is more complex than needed for policy matching.
- C
test security-policy-match source <ip> destination <ip> destination-port <port> protocol <tcp>
This command tests traffic against the security policy and shows the matching rule, including implicit denies.
- D
show running security-policy
Why wrong: This shows configured policies but does not test which rule matches specific traffic.
Quick Answer
The answer is the CLI command test security-policy-match. This command is correct because it simulates a packet against the full security policy rulebase, including hidden or implicit rules such as the default intra-zone allow rule or the inter-zone deny rule, which are not visible in the policy list but still affect traffic. On the Palo Alto Networks Certified Network Security Engineer PCNSE exam, this question tests your ability to troubleshoot connectivity issues when no explicit policy blocks traffic, a common scenario where implicit rules silently drop or allow sessions. A frequent trap is assuming that if no explicit deny rule exists, traffic must be permitted; however, implicit rules like the default inter-zone deny can block traffic without any visible policy match. To remember, think of test security-policy-match as your "packet tracer" for hidden rules—it reveals what the GUI hides.
PCNSE Practice Question: Managing Troubleshooting and High Availability
This PCNSE practice question tests your understanding of managing troubleshooting and high availability. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
A network engineer needs to troubleshoot why a specific user cannot access a web application through a Palo Alto Networks firewall. The engineer has verified that the user's traffic reaches the firewall and that no security policy explicitly blocks the traffic. Which CLI command should be used to check if the traffic is being matched by a hidden or implicit rule?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
test security-policy-match source <ip> destination <ip> destination-port <port> protocol <tcp>
Option C, 'test security-policy-match', is the correct command because it simulates a packet against the firewall's security policy rulebase, including any hidden or implicit rules (such as the default intra-zone allow or inter-zone deny rules). This allows the engineer to see exactly which rule the traffic matches, even if no explicit policy is configured, which is essential for troubleshooting implicit rule behavior.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
show session all
Why it's wrong here
This shows current sessions but does not indicate which policy matched.
- ✗
debug dataplane packet-diag
Why it's wrong here
This is for packet tracing and is more complex than needed for policy matching.
- ✓
test security-policy-match source <ip> destination <ip> destination-port <port> protocol <tcp>
Why this is correct
This command tests traffic against the security policy and shows the matching rule, including implicit denies.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
show running security-policy
Why it's wrong here
This shows configured policies but does not test which rule matches specific traffic.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume 'show running security-policy' or 'show session all' can reveal implicit rule matches, but they only show explicit configurations or active sessions, respectively, missing the hidden default rules that are evaluated by the firewall's policy engine.
Trap categories for this question
Command / output trap
This shows current sessions but does not indicate which policy matched.
Detailed technical explanation
How to think about this question
The 'test security-policy-match' command evaluates traffic against the entire security policy rulebase, including implicit rules that are not visible in the running configuration. Implicit rules include the intra-zone default allow (for traffic within the same zone) and the inter-zone default deny (for traffic between different zones), which are applied based on zone configuration. In a real-world scenario, if a user's traffic is in the same zone as the web server but the zone is configured with 'intra-zone-default allow', the traffic may be permitted without any explicit rule, and this command will show that match.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Managing Troubleshooting and High Availability — study guide chapter
Learn the concepts, then practise the questions
- →
Managing Troubleshooting and High Availability practice questions
Targeted practice on this topic area only
- →
All PCNSE questions
516 questions across all exam domains
- →
Palo Alto Networks Certified Network Security Engineer PCNSE study guide
Full concept coverage aligned to exam objectives
- →
PCNSE practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related PCNSE practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Manage, Monitor and Operate practice questions
Practise PCNSE questions linked to Manage, Monitor and Operate.
Securing Traffic and App-ID practice questions
Practise PCNSE questions linked to Securing Traffic and App-ID.
Securing Users and Applications with Authentication practice questions
Practise PCNSE questions linked to Securing Users and Applications with Authentication.
Decryption and SSL Inspection practice questions
Practise PCNSE questions linked to Decryption and SSL Inspection.
Managing Troubleshooting and High Availability practice questions
Practise PCNSE questions linked to Managing Troubleshooting and High Availability.
Deploy and Configure Firewalls practice questions
Practise PCNSE questions linked to Deploy and Configure Firewalls.
Core Concepts and Architecture practice questions
Practise PCNSE questions linked to Core Concepts and Architecture.
Secure Access and VPN practice questions
Practise PCNSE questions linked to Secure Access and VPN.
Troubleshoot practice questions
Practise PCNSE questions linked to Troubleshoot.
PCNSE fundamentals practice questions
Practise PCNSE questions linked to PCNSE fundamentals.
PCNSE scenario practice questions
Practise PCNSE questions linked to PCNSE scenario.
PCNSE troubleshooting practice questions
Practise PCNSE questions linked to PCNSE troubleshooting.
Practice this exam
Start a free PCNSE practice session
Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.
FAQ
Questions learners often ask
What does this PCNSE question test?
Managing Troubleshooting and High Availability — This question tests Managing Troubleshooting and High Availability — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: test security-policy-match source <ip> destination <ip> destination-port <port> protocol <tcp> — Option C, 'test security-policy-match', is the correct command because it simulates a packet against the firewall's security policy rulebase, including any hidden or implicit rules (such as the default intra-zone allow or inter-zone deny rules). This allows the engineer to see exactly which rule the traffic matches, even if no explicit policy is configured, which is essential for troubleshooting implicit rule behavior.
What should I do if I get this PCNSE question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Last reviewed: Jun 11, 2026
This PCNSE practice question is part of Courseiva's free Palo Alto Networks certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCNSE exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.