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
    :Mar 31, 2025

CompTIA CompTIA Linux+ LX0-102 Questions & Answers

  • Question 91:

    Which crontab entry could be used to set the system time at regular intervals?

    A. 1 0 * * * date $d $t $24

    B. 1 0 * * * ntpdate ntp1.digex.net

    C. 1 0 * * * date ntp1.digex.net

    D. 1 0 * * * runcron date ntp1.digex.net

    E. 1 0 * * * settime $d $t $24

  • Question 92:

    Which of the following commands can be used to convert text files in one character encoding to another character encoding?

    A. cat

    B. convert

    C. dd

    D. iconv

    E. utf2utf

  • Question 93:

    Which of the following characters in the password field of /etc/passwd is used to indicate that the encrypted password is stored in /etc/shadow?

    A. *

    B.

    C. s

    D. x

  • Question 94:

    Which of the following commands can be used to change a user's account aging information? (Select THREE).

    A. usermod

    B. passwd

    C. chattr

    D. chage

    E. chsh

  • Question 95:

    Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?

    A. The encrypted passwords are still subject to brute force attacks.

    B. This is just for historical reasons.

    C. There is other information in the file that needs to be kept secret.

    D. The passwords can be decrypted by anyone with root access.

  • Question 96:

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

    On a dual boot system, every time the system is booted back into Linux the time has been set backward by two hours. Which of the following commands will correct the problem so it will not occur again?

    A. ntpdate pool.ntp.org

    B. date -d 'two hours'

    C. hwclock --hctosys --localtime

    D. time hwclock

  • Question 98:

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

    A. /etc/alias

    B. /etc/mail/forwarders

    C. ~/.alias

    D. ~/.forward

  • Question 99:

    A senior executive asked an administrator to change the default background of the executive machine, which uses XDM. Which of the following filesA senior executive asked an administrator to change the default background of the executive? machine, which uses XDM. Which of the following files would the administrator edit to achieve this?

    A. /etc/X11/xdm/Xsetup

    B. /etc/X11/xdm.conf

    C. /etc/X11/xdm/Defaults

    D. /etc/X11/defaults.conf

  • Question 100:

    Which of the following lines is an example of a correct setting for the DISPLAY environment variable?

    A. hostname:displayname

    B. hostname:displaynumber

    C. hostname/displayname

    D. hostname/displaynumber

    E. hostname

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.