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 23, 2025

CompTIA CompTIA Linux+ LX0-102 Questions & Answers

  • Question 171:

    Which of the following directories in a user's home contains configuration files and key rings for GPG?

    A. ~/gpg.d/

    B. ~/.gpg/

    C. ~/.gnupg/

    D. ~/gnupg/

    E. ~/.gpg.d/

  • Question 172:

    Which of the following configuration files does sudo read when determining if a user is permitted to run applications with root privileges?

    A. /etc/groups

    B. /etc/passwd

    C. /etc/sudoers

    D. /etc/sudo.conf

  • Question 173:

    Which of the following commands 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

  • Question 174:

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

    Which of the following statements would create a default route using a gateway of 192.168.1.1?

    A. netstat -add default gw

    B. route default 192.168.1.1

    C. ip route default 192.168.1.1

    D. route add default gw 192.168.1.1

    E. ifconfig default gw 192.168.1.1 eth0

  • Question 176:

    Which of the following is the purpose of the dig command?

    A. To adjust a directory's hidden permissions

    B. To search for files on the filesystem

    C. To adjust a file's hidden permissions

    D. To perform hostname lookups

    E. To ping all known hosts on the current subnet

  • Question 177:

    The legacy program for sending files to the printer queues from the command line is which of the following?

    A. lpd

    B. lpr

    C. lpq

    D. lpp

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.