Question 4 of 507
LPIC-2 Network Client Management Practice Question
An administrator needs to mount an NFSv4 export from server:/exports/data onto /mnt/data on a client. The requirement is to use Kerberos security, a hard mount, and ensure that the NFS server does not squash root's privileges. Which line in /etc/fstab correctly implements these requirements?
⚠ Common exam trap
The trap here is that candidates mistakenly include no_root_squash as a client-side mount option in /etc/fstab, confusing it with a server-side export option, or they choose a soft mount instead of hard.
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
✓
server:/exports/data /mnt/data nfs4 defaults,sec=krb5,hard 0 0
It specifies NFSv4 with Kerberos security (sec=krb5) and a hard mount, which meets the requirements. The no_root_squash option is not a valid mount option in /etc/fstab for the client side; it is an export option set on the NFS server in /etc/exports. Thus, D correctly omits it, as the client cannot enforce root squashing behavior.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
server:/exports/data /mnt/data nfs4 defaults,sec=none,hard,no_root_squash 0 0
Why it's wrong here
sec=none disables Kerberos, and no_root_squash is not a client option.
- ✗
server:/exports/data /mnt/data nfs4 defaults,sec=krb5,soft 0 0
Why it's wrong here
soft mount does not meet the hard mount requirement.
- ✗
server:/exports/data /mnt/data nfs4 defaults,sec=krb5,hard,no_root_squash 0 0
Why it's wrong here
no_root_squash is a server-side export option, not a client mount option.
- ✓
server:/exports/data /mnt/data nfs4 defaults,sec=krb5,hard 0 0
Why this is correct
Correctly uses sec=krb5 and hard; no_root_squash is configured on the server.
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 →
Last reviewed: Jun 25, 2026
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.
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.