LPIC-2 File Sharing and Samba Practice Question
Which TWO global parameters can be used to control the security mode of a Samba server?
⚠ Common exam trap
Test-takers frequently confuse `map to guest` as a non-security parameter, but it directly alters the security posture by controlling guest fallback, making it a valid global security mode control alongside `security`.
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
✓
security
The `security` parameter is the primary global setting that defines the Samba server's security mode (e.g., user, domain, ads, server). The `map to guest` parameter controls how Samba handles authentication failures by optionally mapping invalid users to the guest account, effectively modifying the security behavior. Both are global parameters that directly influence the security mode of the Samba server.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
security
Why this is correct
Sets the security mode (user, ads, etc.).
- ✓
map to guest
Why this is correct
Controls guest access behavior.
- ✗
netbios name
Why it's wrong here
NetBIOS name is for identification, not security.
- ✗
workgroup
Why it's wrong here
Workgroup is for NetBIOS, not security mode.
- ✗
server string
Why it's wrong here
Server string is a description, not security.
Go deeper
Related to this question
About these practice questions
Courseiva writes every LPIC-2 question from scratch — 507 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or 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.