Save 15% on 2 packs BUY2 · 20% on 3+ BUY3

Skip to content

50 Free LPIC-1 101-500 Practice Questions and Answers

50 questions for the LPIC-1 101-500 exam, each answer explained. Watch it here, try the questions yourself, or read the transcript.

1:28:3650 questionsWatch on YouTube

Questions in this video

Tap an answer to see why it is right or wrong. Tap it again to reset.

Question 1 Play from 00:00

What information can the lspci command display about the system hardware? (Choose three.)

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

lspci does not provide battery type information; battery details come from other tools or ACPI.

Right, B is one of the answers.

Why B is right

The lspci command displays PCI bus device information including IRQ settings (option B), PCI bus speed (option C), and vendor identification information (option E). Option A is incorrect because lspci does not display system battery information. Option D is incorrect because lspci does not display MAC addresses; that requires tools like ifconfig or ip link show.

Right, C is one of the answers.

Why C is right

The lspci command displays PCI bus device information including IRQ settings (option B), PCI bus speed (option C), and vendor identification information (option E). Option A is incorrect because lspci does not display system battery information. Option D is incorrect because lspci does not display MAC addresses; that requires tools like ifconfig or ip link show.

Not this one. Try another answer.

Why D is wrong

lspci does not display Ethernet MAC addresses; this information comes from network configuration commands.

Right, E is one of the answers.

Why E is right

The lspci command displays PCI bus device information including IRQ settings (option B), PCI bus speed (option C), and vendor identification information (option E). Option A is incorrect because lspci does not display system battery information. Option D is incorrect because lspci does not display MAC addresses; that requires tools like ifconfig or ip link show.

Question 2 Play from 01:44

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?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

lsmod --remove --autoclean is not a valid command for preventing automatic module loading.

Not this one. Try another answer.

Why B is wrong

modinfo -k is not used to prevent module loading; modinfo is for displaying module information.

Not this one. Try another answer.

Why C is wrong

modprobe -r removes a loaded module temporarily but does not prevent automatic loading at boot; it requires permanent configuration.

Right, D is the answer.

Why D is right

Adding a blacklist entry to /etc/modprobe.d/blacklist.conf is the standard method to prevent a kernel module from loading automatically at boot time. By adding a line like 'blacklist modulename', the module management system will skip loading that module during initialization.

Not this one. Try another answer.

Why E is wrong

Deleting module directories and recompiling the kernel is unnecessarily invasive and not the standard approach.

Question 3 Play from 04:05

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

The kernel ring buffer is reset in two specific scenarios: when explicitly cleared using the dmesg --clear command, and when the system is shut down or rebooted (which clears all in-memory kernel structures). Reading the buffer with dmesg does not clear it, there is no 15-minute automatic reset timer, and loading kernel modules does not reset the buffer.

Not this one. Try another answer.

Why B is wrong

Reading dmesg without parameters displays the buffer but does not clear it.

Not this one. Try another answer.

Why C is wrong

There is no automatic time-based reset of the kernel ring buffer at any interval.

Not this one. Try another answer.

Why D is wrong

Loading or unloading kernel modules has no effect on the ring buffer contents.

Right, E is one of the answers.

Why E is right

The kernel ring buffer is reset in two specific scenarios: when explicitly cleared using the dmesg --clear command, and when the system is shut down or rebooted (which clears all in-memory kernel structures). Reading the buffer with dmesg does not clear it, there is no 15-minute automatic reset timer, and loading kernel modules does not reset the buffer.

Question 4 Play from 05:58

Which of the following statements are correct about the initial RAM disk involved in the boot process of Linux? (Choose two.)

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

An initramfs is a compressed cpio archive that can be extracted and examined, making option A correct. The kernel loads the initramfs into RAM and uses it temporarily to prepare the system before mounting the real root filesystem, making option D correct. Option B is wrong because initramfs contains only drivers and utilities, not the MBR or bootloader. Option C is incorrect because initramfs contents are typically not preserved in /run/initramfs/ after boot completes. Option E is wrong because initramfs is kernel-version-specific and may be regenerated during updates.

Not this one. Try another answer.

Why B is wrong

The initramfs does not contain the MBR or bootloader; those are separate components in the boot chain.

Not this one. Try another answer.

Why C is wrong

The initramfs contents are not reliably available in /run/initramfs/ after successful boot completion.

Right, D is one of the answers.

Why D is right

An initramfs is a compressed cpio archive that can be extracted and examined, making option A correct. The kernel loads the initramfs into RAM and uses it temporarily to prepare the system before mounting the real root filesystem, making option D correct. Option B is wrong because initramfs contains only drivers and utilities, not the MBR or bootloader. Option C is incorrect because initramfs contents are typically not preserved in /run/initramfs/ after boot completes. Option E is wrong because initramfs is kernel-version-specific and may be regenerated during updates.

Not this one. Try another answer.

Why E is wrong

An initramfs is tightly coupled to the kernel version and is often regenerated when the kernel is updated.

Question 5 Play from 08:27

After a power outage, the XFS file system of /dev/sda3 is inconsistent.
How can the existing file system errors be fixed?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The -f flag forces mounting but does not repair filesystem errors; the filesystem must be repaired before reliable use.

Not this one. Try another answer.

Why B is wrong

xfsck is not a standard XFS repair utility; it does not exist in typical Linux distributions.

Not this one. Try another answer.

Why C is wrong

xfs_repair cannot be used as a mount option; it is a standalone command.

Not this one. Try another answer.

Why D is wrong

xfsadmin repair is not a valid Linux command for XFS repair.

Right, E is the answer.

Why E is right

The xfs_repair command is the standard utility for repairing XFS filesystems after inconsistencies or corruption. It must be run on an unmounted filesystem and will fix metadata issues. The mount -f option forces mounting but does not repair the filesystem. xfsck does not exist as a standard command. xfs_repair is not a mount option, and xfsadmin repair is not a valid command.

Question 6 Play from 10:38

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

Option A is correct because the BIOS provides a configuration interface (typically accessed by pressing Delete, F2, etc.) where boot device order, boot options, and other settings can be configured. Option D is correct because the BIOS is the first code to execute after power-on; it performs hardware initialization and then initiates the boot process by loading the bootloader from the configured boot device.

Not this one. Try another answer.

Why B is wrong

Linux does require BIOS (or UEFI) assistance during the initial boot process to load the bootloader and boot the kernel.

Not this one. Try another answer.

Why C is wrong

The BIOS boot process starts regardless of storage functionality; if no bootable device is found, it may display an error.

Right, D is one of the answers.

Why D is right

Option A is correct because the BIOS provides a configuration interface (typically accessed by pressing Delete, F2, etc.) where boot device order, boot options, and other settings can be configured. Option D is correct because the BIOS is the first code to execute after power-on; it performs hardware initialization and then initiates the boot process by loading the bootloader from the configured boot device.

Not this one. Try another answer.

Why E is wrong

The BIOS is firmware stored on the motherboard ROM, not loaded from secondary storage.

Question 7 Play from 12:41

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

d2 is not a valid vi command syntax for deleting lines.

Not this one. Try another answer.

Why B is wrong

2d is not the correct vi syntax; the count must come before or within the operator as 2dd.

Right, C is the answer.

Why C is right

The command 2dd deletes two lines: the current line and the following line. In vi, dd deletes the current line, and prefixing with a number (2dd) repeats the operation that many times, resulting in two lines being deleted.

Not this one. Try another answer.

Why D is wrong

dd2 is not valid syntax; the count must precede the operator.

Not this one. Try another answer.

Why E is wrong

de12 is not a valid vi deletion command.

Question 8 Play from 14:08

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

A. LABEL E. UUID In /etc/fstab, partitions can be identified by LABEL (filesystem label) or UUID (universally unique identifier) instead of explicit device names like /dev/sda1. Both options provide stable, human-readable or unique identifiers that persist across system changes.

Not this one. Try another answer.

Why B is wrong

ID is not a standard option in /etc/fstab for device identification.

Not this one. Try another answer.

Why C is wrong

FIND is not a valid /etc/fstab identifier option.

Not this one. Try another answer.

Why D is wrong

NAME is not a standard method for identifying partitions in /etc/fstab.

Right, E is one of the answers.

Why E is right

A. LABEL E. UUID In /etc/fstab, partitions can be identified by LABEL (filesystem label) or UUID (universally unique identifier) instead of explicit device names like /dev/sda1. Both options provide stable, human-readable or unique identifiers that persist across system changes.

Question 9 Play from 15:44

Which daemon handles power management events on a Linux system?

Tap an answer. The reason for that answer shows here.

Right, A is the answer.

Why A is right

The acpid daemon (Advanced Configuration and Power Interface daemon) handles power management events on Linux systems. It listens for ACPI events from the kernel and responds appropriately, such as handling lid closes, power button presses, and thermal events.

Not this one. Try another answer.

Why B is wrong

batteryd is not a standard Linux power management daemon.

Not this one. Try another answer.

Why C is wrong

pwrmgntd is not a recognized power management daemon in standard Linux.

Not this one. Try another answer.

Why D is wrong

psd is not a power management daemon; it is used for profile synchronization.

Not this one. Try another answer.

Why E is wrong

inetd is the Internet superserver daemon, not related to power management.

Question 10 Play from 17:13

What is contained on the EFI System Partition?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The Linux root filesystem is located on a separate partition, not the ESP.

Right, B is the answer.

Why B is right

The EFI System Partition (ESP) contains the first stage boot loader and EFI applications necessary to boot the system. It is typically a FAT32 formatted partition that holds boot files like EFI executables. The root filesystem, swap space, shell binaries, and home directories are all located elsewhere on the system, not on the ESP.

Not this one. Try another answer.

Why C is wrong

Swap space is typically on its own dedicated partition or swap file, not the ESP.

Not this one. Try another answer.

Why D is wrong

Shell binaries are stored in /bin and /usr/bin on the root filesystem, not the ESP.

Not this one. Try another answer.

Why E is wrong

User home directories are part of the main filesystem hierarchy, not the ESP.

Show all 50 questionsShow fewer questions

Question 11 Play from 18:56

If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

gunzip does not extract tar archives, so a.txt and b.txt will not be present; only texts.tar is created.

Not this one. Try another answer.

Why B is wrong

gunzip removes the .tgz file after decompression by default, leaving only texts.tar, not both files.

Not this one. Try another answer.

Why C is wrong

gunzip decompresses the entire archive as one unit into texts.tar, not individual .gz files.

Not this one. Try another answer.

Why D is wrong

gunzip only removes gzip compression; it does not extract the tar archive to produce individual files.

Right, E is the answer.

Why E is right

When running gunzip on texts.tgz, the command decompresses the gzip layer only, converting texts.tgz into texts.tar. The gunzip utility does not extract the tar archive, it only removes the .gz compression. To access the individual files a.txt and b.txt, a subsequent tar extraction command would be required. Therefore, only texts.tar will be present in the directory after gunzip completes.

Question 12 Play from 21:11

Which of the following properties of an existing file changes when a hard link pointing to that file is created?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

File size does not change; all hard links reference the same data.

Right, B is the answer.

Why B is right

When a hard link is created, the link count of the inode increases because the file now has multiple directory entries pointing to the same inode. All hard links share the same inode, so the inode number, file size, modification timestamp, and permissions remain unchanged. Only the link count is incremented.

Not this one. Try another answer.

Why C is wrong

The modification timestamp is not updated when a hard link is created.

Not this one. Try another answer.

Why D is wrong

The inode number remains the same; hard links point to the same inode.

Not this one. Try another answer.

Why E is wrong

Permissions are associated with the inode and do not change when a hard link is created.

Question 13 Play from 22:40

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

A. cat /proc/self/mounts D. mount Both cat /proc/self/mounts and mount display currently mounted filesystems. The /proc/self/mounts file contains a list of all mounts for the current process namespace, while the mount command displays all mounted filesystems. Both provide real-time information about active mounts.

Not this one. Try another answer.

Why B is wrong

free displays memory usage, not mounted filesystems

Not this one. Try another answer.

Why C is wrong

lsmounts is not a standard Linux command

Right, D is one of the answers.

Why D is right

A. cat /proc/self/mounts D. mount Both cat /proc/self/mounts and mount display currently mounted filesystems. The /proc/self/mounts file contains a list of all mounts for the current process namespace, while the mount command displays all mounted filesystems. Both provide real-time information about active mounts.

Not this one. Try another answer.

Why E is wrong

cat /proc/filesystems displays supported filesystem types, not currently mounted filesystems

Question 14 Play from 24:15

How many fields are in a syntactically correct line of /etc/fstab?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

Three fields are insufficient; fstab requires dump and fsck pass fields beyond the basic filesystem, mount point, and type.

Not this one. Try another answer.

Why B is wrong

Four fields are incomplete; the dump and fsck pass fields are also required.

Not this one. Try another answer.

Why C is wrong

Five fields lack the fsck pass number, which is needed for boot-time filesystem checking.

Right, D is the answer.

Why D is right

A syntactically correct /etc/fstab line contains exactly 6 fields: filesystem (device or UUID), mount point, filesystem type, mount options, dump frequency, and fsck pass number. Each field is required and separated by whitespace for proper system boot and mount operations.

Not this one. Try another answer.

Why E is wrong

Seven fields exceed the required format; fstab has exactly six mandatory fields.

Question 15 Play from 25:53

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

lsattr displays file attributes, not command paths.

Not this one. Try another answer.

Why B is wrong

apropos searches the manual page database for keyword matches, not executable paths.

Not this one. Try another answer.

Why C is wrong

locate searches a file database by name but does not specifically identify executables in the PATH.

Not this one. Try another answer.

Why D is wrong

whatis displays one-line descriptions from manual pages, not the path to executables.

Right, E is the answer.

Why E is right

The which command searches the user's PATH and displays the full path to the executable file that would be invoked when a command is executed. This is the standard tool for locating commands.

Question 16 Play from 27:22

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

/lib/init.so is not a standard init program in System V systems.

Not this one. Try another answer.

Why B is wrong

/proc/sys/kernel/init is a proc filesystem entry, not an executable program.

Not this one. Try another answer.

Why C is wrong

/etc/rc.d/rcinit is not the first program; init starts before these scripts run.

Right, D is the answer.

Why D is right

The /sbin/init program (also known as the init process with PID 1) is the first user-space program started by the Linux kernel during boot when using System V initialization. This process then reads configuration files and spawns other services. The other paths either do not exist in standard Linux systems or are not valid init locations.

Not this one. Try another answer.

Why E is wrong

/boot/init does not exist in standard Linux systems; init is located in /sbin.

Question 17 Play from 29:13

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

SIGTERM is a termination signal typically sent by commands like kill, not by keyboard shortcuts.

Not this one. Try another answer.

Why B is wrong

SIGCONT resumes a stopped process and is not triggered by Ctrl+C.

Not this one. Try another answer.

Why C is wrong

SIGSTOP suspends a process and is triggered by Ctrl+Z, not Ctrl+C.

Not this one. Try another answer.

Why D is wrong

SIGKILL forcefully terminates a process and cannot be caught or ignored; it is not sent by keyboard shortcuts.

Right, E is the answer.

Why E is right

When Ctrl+C is pressed on the keyboard, the SIGINT (signal interrupt) signal is sent to the process. This is the standard interrupt signal that allows users to terminate a running command from the terminal.

Question 18 Play from 30:44

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?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

i (lowercase) enters insert mode rather than pasting deleted content.

Right, B is the answer.

Why B is right

The p (lowercase) command in vi pastes the deleted content below the current line. After deleting lines with d, the deleted text is stored in a buffer, and p retrieves it to the line below the cursor.

Not this one. Try another answer.

Why C is wrong

P (uppercase) pastes above the current line, not below.

Not this one. Try another answer.

Why D is wrong

U (uppercase) undoes changes to the current line but does not paste deleted content.

Not this one. Try another answer.

Why E is wrong

u (lowercase) undoes the last change but does not paste the deleted content to a new location.

Question 19 Play from 32:22

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

.bashrc_history is not a standard bash file; history is stored in .bash_history.

Not this one. Try another answer.

Why B is wrong

.bash_histfile is not the standard bash history file name.

Not this one. Try another answer.

Why C is wrong

.history is not the standard bash history file; it may be used by other shells.

Right, D is the answer.

Why D is right

The .bash_history file in a user's home directory stores the history of commands executed in Bash shells. This is the standard location where bash records command history for later retrieval.

Not this one. Try another answer.

Why E is wrong

.history_bash is not a standard bash configuration or history file.

Question 20 Play from 33:57

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

grub2 is not a valid command; the correct command is grub-install.

Not this one. Try another answer.

Why B is wrong

grub-mkrescue creates a bootable rescue image, not an MBR installation.

Not this one. Try another answer.

Why C is wrong

grub-mbrinstall is not a valid GRUB 2 command.

Not this one. Try another answer.

Why D is wrong

grub-setup is a lower-level utility and not the standard command for installing GRUB 2 to the MBR.

Right, E is the answer.

Why E is right

The grub-install command is the standard utility for installing GRUB 2 to a boot sector. The command grub-install /dev/sdc installs GRUB 2 to the master boot record of the third hard disk. The /dev/sdc device identifier refers to the third SATA/IDE drive on the system.

Question 21 Play from 35:45

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

/opt/man/ is not an FHS-specified location for man pages; /opt is for optional third-party software.

Not this one. Try another answer.

Why B is wrong

/usr/doc/ is not the FHS location for man pages; documentation may be elsewhere.

Right, C is the answer.

Why C is right

According to the Filesystem Hierarchy Standard (FHS), manual pages are stored in /usr/share/man/. This is the standard location for architecture-independent manual page files that are shared across systems.

Not this one. Try another answer.

Why D is wrong

/var/pkg/man is not a standard FHS location for man pages.

Not this one. Try another answer.

Why E is wrong

/var/man/ is not the FHS location; /var is for variable data, not man pages.

Question 22 Play from 37:28

What is the purpose of the xargs command?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

xargs has no connection to X servers; it is a command-line utility for argument processing.

Not this one. Try another answer.

Why B is wrong

While xargs does execute commands multiple times with different parameters, the core mechanism is reading stdin and building commands, not simple repetition.

Right, C is the answer.

Why C is right

The xargs command reads items from standard input (often from pipes) and builds and executes command lines using those items as arguments. This allows efficient batch processing of input data across multiple command invocations.

Not this one. Try another answer.

Why D is wrong

xargs is not a graphical tool; it operates purely from the command line with no interactive graphical prompts.

Not this one. Try another answer.

Why E is wrong

xargs does not convert or enable long options; it processes and passes arguments to other commands.

Question 23 Play from 39:27

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

Type 7 is used for NTFS/exFAT filesystems.

Right, B is the answer.

Why B is right

Partition type 82 (hexadecimal) is the standard identifier for Linux swap partitions in the MBR partition table. When creating swap space on a Linux system using fdisk or similar tools, this type ID designates the partition as swap space.

Not this one. Try another answer.

Why C is wrong

Type 83 is used for Linux native filesystems (ext2, ext3, ext4, etc.).

Not this one. Try another answer.

Why D is wrong

Type 8e is used for Linux LVM (Logical Volume Management).

Not this one. Try another answer.

Why E is wrong

Type fd is used for Linux RAID auto-detect.

Question 24 Play from 41:00

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

9 is within the valid range but not the maximum value a regular user can assign.

Not this one. Try another answer.

Why B is wrong

15 is within the valid range but not the maximum value a regular user can assign.

Right, C is the answer.

Why C is right

Regular (non-root) users can assign niceness values from 0 to 19 when using the nice command to execute a new process. The maximum value of 19 represents the lowest priority (highest niceness), allowing a user process to be de-prioritized. Root users can assign negative values for higher priority.

Not this one. Try another answer.

Why D is wrong

49 exceeds the valid niceness range which is 0-19 for regular users.

Not this one. Try another answer.

Why E is wrong

99 far exceeds the valid niceness range which is 0-19 for regular users.

Question 25 Play from 42:39

Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.)

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

A. menuentry D. insmod The menuentry command defines boot menu entries in GRUB 2 configuration files, and insmod loads dynamic modules. Both are valid GRUB 2 directives. The uefi, pxe-ifconfig, and kpartx are not GRUB 2 configuration file commands; uefi is a boot mode (not a config command), pxe-ifconfig is not a valid GRUB directive, and kpartx is an external Linux utility unrelated to GRUB configuration.

Not this one. Try another answer.

Why B is wrong

uefi is a boot mode designation, not a valid GRUB 2 configuration file command.

Not this one. Try another answer.

Why C is wrong

pxe-ifconfig is not a valid GRUB 2 configuration directive.

Right, D is one of the answers.

Why D is right

A. menuentry D. insmod The menuentry command defines boot menu entries in GRUB 2 configuration files, and insmod loads dynamic modules. Both are valid GRUB 2 directives. The uefi, pxe-ifconfig, and kpartx are not GRUB 2 configuration file commands; uefi is a boot mode (not a config command), pxe-ifconfig is not a valid GRUB directive, and kpartx is an external Linux utility unrelated to GRUB configuration.

Not this one. Try another answer.

Why E is wrong

kpartx is a Linux partitioning utility, not a GRUB 2 configuration command.

Question 26 Play from 44:20

Where is the bootloader stored on the hard disk of a UEFI system?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

There is no 'EFI Boot Record' structure; the ESP is the correct UEFI boot storage location.

Not this one. Try another answer.

Why B is wrong

The MBR is used in legacy BIOS systems, not in UEFI systems; UEFI uses GPT partitioning.

Right, C is the answer.

Why C is right

In UEFI systems, the bootloader is stored on the EFI System Partition (ESP), which is a special FAT32 partition identified by a specific GUID. This partition contains the EFI boot files and bootloader executable, replacing the MBR-based approach of legacy BIOS systems.

Not this one. Try another answer.

Why D is wrong

Partitions are not automatically labeled 'boot' in UEFI; they are identified by their GUID as the ESP.

Not this one. Try another answer.

Why E is wrong

Partition number 127 has no special meaning in UEFI; the ESP is identified by GUID, not by partition number.

Question 27 Play from 46:18

What are the main differences between GPT and MBR partition tables regarding maximum number and size of partitions? (Choose two.)

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The partition size limits are reversed; MBR maxes out at 2.2 TB while GPT reaches 9.4 ZB.

Right, B is one of the answers.

Why B is right

GPT supports up to 128 partitions by default and partition sizes up to 9.4 ZB, while MBR supports only four primary partitions and is limited to 2.2 TB partition sizes due to its 32-bit sector addressing. These represent the fundamental capacity differences between the two partition table standards.

Not this one. Try another answer.

Why C is wrong

GPT supports 128 partitions, not 64, and MBR supports 4 primary partitions, not 16.

Right, D is one of the answers.

Why D is right

GPT supports up to 128 partitions by default and partition sizes up to 9.4 ZB, while MBR supports only four primary partitions and is limited to 2.2 TB partition sizes due to its 32-bit sector addressing. These represent the fundamental capacity differences between the two partition table standards.

Not this one. Try another answer.

Why E is wrong

Both standards do not support 4096 TB partitions, and MBR does not support four arbitrary partitions without using extended partitions.

Question 28 Play from 48:47

Which of the following commands reads a file and creates separate chunks of a given size from the file's contents?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The ar command is used to create, modify, and extract from archive files, not to split files into chunks.

Not this one. Try another answer.

Why B is wrong

The cat command concatenates and displays files; it does not split files into chunks.

Not this one. Try another answer.

Why C is wrong

The break command is a shell builtin used to exit loops, not a file utility.

Right, D is the answer.

Why D is right

The split command reads a file and divides it into smaller chunks of specified size, creating multiple output files. It is the standard utility for this purpose, commonly used with options like '-b' for byte size or '-l' for line count.

Not this one. Try another answer.

Why E is wrong

The parted command is a partition editor for managing disk partitions, not for splitting file contents.

Question 29 Play from 50:26

What can the Logical Volume Manager (LVM) be used for? (Choose three.)

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

LVM provides flexible volume management including: creating snapshots for backup purposes (A), dynamically resizing logical volumes without downtime (B), and dynamically creating or deleting logical volumes (C). These are core LVM features that provide flexibility over traditional partitioning.

Right, B is one of the answers.

Why B is right

LVM provides flexible volume management including: creating snapshots for backup purposes (A), dynamically resizing logical volumes without downtime (B), and dynamically creating or deleting logical volumes (C). These are core LVM features that provide flexibility over traditional partitioning.

Right, C is one of the answers.

Why C is right

LVM provides flexible volume management including: creating snapshots for backup purposes (A), dynamically resizing logical volumes without downtime (B), and dynamically creating or deleting logical volumes (C). These are core LVM features that provide flexibility over traditional partitioning.

Not this one. Try another answer.

Why D is wrong

LVM does not create RAID 9 arrays; RAID levels are managed by mdadm or hardware RAID controllers, though LVM can work alongside RAID.

Not this one. Try another answer.

Why E is wrong

LVM itself does not provide encryption; encryption is handled by LUKS or dm-crypt, which can be used in conjunction with LVM.

Question 30 Play from 52:07

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

type is a shell built-in that shows whether a command is an alias, function, or external program.

Right, B is the answer.

Why B is right

The `file` command determines a file's type by consulting a magic database (typically /usr/share/magic or similar) that contains patterns and signatures identifying common file types. It analyzes file contents and metadata to report the format.

Not this one. Try another answer.

Why C is wrong

magic is the database file itself, not a command.

Not this one. Try another answer.

Why D is wrong

pmagic is not a standard Unix command.

Not this one. Try another answer.

Why E is wrong

hash is a shell built-in for caching command paths, not for file type detection.

Question 31 Play from 53:35

Which of the following commands show how the shell handles a specific command?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

where is not a standard POSIX shell command and is not universally available.

Right, B is the answer.

Why B is right

The type command displays how the shell interprets a command, showing whether it is a built-in, alias, function, or external command. The where command is not standard across all shells. The stat command displays file information, not command interpretation. The case command is a shell control structure, and fileinfo is not a standard utility.

Not this one. Try another answer.

Why C is wrong

stat displays file metadata, not how the shell handles command resolution.

Not this one. Try another answer.

Why D is wrong

case is a shell control structure for conditional execution, not for command resolution.

Not this one. Try another answer.

Why E is wrong

fileinfo is not a standard Linux command.

Question 32 Play from 55:05

Which of the following commands can be used to display the inode number of a given file? (Choose two.)

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The inode command does not exist in standard Linux.

Not this one. Try another answer.

Why B is wrong

The ln command creates hard or symbolic links but does not display inode numbers.

Right, C is one of the answers.

Why C is right

C. ls E. stat The ls command with the -i option displays inode numbers for files. The stat command also displays detailed file information including the inode number. The inode command does not exist as a standard Linux utility. The ln command creates links but does not display inode numbers. The cp command copies files without displaying inode information.

Not this one. Try another answer.

Why D is wrong

The cp command copies files but does not display inode information.

Right, E is one of the answers.

Why E is right

C. ls E. stat The ls command with the -i option displays inode numbers for files. The stat command also displays detailed file information including the inode number. The inode command does not exist as a standard Linux utility. The ln command creates links but does not display inode numbers. The cp command copies files without displaying inode information.

Question 33 Play from 56:34

What is the effect of the -v option for the grep command?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

Color highlighting is controlled by --color, not -v

Not this one. Try another answer.

Why B is wrong

Version information is displayed with --version, not -v

Right, C is the answer.

Why C is right

The -v option for grep inverts the matching logic, causing the command to output only lines that do NOT match the specified pattern. This is the standard behavior of the -v flag across grep implementations.

Not this one. Try another answer.

Why D is wrong

grep does not reorder output by last match first; the -v flag only inverts matches

Not this one. Try another answer.

Why E is wrong

The -v flag outputs non-matching lines only, not all lines with prefixes

Question 34 Play from 58:10

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

XFS requires explicit specification with mkfs.xfs

Not this one. Try another answer.

Why B is wrong

VFAT requires explicit specification with mkfs.vfat

Right, C is the answer.

Why C is right

When mkfs is executed with only a block device name and no additional parameters, it defaults to creating an ext2 filesystem. This is the traditional default behavior of the mkfs command without any filesystem type specification.

Not this one. Try another answer.

Why D is wrong

ext3 requires explicit specification with mkfs.ext3

Not this one. Try another answer.

Why E is wrong

ext4 requires explicit specification with mkfs.ext4

Question 35 Play from 59:43

What does the command mount --bind do?

Tap an answer. The reason for that answer shows here.

Right, A is the answer.

Why A is right

The mount --bind command creates a bind mount, which makes the contents of one directory available at another location in the filesystem hierarchy. This allows the same directory to be accessible from multiple mount points without duplicating the data.

Not this one. Try another answer.

Why B is wrong

mount --bind does not mount all available filesystems

Not this one. Try another answer.

Why C is wrong

mount --bind does not mount filesystems to the user's home directory

Not this one. Try another answer.

Why D is wrong

mount --bind does not use an 'userbind' option from /etc/fstab

Not this one. Try another answer.

Why E is wrong

mount --bind does not require or permanently mount regular files

Question 36 Play from 1:01:26

Which of the following commands can perform searches on file contents using regular expressions?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

find searches for files by name, attributes, and other file properties, not by content.

Not this one. Try another answer.

Why B is wrong

locate searches a database of filenames for quick file location matching, not file contents.

Right, C is the answer.

Why C is right

The grep command is specifically designed to search file contents using regular expressions. It reads files line by line and outputs matching lines based on regex patterns provided. The other commands search filenames or have different purposes but do not search file contents with regex.

Not this one. Try another answer.

Why D is wrong

reggrep is not a standard Unix command.

Not this one. Try another answer.

Why E is wrong

pgrep searches for running processes by name, not file contents.

Question 37 Play from 1:02:53

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

history displays previously executed commands, not used to change shell options

Not this one. Try another answer.

Why B is wrong

setsh is not a valid bash command

Not this one. Try another answer.

Why C is wrong

bashconf is not a standard bash command for changing options

Right, D is the answer.

Why D is right

The set command is used to change options and positional parameters within a running Bash shell. It allows you to enable or disable shell options (like set -e, set -x) and manage positional parameters ($1, $2, etc.). This is the standard utility for modifying shell behavior at runtime.

Not this one. Try another answer.

Why E is wrong

envsetup is not a standard bash command for changing shell options

Question 38 Play from 1:04:21

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

A. It can read and interpret partition tables B. It can use and read certain file systems Option A is correct because UEFI firmware can read and interpret partition tables (GPT tables). Option B is correct because UEFI has the capability to read certain filesystems (like FAT32, ext4) directly, allowing it to load files from the filesystem without relying solely on fixed disk positions.

Right, B is one of the answers.

Why B is right

A. It can read and interpret partition tables B. It can use and read certain file systems Option A is correct because UEFI firmware can read and interpret partition tables (GPT tables). Option B is correct because UEFI has the capability to read certain filesystems (like FAT32, ext4) directly, allowing it to load files from the filesystem without relying solely on fixed disk positions.

Not this one. Try another answer.

Why C is wrong

UEFI configuration is stored in NVRAM and the ESP (EFI System Partition), not the /boot/ partition alone.

Not this one. Try another answer.

Why D is wrong

UEFI firmware itself is stored on the motherboard ROM/flash, not within GPT metadata.

Not this one. Try another answer.

Why E is wrong

UEFI uses filesystem navigation and boot entries rather than loading from a fixed disk position.

Question 39 Play from 1:06:18

What is the purpose of the ldd command?

Tap an answer. The reason for that answer shows here.

Right, A is the answer.

Why A is right

The ldd command is a utility that displays the shared libraries required by a binary executable to run. It lists all dynamic dependencies and their memory addresses, making it essential for troubleshooting library-related issues and understanding what libraries a program needs.

Not this one. Try another answer.

Why B is wrong

ldd does not install or update libraries; package managers like apt or yum handle that function.

Not this one. Try another answer.

Why C is wrong

ldd cannot convert dynamic binaries to static ones; this requires recompilation with static linking flags.

Not this one. Try another answer.

Why D is wrong

ldd does not define default library versions; this is handled by LD_LIBRARY_PATH and library configuration files.

Not this one. Try another answer.

Why E is wrong

ldd does not run binaries with alternate search paths; LD_LIBRARY_PATH environment variable serves that purpose.

Question 40 Play from 1:08:15

What is the correct way to set the default systemd boot target to multi-user?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

systemctl isolate switches to a target immediately but does not set it as the default for future boots.

Not this one. Try another answer.

Why B is wrong

There is no 'set-runlevel' subcommand in systemctl; this syntax is invalid.

Not this one. Try another answer.

Why C is wrong

There is no 'set-boot' subcommand in systemctl; this syntax is invalid.

Right, D is the answer.

Why D is right

The systemctl set-default command sets the default boot target for the next and subsequent system boots. This modifies the symbolic link at /etc/systemd/system/default.target to point to the desired target unit (e.g., multi- user.target).

Not this one. Try another answer.

Why E is wrong

There is no 'boot' subcommand with '-p' option in systemctl; this syntax is invalid.

Question 41 Play from 1:10:05

When booting from the hard disk, a computer successfully loads the Linux kernel and initramfs but hangs during the subsequent startup tasks. The system is booted using a Linux based rescue CD to investigate the problem. Which of the following methods helps to identify the root cause of the problem?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

dmesg on the rescue CD shows the rescue kernel's own boot messages, not those of the installed system.

Not this one. Try another answer.

Why B is wrong

/proc/kmsg is a live interface into the running kernel's memory; it is never stored on disk, so there is nothing to read from the hard disk.

Right, C is the answer.

Why C is right

dmesg reads the ring buffer of the kernel that is currently running, and after booting the rescue CD that is the rescue kernel, so the messages from the failed boot are no longer held in memory anywhere. The only record that survives a reboot is what the system managed to write to disk before it hung, and that lives under /var/log on the hard disk, for example the syslog or journal files. Mounting the hard disk from the rescue environment and reading those files is therefore the way to find the cause.

Not this one. Try another answer.

Why D is wrong

chroot changes the root directory but not the running kernel, so dmesg inside the chroot still prints the rescue kernel's messages.

Not this one. Try another answer.

Why E is wrong

Rebooting from the hard disk repeats the same hang and gives no new information.

Question 42 Play from 1:12:49

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

10% is higher than the default ext4 reserved percentage

Not this one. Try another answer.

Why B is wrong

3% is lower than the default ext4 reserved percentage

Not this one. Try another answer.

Why C is wrong

15% is significantly higher than the default ext4 reserved percentage

Not this one. Try another answer.

Why D is wrong

0% would mean no reserved space, which is not the default

Right, E is the answer.

Why E is right

The default reserved space percentage for the root user on ext4 filesystems is 5%. This reserved space prevents the filesystem from becoming completely full and ensures the root user can still perform administrative operations when the disk is nearly full.

Question 43 Play from 1:14:14

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

systemd does track manual mounts even without explicit systemctl mount commands

Not this one. Try another answer.

Why B is wrong

There is no systemctl mountsync command

Right, C is the answer.

Why C is right

When a filesystem is mounted manually but not listed in /etc/fstab, systemd automatically generates a transient mount unit for it and monitors the mount point without making changes. This allows systemd to track and manage the mount while preserving the manual mount configuration.

Not this one. Try another answer.

Why D is wrong

systemd does not automatically unmount manually mounted filesystems after a period of time

Not this one. Try another answer.

Why E is wrong

systemctl unmount is not required; standard umount works fine for manual mounts

Question 44 Play from 1:16:22

Which of the following commands loads a kernel module along with any required dependency modules?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

depmod only generates the dependency map file; it does not load modules.

Right, B is the answer.

Why B is right

The modprobe command automatically resolves and loads kernel module dependencies by reading the dependency map created by depmod. Option A (depmod) creates the dependency map but doesn't load modules. Option C (module_install) is not a standard Linux command. Option D (insmod) loads modules directly without resolving dependencies, requiring manual dependency management. Option E (loadmod) is not a standard Linux command.

Not this one. Try another answer.

Why C is wrong

module_install is not a standard Linux module loading command.

Not this one. Try another answer.

Why D is wrong

insmod loads a single module without automatically handling dependencies.

Not this one. Try another answer.

Why E is wrong

loadmod is not a standard Linux module loading command.

Question 45 Play from 1:18:00

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The partitioning scheme typically remains the same when cloning a virtual machine.

Not this one. Try another answer.

Why B is wrong

The filesystem type is usually preserved during the cloning process.

Right, C is one of the answers.

Why C is right

When cloning a virtual machine, the D-Bus Machine ID (which uniquely identifies the machine) and SSH host keys (which should be unique per machine for security) must be regenerated or changed. These are system identifiers that should not be duplicated across systems. Partitioning scheme and filesystem type are typically preserved during cloning, and /root/ permissions usually remain the same as part of the standard system configuration.

Not this one. Try another answer.

Why D is wrong

The permissions of /root/ are standard system permissions that do not need to change during cloning.

Right, E is one of the answers.

Why E is right

When cloning a virtual machine, the D-Bus Machine ID (which uniquely identifies the machine) and SSH host keys (which should be unique per machine for security) must be regenerated or changed. These are system identifiers that should not be duplicated across systems. Partitioning scheme and filesystem type are typically preserved during cloning, and /root/ permissions usually remain the same as part of the standard system configuration.

Question 46 Play from 1:19:43

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?

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

0750 is the resulting permission, not the umask value

Right, B is the answer.

Why B is right

The umask 0027 subtracts from the default directory permissions (0777). Subtracting 0027 yields 0750, which gives rwx to owner, r-x to group, and no permissions to others. This matches the requirement: owner can read/write/list, group can read/list, others have no access.

Not this one. Try another answer.

Why C is wrong

umask 0036 would result in 0741 permissions, not the required 0750

Not this one. Try another answer.

Why D is wrong

7640 is not a valid umask format

Not this one. Try another answer.

Why E is wrong

umask 0029 would result in 0748 permissions, not the required 0750

Question 47 Play from 1:21:32

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

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

The & character does not redirect output to /dev/null; use '> /dev/null' for that purpose.

Right, B is the answer.

Why B is right

The & character at the end of a command tells the shell to run that command in the background, returning control to the shell prompt immediately while the process continues executing. This is fundamental shell behavior for background job management.

Not this one. Try another answer.

Why C is wrong

The & character does not cause output to be executed as shell commands; that would require eval or command substitution.

Not this one. Try another answer.

Why D is wrong

Background commands become children of the shell that spawned them, not direct children of init (unless the parent shell exits).

Not this one. Try another answer.

Why E is wrong

The & character does not affect input redirection; stdin would still come from the terminal unless explicitly redirected.

Question 48 Play from 1:23:24

Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.)

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

JFS dynamically allocates inodes as needed rather than preallocating a fixed number.

Right, B is one of the answers.

Why B is right

B. ext3 D. ext2 Both ext2 (D) and ext3 (B) preallocate a fixed number of inodes when the filesystem is created, determined by the inode density ratio. This contrasts with modern filesystems like XFS and JFS that dynamically allocate inodes as needed, and procfs which generates inodes on-the-fly.

Not this one. Try another answer.

Why C is wrong

XFS uses dynamic inode allocation and does not preallocate a fixed number of inodes.

Right, D is one of the answers.

Why D is right

B. ext3 D. ext2 Both ext2 (D) and ext3 (B) preallocate a fixed number of inodes when the filesystem is created, determined by the inode density ratio. This contrasts with modern filesystems like XFS and JFS that dynamically allocate inodes as needed, and procfs which generates inodes on-the-fly.

Not this one. Try another answer.

Why E is wrong

procfs is a virtual filesystem that generates inodes dynamically for process information.

Question 49 Play from 1:25:03

Which of the following tools can show the complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose two.)

Tap an answer. The reason for that answer shows here.

Not this one. Try another answer.

Why A is wrong

find searches the filesystem but requires knowing the directory structure; it doesn't specifically show shell PATH resolution

Not this one. Try another answer.

Why B is wrong

pwd only shows the current working directory, not executable locations

Right, C is one of the answers.

Why C is right

The which command locates an executable in the user's PATH and displays its full path. The type command is a bash builtin that also shows the full path of a command and whether it's a builtin, alias, or external executable. Both tools show what executable would be run by the shell.

Not this one. Try another answer.

Why D is wrong

locate searches a prebuilt database and doesn't specifically indicate which executable the shell would use

Right, E is one of the answers.

Why E is right

The which command locates an executable in the user's PATH and displays its full path. The type command is a bash builtin that also shows the full path of a command and whether it's a builtin, alias, or external executable. Both tools show what executable would be run by the shell.

Question 50 Play from 1:26:41

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

Tap an answer. The reason for that answer shows here.

Right, A is one of the answers.

Why A is right

The /boot directory contains Linux kernel images (vmlinuz files) and initial ramdisk images (initrd or initramfs files), both essential for the boot process. Bash shell binaries are found in /bin or /usr/bin, systemd units are in /etc/systemd or /usr/lib/systemd, and fsck binaries are in /sbin or /usr/sbin.

Not this one. Try another answer.

Why B is wrong

Bash shell binaries are located in /bin or /usr/bin, not in /boot.

Not this one. Try another answer.

Why C is wrong

systemd target and service units are stored in /etc/systemd or /usr/lib/systemd directories, not /boot.

Right, D is one of the answers.

Why D is right

The /boot directory contains Linux kernel images (vmlinuz files) and initial ramdisk images (initrd or initramfs files), both essential for the boot process. Bash shell binaries are found in /bin or /usr/bin, systemd units are in /etc/systemd or /usr/lib/systemd, and fsck binaries are in /sbin or /usr/sbin.

Not this one. Try another answer.

Why E is wrong

fsck binaries are located in /sbin or /usr/sbin, not in the /boot directory.

Transcript

Play from 00:00 Question 1. What information can the lspci command display about the system hardware? (Choose three.) Here are the options. Option A. System battery type. Option B. Device IRQ settings. Option C. PCI bus speed. Option D. Ethernet MAC address. Option E. Device vendor identification. Pause the video now if you want time to think about the answer.

The correct answers are B. Device IRQ settings, and C. PCI bus speed, and E. Device vendor identification. The lspci command displays PCI bus device information including IRQ settings (option B), PCI bus speed (option C), and vendor identification information (option E). Option A is incorrect because lspci does not display system battery information. Option D is incorrect because lspci does not display MAC addresses; that requires tools like ifconfig or ip link show. Now, why are the other options incorrect? Option A is incorrect. lspci does not provide battery type information; battery details come from other tools or ACPI. Option D is incorrect. lspci does not display Ethernet MAC addresses; this information comes from network configuration commands. Therefore, B and C and E are the correct answers.

Play from 01:44 Question 2. 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? Here are the options. Option A. Using lsmod --remove --autoclean without specifying the name of a specific module. Option B. Using modinfo -k followed by the name of the offending module. Option C. Using modprobe -r followed by the name of the offending module. Option D. Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf. Option E. Deleting the kernel module's directory from the file system and recompiling the kernel, including its modules. Pause the video now if you want time to think about the answer.

The correct answer is D. Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf. Adding a blacklist entry to /etc/modprobe.d/blacklist.conf is the standard method to prevent a kernel module from loading automatically at boot time. By adding a line like 'blacklist modulename', the module management system will skip loading that module during initialization. Now, why are the other options incorrect? Option A is incorrect. lsmod --remove --autoclean is not a valid command for preventing automatic module loading. Option B is incorrect. modinfo -k is not used to prevent module loading; modinfo is for displaying module information. Option C is incorrect. modprobe -r removes a loaded module temporarily but does not prevent automatic loading at boot; it requires permanent configuration. Option E is incorrect. Deleting module directories and recompiling the kernel is unnecessarily invasive and not the standard approach. Therefore, D, Adding a blacklist line including the name of the offending module to the file /etc/modprobe.d/blacklist.conf, is the correct answer.

Play from 04:05 Question 3. When is the content of the kernel ring buffer reset? (Choose two.) Here are the options. Option A. When the ring buffer is explicitly reset using the command dmesg --clear. Option B. When the ring buffer is read using dmesg without any additional parameters. Option C. When a configurable amount of time, 15 minutes by default, has passed. Option D. When the kernel loads a previously unloaded kernel module. Option E. When the system is shut down or rebooted. Pause the video now if you want time to think about the answer.

The correct answers are A. When the ring buffer is explicitly reset using the command dmesg --clear, and E. When the system is shut down or rebooted. The kernel ring buffer is reset in two specific scenarios: when explicitly cleared using the dmesg --clear command, and when the system is shut down or rebooted (which clears all in-memory kernel structures). Reading the buffer with dmesg does not clear it, there is no 15-minute automatic reset timer, and loading kernel modules does not reset the buffer. Now, why are the other options incorrect? Option B is incorrect. Reading dmesg without parameters displays the buffer but does not clear it. Option C is incorrect. There is no automatic time-based reset of the kernel ring buffer at any interval. Option D is incorrect. Loading or unloading kernel modules has no effect on the ring buffer contents. Therefore, A and E are the correct answers.

Show full transcriptShow less

Play from 05:58 Question 4. Which of the following statements are correct about the initial RAM disk involved in the boot process of Linux? (Choose two.) Here are the options. Option A. An initramfs is a compressed file system archive, which can be unpacked to examine its contents. Option B. An initramfs file contains the MBR, the bootloader and the Linux kernel. Option C. After a successful boot, the initramfs contents are available in /run/initramfs/. Option D. The kernel uses the initramfs temporarily before accessing the real root file system. Option E. An initramfs does not depend on a specific kernel version and is not changed after the initial installation. Pause the video now if you want time to think about the answer.

The correct answers are A. An initramfs is a compressed file system archive, which can be unpacked to examine its contents, and D. The kernel uses the initramfs temporarily before accessing the real root file system. An initramfs is a compressed cpio archive that can be extracted and examined, making option A correct. The kernel loads the initramfs into RAM and uses it temporarily to prepare the system before mounting the real root filesystem, making option D correct. Option B is wrong because initramfs contains only drivers and utilities, not the MBR or bootloader. Option C is incorrect because initramfs contents are typically not preserved in /run/initramfs/ after boot completes. Option E is wrong because initramfs is kernel-version-specific and may be regenerated during updates. Now, why are the other options incorrect? Option B is incorrect. The initramfs does not contain the MBR or bootloader; those are separate components in the boot chain. Option C is incorrect. The initramfs contents are not reliably available in /run/initramfs/ after successful boot completion. Option E is incorrect. An initramfs is tightly coupled to the kernel version and is often regenerated when the kernel is updated. Therefore, A and D are the correct answers.

Play from 08:27 Question 5. After a power outage, the XFS file system of /dev/sda3 is inconsistent. How can the existing file system errors be fixed? Here are the options. Option A. By using mount -f to force a mount of the file system. Option B. By running xfsck on the file system. Option C. By mounting the file system with the option xfs_repair. Option D. By running xfsadmin repair on the file system. Option E. By running xfs_repair on the file system. Pause the video now if you want time to think about the answer.

The correct answer is E. By running xfs_repair on the file system. The xfs_repair command is the standard utility for repairing XFS filesystems after inconsistencies or corruption. It must be run on an unmounted filesystem and will fix metadata issues. The mount -f option forces mounting but does not repair the filesystem. xfsck does not exist as a standard command. xfs_repair is not a mount option, and xfsadmin repair is not a valid command. Now, why are the other options incorrect? Option A is incorrect. The -f flag forces mounting but does not repair filesystem errors; the filesystem must be repaired before reliable use. Option B is incorrect. xfsck is not a standard XFS repair utility; it does not exist in typical Linux distributions. Option C is incorrect. xfs_repair cannot be used as a mount option; it is a standalone command. Option D is incorrect. xfsadmin repair is not a valid Linux command for XFS repair. Therefore, E, By running xfs_repair on the file system, is the correct answer.

Play from 10:38 Question 6. Which of the following statements are true about the boot sequence of a PC using a BIOS? (Choose two.) Here are the options. Option A. Some parts of the boot process can be configured from the BIOS. Option B. Linux does not require the assistance of the BIOS to boot a computer. Option C. The BIOS boot process starts only if secondary storage, such as the hard disk, is functional. Option D. The BIOS initiates the boot process after turning the computer on. Option E. The BIOS is started by loading hardware drivers from secondary storage, such as the hard disk. Pause the video now if you want time to think about the answer.

The correct answers are A. Some parts of the boot process can be configured from the BIOS, and D. The BIOS initiates the boot process after turning the computer on. Option A is correct because the BIOS provides a configuration interface (typically accessed by pressing Delete, F2, etc.) where boot device order, boot options, and other settings can be configured. Option D is correct because the BIOS is the first code to execute after power-on; it performs hardware initialization and then initiates the boot process by loading the bootloader from the configured boot device. Now, why are the other options incorrect? Option B is incorrect. Linux does require BIOS (or UEFI) assistance during the initial boot process to load the bootloader and boot the kernel. Option C is incorrect. The BIOS boot process starts regardless of storage functionality; if no bootable device is found, it may display an error. Option E is incorrect. The BIOS is firmware stored on the motherboard ROM, not loaded from secondary storage. Therefore, A and D are the correct answers.

Play from 12:41 Question 7. Which of the following vi commands deletes two lines, the current and the following line? Here are the options. Option A. d2. Option B. 2d. Option C. 2dd. Option D. dd2. Option E. de12. Pause the video now if you want time to think about the answer.

The correct answer is C. 2dd. The command 2dd deletes two lines: the current line and the following line. In vi, dd deletes the current line, and prefixing with a number (2dd) repeats the operation that many times, resulting in two lines being deleted. Now, why are the other options incorrect? Option A is incorrect. d2 is not a valid vi command syntax for deleting lines. Option B is incorrect. 2d is not the correct vi syntax; the count must come before or within the operator as 2dd. Option D is incorrect. dd2 is not valid syntax; the count must precede the operator. Option E is incorrect. de12 is not a valid vi deletion command. Therefore, C, 2dd, is the correct answer.

Play from 14:08 Question 8. Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose two.) Here are the options. Option A. LABEL. Option B. ID. Option C. FIND. Option D. NAME. Option E. UUID. Pause the video now if you want time to think about the answer.

The correct answers are A. LABEL, and E. UUID. A. LABEL E. UUID In /etc/fstab, partitions can be identified by LABEL (filesystem label) or UUID (universally unique identifier) instead of explicit device names like /dev/sda1. Both options provide stable, human-readable or unique identifiers that persist across system changes. Now, why are the other options incorrect? Option B is incorrect. ID is not a standard option in /etc/fstab for device identification. Option C is incorrect. FIND is not a valid /etc/fstab identifier option. Option D is incorrect. NAME is not a standard method for identifying partitions in /etc/fstab. Therefore, A and E are the correct answers.

Play from 15:44 Question 9. Which daemon handles power management events on a Linux system? Here are the options. Option A. acpid. Option B. batteryd. Option C. pwrmgntd. Option D. psd. Option E. inetd. Pause the video now if you want time to think about the answer.

The correct answer is A. acpid. The acpid daemon (Advanced Configuration and Power Interface daemon) handles power management events on Linux systems. It listens for ACPI events from the kernel and responds appropriately, such as handling lid closes, power button presses, and thermal events. Now, why are the other options incorrect? Option B is incorrect. batteryd is not a standard Linux power management daemon. Option C is incorrect. pwrmgntd is not a recognized power management daemon in standard Linux. Option D is incorrect. psd is not a power management daemon; it is used for profile synchronization. Option E is incorrect. inetd is the Internet superserver daemon, not related to power management. Therefore, A, acpid, is the correct answer.

Play from 17:13 Question 10. What is contained on the EFI System Partition? Here are the options. Option A. The Linux root file system. Option B. The first stage boot loader. Option C. The default swap space file. Option D. The Linux default shell binaries. Option E. The user home directories. Pause the video now if you want time to think about the answer.

The correct answer is B. The first stage boot loader. The EFI System Partition (ESP) contains the first stage boot loader and EFI applications necessary to boot the system. It is typically a FAT32 formatted partition that holds boot files like EFI executables. The root filesystem, swap space, shell binaries, and home directories are all located elsewhere on the system, not on the ESP. Now, why are the other options incorrect? Option A is incorrect. The Linux root filesystem is located on a separate partition, not the ESP. Option C is incorrect. Swap space is typically on its own dedicated partition or swap file, not the ESP. Option D is incorrect. Shell binaries are stored in /bin and /usr/bin on the root filesystem, not the ESP. Option E is incorrect. User home directories are part of the main filesystem hierarchy, not the ESP. Therefore, B, The first stage boot loader, is the correct answer.

Play from 18:56 Question 11. If the gzip compressed tar archive texts.tgz contains the files a.txt and b.txt, which files will be present in the current directory after running gunzip texts.tgz? Here are the options. Option A. Only a.txt, b.txt, and texts.tgz. Option B. Only texts.tar and texts.tgz. Option C. Only a.txt.gz and b.txt.gz. Option D. Only a.txt and b.txt. Option E. Only texts.tar. Pause the video now if you want time to think about the answer.

The correct answer is E. Only texts.tar. When running gunzip on texts.tgz, the command decompresses the gzip layer only, converting texts.tgz into texts.tar. The gunzip utility does not extract the tar archive, it only removes the .gz compression. To access the individual files a.txt and b.txt, a subsequent tar extraction command would be required. Therefore, only texts.tar will be present in the directory after gunzip completes. Now, why are the other options incorrect? Option A is incorrect. gunzip does not extract tar archives, so a.txt and b.txt will not be present; only texts.tar is created. Option B is incorrect. gunzip removes the .tgz file after decompression by default, leaving only texts.tar, not both files. Option C is incorrect. gunzip decompresses the entire archive as one unit into texts.tar, not individual .gz files. Option D is incorrect. gunzip only removes gzip compression; it does not extract the tar archive to produce individual files. Therefore, E, Only texts.tar, is the correct answer.

Play from 21:11 Question 12. Which of the following properties of an existing file changes when a hard link pointing to that file is created? Here are the options. Option A. File size. Option B. Link count. Option C. Modify timestamp. Option D. Inode number. Option E. Permissions. Pause the video now if you want time to think about the answer.

The correct answer is B. Link count. When a hard link is created, the link count of the inode increases because the file now has multiple directory entries pointing to the same inode. All hard links share the same inode, so the inode number, file size, modification timestamp, and permissions remain unchanged. Only the link count is incremented. Now, why are the other options incorrect? Option A is incorrect. File size does not change; all hard links reference the same data. Option C is incorrect. The modification timestamp is not updated when a hard link is created. Option D is incorrect. The inode number remains the same; hard links point to the same inode. Option E is incorrect. Permissions are associated with the inode and do not change when a hard link is created. Therefore, B, Link count, is the correct answer.

Play from 22:40 Question 13. In order to display all currently mounted filesystems, which of the following commands could be used? (Choose two.) Here are the options. Option A. cat /proc/self/mounts. Option B. free. Option C. lsmounts. Option D. mount. Option E. cat /proc/filesystems. Pause the video now if you want time to think about the answer.

The correct answers are A. cat /proc/self/mounts, and D. mount. A. cat /proc/self/mounts D. mount Both cat /proc/self/mounts and mount display currently mounted filesystems. The /proc/self/mounts file contains a list of all mounts for the current process namespace, while the mount command displays all mounted filesystems. Both provide real-time information about active mounts. Now, why are the other options incorrect? Option B is incorrect. free displays memory usage, not mounted filesystems Option C is incorrect. lsmounts is not a standard Linux command Option E is incorrect. cat /proc/filesystems displays supported filesystem types, not currently mounted filesystems Therefore, A and D are the correct answers.

Play from 24:15 Question 14. How many fields are in a syntactically correct line of /etc/fstab? Here are the options. Option A. 3. Option B. 4. Option C. 5. Option D. 6. Option E. 7. Pause the video now if you want time to think about the answer.

The correct answer is D. 6. A syntactically correct /etc/fstab line contains exactly 6 fields: filesystem (device or UUID), mount point, filesystem type, mount options, dump frequency, and fsck pass number. Each field is required and separated by whitespace for proper system boot and mount operations. Now, why are the other options incorrect? Option A is incorrect. Three fields are insufficient; fstab requires dump and fsck pass fields beyond the basic filesystem, mount point, and type. Option B is incorrect. Four fields are incomplete; the dump and fsck pass fields are also required. Option C is incorrect. Five fields lack the fsck pass number, which is needed for boot-time filesystem checking. Option E is incorrect. Seven fields exceed the required format; fstab has exactly six mandatory fields. Therefore, D, 6, is the correct answer.

Play from 25:53 Question 15. Which of the following commands displays the path to the executable file that would be executed when the command foo is invoked? Here are the options. Option A. lsattr foo. Option B. apropos foo. Option C. locate foo. Option D. whatis foo. Option E. which foo. Pause the video now if you want time to think about the answer.

The correct answer is E. which foo. The which command searches the user's PATH and displays the full path to the executable file that would be invoked when a command is executed. This is the standard tool for locating commands. Now, why are the other options incorrect? Option A is incorrect. lsattr displays file attributes, not command paths. Option B is incorrect. apropos searches the manual page database for keyword matches, not executable paths. Option C is incorrect. locate searches a file database by name but does not specifically identify executables in the PATH. Option D is incorrect. whatis displays one-line descriptions from manual pages, not the path to executables. Therefore, E, which foo, is the correct answer.

Play from 27:22 Question 16. What is the first program the Linux kernel starts at boot time when using System V init? Here are the options. Option A. /lib/init.so. Option B. /proc/sys/kernel/init. Option C. /etc/rc.d/rcinit. Option D. /sbin/init. Option E. /boot/init. Pause the video now if you want time to think about the answer.

The correct answer is D. /sbin/init. The /sbin/init program (also known as the init process with PID 1) is the first user-space program started by the Linux kernel during boot when using System V initialization. This process then reads configuration files and spawns other services. The other paths either do not exist in standard Linux systems or are not valid init locations. Now, why are the other options incorrect? Option A is incorrect. /lib/init.so is not a standard init program in System V systems. Option B is incorrect. /proc/sys/kernel/init is a proc filesystem entry, not an executable program. Option C is incorrect. /etc/rc.d/rcinit is not the first program; init starts before these scripts run. Option E is incorrect. /boot/init does not exist in standard Linux systems; init is located in /sbin. Therefore, D, /sbin/init, is the correct answer.

Play from 29:13 Question 17. Which of the following signals is sent to a process when the key combination Ctrl+C is pressed on the keyboard? Here are the options. Option A. SIGTERM. Option B. SIGCONT. Option C. SIGSTOP. Option D. SIGKILL. Option E. SIGINT. Pause the video now if you want time to think about the answer.

The correct answer is E. SIGINT. When Ctrl+C is pressed on the keyboard, the SIGINT (signal interrupt) signal is sent to the process. This is the standard interrupt signal that allows users to terminate a running command from the terminal. Now, why are the other options incorrect? Option A is incorrect. SIGTERM is a termination signal typically sent by commands like kill, not by keyboard shortcuts. Option B is incorrect. SIGCONT resumes a stopped process and is not triggered by Ctrl+C. Option C is incorrect. SIGSTOP suspends a process and is triggered by Ctrl+Z, not Ctrl+C. Option D is incorrect. SIGKILL forcefully terminates a process and cannot be caught or ignored; it is not sent by keyboard shortcuts. Therefore, E, SIGINT, is the correct answer.

Play from 30:44 Question 18. 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? Here are the options. Option A. i (lowercase). Option B. p (lowercase). Option C. P (uppercase). Option D. U (uppercase). Option E. u (lowercase). Pause the video now if you want time to think about the answer.

The correct answer is B. p (lowercase). The p (lowercase) command in vi pastes the deleted content below the current line. After deleting lines with d, the deleted text is stored in a buffer, and p retrieves it to the line below the cursor. Now, why are the other options incorrect? Option A is incorrect. i (lowercase) enters insert mode rather than pasting deleted content. Option C is incorrect. P (uppercase) pastes above the current line, not below. Option D is incorrect. U (uppercase) undoes changes to the current line but does not paste deleted content. Option E is incorrect. u (lowercase) undoes the last change but does not paste the deleted content to a new location. Therefore, B, p (lowercase), is the correct answer.

Play from 32:22 Question 19. Which of the following files, located in a user's home directory, contains the Bash history? Here are the options. Option A. .bashrc_history. Option B. .bash_histfile. Option C. .history. Option D. .bash_history. Option E. .history_bash. Pause the video now if you want time to think about the answer.

The correct answer is D. .bash_history. The .bash_history file in a user's home directory stores the history of commands executed in Bash shells. This is the standard location where bash records command history for later retrieval. Now, why are the other options incorrect? Option A is incorrect. .bashrc_history is not a standard bash file; history is stored in .bash_history. Option B is incorrect. .bash_histfile is not the standard bash history file name. Option C is incorrect. .history is not the standard bash history file; it may be used by other shells. Option E is incorrect. .history_bash is not a standard bash configuration or history file. Therefore, D, .bash_history, is the correct answer.

Play from 33:57 Question 20. Which of the following commands installs GRUB 2 into the master boot record on the third hard disk? Here are the options. Option A. grub2 install /dev/sdc. Option B. grub-mkrescue /dev/sdc. Option C. grub-mbrinstall /dev/sdc. Option D. grub-setup /dev/sdc. Option E. grub-install /dev/sdc. Pause the video now if you want time to think about the answer.

The correct answer is E. grub-install /dev/sdc. The grub-install command is the standard utility for installing GRUB 2 to a boot sector. The command grub-install /dev/sdc installs GRUB 2 to the master boot record of the third hard disk. The /dev/sdc device identifier refers to the third SATA/IDE drive on the system. Now, why are the other options incorrect? Option A is incorrect. grub2 is not a valid command; the correct command is grub-install. Option B is incorrect. grub-mkrescue creates a bootable rescue image, not an MBR installation. Option C is incorrect. grub-mbrinstall is not a valid GRUB 2 command. Option D is incorrect. grub-setup is a lower-level utility and not the standard command for installing GRUB 2 to the MBR. Therefore, E, grub-install /dev/sdc, is the correct answer.

Play from 35:45 Question 21. In compliance with the FHS, in which of the directories are man pages found? Here are the options. Option A. /opt/man/. Option B. /usr/doc/. Option C. /usr/share/man/. Option D. /var/pkg/man. Option E. /var/man/. Pause the video now if you want time to think about the answer.

The correct answer is C. /usr/share/man/. According to the Filesystem Hierarchy Standard (FHS), manual pages are stored in /usr/share/man/. This is the standard location for architecture-independent manual page files that are shared across systems. Now, why are the other options incorrect? Option A is incorrect. /opt/man/ is not an FHS-specified location for man pages; /opt is for optional third-party software. Option B is incorrect. /usr/doc/ is not the FHS location for man pages; documentation may be elsewhere. Option D is incorrect. /var/pkg/man is not a standard FHS location for man pages. Option E is incorrect. /var/man/ is not the FHS location; /var is for variable data, not man pages. Therefore, C, /usr/share/man/, is the correct answer.

Play from 37:28 Question 22. What is the purpose of the xargs command? Here are the options. Option A. It passes arguments to an X server. Option B. It repeats the execution of a command using different parameters for each invocation. Option C. It reads standard input and builds up commands to execute. Option D. It asks a question, graphically, and returns the answer to the shell. Option E. It allows specifying long options (like --help) for commands that normally only accept short options (like -h). Pause the video now if you want time to think about the answer.

The correct answer is C. It reads standard input and builds up commands to execute. The xargs command reads items from standard input (often from pipes) and builds and executes command lines using those items as arguments. This allows efficient batch processing of input data across multiple command invocations. Now, why are the other options incorrect? Option A is incorrect. xargs has no connection to X servers; it is a command-line utility for argument processing. Option B is incorrect. While xargs does execute commands multiple times with different parameters, the core mechanism is reading stdin and building commands, not simple repetition. Option D is incorrect. xargs is not a graphical tool; it operates purely from the command line with no interactive graphical prompts. Option E is incorrect. xargs does not convert or enable long options; it processes and passes arguments to other commands. Therefore, C, It reads standard input and builds up commands to execute, is the correct answer.

Play from 39:27 Question 23. Which of the following partition types is used for Linux swap spaces when partitioning hard disk drives? Here are the options. Option A. 7. Option B. 82. Option C. 83. Option D. 8e. Option E. fd. Pause the video now if you want time to think about the answer.

The correct answer is B. 82. Partition type 82 (hexadecimal) is the standard identifier for Linux swap partitions in the MBR partition table. When creating swap space on a Linux system using fdisk or similar tools, this type ID designates the partition as swap space. Now, why are the other options incorrect? Option A is incorrect. Type 7 is used for NTFS/exFAT filesystems. Option C is incorrect. Type 83 is used for Linux native filesystems (ext2, ext3, ext4, etc.). Option D is incorrect. Type 8e is used for Linux LVM (Logical Volume Management). Option E is incorrect. Type fd is used for Linux RAID auto-detect. Therefore, B, 82, is the correct answer.

Play from 41:00 Question 24. What is the maximum niceness value that a regular user can assign to a process with the nice command when executing a new process? Here are the options. Option A. 9. Option B. 15. Option C. 19. Option D. 49. Option E. 99. Pause the video now if you want time to think about the answer.

The correct answer is C. 19. Regular (non-root) users can assign niceness values from 0 to 19 when using the nice command to execute a new process. The maximum value of 19 represents the lowest priority (highest niceness), allowing a user process to be de-prioritized. Root users can assign negative values for higher priority. Now, why are the other options incorrect? Option A is incorrect. 9 is within the valid range but not the maximum value a regular user can assign. Option B is incorrect. 15 is within the valid range but not the maximum value a regular user can assign. Option D is incorrect. 49 exceeds the valid niceness range which is 0-19 for regular users. Option E is incorrect. 99 far exceeds the valid niceness range which is 0-19 for regular users. Therefore, C, 19, is the correct answer.

Play from 42:39 Question 25. Which of the following commands are valid in the GRUB 2 configuration file? (Choose two.) Here are the options. Option A. menuentry. Option B. uefi. Option C. pxe-ifconfig. Option D. insmod. Option E. kpartx. Pause the video now if you want time to think about the answer.

The correct answers are A. menuentry, and D. insmod. A. menuentry D. insmod The menuentry command defines boot menu entries in GRUB 2 configuration files, and insmod loads dynamic modules. Both are valid GRUB 2 directives. The uefi, pxe-ifconfig, and kpartx are not GRUB 2 configuration file commands; uefi is a boot mode (not a config command), pxe-ifconfig is not a valid GRUB directive, and kpartx is an external Linux utility unrelated to GRUB configuration. Now, why are the other options incorrect? Option B is incorrect. uefi is a boot mode designation, not a valid GRUB 2 configuration file command. Option C is incorrect. pxe-ifconfig is not a valid GRUB 2 configuration directive. Option E is incorrect. kpartx is a Linux partitioning utility, not a GRUB 2 configuration command. Therefore, A and D are the correct answers.

Play from 44:20 Question 26. Where is the bootloader stored on the hard disk of a UEFI system? Here are the options. Option A. In the EFI Boot Record (EBR). Option B. In the Master Boot Record (MBR). Option C. On the EFI System Partition (ESP). Option D. On the partition labeled boot. Option E. On the partition number 127. Pause the video now if you want time to think about the answer.

The correct answer is C. On the EFI System Partition (ESP). In UEFI systems, the bootloader is stored on the EFI System Partition (ESP), which is a special FAT32 partition identified by a specific GUID. This partition contains the EFI boot files and bootloader executable, replacing the MBR-based approach of legacy BIOS systems. Now, why are the other options incorrect? Option A is incorrect. There is no 'EFI Boot Record' structure; the ESP is the correct UEFI boot storage location. Option B is incorrect. The MBR is used in legacy BIOS systems, not in UEFI systems; UEFI uses GPT partitioning. Option D is incorrect. Partitions are not automatically labeled 'boot' in UEFI; they are identified by their GUID as the ESP. Option E is incorrect. Partition number 127 has no special meaning in UEFI; the ESP is identified by GUID, not by partition number. Therefore, C, On the EFI System Partition (ESP), is the correct answer.

Play from 46:18 Question 27. What are the main differences between GPT and MBR partition tables regarding maximum number and size of partitions? (Choose two.) Here are the options. Option A. MBR can handle partition sizes up to 4 TB, whereas GPT supports partition sizes up to 128 ZB. Option B. By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions. Option C. By default, GPT can manage up to 64 partitions while MBR only supports 16 primary partitions. Option D. MBR can handle partition sizes up to 2.2 TB, whereas GPT supports sizes up to 9.4 ZB. Option E. Both GPT and MBR support up to four primary partitions, each with up to 4096 TB. Pause the video now if you want time to think about the answer.

The correct answers are B. By default, GPT can manage up to 128 partitions while MBR only supports four primary partitions, and D. MBR can handle partition sizes up to 2.2 TB, whereas GPT supports sizes up to 9.4 ZB. GPT supports up to 128 partitions by default and partition sizes up to 9.4 ZB, while MBR supports only four primary partitions and is limited to 2.2 TB partition sizes due to its 32-bit sector addressing. These represent the fundamental capacity differences between the two partition table standards. Now, why are the other options incorrect? Option A is incorrect. The partition size limits are reversed; MBR maxes out at 2.2 TB while GPT reaches 9.4 ZB. Option C is incorrect. GPT supports 128 partitions, not 64, and MBR supports 4 primary partitions, not 16. Option E is incorrect. Both standards do not support 4096 TB partitions, and MBR does not support four arbitrary partitions without using extended partitions. Therefore, B and D are the correct answers.

Play from 48:47 Question 28. Which of the following commands reads a file and creates separate chunks of a given size from the file's contents? Here are the options. Option A. ar. Option B. cat. Option C. break. Option D. split. Option E. parted. Pause the video now if you want time to think about the answer.

The correct answer is D. split. The split command reads a file and divides it into smaller chunks of specified size, creating multiple output files. It is the standard utility for this purpose, commonly used with options like '-b' for byte size or '-l' for line count. Now, why are the other options incorrect? Option A is incorrect. The ar command is used to create, modify, and extract from archive files, not to split files into chunks. Option B is incorrect. The cat command concatenates and displays files; it does not split files into chunks. Option C is incorrect. The break command is a shell builtin used to exit loops, not a file utility. Option E is incorrect. The parted command is a partition editor for managing disk partitions, not for splitting file contents. Therefore, D, split, is the correct answer.

Play from 50:26 Question 29. What can the Logical Volume Manager (LVM) be used for? (Choose three.) Here are the options. Option A. To create snapshots. Option B. To dynamically change the size of logical volumes. Option C. To dynamically create or delete logical volumes. Option D. To create RAID 9 arrays. Option E. To encrypt logical volumes. Pause the video now if you want time to think about the answer.

The correct answers are A. To create snapshots, and B. To dynamically change the size of logical volumes, and C. To dynamically create or delete logical volumes. LVM provides flexible volume management including: creating snapshots for backup purposes (A), dynamically resizing logical volumes without downtime (B), and dynamically creating or deleting logical volumes (C). These are core LVM features that provide flexibility over traditional partitioning. Now, why are the other options incorrect? Option D is incorrect. LVM does not create RAID 9 arrays; RAID levels are managed by mdadm or hardware RAID controllers, though LVM can work alongside RAID. Option E is incorrect. LVM itself does not provide encryption; encryption is handled by LUKS or dm-crypt, which can be used in conjunction with LVM. Therefore, A and B and C are the correct answers.

Play from 52:07 Question 30. Which of the following commands determines a file's format by using a definition database file which contains information about all common file types? Here are the options. Option A. type. Option B. file. Option C. magic. Option D. pmagic. Option E. hash. Pause the video now if you want time to think about the answer.

The correct answer is B. file. The `file` command determines a file's type by consulting a magic database (typically /usr/share/magic or similar) that contains patterns and signatures identifying common file types. It analyzes file contents and metadata to report the format. Now, why are the other options incorrect? Option A is incorrect. type is a shell built-in that shows whether a command is an alias, function, or external program. Option C is incorrect. magic is the database file itself, not a command. Option D is incorrect. pmagic is not a standard Unix command. Option E is incorrect. hash is a shell built-in for caching command paths, not for file type detection. Therefore, B, file, is the correct answer.

Play from 53:35 Question 31. Which of the following commands show how the shell handles a specific command? Here are the options. Option A. where. Option B. type. Option C. stat. Option D. case. Option E. fileinfo. Pause the video now if you want time to think about the answer.

The correct answer is B. type. The type command displays how the shell interprets a command, showing whether it is a built-in, alias, function, or external command. The where command is not standard across all shells. The stat command displays file information, not command interpretation. The case command is a shell control structure, and fileinfo is not a standard utility. Now, why are the other options incorrect? Option A is incorrect. where is not a standard POSIX shell command and is not universally available. Option C is incorrect. stat displays file metadata, not how the shell handles command resolution. Option D is incorrect. case is a shell control structure for conditional execution, not for command resolution. Option E is incorrect. fileinfo is not a standard Linux command. Therefore, B, type, is the correct answer.

Play from 55:05 Question 32. Which of the following commands can be used to display the inode number of a given file? (Choose two.) Here are the options. Option A. inode. Option B. ln. Option C. ls. Option D. cp. Option E. stat. Pause the video now if you want time to think about the answer.

The correct answers are C. ls, and E. stat. C. ls E. stat The ls command with the -i option displays inode numbers for files. The stat command also displays detailed file information including the inode number. The inode command does not exist as a standard Linux utility. The ln command creates links but does not display inode numbers. The cp command copies files without displaying inode information. Now, why are the other options incorrect? Option A is incorrect. The inode command does not exist in standard Linux. Option B is incorrect. The ln command creates hard or symbolic links but does not display inode numbers. Option D is incorrect. The cp command copies files but does not display inode information. Therefore, C and E are the correct answers.

Play from 56:34 Question 33. What is the effect of the -v option for the grep command? Here are the options. Option A. It enables color to highlight matching parts. Option B. It shows the command's version information. Option C. It only outputs non-matching lines. Option D. It changes the output order showing the last matching line first. Option E. It outputs all lines and prefixes matching lines with a+. Pause the video now if you want time to think about the answer.

The correct answer is C. It only outputs non-matching lines. The -v option for grep inverts the matching logic, causing the command to output only lines that do NOT match the specified pattern. This is the standard behavior of the -v flag across grep implementations. Now, why are the other options incorrect? Option A is incorrect. Color highlighting is controlled by --color, not -v Option B is incorrect. Version information is displayed with --version, not -v Option D is incorrect. grep does not reorder output by last match first; the -v flag only inverts matches Option E is incorrect. The -v flag outputs non-matching lines only, not all lines with prefixes Therefore, C, It only outputs non-matching lines, is the correct answer.

Play from 58:10 Question 34. Which type of file system is created by mkfs when it is executed with the block device name only and without any additional parameters? Here are the options. Option A. XFS. Option B. VFAT. Option C. ext2. Option D. ext3. Option E. ext4. Pause the video now if you want time to think about the answer.

The correct answer is C. ext2. When mkfs is executed with only a block device name and no additional parameters, it defaults to creating an ext2 filesystem. This is the traditional default behavior of the mkfs command without any filesystem type specification. Now, why are the other options incorrect? Option A is incorrect. XFS requires explicit specification with mkfs.xfs Option B is incorrect. VFAT requires explicit specification with mkfs.vfat Option D is incorrect. ext3 requires explicit specification with mkfs.ext3 Option E is incorrect. ext4 requires explicit specification with mkfs.ext4 Therefore, C, ext2, is the correct answer.

Play from 59:43 Question 35. What does the command mount --bind do? Here are the options. Option A. It makes the contents of one directory available in another directory. Option B. It mounts all available filesystems to the current directory. Option C. It mounts all user mountable filesystems to the user's home directory. Option D. It mounts all file systems listed in /etc/fstab which have the option userbind set. Option E. It permanently mounts a regular file to a directory. Pause the video now if you want time to think about the answer.

The correct answer is A. It makes the contents of one directory available in another directory. The mount --bind command creates a bind mount, which makes the contents of one directory available at another location in the filesystem hierarchy. This allows the same directory to be accessible from multiple mount points without duplicating the data. Now, why are the other options incorrect? Option B is incorrect. mount --bind does not mount all available filesystems Option C is incorrect. mount --bind does not mount filesystems to the user's home directory Option D is incorrect. mount --bind does not use an 'userbind' option from /etc/fstab Option E is incorrect. mount --bind does not require or permanently mount regular files Therefore, A, It makes the contents of one directory available in another directory, is the correct answer.

Play from 1:01:26 Question 36. Which of the following commands can perform searches on file contents using regular expressions? Here are the options. Option A. find. Option B. locate. Option C. grep. Option D. reggrep. Option E. pgrep. Pause the video now if you want time to think about the answer.

The correct answer is C. grep. The grep command is specifically designed to search file contents using regular expressions. It reads files line by line and outputs matching lines based on regex patterns provided. The other commands search filenames or have different purposes but do not search file contents with regex. Now, why are the other options incorrect? Option A is incorrect. find searches for files by name, attributes, and other file properties, not by content. Option B is incorrect. locate searches a database of filenames for quick file location matching, not file contents. Option D is incorrect. reggrep is not a standard Unix command. Option E is incorrect. pgrep searches for running processes by name, not file contents. Therefore, C, grep, is the correct answer.

Play from 1:02:53 Question 37. Which of the following commands is used to change options and positional parameters within a running Bash shell? Here are the options. Option A. history. Option B. setsh. Option C. bashconf. Option D. set. Option E. envsetup. Pause the video now if you want time to think about the answer.

The correct answer is D. set. The set command is used to change options and positional parameters within a running Bash shell. It allows you to enable or disable shell options (like set -e, set -x) and manage positional parameters ($1, $2, etc.). This is the standard utility for modifying shell behavior at runtime. Now, why are the other options incorrect? Option A is incorrect. history displays previously executed commands, not used to change shell options Option B is incorrect. setsh is not a valid bash command Option C is incorrect. bashconf is not a standard bash command for changing options Option E is incorrect. envsetup is not a standard bash command for changing shell options Therefore, D, set, is the correct answer.

Play from 1:04:21 Question 38. What is true regarding UEFI firmware? (Choose two.) Here are the options. Option A. It can read and interpret partition tables. Option B. It can use and read certain file systems. Option C. It stores its entire configuration on the /boot/ partition. Option D. It is stored in a special area within the GPT metadata. Option E. It is loaded from a fixed boot disk position. Pause the video now if you want time to think about the answer.

The correct answers are A. It can read and interpret partition tables, and B. It can use and read certain file systems. A. It can read and interpret partition tables B. It can use and read certain file systems Option A is correct because UEFI firmware can read and interpret partition tables (GPT tables). Option B is correct because UEFI has the capability to read certain filesystems (like FAT32, ext4) directly, allowing it to load files from the filesystem without relying solely on fixed disk positions. Now, why are the other options incorrect? Option C is incorrect. UEFI configuration is stored in NVRAM and the ESP (EFI System Partition), not the /boot/ partition alone. Option D is incorrect. UEFI firmware itself is stored on the motherboard ROM/flash, not within GPT metadata. Option E is incorrect. UEFI uses filesystem navigation and boot entries rather than loading from a fixed disk position. Therefore, A and B are the correct answers.

Play from 1:06:18 Question 39. What is the purpose of the ldd command? Here are the options. Option A. It lists which shared libraries a binary needs to run. Option B. It installs and updates installed shared libraries. Option C. It turns a dynamically linked binary into a static binary. Option D. It defines which version of a library should be used by default. Option E. It runs a binary with an alternate library search path. Pause the video now if you want time to think about the answer.

The correct answer is A. It lists which shared libraries a binary needs to run. The ldd command is a utility that displays the shared libraries required by a binary executable to run. It lists all dynamic dependencies and their memory addresses, making it essential for troubleshooting library-related issues and understanding what libraries a program needs. Now, why are the other options incorrect? Option B is incorrect. ldd does not install or update libraries; package managers like apt or yum handle that function. Option C is incorrect. ldd cannot convert dynamic binaries to static ones; this requires recompilation with static linking flags. Option D is incorrect. ldd does not define default library versions; this is handled by LD_LIBRARY_PATH and library configuration files. Option E is incorrect. ldd does not run binaries with alternate search paths; LD_LIBRARY_PATH environment variable serves that purpose. Therefore, A, It lists which shared libraries a binary needs to run, is the correct answer.

Play from 1:08:15 Question 40. What is the correct way to set the default systemd boot target to multi-user? Here are the options. Option A. systemctl isolate multi-user.target. Option B. systemctl set-runlevel multi-user.target. Option C. systemctl set-boot multi-user.target. Option D. systemctl set-default multi-user.target. Option E. systemctl boot -p multi-user.target. Pause the video now if you want time to think about the answer.

The correct answer is D. systemctl set-default multi-user.target. The systemctl set-default command sets the default boot target for the next and subsequent system boots. This modifies the symbolic link at /etc/systemd/system/default.target to point to the desired target unit (e.g., multi- user.target). Now, why are the other options incorrect? Option A is incorrect. systemctl isolate switches to a target immediately but does not set it as the default for future boots. Option B is incorrect. There is no 'set-runlevel' subcommand in systemctl; this syntax is invalid. Option C is incorrect. There is no 'set-boot' subcommand in systemctl; this syntax is invalid. Option E is incorrect. There is no 'boot' subcommand with '-p' option in systemctl; this syntax is invalid. Therefore, D, systemctl set-default multi-user.target, is the correct answer.

Play from 1:10:05 Question 41. When booting from the hard disk, a computer successfully loads the Linux kernel and initramfs but hangs during the subsequent startup tasks. The system is booted using a Linux based rescue CD to investigate the problem. Which of the following methods helps to identify the root cause of the problem? Here are the options. Option A. Using the dmesg command from the rescue CD's shell to view the original system's boot logs. Option B. Investigating the file /proc/kmsg on the computer's hard disk for possible errors. Option C. Investigating the file /var/log on the computer's hard disk for possible errors. Option D. Using chroot to switch to the file system on the hard disk and use dmesg to view the logs. Option E. Rebooting again from the hard drive since the system successfully booted from the rescue CD. Pause the video now if you want time to think about the answer.

The correct answer is C. Investigating the file /var/log on the computer's hard disk for possible errors. dmesg reads the ring buffer of the kernel that is currently running, and after booting the rescue CD that is the rescue kernel, so the messages from the failed boot are no longer held in memory anywhere. The only record that survives a reboot is what the system managed to write to disk before it hung, and that lives under /var/log on the hard disk, for example the syslog or journal files. Mounting the hard disk from the rescue environment and reading those files is therefore the way to find the cause. Now, why are the other options incorrect? Option A is incorrect. dmesg on the rescue CD shows the rescue kernel's own boot messages, not those of the installed system. Option B is incorrect. /proc/kmsg is a live interface into the running kernel's memory; it is never stored on disk, so there is nothing to read from the hard disk. Option D is incorrect. chroot changes the root directory but not the running kernel, so dmesg inside the chroot still prints the rescue kernel's messages. Option E is incorrect. Rebooting from the hard disk repeats the same hang and gives no new information. Therefore, C, Investigating the file /var/log on the computer's hard disk for possible errors, is the correct answer.

Play from 1:12:49 Question 42. Which is the default percentage of reserved space for the root user on new ext4 filesystems? Here are the options. Option A. 10%. Option B. 3%. Option C. 15%. Option D. 0%. Option E. 5%. Pause the video now if you want time to think about the answer.

The correct answer is E. 5%. The default reserved space percentage for the root user on ext4 filesystems is 5%. This reserved space prevents the filesystem from becoming completely full and ensures the root user can still perform administrative operations when the disk is nearly full. Now, why are the other options incorrect? Option A is incorrect. 10% is higher than the default ext4 reserved percentage Option B is incorrect. 3% is lower than the default ext4 reserved percentage Option C is incorrect. 15% is significantly higher than the default ext4 reserved percentage Option D is incorrect. 0% would mean no reserved space, which is not the default Therefore, E, 5%, is the correct answer.

Play from 1:14:14 Question 43. Which of the following is true when a file system, which is neither listed in /etc/fstab nor known to system, is mounted manually? Here are the options. Option A. systemd ignores any manual mounts which are not done using the systemctl mount command. Option B. The command systemctl mountsync can be used to create a mount unit based on the existing mount. Option C. systemd automatically generates a mount unit and monitors the mount point without changing it. Option D. Unless a systemd mount unit is created, systemd unmounts the file system after a short period of time. Option E. systemctl unmount must be used to remove the mount because system opens a file descriptor on the mount point. Pause the video now if you want time to think about the answer.

The correct answer is C. systemd automatically generates a mount unit and monitors the mount point without changing it. When a filesystem is mounted manually but not listed in /etc/fstab, systemd automatically generates a transient mount unit for it and monitors the mount point without making changes. This allows systemd to track and manage the mount while preserving the manual mount configuration. Now, why are the other options incorrect? Option A is incorrect. systemd does track manual mounts even without explicit systemctl mount commands Option B is incorrect. There is no systemctl mountsync command Option D is incorrect. systemd does not automatically unmount manually mounted filesystems after a period of time Option E is incorrect. systemctl unmount is not required; standard umount works fine for manual mounts Therefore, C, systemd automatically generates a mount unit and monitors the mount point without changing it, is the correct answer.

Play from 1:16:22 Question 44. Which of the following commands loads a kernel module along with any required dependency modules? Here are the options. Option A. depmod. Option B. modprobe. Option C. module_install. Option D. insmod. Option E. loadmod. Pause the video now if you want time to think about the answer.

The correct answer is B. modprobe. The modprobe command automatically resolves and loads kernel module dependencies by reading the dependency map created by depmod. Option A (depmod) creates the dependency map but doesn't load modules. Option C (module_install) is not a standard Linux command. Option D (insmod) loads modules directly without resolving dependencies, requiring manual dependency management. Option E (loadmod) is not a standard Linux command. Now, why are the other options incorrect? Option A is incorrect. depmod only generates the dependency map file; it does not load modules. Option C is incorrect. module_install is not a standard Linux module loading command. Option D is incorrect. insmod loads a single module without automatically handling dependencies. Option E is incorrect. loadmod is not a standard Linux module loading command. Therefore, B, modprobe, is the correct answer.

Play from 1:18:00 Question 45. Which of the following properties of a Linux system should be changed when a virtual machine is cloned? (Choose two.) Here are the options. Option A. The partitioning scheme. Option B. The file system. Option C. The D-Bus Machine ID. Option D. The permissions of /root/. Option E. The SSH host keys. Pause the video now if you want time to think about the answer.

The correct answers are C. The D-Bus Machine ID, and E. The SSH host keys. When cloning a virtual machine, the D-Bus Machine ID (which uniquely identifies the machine) and SSH host keys (which should be unique per machine for security) must be regenerated or changed. These are system identifiers that should not be duplicated across systems. Partitioning scheme and filesystem type are typically preserved during cloning, and /root/ permissions usually remain the same as part of the standard system configuration. Now, why are the other options incorrect? Option A is incorrect. The partitioning scheme typically remains the same when cloning a virtual machine. Option B is incorrect. The filesystem type is usually preserved during the cloning process. Option D is incorrect. The permissions of /root/ are standard system permissions that do not need to change during cloning. Therefore, C and E are the correct answers.

Play from 1:19:43 Question 46. 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? Here are the options. Option A. 0750. Option B. 0027. Option C. 0036. Option D. 7640. Option E. 0029. Pause the video now if you want time to think about the answer.

The correct answer is B. 0027. The umask 0027 subtracts from the default directory permissions (0777). Subtracting 0027 yields 0750, which gives rwx to owner, r-x to group, and no permissions to others. This matches the requirement: owner can read/write/list, group can read/list, others have no access. Now, why are the other options incorrect? Option A is incorrect. 0750 is the resulting permission, not the umask value Option C is incorrect. umask 0036 would result in 0741 permissions, not the required 0750 Option D is incorrect. 7640 is not a valid umask format Option E is incorrect. umask 0029 would result in 0748 permissions, not the required 0750 Therefore, B, 0027, is the correct answer.

Play from 1:21:32 Question 47. Which of the following statements is correct for a command ending with an & character? Here are the options. Option A. The command's output is redirected to /dev/null. Option B. The command is run in background of the current shell. Option C. The command's output is executed by the shell. Option D. The command is run as a direct child of the init process. Option E. The command's input is read from /dev/null. Pause the video now if you want time to think about the answer.

The correct answer is B. The command is run in background of the current shell. The & character at the end of a command tells the shell to run that command in the background, returning control to the shell prompt immediately while the process continues executing. This is fundamental shell behavior for background job management. Now, why are the other options incorrect? Option A is incorrect. The & character does not redirect output to /dev/null; use '> /dev/null' for that purpose. Option C is incorrect. The & character does not cause output to be executed as shell commands; that would require eval or command substitution. Option D is incorrect. Background commands become children of the shell that spawned them, not direct children of init (unless the parent shell exits). Option E is incorrect. The & character does not affect input redirection; stdin would still come from the terminal unless explicitly redirected. Therefore, B, The command is run in background of the current shell, is the correct answer.

Play from 1:23:24 Question 48. Which of the following Linux filesystems preallocate a fixed number of inodes when creating a new filesystem instead of generating them as needed? (Choose two.) Here are the options. Option A. JFS. Option B. ext3. Option C. XFS. Option D. ext2. Option E. procfs. Pause the video now if you want time to think about the answer.

The correct answers are B. ext3, and D. ext2. B. ext3 D. ext2 Both ext2 (D) and ext3 (B) preallocate a fixed number of inodes when the filesystem is created, determined by the inode density ratio. This contrasts with modern filesystems like XFS and JFS that dynamically allocate inodes as needed, and procfs which generates inodes on-the-fly. Now, why are the other options incorrect? Option A is incorrect. JFS dynamically allocates inodes as needed rather than preallocating a fixed number. Option C is incorrect. XFS uses dynamic inode allocation and does not preallocate a fixed number of inodes. Option E is incorrect. procfs is a virtual filesystem that generates inodes dynamically for process information. Therefore, B and D are the correct answers.

Play from 1:25:03 Question 49. Which of the following tools can show the complete path of an executable file that the current shell would execute when starting a command without specifying its complete path? (Choose two.) Here are the options. Option A. find. Option B. pwd. Option C. which. Option D. locate. Option E. type. Pause the video now if you want time to think about the answer.

The correct answers are C. which, and E. type. The which command locates an executable in the user's PATH and displays its full path. The type command is a bash builtin that also shows the full path of a command and whether it's a builtin, alias, or external executable. Both tools show what executable would be run by the shell. Now, why are the other options incorrect? Option A is incorrect. find searches the filesystem but requires knowing the directory structure; it doesn't specifically show shell PATH resolution Option B is incorrect. pwd only shows the current working directory, not executable locations Option D is incorrect. locate searches a prebuilt database and doesn't specifically indicate which executable the shell would use Therefore, C and E are the correct answers.

Play from 1:26:41 Question 50. Which of the following files are found in the /boot/ file system? (Choose two.) Here are the options. Option A. Linux kernel images. Option B. Bash shell binaries. Option C. systemd target and service units. Option D. Initial ramdisk images. Option E. fsck binaries. Pause the video now if you want time to think about the answer.

The correct answers are A. Linux kernel images, and D. Initial ramdisk images. The /boot directory contains Linux kernel images (vmlinuz files) and initial ramdisk images (initrd or initramfs files), both essential for the boot process. Bash shell binaries are found in /bin or /usr/bin, systemd units are in /etc/systemd or /usr/lib/systemd, and fsck binaries are in /sbin or /usr/sbin. Now, why are the other options incorrect? Option B is incorrect. Bash shell binaries are located in /bin or /usr/bin, not in /boot. Option C is incorrect. systemd target and service units are stored in /etc/systemd or /usr/lib/systemd directories, not /boot. Option E is incorrect. fsck binaries are located in /sbin or /usr/sbin, not in the /boot directory. Therefore, A and D are the correct answers.