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

    Which of the following commands should be added to /etc/bash_profile to change the language of messages from an internationalised program to Portuguese (pt)? (Select TWO).

    A. export LANGUAGE="pt"
    B. export MESSAGE="pt"
    C. export LANG="pt"
    D. export LC_MESSAGES="pt"
    E. export ALL_MESSAGES="pt"

  • Question 162:

    On a system running the K Display Manager, when is the /etc/kde4/kdm/Xreset script automatically executed?

    A. When KDM starts
    B. When a user's X session exists
    C. When KDM crashes
    D. When X is restarted
    E. When X crashes

  • Question 163:

    For accessibility assistance, which of the following programs is an on-screen keyboard?

    A. xkb
    B. atkb
    C. GOK
    D. xOSK

  • Question 164:

    Suppose that the command netstat -a hangs for a long time without producing output. An administrator might suspect:

    A. A problem with NFS
    B. A problem with DNS
    C. A problem with NIS
    D. A problem with routing
    E. That the netstat daemon has crashed

  • Question 165:

    Given the following line from /etc/nsswitch.conf: hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4 By default, which file will be queried first for hostname lookups? (Provide the full path and filename).

  • Question 166:

    Which of the following find commands will print out a list of suid root files in /usr?

    A. find /usr -uid 0 -perm +4000
    B. find -user root +mode +s /usr
    C. find -type suid -username root -d /usr
    D. find /usr -ls \*s\* -u root
    E. find /usr -suid -perm +4000

  • Question 167:

    To test a shell script called myscript, the environment variable FOOBAR must be removed temporarily. How can this be done?

    A. unset -v FOOBAR
    B. set -a FOOBAR=""
    C. env -u FOOBAR myscript
    D. env -i FOOBAR myscript

  • Question 168:

    All of the following are Mail Transport Agents EXCEPT:

    A. exim
    B. postfix
    C. sendmail
    D. qmail
    E. mail

  • Question 169:

    Which protocol uses two (2) TCP/IP ports one of them being port 20 for data transfer? (Please do not enter duplicate answers in this field.)

  • Question 170:

    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.

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.