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

    What is NTP?

    A. A more secure protocol replacement for FTP.

    B. A protocol for synchronizing time on computers.

    C. A routing aid for finding next hops on a network.

    D. A simple tunneling protocol for computers behind firewalls.

  • Question 72:

    Which of the following files holds the configuration for journald when running system?

    A. /etc/system/journalctl.conf

    B. /etc/systemd/journald.conf

    C. /etc/system/systemd-journal.conf

    D. /etc/systemd/systemd-journalctl.conf

    E. /usr/lib/systemd/journalctl.conf

  • Question 73:

    What is the command to delete the default gateway from the system IP routing table? (Choose TWO correct answers.)

    A. route del default

    B. ifconfig unset default

    C. netstat -r default

    D. ip route del default

    E. sysctl ipv4.default_gw=0

  • Question 74:

    What is true regarding the time in a Linux system?

    A. The BIOS clock of a computer always indicates the current local time and time zone.

    B. Each application must convert the Unix time to the current time zone which is usually done by using standard libraries.

    C. When the system is on the network, each query for the current time lead to a new network connection to a time server.

    D. When the system time changes, running processes must be restarted in order to get the correct time.

  • Question 75:

    Which of the following is true regarding the mail queue of a mail server? (choose two correct answers.)

    A. The messages in the queue must be readable by all users as the queue may contain messages for several users.

    B. According to the Filesystem Hierarchy Standard (FHS) the queue is located at /var/mail/spool.

    C. There is exactly one mail queue per user which holds all new messages for that user before they are moved to other folders by the user's mail client.

    D. The queue holds all messages that are processed by the mail server but have not yet been completely delivered.

    E. The content of the mail queue can be queried by the command mailq.

  • Question 76:

    With syslog, what is a facility?

    A. Facilities are different connection interfaces to syslog. Each facility has its own device in /dev/syslog/.

    B. From syslog's point of view, each Unix process that issues messages is a facility.

    C. Facilities describe the severity of a log message such as emerg or info.

    D. When using remote logging, the hostname of the server that generated a message is called facility.

    E. Facilities describe categories or groups of messages such as mail or auth.

  • Question 77:

    Why should an NTP client maintain connections to several NTP servers?

    A. To receive NTP information every second as each server transmits NTP pings every five seconds only.

    B. To improve the precision of the time by comparing responses from several servers.

    C. To not overload the remote server in case the local NTP time cache is not enabled.

    D. To not lose contact with all NTP servers in case the client changes networks.

  • Question 78:

    Which of the following commands pauses the Cups printer LaserPrinter?

    A. cupsreject LaserPrinter

    B. cupsreject -d LaserPrinter

    C. cupsdisable -d LaserPrinter

    D. cupsdisable LaserPrinter

  • Question 79:

    Which file, when using Sendmail or a compatible MTA system, will allow a user to redirect all of their mail to another address and is configurable by the user themselves?

    A. /etc/alias

    B. /etc/mail/forwarders

    C. ~/.alias

    D. ~/.forward

  • Question 80:

    Which command will set the local machine's timezone to UTC?

    A. cat UTC > /etc/timezone

    B. ln -s /usr/share/zoneinfo/UTC /etc/localtime

    C. date --timezone=UTC

    D. mv /usr/timezone/UTC /etc

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.