LPIC-2 File Sharing and Samba Practice Question
Exhibit
Refer to the exhibit. $ smbstatus Samba version 4.15.2 PID Username Group Machine Protocol Version 12345 alice staff win10-pc (192.168.1.10) SMB3_11 12346 bob users win7-pc (192.168.1.11) SMB2_10 Service pid Machine Connected at share1 12345 win10-pc Tue Mar 14 10:00:00 2023 share2 12346 win7-pc Tue Mar 14 10:05:00 2023 Locked files: Pid Uid DenyMode Access R/W Oplock SharePath Name 12345 1001 DENY_NONE 0x100089 RDONLY NONE /srv/samba/share1 report.pdf 12346 1002 DENY_NONE 0x100089 RDONLY NONE /srv/samba/share2 data.xls
Based on the smbstatus output, which statement is true?
⚠ Common exam trap
Test-takers frequently assume 'DENY_NONE' implies no lock at all, but it actually means a lock is present that denies no access, which is the opposite of an exclusive lock; LPI often tests the distinction between share mode lock types in smbstatus output.
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
✓
User 'alice' connected from IP 192.168.1.10 using SMB3 protocol
The smbstatus output shows that user 'alice' is connected from IP address 192.168.1.10 and the 'Protocol' column explicitly lists 'SMB3_11', which is a variant of the SMB3 protocol. This directly matches the statement in option A that alice is using SMB3 protocol.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
User 'alice' connected from IP 192.168.1.10 using SMB3 protocol
Why this is correct
The machine column shows win10-pc (192.168.1.10) and protocol version SMB3_11.
- ✗
Both users are using SMB2 protocol
Why it's wrong here
Alice uses SMB3_11, Bob uses SMB2_10.
- ✗
User 'bob' is accessing share2 with write permissions
Why it's wrong here
Access shows RDONLY, so read-only.
- ✗
User 'alice' has an exclusive lock on report.pdf
Why it's wrong here
DenyMode is DENY_NONE, so no exclusive lock.
Go deeper
Related to this question
About these practice questions
This LPIC-2 question is part of Courseiva's 507-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-2 practice question is part of Courseiva's free LPI 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 LPIC-2 exam.