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 17

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.

Question 161

A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. Which action best matches the required Linux behavior?

  1. Edit the intended boot entry temporarily and validate kernel command-line parameters before updating persistent bootloader defaults.
  2. Prepare guest templates so each clone obtains appropriate distinct machine identification and SSH host keys at deployment.
  3. Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.
  4. Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: A test system boots normally until a changed kernel argument prevents access to required storage. The stated scenario is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

B.

This action fits another scenario: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The stated scenario is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The scenario is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The technical reason is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

D.

This action fits another scenario: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The stated scenario is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

Question 162

A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The administrator proposes: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. What underlying principle explains the selected remedy?

  1. RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.
  2. The kernel ring buffer describes kernel activity while the systemd journal can associate boot messages with units and timestamps.
  3. find evaluates metadata tests per entry, allowing file-type and time conditions to be combined precisely.
  4. A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.

Answer & Explanations

Correct answer: A

A.

RPM tracks installed package ownership, metadata and selected file attributes against known packaged state. That is why the appropriate action is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The stated problem is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching.

B.

This principle explains another scenario: A workstation reboots during early service startup and the technician only checks a currently running application log. The situation here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

C.

This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

D.

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 Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

Question 163

A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The administrator proposes: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. Which practical check confirms the proposed fix works as intended?

  1. Inspect the proposed candidate version and source, then verify the installed package and application after updating.
  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. Inspect a test application's configuration and log paths and confirm administration and log rotation find them as expected.

Answer & Explanations

Correct answer: C

A.

This check is intended for another scenario: An openSUSE workstation has conflicting repository priorities and offers an unexpected package version during upgrade. The case here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

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: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

C.

Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized. This verifies the action: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The test applies to: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching.

D.

This check is intended for another scenario: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

Question 164

A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. Which shortcut is most likely to worsen this exact condition?

  1. Send SIGKILL to every process with a matching substring without checking ownership or workload scope.
  2. Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance.
  3. Start a second identical job because the original stopped job is mistaken for a terminated process.
  4. Replace the unknown binary by copying another host's file without checking package version or package ownership.

Answer & Explanations

Correct answer: D

A.

This is a shortcut for another issue: A host has several similarly named application processes and only one worker must be restarted. The specific case is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

B.

This is a shortcut for another issue: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The specific case is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

This is a shortcut for another issue: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The specific case is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

D.

Replace the unknown binary by copying another host's file without checking package version or package ownership. This is unsafe in: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The likely result is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

Question 165

A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. What consequence best illustrates this particular configuration risk?

  1. Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file.
  2. Concurrent writes and repair operations may compound corruption or lose important files.
  3. Troubleshooting can target a nonexistent file while the real command version or fresh file remains unidentified.
  4. The executable may still fail to load or may execute against an incompatible untrusted library.

Answer & Explanations

Correct answer: A

A.

Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. This can follow from the shortcut: Replace the unknown binary by copying another host's file without checking package version or package ownership. The protective action is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The case states: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching.

B.

This failure concerns another situation: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The case here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

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 Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

D.

This failure concerns another situation: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The case here is: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

Question 166

An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Which Linux administration step most directly corrects this problem?

  1. Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.
  2. Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action.
  3. Design mount points and partition or logical-volume allocations around root, /var, /home, boot requirements and expected workload growth.
  4. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Answer & Explanations

Correct answer: A

A.

Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The scenario is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The technical reason is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

B.

This action fits another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The stated scenario is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

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: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

D.

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: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The appropriate response here is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

Question 167

An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The administrator proposes: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. Why would the recommended command or configuration resolve this problem?

  1. RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.
  2. UEFI firmware discovers boot files on an EFI-compatible system partition; Linux root and swap fulfill different runtime roles.
  3. Bootloader placement must agree with the firmware discovery method and available boot partitions.
  4. SIGTERM may be handled for cleanup while SIGKILL is uncatchable and prevents application-level shutdown handlers.

Answer & Explanations

Correct answer: A

A.

RPM tracks installed package ownership, metadata and selected file attributes against known packaged state. That is why the appropriate action is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The stated problem is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata.

B.

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: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

C.

This principle explains another scenario: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The situation here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

D.

This principle explains another scenario: A database helper is slow to exit and an operator wants to ensure it can flush in-memory state. The situation here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The controlling mechanism is: RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.

Question 168

An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The administrator proposes: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. Which verification is most specifically tied to the original failure?

  1. Compare before-and-after samples including lookalike hostnames and confirm only designated tokens change.
  2. Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.
  3. Check the jobs listing before and after resuming and verify the selected task progresses without stopping other jobs.
  4. Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

Answer & Explanations

Correct answer: D

A.

This check is intended for another scenario: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

B.

This check is intended for another scenario: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

C.

This check is intended for another scenario: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The pertinent test is: Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized.

D.

Identify the owning RPM and inspect targeted verification differences before deciding whether a file change is authorized. This verifies the action: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The test applies to: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata.

Question 169

An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Which risky choice fails to address the actual Linux problem?

  1. Replace the unknown binary by copying another host's file without checking package version or package ownership.
  2. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.
  3. Purge all package files and reinstall the operating system solely because one package dialog needs updating.
  4. Copy an unknown similarly named shared object into a system directory without checking architecture or ABI compatibility.

Answer & Explanations

Correct answer: A

A.

Replace the unknown binary by copying another host's file without checking package version or package ownership. This is unsafe in: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The likely result is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

B.

This is a shortcut for another issue: A Linux administrator edits bootloader default settings but the generated GRUB menu still contains old kernel parameters. The specific case is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

This is a shortcut for another issue: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The specific case is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

D.

This is a shortcut for another issue: A command fails at startup because the dynamic loader cannot find a library even though the executable file exists. The specific case is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Here, avoid: Replace the unknown binary by copying another host's file without checking package version or package ownership. Instead: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

Question 170

An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. Which operational impact should the engineer expect if the gap remains?

  1. Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file.
  2. The original driver or service fault loses its diagnostic timeline and may recur without explanation.
  3. The targeted service and unrelated packages may become unusable after an incomplete change.
  4. Unintended archive entries could overwrite system configuration and disrupt running applications.

Answer & Explanations

Correct answer: A

A.

Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. This can follow from the shortcut: Replace the unknown binary by copying another host's file without checking package version or package ownership. The protective action is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions. The case states: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata.

B.

This failure concerns another situation: A workstation reboots during early service startup and the technician only checks a currently running application log. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

C.

This failure concerns another situation: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

D.

This failure concerns another situation: A Linux application must be archived with nested configuration and metadata before a version migration. The case here is: An operator suspects a packaged binary was changed locally and needs to compare its files with recorded RPM metadata. The primary consequence is: Troubleshooting may miss a local tamper or overwrite a legitimate system package with an incompatible file. The prevention is: Query the local RPM database for owning packages and verify installed files using rpm query and verification functions.

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