LPIC-2 Exam 202 (Linux Engineer) — Question 111

Which command is used to configure which file systems a NFS server makes available to clients?

Answer options

Correct answer: A

Explanation

The correct answer is 'exportfs', as it is specifically designed to indicate which file systems are available for sharing by the NFS server. The other options, such as 'mkfs.nfs', are used for creating NFS file systems, 'mount' is for attaching file systems, 'nfsservct1' is not a standard command, and 'telinit' is related to changing runlevels in Unix-like systems.