Labour Day Special - 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: c4sdisc65

101-500 PDF

$38.5

$109.99

3 Months Free Update

  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions

101-500 PDF + Testing Engine

$61.6

$175.99

3 Months Free Update

  • Exam Name: LPIC-1 Exam 101, Part 1 of 2, version 5.0
  • Last Update: Apr 28, 2024
  • Questions and Answers: 243
  • Free Real Questions Demo
  • Recommended by Industry Experts
  • Best Economical Package
  • Immediate Access

101-500 Engine

$46.2

$131.99

3 Months Free Update

  • Best Testing Engine
  • One Click installation
  • Recommended by Teachers
  • Easy to use
  • 3 Modes of Learning
  • State of Art Technology
  • 100% Real Questions included

101-500 Practice Exam Questions with Answers LPIC-1 Exam 101, Part 1 of 2, version 5.0 Certification

Question # 6

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

Full Access
Question # 7

The message "Hard Disk Error" is displayed on the screen during Stage 1 of the GRUB boot process. What does this indicate?

A.

The kernel was unable to execute /bin/init

B.

The next Stage cannot be read from the hard disk because GRUB was unable to determine the size and geometry of the disk

C.

One or more of the filesystems on the hard disk has errors and a filesystem check should be run

D.

The BIOS was unable to read the necessary data from the Master Boot Record to begin the boot process

Full Access
Question # 8

Which command displays the contents of the Kernel Ring Buffer on the command line? (Provide only the command name without any options or path information)

Full Access
Question # 9

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

A.

The bootloader

B.

The inetd program

C.

The init program

D.

The kernel

Full Access
Question # 10

Which of the following commands will write a message to the terminals of all logged in users?

A.

bcast

B.

mesg

C.

print

D.

wall

E.

yell

Full Access
Question # 11

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

A.

silent

B.

verbose=0

C.

nomesg

D.

quiet

Full Access
Question # 12

Which of the following commands reboots the system when using SysV init? (Choose TWO correct answers.)

A.

shutdown -r now

B.

shutdown -r "rebooting"

C.

telinit 6

D.

telinit 0

E.

shutdown -k now "rebooting"

Full Access
Question # 13

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

Full Access
Question # 14

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

A.

shutdown -R 1 now

B.

shutdown -single now

C.

init 1

D.

telinit 1

E.

runlevel 1

Full Access
Question # 15

The USB device filesystem can be found under /proc/______/usb/. (Please fill in the blank with the single word only)

Full Access
Question # 16

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

A.

editquota

B.

setquota

C.

edquota

D.

quotaedit

E.

quotaset

Full Access
Question # 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 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.

Full Access
Question # 18

Which of the following shell commands makes the already defined variable TEST visible to new child processes? (Choose two.)

A.

visible TEST

B.

declare +x TEST

C.

declare –x TEST

D.

export TEST

E.

export –v TEST

Full Access
Question # 19

Which chown command will change the ownership to dave and the group to staff on a file named data.txt?

A.

chown dave/staff data.txt

B.

chown –u dave –g staff data.txt

C.

chown --user dave --group staff data.txt

D.

chown dave:staff data.txt

Full Access
Question # 20

Which of the following apt-get commands will install the newest versions of all currently installed packages?

A.

auto-update

B.

full-upgrade

C.

dist-upgrade

D.

install

E.

update

Full Access
Question # 21

Which of the following commands are common Linux commands for file management? (Choose three correct answers.)

A.

copy

B.

mv

C.

move

D.

cp

E.

mkdir

Full Access
Question # 22

Which of the following commands converts spaces in a file to tab characters and prints the result to standard output?

A.

iconv

B.

expand

C.

unexpand

D.

tab

Full Access
Question # 23

What do the permissions -rwSr-xr-x mean for a binary file when it is executed as a command?

A.

The command is SetUID and it will be executed with the effective rights of the owner.

B.

The command will be executed with the effective rights of the group instead of the owner.

C.

The execute flag is not set for the owner. Therefore, the SetUID flag is ignored.

D.

The command will be executed with the effective rights of the owner and group.

Full Access
Question # 24

Which of the following are filesystems which can be used on Linux root partitions? (Choose two.)

A.

NTFS

B.

ext3

C.

XFS

D.

VFAT

E.

swap

Full Access
Question # 25

Which of the following examples for Bash file globbing matches a file named root-can-do-this.txt when used in the directory holding that file? (Choose three correct answers.)

A.

root*can?do-this.{txt,odt}

B.

r[oOoO]t-can-do*.txt

C.

{root,user,admin}-can-??-this.txt

D.

root*can*do??this.txt

E.

root***{can,may}-do-this.[tT][xX][tT]

Full Access
Question # 26

Which of the following commands can be used to search for the executable file foo when it has been placed in a directory not included in $PATH?

A.

apropos

B.

which

C.

find

D.

query

E.

whereis

Full Access
Question # 27

Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives?

A.

82

B.

83

C.

8e

D.

fd

E.

7

Full Access
Question # 28

Which of the following are modes of the vi editor? (Choose two.)

A.

edit mode

B.

insert mode

C.

change mode

D.

review mode

E.

command mode

Full Access
Question # 29

Which of the following commands can be used to display the inode number of a given file?

A.

inode

B.

ls

C.

ln

D.

cp

Full Access
Question # 30

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

A.

chown dan/staff file.txt

B.

chown dan:staff file.txt

C.

chown -u dan -g staff file.txt

D.

chown dan -g staff file.txt

Full Access
Question # 31

Given the following input stream:

txt1.txt

atxt.txt

txtB.txt

Which of the following regular expressions turns this input stream into the following output stream?

txt1.bak.txt

atxt.bak.txt

txtB.bak.txt

A.

s/^.txt/.bak/

B.

s/txt/bak.txt/

C.

s/txt$/bak.txt/

D.

s/^txt$/.bak^/

E.

s/[.txt]/.bak$1/

Full Access
Question # 32

Which of the following files, located in a user’s home directory, contains the Bash history?

A.

.bashrc_history

B.

.bash_histfile

C.

.history

D.

.bash_history

E.

.history_bash

Full Access
Question # 33

Which umask value ensures that new directories can be read, written and listed by their owning user, read and listed by their owning group and are not accessible at all for everyone else?

A.

0750

B.

0027

C.

0036

D.

7640

E.

0029

Full Access
Question # 34

Which of the following commands displays the output of the foo command on the screen and also writes it to a file called /tmp/foodata?

A.

foo | less /tmp/foodata

B.

foo | cp /tmp/foodata

C.

foo > /tmp/foodata

D.

foo | tee /tmp/foodata

E.

foo > stdout >> /tmp/foodata

Full Access
Question # 35

Which program runs a command in specific intervals and refreshes the display of the program’s output? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 36

When considering the use of hard links, what are valid reasons not to use hard links?

A.

Hard links are not available on all Linux systems because traditional filesystems, such as ext4, do not support them

B.

Each hard link has individual ownership, permissions and ACLs which can lead to unintended disclosure of file content

C.

Hard links are specific to one filesystem and cannot point to files on another filesystem

D.

If users other than root should be able to create hard links, suln has to be installed and configured

E.

When a hard linked file is changed, a copy of the file is created and consumes additional space

Full Access
Question # 37

Which command must be entered before exiting vi to save the current file as filea.txt?

A.

%s filea.txt

B.

%w filea.txt

C.

:save filea.txt

D.

:w filea.txt

E.

:s filea.txt

Full Access
Question # 38

Which of the following commands redirects the output of ls to standard error?

A.

ls >-1

B.

ls <

C.

ls >&2

D.

ls >>2

E.

ls |error

Full Access
Question # 39

What is true regarding UEFI firmware? (Choose two.)

A.

It can read and interpret partition tables

B.

It can use and read certain file systems

C.

It stores its entire configuration on the /boot/ partition

D.

It is stored in a special area within the GPT metadata

E.

It is loaded from a fixed boot disk position

Full Access
Question # 40

A faulty kernel module is causing issues with a network interface card. Which of the following actions ensures that this module is not loaded automatically when the system boots?

A.

Using lsmod --remove --autoclean without specifying the name of a specific module

B.

Using modinfo –k followed by the name of the offending module

C.

Using modprobe –r followed by the name of the offending module

D.

Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf

E.

Deleting the kernel module’s directory from the file system and recompiling the kernel, including its modules

Full Access
Question # 41

The command dbmaint & was used to run dbmaint in the background. However, dbmaint is terminated after logging out of the system. Which alternative dbmaint invocation lets dbmaint continue to run even when the user running the program logs out?

A.

job –b dmaint

B.

dbmaint &>/dev/pts/null

C.

nohup dbmaint &

D.

bg dbmaint

E.

wait dbmaint

Full Access
Question # 42

Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?

A.

grep –E ‘:08:[09]+:[09]+’ loga.log

B.

grep –E ‘:08:[00]+’ loga.log

C.

grep –E loga.log ‘:08:[0-9]+:[0-9]+’

D.

grep loga.log ‘:08:[0-9]:[0-9]’

E.

grep –E ‘:08:[0-9]+:[0-9]+’ loga.log

Full Access
Question # 43

Which of the following directories on a 64-bit Linux system typically contain shared libraries? (Choose two.)

A.

~/.lib64/

B.

/usr/lib64/

C.

/var/lib64/

D.

/lib64/

E.

/opt/lib64/

Full Access
Question # 44

Which daemon handles power management events on a Linux system?

A.

acpid

B.

batteryd

C.

pwrmgntd

D.

psd

E.

inetd

Full Access
Question # 45

What is contained on the EFI System Partition?

A.

The Linux root file system

B.

The first stage boot loader

C.

The default swap space file

D.

The Linux default shell binaries

E.

The user home directories

Full Access
Question # 46

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

Full Access
Question # 47

Which option to the yum command will update the entire system? (Specify ONLY the option name without any additional parameters.)

  • uk.co.certification.simulator.questionpool.PList@190e5930
Full Access
Question # 48

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

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.

Full Access
Question # 49

The dpkg-____ command will ask configuration questions for a specified package, just as if the package were being installed for the first time.

Full Access
Question # 50

After modifying GNU GRUB's configuration file, which command must be run for the changes to take effect?

A.

kill -HUP $(pidof grub)

B.

grub-install

C.

grub

D.

No action is required

Full Access
Question # 51

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

A.

yum download --no-install kernel

B.

yumdownloader kernel

C.

rpm --download --package kernel

D.

rpmdownload kernel

Full Access
Question # 52

To prevent users from being able to fill up the / partition, the ____________ directory should be on a separate partition if possible because it is world writeable.

A.

/tmp

B.

tmp

Full Access
Question # 53

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

  • /etc/yum.repos.d
  • /etc/yum.repos.d/
  • yum.repos.d
  • yum.repos.d/

Full Access
Question # 54

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

A.

Timestamps

B.

MD5 checksums

C.

Inodes

D.

File sizes

E.

GnuPG signatures

Full Access
Question # 55

Typically, which top level system directory is used for files and data that change regularly while the system is running and are to be kept between reboots? (Specify only the top level directory)

A.

/var

B.

/var/,

C.

Var

D.

var/

Full Access
Question # 56

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

Full Access
Question # 57

Which Debian package management tool asks the configuration questions for a specific already installed package just as if the package were being installed for the first time? (Specify ONLY the command without any path or parameters.)

Full Access
Question # 58

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

A.

LD_LOAD_PATH

B.

LD_LIB_PATH

C.

LD_LIBRARY_PATH

D.

LD_SHARE_PATH

E.

LD_RUN_PATH

Full Access
Question # 59

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?

A.

hidemenu

B.

splash

C.

timeout

D.

showmenu

Full Access
Question # 60

Which function key is used to start Safe Mode in Windows NT?

A.

F10

B.

F8

C.

F6

D.

Windows NT does not support Safe Mode

Full Access
Question # 61

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

Full Access
Question # 62

Which of the following commands can be used to create a USB storage media from a disk image?

A.

gdisk

B.

dd

C.

cc

D.

fdisk

E.

mount

Full Access
Question # 63

Which variable defines the directories in which a Bash shell searches for executable commands?

A.

BASHEXEC

B.

BASHRC

C.

PATH

D.

EXECPATH

E.

PATHRC

Full Access
Question # 64

Immediately after deleting 3 lines of text in vi and moving the cursor to a different line, which single character command will insert the deleted content below the current line?

A.

i (lowercase)

B.

P (uppercase)

C.

p (lowercase)

D.

U (uppercase)

E.

u (lowercase)

Full Access
Question # 65

What does the? symbol within regular expressions represent?

A.

Match the preceding qualifier one or more times.

B.

Match the preceding qualifier zero or more times.

C.

Match the preceding qualifier zero or one times.

D.

Match a literal? character.

Full Access
Question # 66

: 6

The /etc/_______ file lists currently mounted devices.

Full Access
Question # 67

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.

Full Access
Question # 68

Which of the following are valid stream redirection operators within Bash? (Choose THREE correct answers.)

A.

<

B.

<<<

C.

>

D.

>>>

E.

%>

Full Access
Question # 69

Which of the following commands kills the process with the PID 123 but allows the process to "clean up" before exiting?

A.

kill -PIPE 123

B.

kill -KILL 123

C.

kill -STOP 123

D.

kill -TERM 123

Full Access
Question # 70

Which of the following command sets the Bash variable named TEST with the content FOO?

A.

set TEST="FOO"

B.

TEST = "FOO"

C.

var TEST="FOO"

D.

TEST="FOO"

Full Access
Question # 71

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

Full Access
Question # 72

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

Full Access