Practice Exams:

LPI 101-500 Dumps

EXAM: LPIC-1 Exam 101
Verified By Experts
Premium Bundle
$40.00
$59.97 $99.97

101-500 Premium Bundle


  • Premium File 120 Questions & Answers
  • Training Course 126 Lectures
  • Study Guide 442 Pages

LPI 101-500 Practice Test 15

Question 140

A Debian host reports an installed utility version different from the expected release and an administrator needs authoritative package state. What problem is the proposed administration change designed to prevent?

  1. The wrong package may be replaced while the actual installation or dependency problem is left unresolved.
  2. Distinct hosts may be indistinguishable to inventory systems and shared host secrets can undermine connection trust.
  3. Open files and workloads may be interrupted and the filesystem may require recovery on the next boot.
  4. Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file.

Answer & Explanations

Correct answer: A

A.

The wrong package may be replaced while the actual installation or dependency problem is left unresolved. This can follow from the shortcut: Delete the executable and guess which downloaded.deb to install without reading the package database. The protective action is: Use dpkg query operations to inspect installed package status, versions and file ownership before making changes. The case states: A Debian host reports an installed utility version different from the expected release and an administrator needs authoritative package state.

B.

This failure concerns another situation: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The case here is: A Debian host reports an installed utility version different from the expected release and an administrator needs authoritative package state. The primary consequence is: The wrong package may be replaced while the actual installation or dependency problem is left unresolved. The prevention is: Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.

C.

This failure concerns another situation: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The case here is: A Debian host reports an installed utility version different from the expected release and an administrator needs authoritative package state. The primary consequence is: The wrong package may be replaced while the actual installation or dependency problem is left unresolved. The prevention is: Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.

D.

This failure concerns another situation: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The case here is: A Debian host reports an installed utility version different from the expected release and an administrator needs authoritative package state. The primary consequence is: The wrong package may be replaced while the actual installation or dependency problem is left unresolved. The prevention is: Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.

Question 141

A Debian-based machine fails to locate a known package because its configured repository metadata is stale. What is the most specific defensible operational intervention?

  1. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.
  2. Grant the approved directory search or execute permission together with appropriate file read rights for the intended group.
  3. Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.
  4. Correlate journalctl boot records with dmesg kernel messages to isolate the failure stage and affected service or driver.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The stated scenario is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

B.

This action fits another scenario: A project directory has read permission but a user still cannot open a known file inside it. The stated scenario is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

C.

Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The scenario is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The technical reason is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

D.

This action fits another scenario: A workstation reboots during early service startup and the technician only checks a currently running application log. The stated scenario is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Question 142

A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The administrator proposes: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. Which causal relationship connects the diagnosis to the recommended step?

  1. UEFI firmware discovers boot files on an EFI-compatible system partition; Linux root and swap fulfill different runtime roles.
  2. Package configuration scripts may maintain integration state beyond the presence of package files on disk.
  3. Kernel-assigned device names can change across discovery order; filesystem UUIDs identify the intended storage independent of that order.
  4. APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local .deb file.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The situation here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

B.

This principle explains another scenario: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The situation here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

C.

This principle explains another scenario: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The situation here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

D.

APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file. That is why the appropriate action is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The stated problem is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale.

Question 143

A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The administrator proposes: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. Which observation proves the intended Linux behavior has been restored?

  1. List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
  2. Inspect open references, stop only the relevant task and confirm umount succeeds and buffers are synchronized.
  3. Compare the package version and ownership output with the targeted executable and verify its installation status.
  4. Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

Answer & Explanations

Correct answer: D

A.

This check is intended for another scenario: A Linux application must be archived with nested configuration and metadata before a version migration. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

B.

This check is intended for another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

C.

This check is intended for another scenario: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

D.

Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state. This verifies the action: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The test applies to: A Debian-based machine fails to locate a known package because its configured repository metadata is stale.

Question 144

A Debian-based machine fails to locate a known package because its configured repository metadata is stale. Which seemingly quick workaround should the administrator reject?

  1. Publish a reusable VM image containing the same production SSH host private keys for every future machine.
  2. Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance.
  3. Disable essential boot services randomly instead of adjusting the appropriate default target.
  4. Put all write-heavy logs and every user directory into a tiny undifferentiated root filesystem without capacity planning.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The specific case is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

B.

Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. This is unsafe in: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The likely result is: The package may remain unconfigured or introduce an untrusted dependency chain. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

C.

This is a shortcut for another issue: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The specific case is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

D.

This is a shortcut for another issue: A logging server fills its root filesystem because variable application logs share the same small root partition. The specific case is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Question 145

A Debian-based machine fails to locate a known package because its configured repository metadata is stale. Which adverse result is most specifically linked to the uncorrected condition?

  1. Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file.
  2. The package may remain unconfigured or introduce an untrusted dependency chain.
  3. Unrelated configuration can be erased and the obsolete directive may remain.
  4. Previously dangerous arguments may run again and damage the host instead of informing a controlled procedure.

Answer & Explanations

Correct answer: B

A.

This failure concerns another situation: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

B.

The package may remain unconfigured or introduce an untrusted dependency chain. This can follow from the shortcut: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. The protective action is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The case states: A Debian-based machine fails to locate a known package because its configured repository metadata is stale.

C.

This failure concerns another situation: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

D.

This failure concerns another situation: A junior engineer repeatedly guesses unfamiliar command flags from memory despite local manual pages describing exact usage. The case here is: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Question 146

An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. What should the system administrator do first to resolve the stated issue?

  1. Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.
  2. Inspect the binary's linked-library dependencies with ldd and resolve missing compatible shared objects through supported packages or paths.
  3. Inspect command -v or type and the PATH order, then invoke the reviewed executable by full path or update PATH intentionally.
  4. Use blkid to identify a stable filesystem UUID and configure the reviewed /etc/fstab mount entry accordingly.

Answer & Explanations

Correct answer: A

A.

Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The scenario is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The technical reason is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

B.

This action fits another scenario: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The stated scenario is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

C.

This action fits another scenario: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The stated scenario is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

D.

This action fits another scenario: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The stated scenario is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The appropriate response here is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Question 147

An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The administrator proposes: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. Which Linux behavior makes the proposed remediation appropriate?

  1. A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
  2. APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local .deb file.
  3. Conventional filesystem locations separate host-specific configuration from changing operational data and shared program assets.
  4. Repair tools may modify filesystem metadata and can conflict with concurrent writes when the filesystem remains active.

Answer & Explanations

Correct answer: B

A.

This principle explains another scenario: A Linux application must be archived with nested configuration and metadata before a version migration. The situation here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

B.

APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file. That is why the appropriate action is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The stated problem is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages.

C.

This principle explains another scenario: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The situation here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

D.

This principle explains another scenario: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The situation here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The controlling mechanism is: APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local.deb file.

Question 148

An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The administrator proposes: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. What acceptance check best distinguishes success from an unchanged issue?

  1. Reboot through the intended firmware entry and confirm GRUB loads the selected kernel without fallback devices.
  2. Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.
  3. Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.
  4. Simulate representative log and home-directory growth and confirm intended filesystems remain isolated with available capacity.

Answer & Explanations

Correct answer: C

A.

This check is intended for another scenario: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

B.

This check is intended for another scenario: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

C.

Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state. This verifies the action: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The test applies to: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages.

D.

This check is intended for another scenario: A logging server fills its root filesystem because variable application logs share the same small root partition. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The pertinent test is: Confirm the configured source lists and candidate version, then verify dependency resolution and successful installed package state.

Question 149

An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. What tempting response would create an avoidable operational hazard?

  1. Delete boot logs and repeatedly reboot the machine before examining any kernel or unit failure evidence.
  2. Run uniq directly on an unordered list and treat the result as a globally deduplicated inventory.
  3. Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance.
  4. Delete successive lines blindly from the top because the desired directive appears somewhere later.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A workstation reboots during early service startup and the technician only checks a currently running application log. The specific case is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

B.

This is a shortcut for another issue: An incident sample lists several recurring hostnames out of order and the team wants one entry per distinct name. The specific case is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

C.

Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. This is unsafe in: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The likely result is: The package may remain unconfigured or introduce an untrusted dependency chain. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

D.

This is a shortcut for another issue: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The specific case is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. Here, avoid: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. Instead: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Question 150

An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. Which failure can follow if this control is ignored?

  1. The package may remain unconfigured or introduce an untrusted dependency chain.
  2. An unnecessarily destructive action can remove useful configuration without addressing the specific package setting.
  3. The intended boot settings may disappear on the next package update or fail due to inconsistent generated entries.
  4. Active files or subdirectories may be erased along with the intended stale regular files.

Answer & Explanations

Correct answer: A

A.

The package may remain unconfigured or introduce an untrusted dependency chain. This can follow from the shortcut: Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance. The protective action is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources. The case states: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages.

B.

This failure concerns another situation: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

C.

This failure concerns another situation: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

D.

This failure concerns another situation: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: An administrator is adding a package from approved repositories while dependencies may need to be resolved across several packages. The primary consequence is: The package may remain unconfigured or introduce an untrusted dependency chain. The prevention is: Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

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