- A
Create a security policy with a log setting at the end of the rulebase that matches traffic to the group.
Why wrong: A default rule at the end may not catch traffic that is allowed by earlier rules without logging enabled.
- B
Configure a log forwarding profile and apply it to each policy using the group.
Why wrong: This requires manual configuration on each policy, increasing administrative overhead.
- C
Use a policy optimizer to automatically add logging to policies.
Why wrong: Policy optimizer suggests changes but does not automatically enforce logging on all policies using a specific group.
- D
Use the address group in a security policy and enable logging at session end in that policy.
This single policy, when placed appropriately, will log all sessions to the group with minimal overhead.
PCNSA Logging at Session End 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. A key principle to apply: logging at Session End. 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.
A healthcare organization uses Palo Alto Networks firewalls to secure patient data. They have strict compliance requirements to log all access to medical records servers. The servers are grouped in an address group "Medical-Servers". The administrator wants to ensure that any security policy that uses this address group as destination also logs the session end. They also want to reduce administrative overhead. What is the best way to enforce logging for all policies referencing this group?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue:
"best"Why it matters: Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
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
Use the address group in a security policy and enable logging at session end in that policy.
Option D is the best choice because it allows the administrator to create a single security policy that uses the address group 'Medical-Servers' as the destination and enables logging at session end. By placing this policy as the last rule for that traffic, it will log any sessions to the group that are not already handled by previous policies. This reduces administrative overhead compared to modifying each existing policy individually. While this does not enforce logging on existing policies that already match traffic, it ensures that any traffic to the group is logged at least once. Other options have significant drawbacks: Option A would be ineffective if earlier rules match first; Option B requires manual application to each policy, increasing overhead; Option C does not directly enforce logging. Therefore, D is the most efficient approach to meet the compliance requirement.
Key principle: Logging at Session End
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Create a security policy with a log setting at the end of the rulebase that matches traffic to the group.
Why it's wrong here
A default rule at the end may not catch traffic that is allowed by earlier rules without logging enabled.
- ✗
Configure a log forwarding profile and apply it to each policy using the group.
Why it's wrong here
This requires manual configuration on each policy, increasing administrative overhead.
- ✗
Use a policy optimizer to automatically add logging to policies.
Why it's wrong here
Policy optimizer suggests changes but does not automatically enforce logging on all policies using a specific group.
- ✓
Use the address group in a security policy and enable logging at session end in that policy.
Why this is correct
This single policy, when placed appropriately, will log all sessions to the group with minimal overhead.
Clue confirmation
The clue word "best" in the question point toward this answer.
Related concept
Logging at Session End
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates may think a log forwarding profile is required to enable logging, when in fact logging at session end is a per-rule setting, and forwarding profiles only handle log export and filtering.
Detailed technical explanation
How to think about this question
In Palo Alto Networks firewalls, logging at session end is configured per security policy rule under the 'Log at Session End' checkbox. When an address group is used as the destination in a policy, all traffic to any member of that group is subject to the rule's log settings. This approach leverages object grouping to centralize management; if new servers are added to the address group, they automatically inherit the logging behavior without policy changes, which is critical for maintaining compliance in dynamic healthcare environments.
KKey Concepts to Remember
- Logging at Session End
- Address Group
- Rule Placement
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
Logging at Session End
Real-world example
How this comes up in practice
A practitioner preparing for the PCNSA exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Logging at Session End Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.
What to study next
Got this wrong? Here's your next step.
Review logging at Session End, then practise related PCNSA questions on the same topic to reinforce the concept.
- →
Managing Objects — study guide chapter
Learn the concepts, then practise the questions
- →
Managing Objects practice questions
Targeted practice on this topic area only
- →
All PCNSA questions
529 questions across all exam domains
- →
Palo Alto Networks Certified Network Security Administrator PCNSA study guide
Full concept coverage aligned to exam objectives
- →
PCNSA practice test guide
How to use practice tests most effectively before exam day
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.
Managing Objects practice questions
Practise PCNSA questions linked to Managing Objects.
Policy Evaluation and Management practice questions
Practise PCNSA questions linked to Policy Evaluation and Management.
Securing Traffic practice questions
Practise PCNSA questions linked to Securing Traffic.
Core Concepts practice questions
Practise PCNSA questions linked to Core Concepts.
Palo Alto Networks Platforms and Architecture practice questions
Practise PCNSA questions linked to Palo Alto Networks Platforms and Architecture.
Device Management and Services practice questions
Practise PCNSA questions linked to Device Management and Services.
App-ID and Content-ID practice questions
Practise PCNSA questions linked to App-ID and Content-ID.
Decryption and Monitoring practice questions
Practise PCNSA questions linked to Decryption and Monitoring.
PCNSA fundamentals practice questions
Practise PCNSA questions linked to PCNSA fundamentals.
PCNSA scenario practice questions
Practise PCNSA questions linked to PCNSA scenario.
PCNSA troubleshooting practice questions
Practise PCNSA questions linked to PCNSA troubleshooting.
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 — Logging at Session End.
What is the correct answer to this question?
The correct answer is: Use the address group in a security policy and enable logging at session end in that policy. — Option D is the best choice because it allows the administrator to create a single security policy that uses the address group 'Medical-Servers' as the destination and enables logging at session end. By placing this policy as the last rule for that traffic, it will log any sessions to the group that are not already handled by previous policies. This reduces administrative overhead compared to modifying each existing policy individually. While this does not enforce logging on existing policies that already match traffic, it ensures that any traffic to the group is logged at least once. Other options have significant drawbacks: Option A would be ineffective if earlier rules match first; Option B requires manual application to each policy, increasing overhead; Option C does not directly enforce logging. Therefore, D is the most efficient approach to meet the compliance requirement.
What should I do if I get this PCNSA question wrong?
Review logging at Session End, then practise related PCNSA questions on the same topic to reinforce the concept.
Are there clue words in this question I should notice?
Yes — watch for: "best". Signals that multiple options may be partially correct. Choose the option that most directly solves the exact problem described, not the one that sounds most complete.
What is the key concept behind this question?
Logging at Session End
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 →
Keep practising
More PCNSA practice questions
- A security rule is configured with source zone 'Trust', destination zone 'Untrust', source address 'any', destination ad…
- A user at 192.168.1.10 attempts to access a social networking site (application: social-networking). Based on the exhibi…
- Drag and drop the steps to configure a VLAN interface on a Palo Alto Networks firewall into the correct order.
- A network engineer is troubleshooting a drop in traffic from a critical application. The traffic is allowed by the secur…
- A company has a PA-5250 firewall in an active/passive HA pair. During a maintenance window, the administrator upgrades t…
- An organization is deploying a firewall in a high-availability (HA) pair. The administrator wants to ensure that session…
Last reviewed: Jun 25, 2026
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.