Exam Details

  • Exam Code
    :LX0-104
  • Exam Name
    :CompTIA Linux+ [Powered by LPI] 2
  • Certification
    :CompTIA Certifications
  • Vendor
    :CompTIA
  • Total Questions
    :178 Q&As
  • Last Updated
    :Mar 24, 2025

CompTIA CompTIA Certifications LX0-104 Questions & Answers

  • Question 111:

    Which command is used to add an empty group to the system? (Specify ONLY the command without any path or parameters.)

    A. groupadd -or- /usr/sbin/groupadd

  • Question 112:

    What is NOT contained in the locale setting of the operating system?

    A. currency symbol

    B. language

    C. timezone

    D. thousands separator

  • Question 113:

    What is true about the file /etc/localtime?

    A. It is a plain text file containing a string such as Europe/Berlin.

    B. It is created and maintained by the NTP service based on the geolocation of the system's IP address.

    C. It is a symlink to /sys/device/clock/ltime and always contains the current local time.

    D. It is either a symlink to or a copy of a timezone information file such as /usr/share/zoneinfo/Europe/Berlin.

  • Question 114:

    What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

    A. The user bob is removed from the system's user database.

    B. The user bob's home directory is removed.

    C. The locate database is updated to drop files owned by bob.

    D. All files owned by bob are remove from all mounted filesystems.

    E. In case bob was the last member of a group, that group is deleted.

  • Question 115:

    Which of the following crontab entries will execute myscript at 30 minutes past every hour on Sundays?

    A. 0 * * * 30 myscript

    B. 30 * * * 6 myscript

    C. 30 0 * * 0 myscript

    D. 30 0-23 * * 0 myscript

    E. 0 0-23 * * 30 myscript

  • Question 116:

    Which of the following files assigns a user to its primary group?

    A. /etc/pgroup

    B. /etc/shadow

    C. /etc/group

    D. /etc/passwd

    E. /etc/gshadow

  • Question 117:

    Which of the following commands should be added to /etc/bash_profile in order to change the language of messages for an internationalized program to Portuguese (pt)?

    A. export LANGUAGE="pt"

    B. export MESSAGE="pt"

    C. export UI_MESSAGES="pt"

    D. export LC_MESSAGES="pt"

    E. export ALL_MESSAGES="pt"

  • Question 118:

    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 119:

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

    A. grouprm

    B. groupmod

    C. passwd

    D. usergroups

    E. usermod

  • Question 120:

    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.

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 CompTIA exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your LX0-104 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.