Question 246 of 524
Managing ObjectsmediumMultiple ChoiceObjective-mapped

Quick Answer

The answer is both destination port and protocol must be specified when creating a service object in Palo Alto. This is required because a service object defines a unique combination of protocol and port for traffic classification; without specifying the protocol—such as TCP or UDP—the firewall cannot determine how to inspect the traffic, and without the destination port, it cannot match the specific service like web-proxy on port 8080. On the PCNSA exam, this tests your understanding of how service objects differ from application objects, and a common trap is assuming only the port is needed, which would leave the object ambiguous for policy enforcement. Remember the mnemonic "Port Plus Protocol" (PPP) to recall that both properties are mandatory for any service object creation.

PCNSA Managing Objects Practice Question

This PCNSA practice question tests your understanding of managing objects. 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.

An administrator wants to create a service object for TCP port 8080 and call it 'web-proxy'. Which properties must be specified?

Question 1mediummultiple choice
Full question →

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

Both destination port and protocol

In Palo Alto Networks firewalls, a service object defines a specific application protocol and port combination for traffic classification and policy enforcement. For TCP port 8080, both the protocol (TCP) and the destination port (8080) must be specified because the firewall requires the protocol to differentiate between TCP, UDP, or other IP protocols, and the destination port to match the traffic. Option B is correct because without both, the service object would be incomplete and could not be used in security rules.

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.

  • Destination port

    Why it's wrong here

    Destination port is required but not sufficient without protocol.

  • Both destination port and protocol

    Why this is correct

    Service objects require both protocol and destination port.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Source port

    Why it's wrong here

    Source port is optional in a service object.

  • Protocol

    Why it's wrong here

    Protocol is required but not sufficient without destination port.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates often assume only the destination port is needed, forgetting that the protocol is mandatory to uniquely identify the service, as the same port number can be used by different protocols (e.g., TCP vs. UDP).

Detailed technical explanation

How to think about this question

Under the hood, Palo Alto Networks service objects are stored in the device's configuration as XML elements containing both the 'protocol' (e.g., tcp) and 'port' (e.g., 8080) attributes, and the firewall uses these to build a service table for fast packet matching. In a real-world scenario, if an administrator creates a service object for web-proxy without specifying the protocol, the firewall might incorrectly match UDP traffic on port 8080, leading to security policy bypass or misrouting. This is critical because many applications, like HTTP proxies, rely on TCP for reliable connections, and the firewall's App-ID engine may also use this service definition for decryption or threat inspection.

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?

Managing Objects — This question tests Managing Objects — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Both destination port and protocol — In Palo Alto Networks firewalls, a service object defines a specific application protocol and port combination for traffic classification and policy enforcement. For TCP port 8080, both the protocol (TCP) and the destination port (8080) must be specified because the firewall requires the protocol to differentiate between TCP, UDP, or other IP protocols, and the destination port to match the traffic. Option B is correct because without both, the service object would be incomplete and could not be used in security rules.

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 25, 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.