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 16

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.

Question 151

An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Which Linux administration step most directly corrects this problem?

  1. Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.
  2. Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.
  3. Correlate journalctl boot records with dmesg kernel messages to isolate the failure stage and affected service or driver.
  4. Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Answer & Explanations

Correct answer: B

A.

This action fits another scenario: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The stated scenario is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The scenario is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The technical reason is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

C.

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: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

D.

This action fits another scenario: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The stated scenario is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Question 152

An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The administrator proposes: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. Why would the recommended command or configuration resolve this problem?

  1. Persistent boot selections are assembled from supported input configuration; hand editing a generated file can be overwritten later.
  2. The shell resolves command names through built-ins, functions and its search path rather than choosing the newest installed binary.
  3. Package configuration scripts may maintain integration state beyond the presence of package files on disk.
  4. A substitution expression transforms matching text; careless patterns can match more data than the intended literal token.

Answer & Explanations

Correct answer: C

A.

This principle explains another scenario: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The situation here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

B.

This principle explains another scenario: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The situation here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

C.

Package configuration scripts may maintain integration state beyond the presence of package files on disk. That is why the appropriate action is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The stated problem is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes.

D.

This principle explains another scenario: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The situation here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

Question 153

An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The administrator proposes: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. Which verification is most specifically tied to the original failure?

  1. Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.
  2. Inspect the partition type and boot entry for the ESP and validate root mounting and swap activation after a test boot.
  3. Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.
  4. Disconnect a test session and confirm the job PID remains active and produces its expected completion log.

Answer & Explanations

Correct answer: A

A.

Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration. This verifies the action: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The test applies to: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes.

B.

This check is intended for another scenario: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The case here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

C.

This check is intended for another scenario: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The case here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

D.

This check is intended for another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The case here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

Question 154

An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Which risky choice fails to address the actual Linux problem?

  1. Treat one successful manual mount as proof that the disk will be present after every restart.
  2. Purge all package files and reinstall the operating system solely because one package dialog needs updating.
  3. Compile random kernel modules without checking whether the PCI or USB bus detects the component.
  4. Type configuration into normal mode and then force quit while assuming keystrokes were saved.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The specific case is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

Purge all package files and reinstall the operating system solely because one package dialog needs updating. This is unsafe in: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The likely result is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

C.

This is a shortcut for another issue: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The specific case is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

D.

This is a shortcut for another issue: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The specific case is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Question 155

An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. Which operational impact should the engineer expect if the gap remains?

  1. The package may remain unconfigured or introduce an untrusted dependency chain.
  2. Active files or subdirectories may be erased along with the intended stale regular files.
  3. An unnecessarily destructive action can remove useful configuration without addressing the specific package setting.
  4. Distinct hosts may be indistinguishable to inventory systems and shared host secrets can undermine connection trust.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The case here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

This failure concerns another situation: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

C.

An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. This can follow from the shortcut: Purge all package files and reinstall the operating system solely because one package dialog needs updating. The protective action is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The case states: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes.

D.

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: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Question 156

A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. What is the most specific defensible operational intervention?

  1. Design mount points and partition or logical-volume allocations around root, /var, /home, boot requirements and expected workload growth.
  2. Use zypper repository and package queries to inspect the candidate source and review the transaction before applying it.
  3. Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.
  4. Modify the supported GRUB defaults or scripts and regenerate grub.cfg with the distribution-appropriate grub-mkconfig workflow.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: A logging server fills its root filesystem because variable application logs share the same small root partition. The stated scenario is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

This action fits another scenario: An openSUSE workstation has conflicting repository priorities and offers an unexpected package version during upgrade. The stated scenario is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

C.

Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The scenario is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The technical reason is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

D.

This action fits another scenario: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The stated scenario is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The appropriate response here is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Question 157

A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The administrator proposes: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. Which causal relationship connects the diagnosis to the recommended step?

  1. Different performance bottlenecks show different process and resource signals; a single slow symptom does not identify the cause.
  2. Package configuration scripts may maintain integration state beyond the presence of package files on disk.
  3. A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
  4. RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

Answer & Explanations

Correct answer: B

A.

This principle explains another scenario: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The situation here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

B.

Package configuration scripts may maintain integration state beyond the presence of package files on disk. That is why the appropriate action is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The stated problem is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path.

C.

This principle explains another scenario: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The situation here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

D.

This principle explains another scenario: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The situation here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The controlling mechanism is: Package configuration scripts may maintain integration state beyond the presence of package files on disk.

Question 158

A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The administrator proposes: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. Which observation proves the intended Linux behavior has been restored?

  1. Record the expected vendor and device identifier, verify bus discovery and module binding, then test that the intended device node appears.
  2. Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.
  3. List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
  4. Use ldd to confirm the formerly missing library resolves to an expected trusted path, then rerun the application.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The case here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

B.

Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration. This verifies the action: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The test applies to: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path.

C.

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 workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

D.

This check is intended for another scenario: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The case here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The pertinent test is: Inspect the package configuration and test its resulting service behavior after a controlled reconfiguration.

Question 159

A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. Which seemingly quick workaround should the administrator reject?

  1. Purge all package files and reinstall the operating system solely because one package dialog needs updating.
  2. Execute rm recursively on the whole parent path because its directory name includes archive.
  3. Restart the process solely to alter its priority, losing hours of computation without checking renice.
  4. Install a BIOS-only bootloader into an arbitrary partition while assuming UEFI will load it automatically.

Answer & Explanations

Correct answer: A

A.

Purge all package files and reinstall the operating system solely because one package dialog needs updating. This is unsafe in: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The likely result is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

This is a shortcut for another issue: A backup directory contains stale regular files and live subdirectories that must be retained. The specific case is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

C.

This is a shortcut for another issue: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The specific case is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

D.

This is a shortcut for another issue: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The specific case is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. Here, avoid: Purge all package files and reinstall the operating system solely because one package dialog needs updating. Instead: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Question 160

A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. Which adverse result is most specifically linked to the uncorrected condition?

  1. An unexpected program version can continue running or a working system command may be removed needlessly.
  2. The machine can boot into an unsuitable service state while administrators still cannot predict its target behavior.
  3. An unnecessarily destructive action can remove useful configuration without addressing the specific package setting.
  4. Troubleshooting can target a nonexistent file while the real command version or fresh file remains unidentified.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The case here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

B.

This failure concerns another situation: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

C.

An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. This can follow from the shortcut: Purge all package files and reinstall the operating system solely because one package dialog needs updating. The protective action is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings. The case states: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path.

D.

This failure concerns another situation: An engineer wants to know which actual executable a shell will run while an outdated locate database also lists a removed copy. The case here is: A workstation retains an invalid package configuration after migration and an engineer wants the package's supported reconfiguration path. The primary consequence is: An unnecessarily destructive action can remove useful configuration without addressing the specific package setting. The prevention is: Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

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