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 49

Question 480

A virtualization guest has a newly attached disk but the operator wants swap space without planning partition boundaries first. What consequence best illustrates this particular configuration risk?

  1. Ordinary logging or one user's files may exhaust root space and interrupt essential services.
  2. A healthy service can be interrupted while the true performance bottleneck remains.
  3. Unrelated log lines may be counted as failures and distort incident triage.
  4. Important partition metadata or data may be overwritten while the desired swap layout remains wrong.

Answer & Explanations

Correct answer: D

A.

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 virtualization guest has a newly attached disk but the operator wants swap space without planning partition boundaries first. The primary consequence is: Important partition metadata or data may be overwritten while the desired swap layout remains wrong. The prevention is: Create or inspect the required partition table with a suitable disk-partitioning tool, then use mkswap on the verified intended swap area.

B.

This failure concerns another situation: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The case here is: A virtualization guest has a newly attached disk but the operator wants swap space without planning partition boundaries first. The primary consequence is: Important partition metadata or data may be overwritten while the desired swap layout remains wrong. The prevention is: Create or inspect the required partition table with a suitable disk-partitioning tool, then use mkswap on the verified intended swap area.

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 virtualization guest has a newly attached disk but the operator wants swap space without planning partition boundaries first. The primary consequence is: Important partition metadata or data may be overwritten while the desired swap layout remains wrong. The prevention is: Create or inspect the required partition table with a suitable disk-partitioning tool, then use mkswap on the verified intended swap area.

D.

Important partition metadata or data may be overwritten while the desired swap layout remains wrong. This can follow from the shortcut: Execute mkswap on an unpartitioned entire production system drive assuming it only adds a harmless swap label. The protective action is: Create or inspect the required partition table with a suitable disk-partitioning tool, then use mkswap on the verified intended swap area. The case states: A virtualization guest has a newly attached disk but the operator wants swap space without planning partition boundaries first.

Question 481

A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. What should the system administrator do first to resolve the stated issue?

  1. Set the intended directory group and its setgid bit, with compatible umask and group permission policy.
  2. Use lsblk and partition metadata to verify the intended block device, then create the approved filesystem only on the selected partition.
  3. Compare df for free blocks and inode availability before choosing a filesystem maintenance response.
  4. Use explicit stdout and stderr file descriptors to route ordinary results and diagnostic messages separately.

Answer & Explanations

Correct answer: C

A.

This action fits another scenario: Two authorized team members create files in a shared folder but new files inherit different primary groups and colleagues lose access. The stated scenario is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

This action fits another scenario: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The stated scenario is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

C.

Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The scenario is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The technical reason is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

D.

This action fits another scenario: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The stated scenario is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

Question 482

A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The administrator proposes: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. Which Linux behavior makes the proposed remediation appropriate?

  1. Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.
  2. A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
  3. A substitution expression transforms matching text; careless patterns can match more data than the intended literal token.
  4. find evaluates metadata tests per entry, allowing file-type and time conditions to be combined precisely.

Answer & Explanations

Correct answer: A

A.

Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation. That is why the appropriate action is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The stated problem is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes.

B.

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 web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

C.

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: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

D.

This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

Question 483

A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The administrator proposes: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. What acceptance check best distinguishes success from an unchanged issue?

  1. Verify current mount state, inspect fstab and test a planned reboot or mount -a only when persistence is required.
  2. Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.
  3. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.
  4. Use a test group member to traverse a known path and read an allowed file while verifying unrelated users remain denied.

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 web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

B.

Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files. This verifies the action: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The test applies to: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes.

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 web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

D.

This check is intended for another scenario: A project directory has read permission but a user still cannot open a known file inside it. The case here is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

Question 484

A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. What tempting response would create an avoidable operational hazard?

  1. Replace the unknown binary by copying another host's file without checking package version or package ownership.
  2. Hardcode the first available /dev/sdX device as a permanent backup mount without checking its identity.
  3. Increase application memory limits because the disk still appears to have available byte capacity.
  4. Cut power to the host while active writers are running merely because a shell prompt remains responsive.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A Red Hat family host runs a utility whose installed RPM package ownership must be identified before patching. The specific case is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

This is a shortcut for another issue: A disk is reassigned a new /dev name after a hardware change and a data filesystem fails to mount at startup. The specific case is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

C.

Increase application memory limits because the disk still appears to have available byte capacity. This is unsafe in: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The likely result is: The application may continue failing file creation while the real inode limit is ignored. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

D.

This is a shortcut for another issue: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The specific case is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

Question 485

A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. Which failure can follow if this control is ignored?

  1. One user may remove or rename another user's temporary files despite being unable to read their contents.
  2. A healthy service can be interrupted while the true performance bottleneck remains.
  3. The shortcut may fail immediately or remain broken when its target path is changed.
  4. The application may continue failing file creation while the real inode limit is ignored.

Answer & Explanations

Correct answer: D

A.

This failure concerns another situation: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The case here is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

This failure concerns another situation: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The case here is: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

C.

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 web service cannot create a tiny cache file although the filesystem still reports many free gigabytes. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

D.

The application may continue failing file creation while the real inode limit is ignored. This can follow from the shortcut: Increase application memory limits because the disk still appears to have available byte capacity. The protective action is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The case states: A web service cannot create a tiny cache file although the filesystem still reports many free gigabytes.

Question 486

A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. Which configuration or command decision addresses the stated failure?

  1. Provide an architecture-appropriate EFI System Partition and distinct Linux root and swap arrangements as needed by the deployment.
  2. Place host configuration under /etc and runtime variable logs under appropriate /var locations consistent with the Filesystem Hierarchy Standard.
  3. Preview a bounded sed substitution on a copy and verify intended occurrences before applying any file changes.
  4. Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

Answer & Explanations

Correct answer: D

A.

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 mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

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 mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

C.

This action fits another scenario: A config sample needs a known old hostname replaced with a new one while unrelated text must remain unchanged. The stated scenario is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The appropriate response here is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

D.

Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The scenario is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The technical reason is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

Question 487

A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The administrator proposes: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. Which technical explanation supports the proposed Linux action?

  1. nice influences a new process at launch; renice changes scheduling preference of an already running process.
  2. Mounting now changes the current namespace, while startup mounting relies on a persistent configuration or mount unit.
  3. Partition tables define block extents; mkswap initializes a chosen area for use as swap and does not design the table itself.
  4. Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The situation here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

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 mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

C.

This principle explains another scenario: A large Linux disk needs a new GPT partition and the engineer mistakenly assumes mkswap creates partition entries. The situation here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The controlling mechanism is: Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation.

D.

Filesystems can exhaust available inodes independently of storage blocks, preventing new file creation. That is why the appropriate action is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The stated problem is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable.

Question 488

A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The administrator proposes: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. What test should validate the proposed configuration or command change?

  1. Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.
  2. Check scheduled shutdown status, user warning delivery and orderly service termination before confirming the maintenance action.
  3. Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
  4. Modify a disposable file, save it and reopen it to verify the exact intended text persists.

Answer & Explanations

Correct answer: A

A.

Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files. This verifies the action: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The test applies to: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable.

B.

This check is intended for another scenario: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The case here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

C.

This check is intended for another scenario: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The case here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

D.

This check is intended for another scenario: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The case here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The pertinent test is: Inspect df -h and df -i and demonstrate which resource changes after an approved cleanup of disposable test files.

Question 489

A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. What action would most directly undermine the intended safeguard?

  1. Run mkfs against the first device listed by a shell glob without checking whether it holds the operating system.
  2. Increase application memory limits because the disk still appears to have available byte capacity.
  3. Assume a stale locate hit proves the command executed from that deleted path during the current session.
  4. Create a hard link to an entire directory on a second filesystem and assume it behaves like a symbolic link.

Answer & Explanations

Correct answer: B

A.

This is a shortcut for another issue: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The specific case is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

Increase application memory limits because the disk still appears to have available byte capacity. This is unsafe in: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The likely result is: The application may continue failing file creation while the real inode limit is ignored. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

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 mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

D.

This is a shortcut for another issue: A maintenance shortcut to /opt/app/current stops working after a release directory is moved. The specific case is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. Here, avoid: Increase application memory limits because the disk still appears to have available byte capacity. Instead: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

Question 490

A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. What problem is the proposed administration change designed to prevent?

  1. Buffered data can be lost and the filesystem may require recovery after unsafe removal.
  2. The host may repeatedly boot into restricted maintenance mode after the original diagnostic work is finished.
  3. Unintended archive entries could overwrite system configuration and disrupt running applications.
  4. The application may continue failing file creation while the real inode limit is ignored.

Answer & Explanations

Correct answer: D

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 mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

B.

This failure concerns another situation: A service fault prevents a normal graphical startup and an operator needs a maintenance shell for a single boot. The case here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

C.

This failure concerns another situation: A Linux application must be archived with nested configuration and metadata before a version migration. The case here is: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable. The primary consequence is: The application may continue failing file creation while the real inode limit is ignored. The prevention is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response.

D.

The application may continue failing file creation while the real inode limit is ignored. This can follow from the shortcut: Increase application memory limits because the disk still appears to have available byte capacity. The protective action is: Compare df for free blocks and inode availability before choosing a filesystem maintenance response. The case states: A mail spool holds millions of small files and new deliveries fail even though large-file storage estimates appear comfortable.

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