- 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.
Quick Answer
The answer is to use the address group in a single security policy and enable logging at session end within that policy. This is correct because Palo Alto Networks firewalls apply logging settings per security policy rule, not per address group object; by consolidating all medical record server traffic under one policy that references the "Medical-Servers" address group as the destination, you ensure every session matching that rule is logged at its termination, satisfying compliance without editing multiple rules. On the PCNSA exam, this tests your understanding of policy-based logging versus object-based enforcement—a common trap is assuming you can set logging on the address group itself, which is not supported. The key insight is that logging is a policy attribute, so you reduce administrative overhead by centralizing traffic into one rule. Memory tip: think "one policy, one log setting"—if you want all traffic to a group logged, put that group in a single policy and flip the session end log switch there.
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.
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 correct because it allows the administrator to enable logging at session end directly on a single security policy that uses the address group 'Medical-Servers' as the destination. This ensures all traffic matching that policy is logged without needing to modify multiple policies, reducing administrative overhead while meeting compliance requirements.
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.
- ✗
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
Read the scenario before looking for a memorised answer.
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
- 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 — study guide chapter
Learn the concepts, then practise the questions
- →
Managing Objects practice questions
Targeted practice on this topic area only
- →
All PCNSA questions
524 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 — Read the scenario before looking for a memorised answer..
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 correct because it allows the administrator to enable logging at session end directly on a single security policy that uses the address group 'Medical-Servers' as the destination. This ensures all traffic matching that policy is logged without needing to modify multiple policies, reducing administrative overhead while meeting compliance requirements.
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.
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?
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 →
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.