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

    Which of the following entries can an administrator add to syslog.conf file to have all syslog messages generated by the administrator system go file to have all syslog messages generated by the administrator? system go to virtual console 12?

    A. *.* /dev/tty12
    B. /var/log/messages | /dev/tty12
    C. | /dev/tty12
    D. syslog tty12
    E. mail.* /dev/tty12

  • Question 132:

    What command can be used to generate syslog entries of any facility and priority? (supply just the command name without a path).

  • Question 133:

    When using ssh, which of the following can an administrator do to recover a lost passphrase for a DSA or RSA authentication key?

    A. Run the ssh-keygen command.
    B. Run the ssh --recover command.
    C. A lost passphrase cannot be recovered.
    D. Decrypt the authentication key with gpg.
    E. Decrypt the authentication key with ssh --decrypt.

  • Question 134:

    An administrator needs to sync the hardware clock with their system clock. In order to accomplish this, complete the following command:

    ________ -u --systohc

  • Question 135:

    Of the ways listed, which is the best method to temporarily suspend a user's ability to interactively login?

    A. Use passwd -d username to give the user an empty password.
    B. Use chage to expire the user account.
    C. Change the user's password.
    D. Add the command exit to the user's .login file.

  • Question 136:

    An administrator is logged in as root. What command should the administrator run to find out what groups user bruno belongs to?

  • Question 137:

    Which of the following statements is true regarding the following /etc/resolv.conf file?

    search example.com nameserver 208.77.188.166 nameserver 208.77.188.167

    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. example.com will be appended to host names when they do not contain dots.
    E. The DNS server with the shortest ping time will be queried first. If the lookup fails, the second server will be queried.

  • Question 138:

    Which of the following commands can deconfigure a network interface?

    A. ipdown
    B. net
    C. ifconfig
    D. netdown

  • Question 139:

    The xinetd service will be used instead of inetd. In order to create a similar configuration as inetd, what main file must be created or edited for xinetd? (Please specify the full path)

  • Question 140:

    Which of the following commands would an administrator use to create an OpenSSH authentication key?

    A. sshd
    B. ssh-agent
    C. ssh-keygen
    D. ssh-add

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.