Welcome to awslagi.com – Sharing AWS, Anthropic, Google Cloud, Microsoft Azure IT Exams. It's free for all!

LPIC-1 Exam 101

Master the updated LPIC-1 core with the version 5.0 exam focusing on modern system architecture.

4.8★★★★★(372 ratings)
14,250 studentsIntermediate
The 101-500 exam updates the LPIC-1 Part 1 track to include modern system management tools like systemd and advanced shell navigation. You will learn to manage boot processes, hardware configuration, and the latest package management techniques for enterprise Linux systems. Stay ahead of the curve in Linux administration. This certification proves you are proficient with the most current system tools, making you a trusted professional for organizations deploying modern cloud and server infrastructures.

What you'll learn

  • systemd and boot process
  • Advanced package management
  • Hardware & BIOS/UEFI config
  • Updated GNU commands
  • Modern file system management

101-500

Lectures2
Questions61
Duration30 week
Students14,250

$20.00

Full Free Question Bank (61 Questions)

LPIC-1 Exam 101 (101-500) Practice Questions & Verified Answers

Click any option to test your knowledge, or reveal the verified answer and detailed explanation below each question.

Jump to Section:
Question #1Part 1

Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?

AXFS
BVFAT
Cext2
Dext3
Eext4
Question #2Part 1

Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters?

AXFS
BVFAT
Cext2
Dext3
Eext4
Question #3Part 1

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?

A0750
B0027
C0036
D7640
E0029
Question #4Part 1

Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

Atune2fs -d 200 /dev/sda1
Btune2fs -i 200 /dev/sda1
Ctune2fs -c 200 /dev/sda1
Dtune2fs -n 200 /dev/sda1
Etune2fs --days 200 /dev/sda1
Question #5Part 1

Which is the default percentage of reserved space for the root user on new ext4 filesystems?

A10%
B3%
C15%
D0%
E5%
Question #6Part 1

Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually?

Asystemd ignores any manual mounts which are not done using the systemctl mount
BThe command systemctl mountsync can be used to create a mount unit based on the
Csystemd automatically generates a mount unit and monitors the mount point without
DUnless a systemd mount unit is created, systemd unmounts the file system after a short
Esystemctl unmount must be used to remove the mount because system opens a file
Question #7Part 1

What does the command mount --bind do?

AIt makes the contents of one directory available in another directory
BIt mounts all available filesystems to the current directory
CIt mounts all user mountable filesystems to the user's home directory
DIt mounts all file systems listed in /etc/fstab which have the option userbind set
EIt permanently mounts a regular file to a directory
Question #8Part 1

Consider the following output from the command ls -i: How would a new file named c.txt be created with the same inode number as a.txt (Inode 525385)?

Aln -h a.txt c.txt
Bln c.txt a.txt
Cln a.txt c.txt
Dln -f c.txt a.txt
Eln -i 525385 c.txt
Question #9Part 1Select 2

Consider the following directory: drwxrwxr-x 2 root sales 4096 Jan 1 15:21 sales Which command ensures new files created within the directory sales are owned by the group sales? (Choose two.)

Achmod g+s sales
Bsetpol -R newgroup=sales sales
Cchgrp -p sales sales
Dchown --persistent *.sales sales
Echmod 2775 sales
Question #10Part 1

In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.)

Acat /proc/self/mounts
Bfree
Clsmounts
Dmount
Ecat /proc/filesystems
Question #11Part 1

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

Achown dave/staff data.txt
Bchown -u dave -g staff data.txt
Cchown --user dave --group staff data.txt
Dchown dave+staff data.txt
Echown dave:staff data.txt
Question #12Part 1

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

AHard links are not available on all Linux systems because traditional filesystems, such as
BEach hard link has individual ownership, permissions and ACLs which can lead to unintended
CHard links are specific to one filesystem and cannot point to files on another filesystem
DIf users other than root should be able to create hard links, suln has to be installed and
EWhen a hard linked file is changed, a copy of the file is created and consumes additional
Question #13Part 1

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

A/opt/man/
B/usr/doc/
C/usr/share/man/
D/var/pkg/man
E/var/man/
Question #14Part 1

What is the process ID number of the init process on a System V init based system?

A-1
B0
C1
DIt is different with each reboot
EIt is set to the current run level
Question #15Part 1

Which daemon handles power management events on a Linux system?

Aacpid
Bbatteryd
Cpwrmgntd
Dpsd
Einetd
Question #16Part 1Select 2

Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.)

ASome parts of the boot process can be configured from the BIOS
BLinux does not require the assistance of the BIOS to boot a computer
CThe BIOS boot process starts only if secondary storage, such as the hard disk, is functional
DThe BIOS initiates the boot process after turning the computer on
EThe BIOS is started by loading hardware drivers from secondary storage, such as the hard
Question #17Part 1Select 2

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

AIt can read and interpret partition tables
BIt can use and read certain file systems
CIt stores its entire configuration on the /boot/ partition
DIt is stored in a special area within the GPT metadata
EIt is loaded from a fixed boot disk position
Question #18Part 1

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?

AUsing lsmod --remove --autoclean without specifying the name of a specific module
BUsing modinfo -k followed by the name of the offending module
CUsing modprobe -r followed by the name of the offending module
DAdding a blacklist line including the name of the offending module to the file
EDeleting the kernel module's directory from the file system and recompiling the kernel,
Question #19Part 1Select 2

When is the content of the kernel ring buffer reset? (Choose two.)

AWhen the ring buffer is explicitly reset using the command dmesg --clear
BWhen the ring buffer is read using dmesg without any additional parameters
CWhen a configurable amount of time, 15 minutes by default, has passed
DWhen the kernel loads a previously unloaded kernel module
EWhen the system is shut down or rebooted
Question #20Part 1

What is the first program the Linux kernel starts at boot time when using System V init?

A/lib/init.so
B/proc/sys/kernel/init
C/etc/rc.d/rcinit
D/sbin/init
E/boot/init
Question #21Part 1

A Debian package creates several files during its installation. Which of the following commands searches for packages owning the file /etc/debian_version?

Aapt-get search /etc/debian_version
Bapt -r /etc/debian_version
Cfind /etc/debian_version -dpkg
Ddpkg -S /etc/debian_version
Eapt-file /etc/debian_version
Question #22Part 1

What is contained on the EFI System Partition?

AThe Linux root file system
BThe first stage boot loader
CThe default swap space file
DThe Linux default shell binaries
EThe user home directories
Question #23Part 1

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/
Question #24Part 1Select 2

Which of the following files exist in a standard GRUB 2 installation? (Choose two.)

A/boot/grub/stages/stage0
B/boot/grub/i386-pc/lvm.mod
C/boot/grub/fstab
D/boot/grub/grub.cfg
E/boot/grub/linux/vmlinuz
Question #25Part 1

Which of the following commands installs all packages with a name ending with the string foo?

Azypper get '*foo'
Bzypper update 'foo?'
Czypper force 'foo*'
Dzypper install '*foo'
Ezypper add '.*foo'
Question #26Part 1Select 2

Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.)

AThe partitioning scheme
BThe file system
CThe D-Bus Machine ID
DThe permissions of /root/
EThe SSH host keys
Question #27Part 1

Which of the following commands installs GRUB 2 into the master boot record on the third hard disk?

Agrub2 install /dev/sdc
Bgrub-mkrescue /dev/sdc
Cgrub-mbrinstall /dev/sdc
Dgrub-setup /dev/sdc
Egrub-install /dev/sdc
Question #28Part 1

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

A7
B82
C83
D8e
Efd
Question #29Part 1Select 2

What is true regarding the configuration of yum? (Choose two.)

AChanges to the repository configuration become active after running yum confupdate
BChanges to the yum configuration become active after restarting the yumd service
CThe configuration of package repositories can be divided into multiple files
DRepository configurations can include variables such as $basearch or $releasever
EIn case /etc/yum.repos.d/ contains files, /etc/yum.conf is ignored
Question #30Part 1

Which of the following apt-get subcommands installs the newest versions of all currently installed packages?

Aauto-update
Bdist-upgrade
Cfull-upgrade
Dinstall
Eupdate
Question #31Part 1

Which command uninstalls a package but keeps its configuration files in case the package is re-installed?

Adpkg -s pkgname
Bdpkg -L pkgname
Cdpkg -P pkgname
Ddpkg -v pkgname
Edpkg -r pkgname
Question #32Part 1

Which of the following commands lists the dependencies of the RPM package file foo.rpm?

Arpm -qpR foo.rpm
Brpm -dep foo
Crpm -ld foo.rpm
Drpm -R foo.rpm
Erpm -pD foo
Question #33Part 1

What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process?

A9
B15
C19
D49
E99
Question #34Part 1

Which of the following commands list all files and directories within the /tmp/ directory and its subdirectories which are owned by the user root? (Choose two.)

Afind /tmp -user root -print
Bfind -path /tmp -uid root
Cfind /tmp -uid root -print
Dfind /tmp -user root
Efind -path /tmp -user root -print
Question #35Part 1

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

A<
B#>
C%>
D>>>
E2>&1
Question #36Part 1

Which of the following vi commands deletes two lines, the current and the following line?

Ad2
B2d
C2dd
Ddd2
Ede12
Question #37Part 1

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?

Ajob -b dmaint
Bdbmaint &>/dev/pts/null
Cnohup dbmaint &
Dbg dbmaint
Ewait dbmaint
Question #38Part 1

From a Bash shell, which of the following commands directly execute the instructions from the file /usr/local/bin/runme.sh without starting a subshell? (Choose two.)

Asource /usr/local/bin/runme.sh
B/usr/local/bin/runme.sh
C/bin/bash /usr/local/bin/runme.sh
D. /usr/local/bin/runme.sh
Erun /usr/local/bin/runme.sh
Question #39Part 1

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?

Ai (lowercase)
Bp (lowercase)
CP (uppercase)
DU (uppercase)
Eu (lowercase)
Question #40Part 1

Which of the following commands changes all CR-LF line breaks in the text file userlist.txt to Linux standard LF line breaks and stores the result in newlist.txt?

Atr -d '\r' < userlist.txt > newlist.txt
Btr -c '\n\r' '' userlist.txt
Ctr '\r\n' '' newlist.txt
Dtr '\r' '\n' userlist.txt newlist.txt
Etr -s '/^M/^J/' userlist.txt newlist.txt
Question #41Part 1

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

As/^.txt/.bak/
Bs/txt/bak.txt/
Cs/txt$/bak.txt/
Ds/^txt$/.bak^/
Es/[.txt]/.bak$1/
Question #42Part 1

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
Question #43Part 1

Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard?

ASIGTERM
BSIGCONT
CSIGSTOP
DSIGKILL
ESIGINT
Question #44Part 1

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?

Afoo | less /tmp/foodata
Bfoo | cp /tmp/foodata
Cfoo > /tmp/foodata
Dfoo | tee /tmp/foodata
Efoo > stdout >> /tmp/foodata
Question #45Part 1

What output will be displayed when the user fred executes the following command? echo 'fred $USER'

Afred fred
Bfred /home/fred/
C'fred $USER'
Dfred $USER
E'fred fred'
Question #46Part 1

Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked?

Alsattr foo
Bapropos foo
Clocate foo
Dwhatis foo
Ewhich foo
Question #47Part 1

When redirecting the output of find to the xargs command, what option to find is useful if the filenames contain spaces?

A-rep-space
B-printnul
C-nospace
D-ignore-space
E-print0
Question #48Part 1Select 2

Which of the following commands can be used to determine how long the system has been running? (Choose two.)

Auptime
Bup
Ctime --up
Duname -u
Etop
Question #49Part 1

What is true regarding the command ls > files if files does not exist?

AThe output of ls is printed to the terminal
Bfiles is created and contains the output of ls
CAn error message is shown and ls is not executed
DThe command files is executed and receives the output of ls
EAny output of ls is discarded
Question #50Part 1

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
Question #51Part 1

Which wildcards will match the following filenames? (Choose two.) ttyS0 ttyS1 ttyS2

AttyS[1-5]
Btty?[0-5]
Ctty*2
Dtty[A-Z][012]
Etty[Ss][02]
Question #52Part 1

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

Als >-1
Bls <
Cls >&2
Dls >>2
Els |error
Question #53Part 1

Which of the following commands displays the contents of a gzip compressed tar archive?

Agzip archive.tgz | tar xvf -
Btar -fzt archive.tgz
Cgzip -d archive.tgz | tar tvf -
Dtar cf archive.tgz
Etar ztf archive.tgz
Question #54Part 1

Which of the following commands prints a list of usernames (first column) and their primary group (fourth column) from the /etc/passwd file?

Afmt -f 1,4 /etc/passwd
Bcut -d : -f 1,4 /etc/passwd
Csort -t : -k 1,4 /etc/passwd
Dpaste -f 1,4 /etc/passwd
Esplit -c 1,4 /etc/passwd
Question #55Part 1

Which of the following regular expressions represents a single upper-case letter?

A:UPPER:
B[A-Z]
C!a-z
D%C
E{AZ}
Question #56Part 1

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?

Agrep -E ':08:[09]+:[09]+' loga.log
Bgrep -E ':08:[00]+' loga.log
Cgrep -E loga.log ':08:[0-9]+:[0-9]+'
Dgrep loga.log ':08:[0-9]:[0-9]'
Egrep -E ':08:[0-9]+:[0-9]+' loga.log
Question #57Part 1

Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose two.)

ALABEL
BID
CFIND
DNAME
EUUID
Question #58Part 1

A yum repository can declare sets of related packages. Which yum command installs all packages belonging to the group admintools?

Ayum pkgsel --install admintools
Byum install admintools/*
Cyum groupinstall admintools
Dyum taskinstall admintools
Eyum collection install admintools
Question #59Part 1

Which of the following commands installs the GRUB boot files into the currently active file systems and the boot loader into the first partition of the first disk?

Agrub-install /dev/sda
Bgrub-install /dev/sda1
Cgrub-install current /dev/sda0
Dgrub-install /dev/sda0
Egrub-install current /dev/sda1
Question #60Part 1

Which of the following commands installs the GRUB boot files into the currently active file systems and the boot loader into the first partition of the first disk?

Agrub-install /dev/sda
Bgrub-install /dev/sda1
Cgrub-install current /dev/sda0
Dgrub-install /dev/sda0
Egrub-install current /dev/sda1
Question #61Part 2Select 2

Which of the following files are found in the /boot/ file system? (Choose two.)

ALinux kernel images
BBash shell binaries
Csystemd target and service units
DInitial ramdisk images
Efsck binaries

📢 Unlock Full Access to Success!

"The content displayed here is a promotional preview and contains only 50% of the actual exam database. To access the complete set of updated questions, please upgrade to the Full Version."

👉 Click the button and follow the instructions to secure your full access immediately!