LPIC-2 Network Client Management Practice Question
A Linux workstation must be configured to automatically mount an NFS share from server nfs.example.com:/exports/data at boot time. The share should be mounted with noexec and nosuid options. Which line should be added to /etc/fstab?
⚠ Common exam trap
The trap here is that candidates often forget the _netdev option for network filesystems, assuming that specifying 'nfs' as the filesystem type is sufficient, but without _netdev the mount may fail at boot if the network is not yet ready.
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
✓
nfs.example.com:/exports/data /mnt/data nfs noexec,nosuid,_netdev 0 0
It specifies the NFS filesystem type, includes the required mount options (noexec, nosuid, _netdev), and uses the correct fstab format. The _netdev option is critical for network filesystems to ensure the system waits for network availability before attempting the mount at boot time.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
nfs.example.com:/exports/data /mnt/data nfs noexec,nosuid 0 0
Why it's wrong here
It is missing the required _netdev mount option, which is needed for network filesystems to wait for network availability at boot.
- ✓
nfs.example.com:/exports/data /mnt/data nfs noexec,nosuid,_netdev 0 0
Why this is correct
It specifies the NFS filesystem type, includes the required mount options (noexec, nosuid, _netdev), and uses the correct fstab format.
- ✗
nfs.example.com:/exports/data /mnt/data auto noexec,nosuid,_netdev 0 0
Why it's wrong here
It uses 'auto' as the filesystem type instead of 'nfs'. The 'auto' type may work but is not recommended for NFS mounts, and it does not guarantee the mount waits for the network.
- ✗
nfs.example.com:/exports/data /mnt/data nfs4 noexec,nosuid 0 0
Why it's wrong here
It uses 'nfs4' as the filesystem type and omits the _netdev option. NFS4 mounts can use version 4 but still require _netdev to wait for network initialization.
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.