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 18

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.

Question 171

A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. Which configuration or command decision addresses the stated failure?

  1. Use history and man or the command's supported help output to inspect prior syntax and documented options without automatic execution.
  2. Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.
  3. Use dpkg query operations to inspect installed package status, versions and file ownership before making changes.
  4. Provide an architecture-appropriate EFI System Partition and distinct Linux root and swap arrangements as needed by the deployment.

Answer & Explanations

Correct answer: B

A.

This action fits another scenario: A junior engineer repeatedly guesses unfamiliar command flags from memory despite local manual pages describing exact usage. The stated scenario is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The scenario is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The technical reason is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

C.

This action fits another scenario: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The stated scenario is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

D.

This action fits another scenario: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The stated scenario is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

Question 172

A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The administrator proposes: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. Which technical explanation supports the proposed Linux action?

  1. Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.
  2. Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.
  3. Bootloader placement must agree with the firmware discovery method and available boot partitions.
  4. Package configuration scripts may maintain integration state beyond the presence of package files on disk.

Answer & Explanations

Correct answer: A

A.

Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal. That is why the appropriate action is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The stated problem is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available.

B.

This principle explains 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 situation here is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

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: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

D.

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 RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

Question 173

A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The administrator proposes: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. What test should validate the proposed configuration or command change?

  1. Verify current mount state, inspect fstab and test a planned reboot or mount -a only when persistence is required.
  2. Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.
  3. Reboot a test instance and compare systemctl get-default and active targets against the documented desired operating mode.
  4. Compare type or which for a known command, inspect an immediate find result and rerun locate after an authorized index refresh.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The case here is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

B.

Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health. This verifies the action: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The test applies to: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available.

C.

This check is intended for another scenario: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

D.

This check is intended for another scenario: 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 RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

Question 174

A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. What action would most directly undermine the intended safeguard?

  1. Run dpkg --force-all on an arbitrary downloaded package and disregard broken dependencies or repository provenance.
  2. Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies.
  3. Manually modify one generated grub.cfg line and assume subsequent kernel upgrades will preserve the change.
  4. Terminate the largest-looking process by name before checking whether CPU, I/O or memory is actually constrained.

Answer & Explanations

Correct answer: B

A.

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 RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. This is unsafe in: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The likely result is: The targeted service and unrelated packages may become unusable after an incomplete change. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

C.

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: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

D.

This is a shortcut for another issue: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The specific case is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

Question 175

A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. What problem is the proposed administration change designed to prevent?

  1. The report may contain incorrect fields or silently omit empty values from its input.
  2. Disk growth and maintenance tools may behave unpredictably because files are stored outside their intended hierarchy.
  3. An unexpected program version can continue running or a working system command may be removed needlessly.
  4. The targeted service and unrelated packages may become unusable after an incomplete change.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A service report has colon-separated records and an analyst needs only the second field of each line. The case here is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

This failure concerns another situation: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

C.

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 RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

D.

The targeted service and unrelated packages may become unusable after an incomplete change. This can follow from the shortcut: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. The protective action is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The case states: A RHEL-like system requires a security update with dependent libraries and the engineer has approved repositories available.

Question 176

A server needs to remove a retired package without silently breaking other packages that depend on it. Which action best matches the required Linux behavior?

  1. Correlate journalctl boot records with dmesg kernel messages to isolate the failure stage and affected service or driver.
  2. Use dpkg-reconfigure where supported to rerun the installed package's configuration process with reviewed settings.
  3. Schedule shutdown or reboot through supported system commands and notify connected users before the planned maintenance window.
  4. Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

Answer & Explanations

Correct answer: D

A.

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 server needs to remove a retired package without silently breaking other packages that depend on it. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

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 server needs to remove a retired package without silently breaking other packages that depend on it. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

C.

This action fits another scenario: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The stated scenario is: A server needs to remove a retired package without silently breaking other packages that depend on it. The appropriate response here is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

D.

Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The scenario is: A server needs to remove a retired package without silently breaking other packages that depend on it. The technical reason is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

Question 177

A server needs to remove a retired package without silently breaking other packages that depend on it. The administrator proposes: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. What underlying principle explains the selected remedy?

  1. RPM tracks installed package ownership, metadata and selected file attributes against known packaged state.
  2. Mounting now changes the current namespace, while startup mounting relies on a persistent configuration or mount unit.
  3. Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.
  4. Cloned system identity and host credentials should not remain identical across independently managed instances.

Answer & Explanations

Correct answer: C

A.

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 server needs to remove a retired package without silently breaking other packages that depend on it. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

B.

This principle explains another scenario: A technician successfully mounts a secondary data disk manually, but it disappears from the mount table after reboot. The situation here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

C.

Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal. That is why the appropriate action is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The stated problem is: A server needs to remove a retired package without silently breaking other packages that depend on it.

D.

This principle explains another scenario: A virtual machine template was copied to several cloud guests and all instances unexpectedly share the same machine identity. The situation here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The controlling mechanism is: Repository-aware package managers evaluate dependency chains and planned transactions before committing installation or removal.

Question 178

A server needs to remove a retired package without silently breaking other packages that depend on it. The administrator proposes: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. Which practical check confirms the proposed fix works as intended?

  1. Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.
  2. Capture a baseline of load, process activity and memory usage and compare it during the reproduced slowdown.
  3. Use ldd to confirm the formerly missing library resolves to an expected trusted path, then rerun the application.
  4. Compare blkid and the configured fstab entry, then mount it in a safe test and verify the correct data appears at the mount point.

Answer & Explanations

Correct answer: A

A.

Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health. This verifies the action: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The test applies to: A server needs to remove a retired package without silently breaking other packages that depend on it.

B.

This check is intended for another scenario: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The case here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

C.

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 server needs to remove a retired package without silently breaking other packages that depend on it. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

D.

This check is intended for another scenario: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The case here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The pertinent test is: Review the proposed transaction, perform it, and confirm expected installed versions and dependent service health.

Question 179

A server needs to remove a retired package without silently breaking other packages that depend on it. Which shortcut is most likely to worsen this exact condition?

  1. Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies.
  2. Format the EFI System Partition as swap because it is listed near the beginning of the partition table.
  3. Use an unrelated byte-count command and assume it identifies the second logical column of structured records.
  4. Type configuration into normal mode and then force quit while assuming keystrokes were saved.

Answer & Explanations

Correct answer: A

A.

Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. This is unsafe in: A server needs to remove a retired package without silently breaking other packages that depend on it. The likely result is: The targeted service and unrelated packages may become unusable after an incomplete change. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

This is a shortcut for another issue: A new UEFI Linux installation cannot identify a suitable EFI System Partition in its disk plan. The specific case is: A server needs to remove a retired package without silently breaking other packages that depend on it. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

C.

This is a shortcut for another issue: A service report has colon-separated records and an analyst needs only the second field of each line. The specific case is: A server needs to remove a retired package without silently breaking other packages that depend on it. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

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: A server needs to remove a retired package without silently breaking other packages that depend on it. Here, avoid: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. Instead: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

Question 180

A server needs to remove a retired package without silently breaking other packages that depend on it. What consequence best illustrates this particular configuration risk?

  1. Unrelated log lines may be counted as failures and distort incident triage.
  2. The machine may stop before the Linux kernel can be selected or started.
  3. The targeted service and unrelated packages may become unusable after an incomplete change.
  4. Ordinary logging or one user's files may exhaust root space and interrupt essential services.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: An audit script seeks records that begin with a specific status but also matches unrelated words containing that token. The case here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

B.

This failure concerns another situation: A server has an installed GRUB configuration but its firmware cannot find the correct bootloader after a disk replacement. The case here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

C.

The targeted service and unrelated packages may become unusable after an incomplete change. This can follow from the shortcut: Force-remove RPM files directly while ignoring a transaction preview that shows broken dependencies. The protective action is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change. The case states: A server needs to remove a retired package without silently breaking other packages that depend on it.

D.

This failure concerns another situation: A logging server fills its root filesystem because variable application logs share the same small root partition. The case here is: A server needs to remove a retired package without silently breaking other packages that depend on it. The primary consequence is: The targeted service and unrelated packages may become unusable after an incomplete change. The prevention is: Use the supported yum or dnf transaction workflow to inspect dependencies and apply the reviewed package change.

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