Pass4itsure > CompTIA > CompTIA Certifications > LX0-103 > LX0-103 Online Practice Questions and Answers

LX0-103 Online Practice Questions and Answers

Questions 4

Which of the following options for the kernel's command line changes the systemd boot target to rescue.target instead of the default target?

A. systemd.target=rescue.target

B. systemd.runlevel=rescue.target

C. systemd.service=rescue.target

D. systemd.default=rescue.target

E. systemd.unit=rescue.target

Buy Now
Questions 5

Which file should be edited to select the network locations from which Debian installation package files are loaded?

A. /etc/dpkg/dpkg.cfg

B. /etc/apt/apt.conf

C. /etc/apt/apt.conf.d

D. /etc/apt/sources.list

E. /etc/dpkg/dselect.cfg

Buy Now
Questions 6

What command will generate a list of user names from /etc/passwd along with their login shell?

A. column -s : 1,7 /etc/passwd

B. chop -c 1,7 /etc/passwd

C. colrm 1,7 /etc/passwd

D. cut -d: -f1,7 /etc/passwd

Buy Now
Questions 7

What is the output of the following command?

echo "Hello World" | tr -d aieou

A. Hello World

B. eoo

C. Hll Wrld

D. eoo Hll Wrld

Buy Now
Questions 8

What is the effect of the egrep command when the -v option is used?

A. It enables color to highlight matching parts.

B. It only outputs non-matching lines.

C. It shows the command's version information.

D. It changes the output order showing the last matching line first.

Buy Now
Questions 9

Which of the following files, located in the user home directory, is used to store the Bash history?

A. .bash_history

B. .bash_histfile

C. .history

D. .bashrc_history

E. .history_bash

Buy Now
Questions 10

Regarding the command: nice -5 /usr/bin/prog

Which of the following statements is correct?

A. /usr/bin/prog is executed with a nice level of -5.

B. /usr/bin/prog is executed with a nice level of 5.

C. /usr/bin/prog is executed with a priority of -5.

D. /usr/bin/prog is executed with a priority of 5.

Buy Now
Questions 11

Which of the following commands can be used to determine how long the system has been running? (Choose TWO correct answers.)

A. uptime

B. up

C. top

D. uname -u

E. time up

Buy Now
Questions 12

After successfully creating a hard link called bar to the ordinary file foo, foo is deleted from the filesystem. Which of the following describes the resulting situation?

A. foo and bar would both be removed.

B. foo would be removed while bar would remain accessible.

C. foo would be removed. bar would still exist but would be unusable.

D. Both foo and bar would remain accessible.

E. The user is prompted whether bar should be removed, too.

Buy Now
Questions 13

Which world-writable directory should be placed on a separate partition in order to prevent users from

being able to fill up the / filesystem? (Specify the full path to the directory.)

Buy Now
Exam Code: LX0-103
Exam Name: CompTIA Linux+ [Powered by LPI] 1
Last Update: Jan 14, 2025
Questions: 120
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99