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

    In the following command and its output, echo $$ 12942 which of the following is 12942?

    A. The process ID of the echo command.

    B. The process ID of the current shell.

    C. The process ID of the last command executed.

    D. The process ID of the last backgrounded command.

  • Question 122:

    All of the following information is provided in any output from the netstat utility EXCEPT:

    A. broadcast services

    B. interface statistics

    C. masquerading connections

    D. network connections

    E. routing tables

  • Question 123:

    On a system using shadowed passwords, the correct permissions for /etc/passwd are ___ and the correct permissions for /etc/shadow are ___.

    A. -rw-r-----, -r-------

    B. -rw-r--r--, -r--r--r-

    C. -rw-r--r--, -r-------

    D. -rw-r--rw-, -r-----r-

    E. -rw-------, -r-------

  • Question 124:

    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.

  • Question 125:

    To prevent a specific user from scheduling tasks with at, which of the following should the administrator do?

    A. Add the specific user to /etc/at.allow file.

    B. Add the specific user to [deny] section in the /etc/atd.conf file.

    C. Add the specific user to /etc/at.deny file.

    D. Add the specific user to nojobs group.

    E. Run the following: atd --deny [user].

  • Question 126:

    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

  • Question 127:

    Which of the following can the chage command NOT change?

    A. The number of days since January 1, 1970 on which the user account will no longer be accessible.The number of days since January 1, 1970 on which the user? account will no longer be accessible.

    B. The number of days since January 1, 1970 when the password can change.

    C. The number of days since January 1st, 1970 when the password was last changed.

    D. The maximum number of days during which a password is valid.

    E. The number of days of inactivity after a password has expired before the account is locked.

  • Question 128:

    An administrator needs to pause the CUPS printer Laserjet4, and wants to cancel all print jobs with a message, "hello". Which of the following commands will do this?

    A. cupsreject -c -r hello Laserjet4

    B. cupsreject -p -m hello Laserjet4

    C. cupsdisable -c -r hello Laserjet4

    D. cupsdisable -p -m hello Laserjet4

  • Question 129:

    A French user has installed the French language pack, but currencies are still being displayed with a leading '$' sign in spreadsheets. Which of the following must be done to fix this?

    A. Alter the locale.

    B. Set the timezone correctly.

    C. Edit /etc/currency.

    D. Reinstall the French language pack.

  • Question 130:

    An administrator has a user whose account needs to be disabled but not removed. Which of the following should the administrator do?

    A. Edit /etc/gshadow and just remove the user name. and just remove the user? name.

    B. Edit /etc/passwd and change all numbers to 0.

    C. Edit /etc/shadow and remove the last field.

    D. Edit /etc/passwd and insert an * after the first : .

    E. Edit /etc/group file and put a # sign in front of the user name. sign in front of the user? name.

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.