Certbus > Lpi > LPIC-1 > 101-400 > 101-400 Online Practice Questions and Answers

101-400 Online Practice Questions and Answers

Questions 4

SIMULATION

Which command will display messages from the kernel that were output during the normal boot sequence?

Browse 179 Q&As
Questions 5

SIMULATION

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.)

Browse 179 Q&As
Questions 6

SIMULATION

In which directory must definition files be placed to add additional repositories to yum?

Browse 179 Q&As
Questions 7

SIMULATION

Following the Filesystem Hierarchy Standard (FHS), where should binaries that have been compiled by the system administrator be placed in order to be made available to all users on the system?

Browse 179 Q&As
Questions 8

During a system boot cycle, what program is executed after the BIOS completes its tasks?

A. The bootloader

B. The inetd program

C. The init program

D. The kernel

Browse 179 Q&As
Questions 9

Which of the following statements is correct when talking about /proc/?

A. All changes to files in /proc/ are stored in /etc/proc.d/ and restored on reboot.

B. All files within /proc/ are read-only and their contents cannot be changed.

C. All changes to files in /proc/ are immediately recognized by the kernel.

D. All files within /proc/ are only readable by the root user.

Browse 179 Q&As
Questions 10

Which of the following statements is correct regarding the command foo 1> bar?

A. The stdout from the command foo is appended to the file bar.

B. The stdout from the command foo overwrites the file bar.

C. The command foo receives its stdin from the file bar.

D. The command foo receives its stdin from the stdout of the command bar.

E. The stderr from the command foo is saved to the file bar.

Browse 179 Q&As
Questions 11

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

Browse 179 Q&As
Questions 12

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<

Browse 179 Q&As
Questions 13

Which of the following commands prints all files and directories within the /tmp directory or its subdirectories which are also owned by the user root? (Choose TWO correct answers.)

A. find /tmp -uid root -print

B. find -path /tmp -uid root

C. find /tmp -user root -print

D. find /tmp -user root

E. find -path /tmp -user root print

Browse 179 Q&As
Questions 14

Which of the following commands set the sticky bit for the directory /tmp? (Choose TWO correct answers.)

A. chmod +s /tmp

B. chmod +t /tmp

C. chmod 1775 /tmp

D. chmod 4775 /tmp

E. chmod 2775 /tmp

Browse 179 Q&As
Questions 15

Which of the following statements is correct for a command line ending with a and character?

A. The command's output is redirected to /dev/null.

B. The result of the command defines if the next command will be run.

C. The command is run in background of the current shell.

D. The command is run as a direct child of the init process.

Browse 179 Q&As
Questions 16

Which of the following commands will produce the following output?

A. jobs

B. proclist

C. netstat

D. ps

Browse 179 Q&As
Questions 17

Which of the following statements describes a difference between GNU GRUB Legacy and GRUB 2?

A. GRUB 2 no longer requires a configuration file.

B. Partition numbers start at 0 in GRUB Legacy and 1 in GRUB 2.

C. grub-mkconfig only works with GRUB Legacy if the --version 1 option is used.

D. The configuration file menu.lst (and grub.conf) have been replaced with grub.config.

Browse 179 Q&As
Questions 18

Which of the following commands will mount an already inserted CD-ROM in /dev/sr0 onto an existing directory /mnt/cdrom when issued with root privileges?

A. mount /dev/cdrom /mnt/cdrom

B. mount /dev/sr0 /mnt/cdrom

C. mount –t cdrom /dev/sr0 /mnt/cdrom

D. mount –l cdrom /dev/sr0 /mnt/cdrom

E. mount –f /dev/sr0 /mnt/cdrom

Browse 179 Q&As
Exam Code: 101-400
Exam Name: LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2
Last Update: Apr 12, 2024
Questions: 179 Q&As

PDF

$45.99

VCE

$49.99

PDF + VCE

$59.99