Black Friday Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Free and Premium LPI 101-400 Dumps Questions Answers

Page: 1 / 7
Total 177 questions

LPI Level 1 Exam 101 - Junior Level Linux Certification - Part 1 of 2 Questions and Answers

Question 1

Which signal is missing from the following command that is commonly used to instruct a daemon to reinitialize itself, including reading configuration files?

killall -s _______ daemon

Options:

Buy Now
Question 2

When starting a program with the nice command without any additional parameters, which nice level is set for the resulting process?

Options:

A.

-10

B.

0

C.

10

D.

20

Question 3

What happens after issuing the command vi without any additional parameters?

Options:

A.

vi starts and loads the last file used andmoves the cursor to the position where vi was when it last exited.

B.

vi starts and requires the user to explicitly either create a new or load an existing file.

C.

vi exits with an error message as it cannot be invoked without a file name to operate on.

D.

vi starts in command mode and opens a new empty file.

E.

vi starts and opens a new file which is filled with the content of the vi buffer if the buffer contains text.

Question 4

What is the default action of the split command on an input file?

Options:

A.

It will break the file into new files of 1,024 byte pieces each.

B.

It will break the file into new files of 1,000 line pieces each.

C.

It will break the file into new files of 1,024 kilobyte pieces each.

D.

It will break the file into new files that are no morethan 5% of the size of the original file.

Question 5

Which character, added to the end of a command, runs that command in the background as a child process of the current shell?

Options:

A.

!

B.

+

C.

&

D.

%

E.

#

Question 6

Which of the following commands will print the last 10 lines of a text file to the standard output?

Options:

A.

cat -n 10 filename

B.

dump -n 10 filename

C.

head -n 10 filename

D.

tail -n 10 filename

Question 7

Which of the following commands determines the type of a file by using a definition database file which contains information about all common file types?

Options:

A.

magic

B.

type

C.

file

D.

pmagic

E.

hash

Question 8

Which of the following options is used in a GRUB Legacy configuration file to define the amount of time that the GRUB menu will be shown to the user?

Options:

A.

hidemenu

B.

splash

C.

timeout

D.

showmenu

Question 9

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

Options:

A.

apt-cache depends-onpackage

B.

apt-cache dependencies package

C.

apt-cache depends package

D.

apt-cache requires package

Question 10

Which of the following commands overwrites the bootloader located on /dev/sda without overwriting the partition table or any data following it?

Options:

A.

dd if=/dev/zero of=/dev/sda bs=512

B.

dd if=/dev/zero of=/dev/sda bs=512 count=1

C.

dd if=/dev/zero of=/dev/sda bs=440 count=1

D.

dd if=/dev/zero of=/dev/sda bs=440

Question 11

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

Options:

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

Question 12

What can the Logical Volume Manager (LVM) be used for? (Choose THREE correct answers.)

Options:

A.

To create RAID 9 arrays.

B.

To dynamically change the size of logical volumes.

C.

To encrypt logical volumes.

D.

To create snapshots.

E.

To dynamically create or delete logical volumes.

Question 13

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

Options:

Question 14

What is the name of the main configuration file for GNU GRUB? (Specify the file name only without any path.)

Options:

Question 15

What does the command mount -a do?

Options:

A.

It mounts all available filesystems onto the current directory.

B.

It shows all mounted filesystems.

C.

It mounts all user mountable filesystems for thecurrent user.

D.

It mounts all filesystems listed in /etc/fstab which have the option auto set.

E.

It mounts all filesystems listed in /etc/fstab which have the option noauto set.

Question 16

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

Options:

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.

Thecommand is run in background of the current shell.

D.

The command is run as a direct child of theinitprocess.

Question 17

Which signal is sent by the kill command by default?

Options:

A.

SIGHUP(1)

B.

SIGQUIT(3)

C.

SIGKILL(9)

D.

SIGTERM(15)

Question 18

Which SysV init configuration file is commonly used to set the default run level? (Specify the full name of the file, including path.)

Options:

Question 19

Which of the following is the device file name for the second partition on the only SCSI drive?

Options:

A.

/dev/hda1

B.

/dev/sda2

C.

/dev/sd0a2

D.

/dev/sd1p2

Question 20

What is the purpose of the Filesystem Hierarchy Standard?

Options:

A.

It is a security model used to ensurefiles are organized according to their permissions and accessibility.

B.

It provides unified tools to create, maintain and manage multiple filesystems in a common way.

C.

It defines a common internal structure of inodes for all compliant filesystems.

D.

Itis a distribution neutral description of locations of files and directories.

Question 21

Which program updates the database that is used by the locate command?

Options:

Question 22

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

Options:

Question 23

Which of the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

Options:

A.

shutdown -R 1 now

B.

shutdown -single now

C.

init 1

D.

telinit 1

E.

runlevel 1

Question 24

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

Options:

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

Question 25

What is the first program that is usually started, at boot time, by the Linux kernel when using SysV init?

Options:

A.

/lib/init.so

B.

/sbin/init

C.

/etc/rc.d/rcinit

D.

/proc/sys/kernel/init

E.

/boot/init

Question 26

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

Options:

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.

Page: 1 / 7
Total 177 questions