PCNSA Managing Objects Practice Question
An administrator wants to create a service object for TCP port 8080 and call it 'web-proxy'. Which properties must be specified?
⚠ Common exam trap
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).
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.
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.
- ✗
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.
Go deeper
Related to this question
About these practice questions
This PCNSA question is part of Courseiva's 516-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. 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.