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

LX0-103 Online Practice Questions and Answers

Questions 4

Which run levels should never be declared as the default run level when using SysV init? (Choose TWO correct answers.)

A. 0

B. 1

C. 3

D. 5

E. 6

Buy Now
Questions 5

Which of the following commands lists the dependencies of a given dpkg package?

A. apt-cache depends-on package

B. apt-cache dependencies package

C. apt-cache depends package

D. apt-cache requires package

Buy Now
Questions 6

In compliance with the FHS, in which of the directories are man pages found?

A. /usr/share/man

B. /opt/man

C. /usr/doc/

D. /var/pkg/man

E. /var/man

Buy Now
Questions 7

Which of the following characters can be combined with a separator string in order to read from the current input source until the separator string, which is on a separate line and without any trailing spaces, is reached?

A. <<

B. <|

C. !<

D. and<

Buy Now
Questions 8

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

A. sed '/bob/Bob' letter > newletter

B. sed s/bob/Bob/ letter < newletter

C. sed 's/bob/Bob' letter > newletter

D. sed 's/bob/Bob/g' letter > newletter

E. sed 's/bob, Bob/' letter > newletter

Buy Now
Questions 9

Which of the following sequences in the vi editor saves the opened document and exits the editor? (Choose TWO correct answers.)

A. esc ZZ

B. ctrl :w!

C. esc zz

D. esc :wq!

E. ctrl XX

Buy Now
Questions 10

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 11

After running the command umount /mnt, the following error message is displayed:

umount: /mnt: device is busy.

What is a common reason for this message?

A. The kernel has not finished flushing disk writes to the mounted device.

B. A user has a file open in the /mnt directory.

C. Another file system still contains a symlink to a file inside /mnt.

D. The files in /mnt have been scanned and added to the locate database.

E. The kernel thinks that a process is about to open a file in /mnt for reading.

Buy Now
Questions 12

Which of the following pieces of information of an existing file is changed when a hard link pointing to that file is created?

A. File size

B. Modify timestamp

C. Link count

D. Inode number

E. Permissions

Buy Now
Questions 13

Which file in the /proc filesystem lists parameters passed from the bootloader to the kernel? (Specify the file name only without any path.)

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

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99