Question 141 of 516
Deploy and Configure FirewallsmediumMultiple ChoiceObjective-mapped

PCNSE Deploy and Configure Firewalls Practice Question

This PCNSE practice question tests your understanding of deploy and configure firewalls. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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.

Exhibit

admin@PA-500> show running security-policy
1.  rule1  (src: trust; dst: untrust; app: web-browsing; action: allow)
2.  rule2  (src: trust; dst: untrust; user: anyone; app: ssl; action: allow)
3.  rule3  (src: trust; dst: untrust; user: user1; app: any; action: deny)
4.  rule4  (src: trust; dst: untrust; user: anyone; app: any; action: deny)

Refer to the exhibit. A user in the trust zone attempts to access HTTPS to an external server. Which rule will match?

Question 1mediummultiple choice
Full question →

Exhibit

admin@PA-500> show running security-policy
1.  rule1  (src: trust; dst: untrust; app: web-browsing; action: allow)
2.  rule2  (src: trust; dst: untrust; user: anyone; app: ssl; action: allow)
3.  rule3  (src: trust; dst: untrust; user: user1; app: any; action: deny)
4.  rule4  (src: trust; dst: untrust; user: anyone; app: any; action: deny)

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

rule2

Rule2 is correct because it is the first rule in the security policy that matches the traffic from the trust zone (source zone trust) to the external server (destination zone untrust) for HTTPS (destination port 443). Palo Alto Networks firewalls evaluate rules in top-down order, and rule2 explicitly permits HTTPS traffic from trust to untrust, while rule1 only permits HTTP (port 80). Rule3 and rule4 do not match because they are either for different zones or deny the traffic.

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.

  • rule4

    Why it's wrong here

    Rule4 is a deny-all, but rule2 matches first.

  • rule3

    Why it's wrong here

    Rule3 only applies if the user is specifically 'user1'.

  • rule1

    Why it's wrong here

    Rule1 only allows web-browsing (HTTP), not SSL.

  • rule2

    Why this is correct

    Rule2 allows SSL for anyone, so it matches the HTTPS traffic.

    Related concept

    Read the scenario before looking for a memorised answer.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Palo Alto Networks often tests the first-match rule evaluation order, where candidates mistakenly think a deny rule later in the policy (rule4) will block traffic, forgetting that a preceding permit rule (rule2) already matched and allowed the session.

Detailed technical explanation

How to think about this question

Palo Alto Networks firewalls use a first-match rule evaluation model for security policies, meaning the firewall stops processing rules as soon as a match is found. The source and destination zones are critical in rule matching; if the traffic's ingress zone does not match the rule's source zone, the rule is skipped entirely. In this scenario, the user's traffic originates from the trust zone and is destined for the untrust zone, so only rules with source zone trust and destination zone untrust are candidates, and rule2 is the first such rule that permits HTTPS.

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.

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.

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?

Deploy and Configure Firewalls — This question tests Deploy and Configure Firewalls — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: rule2 — Rule2 is correct because it is the first rule in the security policy that matches the traffic from the trust zone (source zone trust) to the external server (destination zone untrust) for HTTPS (destination port 443). Palo Alto Networks firewalls evaluate rules in top-down order, and rule2 explicitly permits HTTPS traffic from trust to untrust, while rule1 only permits HTTP (port 80). Rule3 and rule4 do not match because they are either for different zones or deny the traffic.

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 →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 30, 2026

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.

Loading comments…

Sign in to join the discussion.

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.