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

    Which of the following commands can deconfigure a network interface?

    A. ipdown

    B. net

    C. ifconfig

    D. netdown

  • Question 82:

    Which of the following commands manipulates the TTL (Time to Live) field in the IP protocol in order to get ICMP responses from gateways along the path to a host?

    A. dig

    B. host

    C. ping

    D. tcpdump

    E. traceroute

  • Question 83:

    Which of the following commands is used to set restrictions on the size of a core file that is created for a user when a program crashes?

    A. core

    B. edquota

    C. ulimit

    D. quota

  • Question 84:

    Which of the following is the purpose of the nsswitch.conf file?

    A. It is used to configure where the C library looks for system information such as host name services and user passwords.

    B. It is used to configure network protocol port numbers such as for HTTP or SMTP.

    C. It is used to configure LDAP authentication services for the local system.

    D. It is used to configure which network services will be turned on during the next system reboot.

  • Question 85:

    Identify the statement that would create a default route using a gateway of 192.168.1.1.

    A. netstat -add default gw 192.168.1.1

    B. route add default gw 192.168.1.1

    C. ip route default 192.168.1.1

    D. route default gw 192.168.1.1

    E. ifconfig default gw 192.168.1.1 eth0

  • Question 86:

    What is NTP?

    A. A more secure protocol replacement for FTP.

    B. A protocol and system for maintaining time on computers.

    C. A routing aid for finding next hops on a network.

    D. A simple tunneling protocol for computers behind firewalls.

  • Question 87:

    Which of the following commands is used on the command line to send messages to the syslog systems.

    A. lastlog

    B. klog

    C. logger

    D. slog

    E. syslog

  • Question 88:

    According to the FHS, where are user mailboxes kept? Assume that mail is not being delivered to somewhere in their home directories.

    A. /var/spool

    B. /etc/mail

    C. /var/mail

    D. /usr/mail

  • Question 89:

    The legacy program, provided by CUPS for sending files to the printer queues on the command line is: A. lpd

    B. lpp

    C. lpq

    D. lpr

  • Question 90:

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

    A. Add the user name to /etc/nologin.

    B. Change the user's password.

    C. Change the user name in /etc/passwd.

    D. Use chage to expire the user account.

    E. Place the command logout in the user's profile.

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.