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

    After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print.

    What command can be used to display the status of the printer's queue? (Specify ONLY the command without any path or parameters.)

    A. lpq -or- /usr/bin/lpq -or- lpstat -or- /usr/bin/lpstat

  • Question 102:

    Which of the following details can be found in an entry of a user specific crontab? (Choose two correct answers.)

    A. The verbal description of the job.

    B. The syslog facility to where the output of the job should be sent.

    C. The time when the cron job should run.

    D. The command that should be started by the cron job.

    E. The name of the user which should run the job.

  • Question 103:

    Which of the following commands will convert files from one character encoding to another?

    A. convert

    B. enc2utf

    C. iconv

    D. transcode

  • Question 104:

    Which environment variable will override all LC_* variables?

    A. LANG

    B. LC_ALL

    C. LC_COLLATE

    D. LOCALE

  • Question 105:

    What is true about UIDs and GIDs?

    A. UIDs and GIDs share a common number space. Each time a new user or group is created, the next free ID is assigned.

    B. The first four digits of each UID are the GID of the primary group of that user.

    C. The GID of a group is always the sum of the UIDs of its members.

    D. The number space is split up. UIDs usually reside in the range from 0 to 32767 while GIDs reside in the range from 32768 to 65535.

    E. There are distinct number spaces for UIDs and GIDs, i.e. the same number may be used as both UID and a GID.

  • Question 106:

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

    What is true about groups in a Linux system? (Choose two correct answers.)

    A. Each user may be a member of several groups. However, only one group is the user's primary group.

    B. Groups may have a password that allows users to join that group temporarily.

    C. Each user can only be a member of one group at a time.

    D. Group memberships are optional such that there may be users that do not belong to any group.

    E. Groups can be nested meaning that one group can be a member of another group.

  • Question 108:

    Why should a regular user edit his personal crontab by using the command crontab instead of just editing his crontab file manually?

    A. Because user specific crontab entries are stored in a common database and must be extracted before editing.

    B. Because crontab starts the cron daemon in case it is not running due to no other crontab entries existing.

    C. Because user specific crontab entries are stored in a special directory which is maintained by the cron daemon and not writable for regular users.

    D. Because crontab collects information about all users crontabs and recommends similar commands used by other users of the system.

  • Question 109:

    In which file, if present, must all users be listed that are allowed to use the cron scheduling system? (Specify the full name of the file, including path.)

    A. /etc/cron.allow

  • Question 110:

    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

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.