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 47

Question 460

A maintenance technician accidentally deletes the wrong block by pressing keys before verifying the current vi cursor line. Which adverse result is most specifically linked to the uncorrected condition?

  1. Operators may lose required live status during a maintenance action despite a log being created.
  2. Valid but unrelated configuration entries may be rewritten and services can lose connectivity.
  3. Unrelated log lines may be counted as failures and distort incident triage.
  4. Unrelated configuration can be erased and the obsolete directive may remain.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A deployment operator wants to watch command output live and also preserve an exact run log for review. The case here is: A maintenance technician accidentally deletes the wrong block by pressing keys before verifying the current vi cursor line. The primary consequence is: Unrelated configuration can be erased and the obsolete directive may remain. The prevention is: Use vi search to locate the exact target and review it before a line-specific edit such as dd.

B.

This failure concerns another situation: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The case here is: A maintenance technician accidentally deletes the wrong block by pressing keys before verifying the current vi cursor line. The primary consequence is: Unrelated configuration can be erased and the obsolete directive may remain. The prevention is: Use vi search to locate the exact target and review it before a line-specific edit such as dd.

C.

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 maintenance technician accidentally deletes the wrong block by pressing keys before verifying the current vi cursor line. The primary consequence is: Unrelated configuration can be erased and the obsolete directive may remain. The prevention is: Use vi search to locate the exact target and review it before a line-specific edit such as dd.

D.

Unrelated configuration can be erased and the obsolete directive may remain. This can follow from the shortcut: Delete successive lines blindly from the top because the desired directive appears somewhere later. The protective action is: Use vi search to locate the exact target and review it before a line-specific edit such as dd. The case states: A maintenance technician accidentally deletes the wrong block by pressing keys before verifying the current vi cursor line.

Question 461

A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. Which action best matches the required Linux behavior?

  1. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.
  2. Inspect sysfs and lsmod, identify the correct supported module and use modprobe to load it before examining the resulting device node.
  3. Compare lspci, lsusb, kernel messages and loaded modules to identify the device before selecting supported driver or peripheral changes.
  4. Use a controlled systemd rescue or emergency target for diagnosis and distinguish it from changes to the persistent default.

Answer & Explanations

Correct answer: A

A.

Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The scenario is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The technical reason is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

B.

This action fits another scenario: A storage controller has a recognized PCI identifier but its expected driver is absent from the loaded module list. The stated scenario is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

C.

This action fits another scenario: A virtualized Linux workstation cannot see a newly attached USB barcode scanner and the technician proposes rebuilding the kernel immediately. The stated scenario is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

D.

This action fits another scenario: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The stated scenario is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Question 462

A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The administrator proposes: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. What underlying principle explains the selected remedy?

  1. Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.
  2. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.
  3. A setgid directory causes newly created entries to inherit the directory's group on common Linux filesystems.
  4. APT resolves package dependencies using its configured repository metadata, distinct from merely unpacking a local .deb file.

Answer & Explanations

Correct answer: A

A.

Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone. That is why the appropriate action is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The stated problem is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem.

B.

This principle explains another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The situation here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

C.

This principle explains another scenario: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The situation here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

D.

This principle explains another scenario: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The situation here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

Question 463

A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The administrator proposes: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. Which practical check confirms the proposed fix works as intended?

  1. Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.
  2. Reboot a test instance and compare systemctl get-default and active targets against the documented desired operating mode.
  3. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.
  4. List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.

Answer & Explanations

Correct answer: A

A.

Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature. This verifies the action: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The test applies to: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem.

B.

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 server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

C.

This check is intended for another scenario: 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 server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

D.

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 server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

Question 464

A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. Which shortcut is most likely to worsen this exact condition?

  1. Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system.
  2. Make the directory world-writable without a sticky bit and assume file read permissions also prevent deletion.
  3. Assume a stale locate hit proves the command executed from that deleted path during the current session.
  4. Increase application memory limits because the disk still appears to have available byte capacity.

Answer & Explanations

Correct answer: A

A.

Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. This is unsafe in: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The likely result is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

B.

This is a shortcut for another issue: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The specific case is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

C.

This is a shortcut for another issue: An engineer wants to know which actual executable a shell will run while an outdated locate database also lists a removed copy. The specific case is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

D.

This is a shortcut for another issue: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The specific case is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Question 465

A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. What consequence best illustrates this particular configuration risk?

  1. The shortcut may fail immediately or remain broken when its target path is changed.
  2. Valid but unrelated configuration entries may be rewritten and services can lose connectivity.
  3. An early boot configuration fault remains hidden beneath unrelated operating system changes.
  4. Existing filesystems may be destroyed when the wrong disk or partition is formatted.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The case here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

B.

This failure concerns another situation: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The case here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

C.

This failure concerns another situation: A newly imaged laptop reaches UEFI firmware but never displays a GRUB selection after changing disk layout. The case here is: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

D.

Existing filesystems may be destroyed when the wrong disk or partition is formatted. This can follow from the shortcut: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. The protective action is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The case states: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem.

Question 466

A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Which Linux administration step most directly corrects this problem?

  1. Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.
  2. Identify the intended process by PID, command line and owner before sending the appropriate signal.
  3. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.
  4. Refresh repository metadata with apt-get update and then use apt-get install through approved package sources.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The stated scenario is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

B.

This action fits another scenario: A host has several similarly named application processes and only one worker must be restarted. The stated scenario is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

C.

Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The scenario is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The technical reason is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

D.

This action fits another scenario: A Debian-based machine fails to locate a known package because its configured repository metadata is stale. The stated scenario is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The appropriate response here is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Question 467

A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The administrator proposes: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. Why would the recommended command or configuration resolve this problem?

  1. A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
  2. Bootloader placement must agree with the firmware discovery method and available boot partitions.
  3. Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.
  4. Separating growth-prone data from essential system space reduces the chance that one workload prevents ordinary system operation.

Answer & Explanations

Correct answer: C

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: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

B.

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 Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

C.

Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone. That is why the appropriate action is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The stated problem is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition.

D.

This principle explains another scenario: A logging server fills its root filesystem because variable application logs share the same small root partition. The situation here is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The controlling mechanism is: Filesystem creation changes block-device contents and cannot safely be inferred from device size or a guessed /dev name alone.

Question 468

A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The administrator proposes: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. Which verification is most specifically tied to the original failure?

  1. Compare type or which for a known command, inspect an immediate find result and rerun locate after an authorized index refresh.
  2. Compare blkid and the configured fstab entry, then mount it in a safe test and verify the correct data appears at the mount point.
  3. Verify current mount state, inspect fstab and test a planned reboot or mount -a only when persistence is required.
  4. Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

Answer & Explanations

Correct answer: D

A.

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 Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

B.

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 Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

C.

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 Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The pertinent test is: Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature.

D.

Record stable disk identity and partition layout, run a reviewed mkfs operation in a test environment and confirm the new filesystem signature. This verifies the action: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The test applies to: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition.

Question 469

A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Which risky choice fails to address the actual Linux problem?

  1. Overwrite persistent generated GRUB configuration blindly after one boot error without checking effective arguments.
  2. Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system.
  3. Use an unreviewed wildcard substitution directly on a production config file and assume it matches one hostname.
  4. Permanently change the default to emergency.target just to inspect one transient service failure.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A test system boots normally until a changed kernel argument prevents access to required storage. The specific case is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

B.

Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. This is unsafe in: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The likely result is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

C.

This is a shortcut for another issue: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The specific case is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

D.

This is a shortcut for another issue: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The specific case is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Here, avoid: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. Instead: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

Question 470

A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. Which operational impact should the engineer expect if the gap remains?

  1. Buffered data can be lost and the filesystem may require recovery after unsafe removal.
  2. Existing filesystems may be destroyed when the wrong disk or partition is formatted.
  3. Unrelated users may gain write access and alter or delete project files.
  4. Editing either filename can change the shared data, defeating the intended independent backup.

Answer & Explanations

Correct answer: B

A.

This failure concerns another situation: 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 Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

B.

Existing filesystems may be destroyed when the wrong disk or partition is formatted. This can follow from the shortcut: Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system. The protective action is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition. The case states: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition.

C.

This failure concerns another situation: A project directory has read permission but a user still cannot open a known file inside it. The case here is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

D.

This failure concerns another situation: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The case here is: A Linux workstation has several similarly sized drives and an installer cannot confidently identify the target partition. The primary consequence is: Existing filesystems may be destroyed when the wrong disk or partition is formatted. The prevention is: Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.

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