Question 254 of 524
Securing TrafficeasyMultiple ChoiceObjective-mapped

Quick Answer

The answer is Rule 1 (allow-web). This rule matches because it permits HTTP traffic from source IP 10.10.10.10 to destination IP 192.0.2.50 on TCP port 80, which is exactly the traffic generated when a user browses to http://192.0.2.50. In Palo Alto Networks firewalls, security rules are evaluated sequentially from top to bottom, and the first rule whose source and destination IP addresses, along with the application or port, align with the traffic flow is applied. On the PCNSA exam, this concept tests your understanding of how security rules match based on source and destination IP addresses, often appearing in scenario-based questions where a single rule change can alter the match. A common trap is assuming a broader rule with overlapping IP ranges will match first, but the order of rules is critical—the firewall stops at the first match. Memory tip: think “first match wins, so order your rules from most specific to most general.”

PCNSA Securing Traffic Practice Question

This PCNSA practice question tests your understanding of securing traffic. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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

Refer to the exhibit.

admin@PA-5050> show running security-policy

  name                      from     to       source          destination  application  service    action
  ------------------------  -------  -------  --------------  -----------  ------------  ---------  -------
  1 allow-web               trust    untrust  10.0.0.0/8      192.0.2.0/24 web-browsing  http       allow
  2 block-malware           trust    untrust  any             any          any           any        deny
  3 allow-dns               trust    untrust  any             any          dns           udp/53     allow

  Total rules: 3

Refer to the exhibit. A user at IP 10.10.10.10 tries to browse to http://192.0.2.50. Which rule matches this traffic?

Question 1easymultiple choice
Full question →

Exhibit

Refer to the exhibit.

admin@PA-5050> show running security-policy

  name                      from     to       source          destination  application  service    action
  ------------------------  -------  -------  --------------  -----------  ------------  ---------  -------
  1 allow-web               trust    untrust  10.0.0.0/8      192.0.2.0/24 web-browsing  http       allow
  2 block-malware           trust    untrust  any             any          any           any        deny
  3 allow-dns               trust    untrust  any             any          dns           udp/53     allow

  Total rules: 3

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

Rule 1 (allow-web)

Rule 1 (allow-web) matches because it permits HTTP traffic from source 10.10.10.10 to destination 192.0.2.50 on port 80. The user is browsing to http://192.0.2.50, which uses TCP port 80, and the rule's source and destination IPs align with the traffic flow. In Palo Alto Networks firewalls, rules are evaluated in order, and the first match is applied.

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.

  • Rule 3 (allow-dns)

    Why it's wrong here

    Rule 3 only matches DNS traffic, not web-browsing.

  • Rule 2 (block-malware)

    Why it's wrong here

    Rule 2 is evaluated after rule 1, so it does not apply.

  • Rule 1 (allow-web)

    Why this is correct

    The traffic matches all criteria in rule 1 and is allowed.

    Related concept

    Read the scenario before looking for a memorised answer.

  • No rule matches; traffic is denied by default.

    Why it's wrong here

    Rule 1 matches explicitly.

Common exam traps

Common exam trap: answer the scenario, not the keyword

Palo Alto Networks often tests the concept that rule order matters and that a more specific rule (like allow-web) will match before a generic block rule, leading candidates to incorrectly assume a later block rule would apply if they overlook the explicit allow rule earlier in the list.

Detailed technical explanation

How to think about this question

Palo Alto Networks firewalls use a top-down rule evaluation order; once a rule matches, subsequent rules are ignored. The rule's security policy typically includes source/destination zones, IP addresses, and application/service objects—here, 'allow-web' likely permits the 'web-browsing' application (HTTP) on TCP/80. In real-world scenarios, misconfigured service objects (e.g., using 'any' instead of specific ports) can cause unintended matches or bypasses.

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 PCNSA 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 PCNSA 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 PCNSA question test?

Securing Traffic — This question tests Securing Traffic — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Rule 1 (allow-web) — Rule 1 (allow-web) matches because it permits HTTP traffic from source 10.10.10.10 to destination 192.0.2.50 on port 80. The user is browsing to http://192.0.2.50, which uses TCP port 80, and the rule's source and destination IPs align with the traffic flow. In Palo Alto Networks firewalls, rules are evaluated in order, and the first match is applied.

What should I do if I get this PCNSA 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 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.