Free LFCS Exam Braindumps
Linux Foundation Certified System Administrator Questions 61–65 (page: 14)

Updated On: 10-Feb-2026

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

  1. dd if=/dev/zero of=/dev/sda bs=512
  2. dd if=/dev/zero of=/dev/sdabs=512 count=1
  3. dd if=/dev/zero of=/dev/sda bs=440 count=1
  4. dd if=/dev/zero of=/dev/sda bs=440

Answer(s): C



CORRECT TEXT

Which command is used to set the hostname of the local system? (Specify ONLY the command without any path or parameters.)

  1. hostname

Answer(s): A



Which RPM command will output the name of the package which supplied the file /etc/exports?

  1. rpm -F /etc/exports
  2. rpm -qf /etc/exports
  3. rpm -Kl /etc/exports
  4. rpm -qp /etc/exports
  5. rpm -qi /etc/exports

Answer(s): B



Which of the following commands can remove a user from a group?

  1. grouprm
  2. groupmod
  3. passwd
  4. usergroups
  5. usermod

Answer(s): E



Which of the following steps prevents a user from obtaining an interactive login session?

  1. Run the command chsh -s /bin/false with the user name.
  2. Set the UID for the user to 0.
  3. Remove the user from the group staff.
  4. Add the user to /etc/noaccess.
  5. Create a .nologin file in the user's home directory.

Answer(s): A



Viewing page 14 of 53
Viewing questions 66 - 70 out of 260 questions


Post your Comments and Discuss Linux Foundation LFCS exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!