The answer is to change the group type from 'local' to 'ldap'. This is correct because a local user group on a Palo Alto Networks firewall enforces a strict membership source: when set to 'local', the firewall expects all members to be defined in its own local user database, not from an external directory. If the users are actually sourced from an LDAP server, the group type must be set to 'ldap' so the firewall queries the directory for membership resolution; otherwise, only locally defined users like asmith will match, while LDAP-sourced users are ignored. On the PCNSE exam, this tests your understanding of how authentication and group mapping interact with security policy enforcement—a common trap is assuming a local group can contain any user regardless of source. Remember the mnemonic: "Local means local; LDAP means look up."
PCNSE Practice Question: Securing Users and Applications with Authentication
This PCNSE practice question tests your understanding of securing users and applications with authentication. The scenario asks you to isolate a root cause — eliminate options that address a different problem before choosing. 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.
admin@PA-220> show user group name Engineering
group-id: 123
domain: corp.local
group name: Engineering
type: local (membership determined by s AM L)
user list:
jdoe
asmith
total users: 2
admin@PA-220> show user group name Engineering detail
Group: Engineering
User: jdoe (source: LDAP)
User: asmith (source: LDAP)
admin@PA-220> show user group name Engineering config
group {
name "Engineering";
id 123;
type local;
user {
jdoe;
asmith;
}
}
admin@PA-220> show user group name Engineering statistics
Total members: 2
LDAP members: 2
Local members: 0
Cloud Identity Engine members: 0
Refer to the exhibit. A firewall administrator created a local user group named 'Engineering' and added two users. However, when applying a security policy that uses this group as the source user, only one user (asmith) is matched correctly. What is the most likely cause of this issue?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Refer to the exhibit.
admin@PA-220> show user group name Engineering
group-id: 123
domain: corp.local
group name: Engineering
type: local (membership determined by s AM L)
user list:
jdoe
asmith
total users: 2
admin@PA-220> show user group name Engineering detail
Group: Engineering
User: jdoe (source: LDAP)
User: asmith (source: LDAP)
admin@PA-220> show user group name Engineering config
group {
name "Engineering";
id 123;
type local;
user {
jdoe;
asmith;
}
}
admin@PA-220> show user group name Engineering statistics
Total members: 2
LDAP members: 2
Local members: 0
Cloud Identity Engine members: 0
A
The group should be configured as 'local' and the users should be added manually via CLI.
Why wrong: Incorrect: The users are already added manually, but the group type is still 'local'. This does not resolve the issue.
B
The user-id agent timeout is too short; increase the timeout value.
Why wrong: Not relevant: User-id timeout does not affect group membership resolution.
C
The group type is set to 'local' but the users are sourced from LDAP; change the group type to 'ldap'.
Correct: The group type should match the source of the users. Local groups expect locally defined users; LDAP-sourced users require the group type to be 'ldap'.
D
The group must be imported from LDAP as a dynamic group.
Why wrong: Incorrect: The group is already local; importing as dynamic would require changing the configuration but the issue is the group type.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The group type is set to 'local' but the users are sourced from LDAP; change the group type to 'ldap'.
When a local user group is created on the firewall, the group type must match the source of its members. If the group type is set to 'local', the firewall expects the users to be defined locally on the firewall itself. However, if the users are actually sourced from an external LDAP directory, the group type must be changed to 'ldap' so that the firewall queries the LDAP server for group membership. The mismatch causes the firewall to fail to resolve the LDAP users as members of the local group, resulting in only locally defined users (like asmith) being matched correctly.
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.
✗
The group should be configured as 'local' and the users should be added manually via CLI.
Why it's wrong here
Incorrect: The users are already added manually, but the group type is still 'local'. This does not resolve the issue.
✗
The user-id agent timeout is too short; increase the timeout value.
Why it's wrong here
Not relevant: User-id timeout does not affect group membership resolution.
✓
The group type is set to 'local' but the users are sourced from LDAP; change the group type to 'ldap'.
Why this is correct
Correct: The group type should match the source of the users. Local groups expect locally defined users; LDAP-sourced users require the group type to be 'ldap'.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The group must be imported from LDAP as a dynamic group.
Why it's wrong here
Incorrect: The group is already local; importing as dynamic would require changing the configuration but the issue is the group type.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates assume adding LDAP usernames to a local group will work because the usernames are known, but they overlook that the group type must match the authentication source for the firewall to correctly resolve group membership.
Detailed technical explanation
How to think about this question
Under the hood, the firewall uses the User-ID agent to map IP addresses to usernames via LDAP, but group membership resolution depends on the group type setting. A 'local' group stores member lists in the firewall's local database, while an 'ldap' group triggers an LDAP search (e.g., using the memberOf attribute or group membership filter) to dynamically resolve members. In a real-world scenario, if an administrator creates a local group but adds LDAP users by username, the firewall will not query LDAP for those users' group memberships, causing policy mismatches for all users except those also defined locally.
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 practitioner preparing for the PCNSE 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. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. 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.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Securing Users and Applications with Authentication — This question tests Securing Users and Applications with Authentication — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The group type is set to 'local' but the users are sourced from LDAP; change the group type to 'ldap'. — When a local user group is created on the firewall, the group type must match the source of its members. If the group type is set to 'local', the firewall expects the users to be defined locally on the firewall itself. However, if the users are actually sourced from an external LDAP directory, the group type must be changed to 'ldap' so that the firewall queries the LDAP server for group membership. The mismatch causes the firewall to fail to resolve the LDAP users as members of the local group, resulting in only locally defined users (like asmith) being matched correctly.
What should I do if I get this PCNSE 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: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 PCNSE 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 PCNSE 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.