Easter Sale Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 Question and Answers

LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2

Last Update May 18, 2024
Total Questions : 177

We are offering FREE 101-400 LPI exam questions. All you do is to just go and sign up. Give your details, prepare 101-400 free exam questions and then go for complete pool of LPI Level 1 Exam 101, Junior Level Linux Certification, Part 1 of 2 test questions that will help you more.

101-400 pdf

101-400 PDF

$35  $99.99
101-400 Engine

101-400 Testing Engine

$42  $119.99
101-400 PDF + Engine

101-400 PDF + Testing Engine

$56  $159.99
Questions 1

Which shell command is used to continue background execution of a suspended command?

Options:

A.  

&

B.  

bg

C.  

cont

D.  

exec

E.  

:&

Discussion 0
Questions 2

Which of the following commands is used to change options and positional parameters for a running Bash?

Options:

A.  

history

B.  

set

C.  

bashconf

D.  

setsh

E.  

envsetup

Discussion 0
Questions 3

What is the default nice level when a process is started using the nice command?

Options:

A.  

-10

B.  

10

C.  

20

D.  

0

Discussion 0
Questions 4

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

Discussion 0
Questions 5

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?

Options:

A.  

<<

B.  

<|

C.  

!<

D.  

&<

Discussion 0
Questions 6

Which grep command will print only the lines that do not end with a / in the file foo?

Options:

A.  

grep'/$' foo

B.  

grep '/#' foo

C.  

grep -v '/$' foo

D.  

grep -v '/#' foo

Discussion 0
Questions 7

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.  

#

Discussion 0
Questions 8

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

Options:

A.  

0

B.  

1

C.  

3

D.  

5

E.  

6

Discussion 0
Questions 9

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

Discussion 0
Questions 10

Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination?

Options:

A.  

/etc/keys

B.  

/proc/keys

C.  

/etc/inittab

D.  

/proc/inittab

E.  

/etc/reboot

Discussion 0
Questions 11

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

Options:

A.  

The bootloader

B.  

The inetd program

C.  

The init program

D.  

The kernel

Discussion 0
Questions 12

Which of the following kernel parameters instructs the kernel to suppress most boot messages?

Options:

A.  

silent

B.  

verbose=0

C.  

nomesg

D.  

quiet

Discussion 0
Questions 13

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.

Discussion 0
Questions 14

What of the following statements are true regarding /dev/ when using udev? (Choose TWO correct answers.)

Options:

A.  

Entries for all possible devices get created on boot even if those devices are not connected.

B.  

Additional rules for udev can be created by adding them to /etc/udev/rules.d/.

C.  

When using udev, it is not possible to create block orcharacter devices in /dev/ using mknod.

D.  

The /dev/ directory is a filesystem of type tmpfs and is mounted by udev during system startup.

E.  

The content of /dev/ is stored in /etc/udev/dev and is restored during system startup.

Discussion 0
Questions 15

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

Options:

Discussion 0
Questions 16

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose THREE correct answers.)

Options:

A.  

Timestamps

B.  

MD5 checksums

C.  

Inodes

D.  

File sizes

E.  

GnuPG signatures

Discussion 0
Questions 17

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.

Discussion 0
Questions 18

Which of the following environment variables overrides or extends the list of directories holding shared libraries?

Options:

A.  

LD_LOAD_PATH

B.  

LD_LIB_PATH

C.  

LD_LIBRARY_PATH

D.  

LD_SHARE_PATH

E.  

LD_RUN_PATH

Discussion 0
Questions 19

Which command will disable swapping on a device? (Specify ONLY the command without any path or parameters.)

Options:

Discussion 0
Questions 20

Which of the following commands can be used to download the RPM package kernel without installing it?

Options:

A.  

yum download --no-install kernel

B.  

yumdownloader kernel

C.  

rpm --download --package kernel

D.  

rpmdownload kernel

Discussion 0
Questions 21

Which of the following commands lists all currently installed packages when using RPM package management?

Options:

A.  

yum --query --all

B.  

yum --list --installed

C.  

rpm --query --all

D.  

rpm --list –installed

Discussion 0
Questions 22

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

Options:

A.  

GRUB 2 no longer requires a configuration file.

B.  

Partition numbers start at 0 in GRUB Legacy and1in GRUB 2.

C.  

grub-mkconfigonly works with GRUB Legacy if the--version 1option is used.

D.  

The configuration filemenu.lst(andgrub.conf) have been replaced withgrub.config.

Discussion 0
Questions 23

Which of the following commands shows the definition of a given shell command?

Options:

A.  

where

B.  

stat

C.  

type

D.  

case

Discussion 0
Questions 24

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

Options:

Discussion 0
Questions 25

Which of the following commands can be used to locate programs and their corresponding man pages and configuration files?

Options:

A.  

dirname

B.  

which

C.  

basename

D.  

query

E.  

whereis

Discussion 0
Questions 26

Which of the following commands is used to modify quota settings? (Choose two.)

Options:

A.  

editquota

B.  

setquota

C.  

edquota

D.  

quotaedit

E.  

quotaset

Discussion 0