Exam Details

  • Exam Code
    :LFCS
  • Exam Name
    :Linux Foundation Certified System Administrator (LFCS)
  • Certification
    :Linux Foundation Certifications
  • Vendor
    :Linux Foundation
  • Total Questions
    :260 Q&As
  • Last Updated
    :Mar 25, 2025

Linux Foundation Linux Foundation Certifications LFCS Questions & Answers

  • Question 191:

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

    A. hostname

  • Question 192:

    What is the difference between the commands test -e path and test -f path?

    A. They are equivalent options with the same behaviour.

    B. The -f option tests for a regular file. The -e option tests for an empty file.

    C. Both options check the existence of the path. The -f option also confirms that it is a regular file.

    D. The -f option tests for a regular file. The -e option tests for an executable file.

  • Question 193:

    Which commands can be used to change a user's account aging information? (Choose THREE correct answers.)

    A. usermod

    B. passwd

    C. chattr

    D. chage

    E. chsh

  • Question 194:

    In case neither cron.allow nor cron.deny exist in /etc/, which of the following is true?

    A. Without additional configuration, no users may have user specific crontabs.

    B. Without additional configuration, all users may have user specific crontabs.

    C. The cron daemon will refuse to start and report missing files in the system's logfile.

    D. When a user creates a user specific crontab the system administrator must approve it explicitly.

  • Question 195:

    Where are user specific crontabs stored?

    A. In the database file /etc/crontab.db which is shared by all users.

    B. As individual per-user files within /var/spool/cron.

    C. As individual per-user files in /etc/cron.user.d.

    D. In the .crontab file in the user's home directory.

    E. In the file /var/cron/user-crontab which is shared by all users.

  • Question 196:

    Which of the following fields can be found in the /etc/group file? (Choose THREE correct answers.)

    A. The list of users that belong to the group.

    B. The home directory of the group.

    C. The name of the group.

    D. The description of the group.

    E. The password of the group.

  • Question 197:

    Regarding the command:

    nice -5 /usr/bin/prog

    Which of the following statements is correct?

    A. /usr/bin/prog is executed with a nice level of -5.

    B. /usr/bin/prog is executed with a nice level of 5.

    C. /usr/bin/prog is executed with a priority of -5.

    D. /usr/bin/prog is executed with a priority of 5.

  • Question 198:

    A user accidentally created the subdirectory \dir in his home directory. Which of the following commands will remove that directory?

    A. rmdir '~/\dir'

    B. rmdir "~/\dir"

    C. rmdir ~/'dir'

    D. rmdir ~/\dir

    E. rmdir ~/\\dir

  • Question 199:

    Which shell command is used to continue background execution of a suspended command?

    A. and

    B. bg

    C. cont

    D. exec

    E. :and

  • Question 200:

    In a nested directory structure, which find command line option would be used to restrict the command to searching down a particular number of subdirectories?

    A. -dirmax

    B. -maxdepth

    C. -maxlevels

    D. -n

    E. -s

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Linux Foundation exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LFCS exam preparations and Linux Foundation certification application, do not hesitate to visit our Vcedump.com to find your solutions here.