LPIC-2 File Sharing and Samba Practice Question
A Samba server is configured with 'vfs objects = recycle' to implement a recycle bin. After some time, users notice that deleted files are not appearing in the recycle bin. Which parameter is likely misconfigured?
⚠ Common exam trap
Test-takers frequently confuse the purpose of `recycle:maxsize` or `recycle:versions` with the core requirement of defining the repository path, leading them to overlook the mandatory `recycle:repository` parameter.
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
✓
recycle:repository
The `vfs objects = recycle` module requires the `recycle:repository` parameter to specify the directory where deleted files should be moved. If this parameter is missing or misconfigured, the recycle bin will not function, and deleted files will be permanently removed instead of being stored in the recycle repository.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
recycle:maxsize
Why it's wrong here
Incorrect; this sets maximum file size to recycle, but if set to 0, no limit.
- ✗
recycle:keeptree
Why it's wrong here
Incorrect; this controls directory structure, not whether files appear.
- ✓
recycle:repository
Why this is correct
Correct; if the repository path is invalid or missing, files are not moved.
- ✗
recycle:versions
Why it's wrong here
Incorrect; this enables versioning, not the appearance of files.
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.