LX0-102 Exam Details

  • Exam Code
    :LX0-102
  • Exam Name
    :CompTIA Linux+ [Powered by LPI] Exam 2
  • Certification
    :CompTIA Linux+
  • Vendor
    :CompTIA
  • Total Questions
    :177 Q&As
  • Last Updated
    :Jul 09, 2026

CompTIA LX0-102 Online Questions & Answers

  • Question 1:

    An administrator can run the ________ command to see active network and UNIX domain socket connections. (Please specify the command with no options or parameters).

  • Question 2:

    Why is the xhost program considered dangerous to use?

    A. It makes it difficult to uniquely identify a computer on the network.
    B. It allows easy access to your X server by other users.
    C. It logs sensitive information to syslog.
    D. It makes your computer share network resources without any authentication.
    E. It is a graphical DNS tool with known exploits.

  • Question 3:

    Which of the following commands can an administrator use to change a user's password expiry information? (Select THREE).

    A. usermod
    B. passwd
    C. chattr
    D. chage
    E. chsh

  • Question 4:

    Which of the following Class B IPv4 networks are reserved by IANA for private address assignment and private routing? (Select TWO).

    A. 128.0.0.0
    B. 169.16.0.0
    C. 169.254.0.0
    D. 172.16.0.0
    E. 172.20.0.0

  • Question 5:

    When attempting to send a file to another user securely with GPG, which of the following actions must be done?

    A. Encrypt the file using your public key.
    B. Encrypt the file using their public key.
    C. Encrypt the file using your private key.
    D. Encrypt the file using their private key.
    E. Sign the file with your public key.

  • Question 6:

    Which of the following statements is true regarding the below /etc/resolv.conf file? search example.com 127.0.0.1 208.77.188.166

    A. There is a syntax error.
    B. If DNS queries to the localhost fail, the server 208.77.188.166 will be queried.
    C. example.com will be appended to all host lookups.
    D. The DNS servers at 127.0.0.1 and 208.77.188.166 will be queried in a round robin fashion.
    E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.

  • Question 7:

    Which file lists which users can execute commands using sudo? (Provide the full path and filename).

  • Question 8:

    Which of the following lines would an administrator find in the file /etc/resolv.conf?

    A. order hosts,bind
    B. 192.168.168.4 dns-server
    C. hosts: files,dns
    D. domain mycompany.com

  • Question 9:

    Which of the following commands should be used to print a listing of emails in the system's mail queue?

    A. sendmail -l
    B. lpq
    C. mailq
    D. mlq

  • Question 10:

    In the following command and its output, echo $$ 12942 which of the following is 12942?

    A. The process ID of the echo command.
    B. The process ID of the current shell.
    C. The process ID of the last command executed.
    D. The process ID of the last backgrounded command.

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-102 exam preparations and CompTIA certification application, do not hesitate to visit our Vcedump.com to find your solutions here.