mcAfee Secure Website
23

LPI 101-500 Bundle

Exam Code: 101-500

Exam Name LPIC-1 Exam 101

Certification Provider: LPI

Corresponding Certification: LPIC-1

101-500 Training Materials $44.99

Reliable & Actual Study Materials for 101-500 Exam Success

The Latest 101-500 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    101-500 Questions & Answers

    120 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    101-500 Video Course

    101-500 Training Course

    126 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    101-500 Study Guide

    442 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

LPIC-1 Exam 101 (101-500) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable LPI Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    120 Questions

    $124.99
    exam =35
  • exam =37
    101-500 Video Course

    Training Course

    126 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    442 PDF Pages

    $29.99

LPI 101-500 Practice Test 20

Question 190

A Linux administrator faces this situation: A service package is no longer needed but its local configuration should remain for possible reinstallation. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run apt-get update before the planned apt-get install from configured repositories.
  2. Use apt-get remove or dpkg -r rather than the purge operation.
  3. Use dpkg -L package-name to enumerate the installed package's file list.
  4. Use apt-get purge or dpkg --purge for the package when configuration removal is authorized.

Explanation

Correct Answer

B:

Use apt-get remove or dpkg -r rather than the purge operation. This corrects the case-specific failure. First verify: Check whether the service has modified configuration files that need to be retained. Then demonstrate success: The binaries are removed while package configuration designated for retention remains.

Incorrect Answers

A:

Run apt-get update before the planned apt-get install from configured repositories. That would matter when an administrator needs to install a Debian package by name but the local repository index is stale. The relevant distinction in this case is: Use apt-get remove or dpkg -r rather than the purge operation.

C:

Use dpkg -L package-name to enumerate the installed package's file list. That would matter when a Debian binary package is installed but the operator needs to list the files shipped by that package. It does not address this case's requirement: A service package is no longer needed but its local configuration should remain for possible reinstallation.

D:

Use apt-get purge or dpkg --purge for the package when configuration removal is authorized. That would matter when an obsolete package must be removed together with its package-managed configuration files. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 191

A Linux operator claims the following problem is resolved: A shared writable directory should prevent one regular user from deleting another user's files. Which result best demonstrates an effective repair?

  1. ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.
  2. ls -l shows rw-r----- and authorized group members can read without unrelated access.
  3. The service account reads the data and ls -l reports the approved ownership.
  4. New entries receive the intended group ownership under the filesystem's supported behavior.

Explanation

Correct Answer

A:

ls -ld shows the sticky bit and unauthorized users cannot remove others' entries. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Set the sticky bit on the shared directory while preserving the required shared access.

Incorrect Answers

B:

ls -l shows rw-r----- and authorized group members can read without unrelated access. That would matter when a confidential report should be readable by its owner and reporting group but not by other users. The relevant distinction in this case is: ls -ld shows the sticky bit and unauthorized users cannot remove others' entries.

C:

The service account reads the data and ls -l reports the approved ownership. That would matter when a service process cannot read a data directory because files are owned by the wrong account. It does not address this case's requirement: A shared writable directory should prevent one regular user from deleting another user's files.

D:

New entries receive the intended group ownership under the filesystem's supported behavior. That relates to New files inside a collaborative directory should inherit the directory's project group where supported. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 192

Before changing a Linux system, an engineer observes: A technician must identify a newly attached USB serial adapter before creating device-specific rules. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect udev properties and symlinks generated for the device rather than relying on the current minor number.
  2. Inspect the device link under /sys/class/net and read its associated hardware and driver details.
  3. Compare lsusb vendor and product IDs with kernel messages and the adapter's sysfs device path.
  4. Inspect lsmod, modinfo for the module, and recent kernel messages for device probing failures.

Explanation

Correct Answer

C:

Compare lsusb vendor and product IDs with kernel messages and the adapter's sysfs device path. This isolates the relevant condition before applying a change. The appropriate corrective response is: Match the actual USB identifiers in a narrowly scoped udev rule for the intended adapter.

Incorrect Answers

A:

Inspect udev properties and symlinks generated for the device rather than relying on the current minor number. That would matter when a service depends on a removable USB device whose node name changes after every reboot. The relevant distinction in this case is: Compare lsusb vendor and product IDs with kernel messages and the adapter's sysfs device path.

B:

Inspect the device link under /sys/class/net and read its associated hardware and driver details. That would matter when a new network device appears as a name under /dev but the administrator cannot explain its sysfs attributes. It does not address this case's requirement: A technician must identify a newly attached USB serial adapter before creating device-specific rules.

D:

Inspect lsmod, modinfo for the module, and recent kernel messages for device probing failures. That would matter when a device driver is present on disk but its kernel module has not been loaded for a supported peripheral. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 193

A Linux administrator faces this situation: A SUSE administrator cannot find a recently published package through the configured Zypper repositories. Which action best resolves the specific issue while preserving correct system behavior?

  1. Run yum install package-name or dnf install package-name as supported by the distribution.
  2. Refresh repository metadata with zypper refresh and then query or install the intended package.
  3. Use rpm -ql package-name to list the installed package's file manifest.
  4. Use rpm -qi package-name and appropriate dependency queries before changing the installation.

Explanation

Correct Answer

B:

Refresh repository metadata with zypper refresh and then query or install the intended package. This corrects the case-specific failure. First verify: Inspect enabled repositories and the freshness of their metadata. Then demonstrate success: The updated repository view includes the correct available package and dependencies.

Incorrect Answers

A:

Run yum install package-name or dnf install package-name as supported by the distribution. That would matter when a package must be installed from a configured RPM repository along with required dependencies. The relevant distinction in this case is: Refresh repository metadata with zypper refresh and then query or install the intended package.

C:

Use rpm -ql package-name to list the installed package's file manifest. That would matter when a security reviewer wants all files supplied by an installed RPM package before modifying the service. It does not address this case's requirement: A SUSE administrator cannot find a recently published package through the configured Zypper repositories.

D:

Use rpm -qi package-name and appropriate dependency queries before changing the installation. That would matter when an RPM update is blocked and an engineer needs package metadata rather than guessing file versions. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 194

A Linux operator claims the following problem is resolved: An ordinary user attempts to give a compute job a negative nice value and receives a permission error. Which result best demonstrates an effective repair?

  1. The process's NI changes while its PID remains the same and workload impact can be measured.
  2. Each job's NI value is visible and can be compared to its configured scheduling behavior.
  3. ps reports the lower NI value after the change and the service remains running.
  4. The permitted priority change succeeds without bypassing policy constraints.

Explanation

Correct Answer

D:

The permitted priority change succeeds without bypassing policy constraints. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use a permissible nice value or obtain authorized privilege for a negative niceness adjustment.

Incorrect Answers

A:

The process's NI changes while its PID remains the same and workload impact can be measured. That would matter when an already running background process is delaying interactive work and needs a lower scheduling priority. The relevant distinction in this case is: The permitted priority change succeeds without bypassing policy constraints.

B:

Each job's NI value is visible and can be compared to its configured scheduling behavior. That would matter when an administrator needs to compare two jobs' scheduling niceness without confusing it with process IDs. It does not address this case's requirement: An ordinary user attempts to give a compute job a negative nice value and receives a permission error.

C:

ps reports the lower NI value after the change and the service remains running. That would matter when a service has a nice value of 15 and an operator wants to raise its scheduling priority within the authorized range. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 195

A quick workaround is proposed for this Linux problem: A directory must be created under several missing parent components in one command. Which assumption creates the most relevant technical risk?

  1. A plain mkdir without -p fails if an intermediate parent directory is absent.
  2. A plain cp of a directory is not a guaranteed recursive metadata-preserving operation.
  3. Archiving absolute paths without reviewing restoration behavior can write outside the target directory.
  4. An incorrect wildcard or recursive deletion target can remove files well beyond the intended scope.

Explanation

Correct Answer

A:

A plain mkdir without -p fails if an intermediate parent directory is absent. This is the scenario's misleading assumption. An engineer should investigate: Inspect the target path and confirm no existing path component is unexpectedly a file. Appropriate evidence afterward is: The full nested path exists and a second execution does not fail solely because it already exists.

Incorrect Answers

B:

A plain cp of a directory is not a guaranteed recursive metadata-preserving operation. That would matter when an administrator must copy a directory tree while retaining timestamps, modes, and symbolic links. The relevant distinction in this case is: A plain mkdir without -p fails if an intermediate parent directory is absent.

C:

Archiving absolute paths without reviewing restoration behavior can write outside the target directory. That would matter when a directory tree must be archived with relative paths for transfer to another Linux machine. It does not address this case's requirement: A directory must be created under several missing parent components in one command.

D:

An incorrect wildcard or recursive deletion target can remove files well beyond the intended scope. That would matter when a temporary build directory must be deleted recursively while the adjacent production tree remains untouched. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 196

Before changing a Linux system, an engineer observes: A script needs to record both standard output and error output in a single file for one command. Which check most directly isolates the relevant cause or prerequisite?

  1. Inspect whether upstream errors are on stderr and whether tee receives only stdout.
  2. Inspect the redirection ordering and decide whether both descriptors should share the file.
  3. Identify which messages use file descriptor 1 versus file descriptor 2.
  4. Inspect the target file's current contents and which descriptor needs to be saved.

Explanation

Correct Answer

B:

Inspect the redirection ordering and decide whether both descriptors should share the file. This isolates the relevant condition before applying a change. The appropriate corrective response is: Use command > combined.log 2>&1 with the intended shell redirection order.

Incorrect Answers

A:

Inspect whether upstream errors are on stderr and whether tee receives only stdout. That would matter when a script uses a pipeline into tee but needs the file to collect both output and diagnostics. The relevant distinction in this case is: Inspect the redirection ordering and decide whether both descriptors should share the file.

C:

Identify which messages use file descriptor 1 versus file descriptor 2. That would matter when a command writes reports to standard output and warnings to standard error but only reports should enter a data file. It does not address this case's requirement: A script needs to record both standard output and error output in a single file for one command.

D:

Inspect the target file's current contents and which descriptor needs to be saved. That would matter when a maintenance script should append standard output to a cumulative log while retaining earlier runs. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 197

A quick workaround is proposed for this Linux problem: A storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it. Which assumption creates the most relevant technical risk?

  1. Hard-coding a temporary /dev/sdX path assumes stable device discovery order.
  2. A remount does not repair an underlying filesystem error that forced read-only access.
  3. Granting arbitrary filesystem mount rights globally is broader than a scoped fstab user option.
  4. A malformed fstab entry may affect boot; saving the file alone does not validate it.

Explanation

Correct Answer

A:

Hard-coding a temporary /dev/sdX path assumes stable device discovery order. This is the scenario's misleading assumption. An engineer should investigate: Read blkid to obtain the device UUID and compare it with /etc/fstab. Appropriate evidence afterward is: After reboot, the intended filesystem mounts at the correct path even if enumeration order changes.

Incorrect Answers

B:

A remount does not repair an underlying filesystem error that forced read-only access. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. The relevant distinction in this case is: Hard-coding a temporary /dev/sdX path assumes stable device discovery order.

C:

Granting arbitrary filesystem mount rights globally is broader than a scoped fstab user option. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. It does not address this case's requirement: A storage device's /dev/sdX designation changes across reboots and an fstab entry stops mounting it.

D:

A malformed fstab entry may affect boot; saving the file alone does not validate it. That would matter when an administrator edits /etc/fstab and wants to verify the configuration without rebooting immediately. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 198

A quick workaround is proposed for this Linux problem: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore. Which assumption creates the most relevant technical risk?

  1. A bind mount is not a filesystem copy or independent storage volume.
  2. Copying files into an unmounted mount-point directory can accidentally fill the root filesystem.
  3. Granting arbitrary filesystem mount rights globally is broader than a scoped fstab user option.
  4. A remount does not repair an underlying filesystem error that forced read-only access.

Explanation

Correct Answer

B:

Copying files into an unmounted mount-point directory can accidentally fill the root filesystem. This is the scenario's misleading assumption. An engineer should investigate: Inspect the device's filesystem type, contents, and the destination mount point. Appropriate evidence afterward is: findmnt or mount output shows the correct device mounted at the designated path.

Incorrect Answers

A:

A bind mount is not a filesystem copy or independent storage volume. That would matter when a secondary directory tree must appear at another mount point without creating a second copy of the files. The relevant distinction in this case is: Copying files into an unmounted mount-point directory can accidentally fill the root filesystem.

C:

Granting arbitrary filesystem mount rights globally is broader than a scoped fstab user option. That would matter when a removable drive should be mountable by an authorized unprivileged user through an fstab entry. It does not address this case's requirement: A removable ext4 partition must be mounted temporarily at /mnt/backup for a one-off restore.

D:

A remount does not repair an underlying filesystem error that forced read-only access. That would matter when an already mounted filesystem needs to change from read-only to read-write after a controlled recovery. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 199

A Linux operator claims the following problem is resolved: An operator attempts to hard-link a directory as a shortcut to reuse it from another location. Which result best demonstrates an effective repair?

  1. ls -i shows the same inode for both names and edits through either name are shared.
  2. The symlink resolves after the target is restored, or the copied file remains readable independently.
  3. readlink identifies the target and opening the alias reaches the original file.
  4. The alternate path reaches the intended directory without violating filesystem directory-link rules.

Explanation

Correct Answer

D:

The alternate path reaches the intended directory without violating filesystem directory-link rules. This tests actual resulting behavior rather than only the presence of a command or configuration. The relevant remediation is: Use a symbolic link or a bind mount rather than creating an ordinary hard link to a directory.

Incorrect Answers

A:

ls -i shows the same inode for both names and edits through either name are shared. That would matter when two filenames on the same filesystem must reference exactly the same file data and inode. The relevant distinction in this case is: The alternate path reaches the intended directory without violating filesystem directory-link rules.

B:

The symlink resolves after the target is restored, or the copied file remains readable independently. That would matter when an administrator deletes the original file but expects its symbolic link to keep working as a stored copy. It does not address this case's requirement: An operator attempts to hard-link a directory as a shortcut to reuse it from another location.

C:

readlink identifies the target and opening the alias reaches the original file. That would matter when a configuration file must be referenced through an alias on a different filesystem. That separate mechanism does not verify the needed Linux administration outcome in this case.

Question 200

A Linux administrator faces this situation: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users. Which action best resolves the specific issue while preserving correct system behavior?

  1. Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling.
  2. Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.
  3. Cancel the pending shutdown with shutdown -c and communicate the change.
  4. Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved.

Explanation

Correct Answer

B:

Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users. This corrects the case-specific failure. First verify: Verify the planned stop time and which interactive sessions will be affected. Then demonstrate success: Users receive a warning and the system powers down at the scheduled time unless the job is canceled.

Incorrect Answers

A:

Use shutdown -r now or the supported systemctl reboot command through normal shutdown handling. That would matter when a Linux host needs to perform a controlled reboot after a kernel upgrade without an immediate power cut. The relevant distinction in this case is: Schedule shutdown -h +10 with an appropriate explanatory message to logged-in users.

C:

Cancel the pending shutdown with shutdown -c and communicate the change. That would matter when a previously scheduled system shutdown must be canceled because a maintenance change was postponed. It does not address this case's requirement: A maintenance window requires shutting down a shared Linux host in ten minutes while notifying active users.

D:

Use systemctl isolate multi-user.target for a temporary switch when the operational impact is approved. That would matter when an administrator needs a temporary non-graphical maintenance session without changing the next boot. That separate mechanism does not verify the needed Linux administration outcome in this case.