PCNSA Policy Evaluation and Management Practice Question
Exhibit
Refer to the exhibit. admin@PA-500> show running security-policy name from to source destination application action ------------------------------------------------------------------------------------------------------------------ 1 allow-web trust untrust 192.168.1.0/24 any web-browsing allow 2 block-social trust untrust 192.168.1.0/24 any social-networking deny 3 allow-all trust untrust any any any allow
A user at 192.168.1.10 attempts to access a social networking site (application: social-networking). Based on the exhibit, what will the firewall do?
⚠ Common exam trap
Watch out — candidates often assume a more permissive rule later in the policy (like rule 3 allowing all traffic) will override an earlier deny rule, but the firewall's first-match logic means the deny rule takes precedence.
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
✓
Deny the traffic because rule 2 matches and denies social-networking.
The firewall evaluates rules in order from top to bottom. Rule 2 explicitly denies the application 'social-networking', and since the user at 192.168.1.10 is attempting to access a social-networking site, rule 2 matches before any subsequent rule. Therefore, the traffic is denied. Option D is correct because rule 2 matches and denies the traffic.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Allow the traffic because rule 1 matches and allows all web traffic.
Why it's wrong here
Rule 1 only allows web-browsing, not social-networking.
- ✗
Allow the traffic because rule 3 allows all traffic.
Why it's wrong here
Rule 3 is not reached because rule 2 matches first.
- ✗
Deny the traffic because no rule allows social-networking.
Why it's wrong here
There is a specific deny rule, so the traffic is denied by that rule, not by default.
- ✓
Deny the traffic because rule 2 matches and denies social-networking.
Why this is correct
Rule 2 explicitly denies social-networking.
Go deeper
Related to this question
About these practice questions
One of 516 original PCNSA practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This PCNSA 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 PCNSA exam.