NFS Server Setup and Configuration Quiz
9 Questions
1 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

Which command is used to start the NFS service on the server machine?

  • sudo systemctl start nfs-server
  • sudo systemctl restart nfs
  • sudo systemctl enable nfs
  • sudo systemctl start nfs (correct)

What file contains the directories and permissions that a host is willing to share with other systems over NFS?

  • /etc/share
  • /etc/exports (correct)
  • /etc/permissions
  • /etc/nfs

What does the following entry in the /etc/exports file allow? '/projects *.example.com(rw)'

  • Read-only access to the /projects directory for all hosts in the example.com domain
  • Read and write access to the /projects directory for a specific host in the example.com domain
  • Read and write access to the /projects directory for all hosts in the example.com domain (correct)
  • Read-only access to the /projects directory for a specific host in the example.com domain

What command can be used to notify Linux about the directories you are allowing to be remotely mounted using NFS after modifying the /etc/exports file?

<p>exportfs -av (B)</p> Signup and view all the answers

Which command is used to restart the NFS service on the server machine?

<p>sudo systemctl restart nfs (B)</p> Signup and view all the answers

Which command is used to enable the NFS service to start whenever the system is booted?

<p>sudo systemctl enable nfs (B)</p> Signup and view all the answers

How many possible permissions does every file in Linux have?

<p>3 (A)</p> Signup and view all the answers

What is the name of the service on some systems, such as RHEL/CentOS, and Fedora, that is used for NFS?

<p>nfs-server (A)</p> Signup and view all the answers

What does the command 'sudo systemctl start nfs' do?

<p>Starts the NFS service on the server machine (D)</p> Signup and view all the answers

More Like This

Use Quizgecko on...
Browser
Browser