SCA_SLES15 practice question 4 of 15
You have just added a new directory to be exported via NFS. what command should you run next to make that directory available?
Full set: 69 questionsAfter modifying the /etc/exports file to add a new directory, the NFS server must be notified of the change. The systemctl restart nfsserver.service command accomplishes this by stopping and restarting the entire NFS server suite, forcing it to re-read its configuration files, including /etc/exports. While systemctl reload nfsserver.service or exportfs -r are less disruptive alternatives, restarting the service is a valid and effective method provided as an option.
A: rpc.mountd is only one component of the NFS server; restarting it alone is insufficient to apply new export definitions. B: Directly invoking the nfsd daemon bypasses the systemd service management framework, which is the standard in SLES 15. C: /etc/init.d/ scripts are for the legacy SysVinit system, not the systemd init system used in SLES 15. E: systmd is a typo for systemd, and nfsserver.target is not the correct service unit to manage NFS exports.
SUSE Linux Enterprise Server 15 SP4 Administration Guide, Section 19.4, "Configuring an NFS Server". Step 5 explicitly states: "Restart the NFS server: systemctl restart nfsserver".
Keep practicing
Take the free SCA_SLES15 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other SCA_SLES15 practice questions
- Question 1Which option for zypper will list the available patches?
- Question 2Which Vim command will save the current file without exiting?
- Question 3Which file should be edited to make sure a file system is mounted each time a system boot…
- Question 5If you have a service named tftp, which command and options would enable tftp to start au…
- Question 6Which statements about log file rotation are true? (Choose two)
- Question 7By default, what does the VNC Client and the VNC server daemon use for secure communicati…
