CompTIA LX0-102 Actual Free Exam Questions & Community Discussion

  • Exam Code/Number: LX0-102
  • Exam Name/Title: CompTIA Linux+ [Powered by LPI] Exam 2
  • Certification Provider: CompTIA
  • Corresponding Certification: Linux+
  • Exam Questions: 177
  • Updated On: May 31, 2026
CORRECT TEXT
The ________ command is used to add a group to the system. (Please enter only a single command and do not enter duplicate answers in this field.)
Correct Answer:
/USR/SBIN/GROUPADD, GROUPADD
CORRECT TEXT
Please specify the directory containing the configuration files for the CUPS printing system. (Provide the full path to the directory).
Correct Answer:
/ETC/CUPS, /ETC/CUPS/
CORRECT TEXT
An ISP has given an administrator an IP block for use. The block is 192.168.112.64/26. If the administrator uses the first usable IP for the router that is installed on the network, how many usable IPs are left? (Please enter the number and not a word)
Correct Answer:
61
Which of the following configuration files would an administrator edit to change default options for outbound ssh sessions?
Correct Answer: B Vote an answer
CORRECT TEXT
What word will complete an if statement in bash such as the following: if [ -x "$file" ]; then echo $file _____ (Please provide the missing word only).
Correct Answer:
FI
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?
Correct Answer: B Vote an answer
Which of the following is NOT contained in the locale setting of the operating system?
Correct Answer: C Vote an answer
Which of the following statements is true regarding the following /etc/resolv.conf file?
search example.com
nameserver 208.77.188.166
nameserver 208.77.188.167
Correct Answer: A Vote an answer
CORRECT TEXT
An ISP has given an executive an IP block for their use. The block is 192.168.112.64/27. If the network administrator uses the first usable IP for the router that is installed on the executive's network, how many usable IPs are left? (Please enter the number and not a word)
Correct Answer:
29
Which of the following bash option will prevent an administrator from overwriting a file with a ">"?
Correct Answer: C Vote an answer
CORRECT TEXT
The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory? (Provide the full path to the directory, without any country information).
Correct Answer:
/usr/share/zoneinfo, /usr/share/zoneinfo/
Why is /etc/shadow not world readable if the passwords are stored in an encrypted fashion?
Correct Answer: B Vote an answer
0
0
0
10