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.
Exhibit
Refer to the exhibit.
show running config | match object
set service 'MyService' protocol tcp port 443
set address 'MyServer' ip-netmask 192.168.1.10/32
set address-group 'ServerGroup' static [ MyServer ]
A security policy rule uses 'MyService' and 'ServerGroup'. What is the destination port of the allowed traffic?
Refer to the exhibit.
show running config | match object
set service 'MyService' protocol tcp port 443
set address 'MyServer' ip-netmask 192.168.1.10/32
set address-group 'ServerGroup' static [ MyServer ]
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
443
The correct answer is B (443) because 'MyService' is a custom service object that typically defines HTTPS (TCP/443), and 'ServerGroup' is a group of destination servers. When a security policy rule references both, the destination port is determined by the service object, not the server group. In Palo Alto Networks firewalls, service objects explicitly define the protocol and port for allowed traffic, so the destination port is 443.
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.
✗
80
Why it's wrong here
Port 80 is not defined in the exhibit.
✓
443
Why this is correct
MyService defines port 443.
Related concept
Read the scenario before looking for a memorised answer.
✗
22
Why it's wrong here
Port 22 is not defined.
✗
8080
Why it's wrong here
Port 8080 is not defined.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often assume the destination port is derived from the server group's common service (e.g., HTTP on port 80) rather than recognizing that the service object explicitly defines the port in the security rule.
Detailed technical explanation
How to think about this question
In Palo Alto Networks firewalls, service objects are stored in the 'Objects > Services' tab and can define TCP/UDP ports, with 'MyService' likely pre-configured as 'service-https' (TCP/443). The 'ServerGroup' object (under 'Objects > Address Groups') aggregates IP addresses or FQDNs but does not influence the port; the security policy rule's 'Service' field overrides any port implied by the application. This separation allows granular control, e.g., blocking HTTP (80) while allowing HTTPS (443) to the same server group.
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.
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: 443 — The correct answer is B (443) because 'MyService' is a custom service object that typically defines HTTPS (TCP/443), and 'ServerGroup' is a group of destination servers. When a security policy rule references both, the destination port is determined by the service object, not the server group. In Palo Alto Networks firewalls, service objects explicitly define the protocol and port for allowed traffic, so the destination port is 443.
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 →
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.
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.
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.
Sign in to join the discussion.