Question 387 of 529
Managing ObjectsmediumMultiple ChoiceObjective-mapped

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.

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 — 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 →

How Courseiva writes practice questions · Editorial policy

Keep practising

More PCNSA practice questions

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.