LPIC-2 File Sharing and Samba Practice Question
Which THREE of the following parameters can improve Samba file transfer performance under heavy load?
⚠ Common exam trap
It's easy for candidates to confuse 'oplocks' or 'strict allocate' as performance boosters for raw throughput, when in fact they serve different purposes (caching and space allocation) and can even degrade performance under heavy load.
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
✓
write raw = Yes
Enabling 'write raw = Yes' allows Samba to use the raw write SMB protocol, which sends larger write requests without waiting for intermediate acknowledgments, reducing protocol overhead and improving throughput under heavy load. This setting is particularly effective when combined with other performance tuning parameters.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
strict allocate = Yes
Why it's wrong here
Strict allocate ensures space preallocation but may slow writes.
- ✗
oplocks = Yes
Why it's wrong here
Oplocks improve performance but can cause caching issues; not always a direct performance tuner.
- ✓
write raw = Yes
Why this is correct
Enables large write requests for improved throughput.
- ✓
socket options = TCP_NODELAY IPTOS_LOWDELAY
Why this is correct
Tuning socket options reduces latency.
- ✓
read raw = Yes
Why this is correct
Enables large read requests for improved throughput.
Go deeper
Related to this question
About these practice questions
One of 507 original LPIC-2 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.