LPIC Practice Session

Session ID: 124
Mode: mock_exam
Status: in_progress
Answered: 0 / 60
Score: 0%

Mock Exam Timer:
Time Remaining: Loading...
Started: 2026-04-27 04:37:42
Expires: 2026-04-27 06:07:42
Time Limit: 90 minutes

Review flagged, incorrect, and unanswered questions


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60

Review: All | First Unanswered | First Flagged


Question 1

102.5-006 / multiple_choice
Which command can be used with yum to check for updates for all packages in the system?

Question 2

102.3-013 / short_answer
Which command lists the shared libraries required by an executable file?

Question 3

103.1-011 / multiple_choice
Which key sequence typically recalls the previous command from shell history?

Question 4

103.4-030 / command_line
Enter the command that sends the string 'scale=6; 1/3' to bc using a Here string.

Question 5

104.2-002 / multiple_choice
Which command is used to view the amount of disk space in use on a filesystem?

Question 6

104.7-023 / command_line
Enter a locate command that finds files containing both the pattern report and either updated, update or updating in their names.

Question 7

102.4-009 / multiple_choice
Which command updates the local package index from configured APT repositories?

Question 8

103.3-012 / multiple_choice
Which pair of commands is used to compress and decompress files with bzip2 format?

Question 9

103.6-022 / short_answer
Which PIDs had real-time priorities in the provided top exercise output?

Question 10

104.5-001 / multiple_choice
Linux file permissions are organized into how many basic permission sets?

Question 11

103.7-027 / command_line
Enter the grep command that lists /etc/services while discarding all lines that begin with #.

Question 12

101.1-015 / short_answer
Name the two standard Linux commands used to inspect PCI and USB hardware devices.

Question 13

102.5-015 / multiple_choice
Which command shows all available repositories using dnf?

Question 14

104.1-011 / multiple_choice
If a disk has about 1 GB total unallocated space but the largest contiguous free block is only 512 MB, can you create a new 600 MB partition there?

Question 15

103.7-028 / command_line
Enter the egrep command that lists only .org or .com domains from domains.txt.

Question 16

103.4-012 / multiple_choice
Which command can disable noclobber for the current shell session?

Question 17

103.5-027 / command_line
Enter the command that sends signal number 1 to process ID 1247.

Question 18

104.2-010 / multiple_choice
Which fsck option prints what would be done and exits without actually checking the filesystem?

Question 19

103.3-023 / command_line
Enter the command that copies the file report.txt to /tmp.

Question 20

104.3-024 / short_answer
Consider the fstab entry '/dev/sdb1 /data ext4 noatime,noauto,async'. Will this filesystem be mounted if 'mount -a' is issued?

Question 21

104.6-007 / multiple_choice
Which statement about hard links is correct?

Question 22

101.3-027 / command_line
Enter the command that reboots a systemd-based system.

Question 23

103.2-008 / multiple_choice
Which command can replace characters and also remove or compress repeating characters?

Question 24

103.5-017 / multiple_choice
Which ps command displays only the user and command name columns?

Question 25

103.5-006 / multiple_choice
Which command shows a dynamic, continuously updating view of running processes?

Question 26

103.8-021 / short_answer
Which command opens the built-in step-by-step tutorial for vim?

Question 27

101.2-011 / multiple_choice
Which command can read journal files from an alternative directory, such as a mounted disk image?

Question 28

101.2-024 / multiple_choice
Which of the following is NOT listed in the partial list of terms and utilities for Objective 101.2?

Question 29

102.2-016 / multiple_choice
Which GRUB 2 setting can be used so the default boot option is always the last one selected in the menu?

Question 30

104.5-009 / multiple_choice
Which command is used to modify file permissions?

Question 31

102.4-010 / multiple_choice
Which command downloads and installs a package from a remote repository together with its dependencies?

Question 32

101.3-029 / command_line
Enter the command used to broadcast a warning message to all logged-in users before a major system change.

Question 33

104.1-004 / multiple_choice
Which utility is listed for creating and deleting partitions on MBR disks?

Question 34

102.2-023 / short_answer
Which key should you press in the GRUB menu to open the GRUB shell?

Question 35

103.5-020 / short_answer
Which command kills a process named sleep using its process name rather than its PID?

Question 36

103.1-009 / multiple_choice
Which command from the objective is the standard Bourne Again Shell?

Question 37

103.3-019 / short_answer
Which command creates a directory named projects?

Question 38

103.8-006 / multiple_choice
Which command saves the file and exits vi?

Question 39

103.6-010 / multiple_choice
Which user is allowed to decrease the niceness of a process below zero?

Question 40

104.6-019 / short_answer
Which command creates a hard link named hardlink in /home/carol/Documents pointing to target.txt in the current directory?

Question 41

103.4-017 / multiple_choice
What does the operator <<< introduce?

Question 42

104.3-009 / multiple_choice
Which command is used to unmount a filesystem?

Question 43

102.1-022 / command_line
Enter the file path of the configuration file commonly used to mount filesystems automatically at boot.

Question 44

103.2-023 / command_line
Enter the command that prints only the last 5 lines of /var/log/syslog.

Question 45

103.7-001 / multiple_choice
What does the dot (.) atom match in a regular expression?

Question 46

102.1-004 / multiple_choice
What is stored inside a partition to describe how data is organized?

Question 47

101.2-020 / command_line
Enter a command that reads journal files from /mnt/hd/var/log/journal.

Question 48

101.1-012 / multiple_choice
If no other conventional block device is present, how will an external USB hard drive most likely appear under /dev on a Linux-based router?

Question 49

102.5-018 / multiple_choice
What command displays built-in help for a specific dnf command such as install?

Question 50

103.3-006 / multiple_choice
Which command creates an empty file if it does not already exist, or updates its timestamp if it does?

Question 51

103.1-016 / short_answer
Which command prints the current working directory?

Question 52

104.5-021 / short_answer
Which command lists the permissions and attributes of the directory emptydir itself?

Question 53

102.4-017 / multiple_choice
Which file is the main APT repository configuration file mentioned in the objective?

Question 54

104.7-004 / multiple_choice
Which directory contains files needed by the boot process, including the Linux kernel and initrd?

Question 55

103.1-015 / multiple_choice
Which command will display only exported environment variables in a simple form?

Question 56

101.3-006 / multiple_choice
What is the correct syntax format for entries in /etc/inittab?

Question 57

103.8-013 / multiple_choice
Which alternative editor is described as simpler than vi and using Ctrl key combinations for commands?

Question 58

102.6-009 / multiple_choice
For a mission-critical server installation requiring the fastest performance, what type of virtualization is likely preferred according to the material?

Question 59

104.3-029 / command_line
Enter the command that forcefully unmounts /mnt/server or remounts it read-only if unmounting is not possible.

Question 60

103.4-021 / short_answer
Which file descriptor number corresponds to stderr?

Start another random practice session