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

    Which of the following commands lists all queued print jobs?

    A. lpd

    B. lpr

    C. lp

    D. lpq

  • Question 82:

    What is true regarding the file ~/.forward?

    A. As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.

    B. After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.

    C. Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.

    D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.

  • Question 83:

    Which of the following commands is used to rotate, compress, and mail system logs?

    A. rotatelog

    B. striplog

    C. syslogd --rotate

    D. logrotate

    E. logger

  • Question 84:

    Which command is used to sync the hardware clock to the system clock? (Specify ONLY the command without any path or parameters.)

    A. hwclock -or- /sbin/hwclock -or- /usr/sbin/hwclock

  • Question 85:

    Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

    A. mailq -or- /usr/bin/mailq -or- sendmail -bp -or- /usr/sbin/sendmail -bp -or- /usr/lib/sendmail -bp -or- sendmail -or- /usr/sbin/sendmail -or- /usr/lib/sendmail

  • Question 86:

    Please specify the top directory containing the configuration files for the CUPS printing system. (Specify the full path to the directory.)

    A. /etc/cups -or- /etc/cups/

  • Question 87:

    Which of the following is a legacy program provided by CUPS for sending files to the printer queues on the command line?

    A. lpd

    B. lpp

    C. lpq

    D. lpr

  • Question 88:

    What entry can be added to the syslog.conf file to have all syslog messages generated by a system displayed on console 12?

    A. *.* /dev/tty12

    B. /var/log/messages | /dev/tty12

    C. | /dev/tty12

    D. syslog tty12

    E. mail.* /dev/tty12

  • Question 89:

    What is true about the ntpdate command?

    A. It is the primary management command for the NTP time server.

    B. It updates the local system's date (i.e. day, month and year) but not the time (i.e. hours, minutes, seconds).

    C. It queries one or more NTP time servers and adjusts the system time accordingly.

    D. It sends the local system time to one or many remote NTP time servers for redistribution.

    E. It can be used by any user to set the user clock independently of the system clock.

  • Question 90:

    Which of the following parameters are used for journalctl to limit the time frame of the output? (Choose TWO correct answers.)

    A. --from=

    B. --since=

    C. --until=

    D. --upto=

    E. --date=

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.