This LFCS practice question tests your understanding of user and group management. 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.
```
$ groups alice
alice : alice project
$ id bob
uid=1002(bob) gid=1002(bob) groups=1002(bob),1003(project)
$ ls -ld /data/project
drwxrws--- 2 root project 4096 Apr 12 10:00 /data/project
```
Refer to the exhibit. User alice attempts to create a file in /data/project but receives 'Permission denied'. User bob can create files successfully. What is the most likely reason?
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.
```
$ groups alice
alice : alice project
$ id bob
uid=1002(bob) gid=1002(bob) groups=1002(bob),1003(project)
$ ls -ld /data/project
drwxrws--- 2 root project 4096 Apr 12 10:00 /data/project
```
A
The directory's SGID bit requires primary group membership for write access.
Why wrong: SGID does not restrict write to primary group; all group members can write.
B
Alice is not a member of the project group.
Why wrong: The groups command shows she is a member.
C
The directory has an ACL that denies write to user alice.
Why wrong: No ACL is shown; the directory has standard permissions.
D
Alice needs to run 'newgrp project' or log out and back in for her group membership to take effect.
Group membership changes apply only to new sessions.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Alice needs to run 'newgrp project' or log out and back in for her group membership to take effect.
Option C is correct. Although alice is a member of the project group, she was likely added after her current login session started; her supplementary groups are not updated until she logs out and back in or runs newgrp. Option A is false because groups shows she is in project. Option B is false because SGID does not affect write permission for project members. Option D is speculative and not indicated.
Key principle: ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
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 directory's SGID bit requires primary group membership for write access.
Why it's wrong here
SGID does not restrict write to primary group; all group members can write.
✗
Alice is not a member of the project group.
Why it's wrong here
The groups command shows she is a member.
✗
The directory has an ACL that denies write to user alice.
Why it's wrong here
No ACL is shown; the directory has standard permissions.
✓
Alice needs to run 'newgrp project' or log out and back in for her group membership to take effect.
Why this is correct
Group membership changes apply only to new sessions.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Standard ACLs match source addresses.
Common exam traps
Common exam trap: ACLs stop at the first match
ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.
Trap categories for this question
Command / output trap
The groups command shows she is a member.
Detailed technical explanation
How to think about this question
ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.
KKey Concepts to Remember
Standard ACLs match source addresses.
Extended ACLs can match source, destination, protocol and ports.
The first matching ACL entry is used.
There is usually an implicit deny at the end.
TExam Day Tips
→Check inbound versus outbound direction.
→Read the ACL from top to bottom.
→Look for a broader permit or deny above the intended line.
Key takeaway
ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.
Real-world example
How this comes up in practice
A security administrator must allow nursing staff to reach a patient records server while blocking access from the guest Wi-Fi VLAN. After applying an extended ACL, traffic is still blocked from nursing workstations. The ACL was applied outbound instead of inbound on the wrong interface. Questions like this test ACL direction and placement rules.
What to study next
Got this wrong? Here's your next step.
Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related LFCS ACL questions on filtering logic and placement.
User and Group Management — This question tests User and Group Management — Standard ACLs match source addresses..
What is the correct answer to this question?
The correct answer is: Alice needs to run 'newgrp project' or log out and back in for her group membership to take effect. — Option C is correct. Although alice is a member of the project group, she was likely added after her current login session started; her supplementary groups are not updated until she logs out and back in or runs newgrp. Option A is false because groups shows she is in project. Option B is false because SGID does not affect write permission for project members. Option D is speculative and not indicated.
What should I do if I get this LFCS question wrong?
Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related LFCS ACL questions on filtering logic and placement.
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?
Standard ACLs match source addresses.
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 LFCS practice question is part of Courseiva's free Linux Foundation 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 LFCS 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.