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 41

Question 400

A nonurgent report job competes with foreground work and should start with reduced scheduling preference. Which failure can follow if this control is ignored?

  1. Buffered data can be lost and the filesystem may require recovery after unsafe removal.
  2. Background work may consume scheduling preference intended for more urgent services.
  3. The report may contain incorrect fields or silently omit empty values from its input.
  4. One user may remove or rename another user's temporary files despite being unable to read their contents.

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 nonurgent report job competes with foreground work and should start with reduced scheduling preference. The primary consequence is: Background work may consume scheduling preference intended for more urgent services. The prevention is: Start the nonurgent command with a positive nice value appropriate to the site's policy.

B.

Background work may consume scheduling preference intended for more urgent services. This can follow from the shortcut: Assign a strongly negative nice value to every batch task to make all background jobs finish quickly. The protective action is: Start the nonurgent command with a positive nice value appropriate to the site's policy. The case states: A nonurgent report job competes with foreground work and should start with reduced scheduling preference.

C.

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 nonurgent report job competes with foreground work and should start with reduced scheduling preference. The primary consequence is: Background work may consume scheduling preference intended for more urgent services. The prevention is: Start the nonurgent command with a positive nice value appropriate to the site's policy.

D.

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 nonurgent report job competes with foreground work and should start with reduced scheduling preference. The primary consequence is: Background work may consume scheduling preference intended for more urgent services. The prevention is: Start the nonurgent command with a positive nice value appropriate to the site's policy.

Question 401

A running batch calculation should be deprioritized after users begin a time-critical interactive session. Which Linux administration step most directly corrects this problem?

  1. Use ps, top, uptime and free to inspect process state, load and memory before selecting a corrective action.
  2. Use renice with the verified target PID and permitted new nice value to adjust an existing process.
  3. Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
  4. Use vi search to locate the exact target and review it before a line-specific edit such as dd.

Answer & Explanations

Correct answer: B

A.

This action fits another scenario: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The stated scenario is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

Use renice with the verified target PID and permitted new nice value to adjust an existing process. The scenario is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The technical reason is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

C.

This action fits another scenario: A Linux application must be archived with nested configuration and metadata before a version migration. The stated scenario is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

D.

This action fits another scenario: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The stated scenario is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Question 402

A running batch calculation should be deprioritized after users begin a time-critical interactive session. The administrator proposes: Use renice with the verified target PID and permitted new nice value to adjust an existing process. Why would the recommended command or configuration resolve this problem?

  1. nice influences a new process at launch; renice changes scheduling preference of an already running process.
  2. A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
  3. The kernel prevents normal unmount while active references would make the filesystem unsafe to detach.
  4. On a shared writable directory, the sticky bit restricts unlink and rename actions to permitted owners or privileged accounts.

Answer & Explanations

Correct answer: A

A.

nice influences a new process at launch; renice changes scheduling preference of an already running process. That is why the appropriate action is: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The stated problem is: A running batch calculation should be deprioritized after users begin a time-critical interactive session.

B.

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 running batch calculation should be deprioritized after users begin a time-critical interactive session. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

C.

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 running batch calculation should be deprioritized after users begin a time-critical interactive session. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

D.

This principle explains another scenario: A multiuser lab permits everyone to write to a common temporary directory but users delete one another's files. The situation here is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

Question 403

A running batch calculation should be deprioritized after users begin a time-critical interactive session. The administrator proposes: Use renice with the verified target PID and permitted new nice value to adjust an existing process. Which verification is most specifically tied to the original failure?

  1. Confirm the correct PID's NI field changed and the process remains running under expected workload.
  2. Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
  3. Compare before-and-after samples including lookalike hostnames and confirm only designated tokens change.
  4. Start a fresh child command that prints the variable and confirm its value while checking the parent assignment.

Answer & Explanations

Correct answer: A

A.

Confirm the correct PID's NI field changed and the process remains running under expected workload. This verifies the action: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The test applies to: A running batch calculation should be deprioritized after users begin a time-critical interactive session.

B.

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 running batch calculation should be deprioritized after users begin a time-critical interactive session. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

C.

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: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

D.

This check is intended for another scenario: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The case here is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

Question 404

A running batch calculation should be deprioritized after users begin a time-critical interactive session. Which risky choice fails to address the actual Linux problem?

  1. Restart the process solely to alter its priority, losing hours of computation without checking renice.
  2. Redirect stdout solely into a file and then claim the live terminal necessarily received the same lines.
  3. Use an unrelated byte-count command and assume it identifies the second logical column of structured records.
  4. Send SIGKILL to every process with a matching substring without checking ownership or workload scope.

Answer & Explanations

Correct answer: A

A.

Restart the process solely to alter its priority, losing hours of computation without checking renice. This is unsafe in: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The likely result is: Completed work can be discarded even though the priority adjustment did not require a restart. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

This is a shortcut for another issue: A deployment operator wants to watch command output live and also preserve an exact run log for review. The specific case is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

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 running batch calculation should be deprioritized after users begin a time-critical interactive session. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

D.

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 running batch calculation should be deprioritized after users begin a time-critical interactive session. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Question 405

A running batch calculation should be deprioritized after users begin a time-critical interactive session. Which operational impact should the engineer expect if the gap remains?

  1. Open files and workloads may be interrupted and the filesystem may require recovery on the next boot.
  2. Completed work can be discarded even though the priority adjustment did not require a restart.
  3. Duplicate operations can compete for resources or overwrite the same output.
  4. Active files or subdirectories may be erased along with the intended stale regular files.

Answer & Explanations

Correct answer: B

A.

This failure concerns another situation: An administrator must reboot a shared lab server while interactive users are editing files and no maintenance notice exists. The case here is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

Completed work can be discarded even though the priority adjustment did not require a restart. This can follow from the shortcut: Restart the process solely to alter its priority, losing hours of computation without checking renice. The protective action is: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The case states: A running batch calculation should be deprioritized after users begin a time-critical interactive session.

C.

This failure concerns another situation: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The case here is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

D.

This failure concerns another situation: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Question 406

A process has already started and changing its launch script would not alter its current scheduler niceness. What is the most specific defensible operational intervention?

  1. Identify processes and active working directories using the mount, then close them before a supported umount operation.
  2. Use suitable beginning or end anchors in a grep expression to constrain the match to the required line position.
  3. Use a null-delimited find output with xargs -0 when passing arbitrary filenames to another command.
  4. Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Answer & Explanations

Correct answer: D

A.

This action fits another scenario: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The stated scenario is: A process has already started and changing its launch script would not alter its current scheduler niceness. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

This action fits another scenario: An audit script seeks records that begin with a specific status but also matches unrelated words containing that token. The stated scenario is: A process has already started and changing its launch script would not alter its current scheduler niceness. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

C.

This action fits another scenario: A cleanup command consumes paths emitted by find, but some names contain spaces and newlines. The stated scenario is: A process has already started and changing its launch script would not alter its current scheduler niceness. The appropriate response here is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

D.

Use renice with the verified target PID and permitted new nice value to adjust an existing process. The scenario is: A process has already started and changing its launch script would not alter its current scheduler niceness. The technical reason is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

Question 407

A process has already started and changing its launch script would not alter its current scheduler niceness. The administrator proposes: Use renice with the verified target PID and permitted new nice value to adjust an existing process. Which causal relationship connects the diagnosis to the recommended step?

  1. Extended regular expressions interpret alternation and grouping differently from basic grep patterns.
  2. Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
  3. SIGTERM may be handled for cleanup while SIGKILL is uncatchable and prevents application-level shutdown handlers.
  4. nice influences a new process at launch; renice changes scheduling preference of an already running process.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A log review needs records containing either ERROR or FATAL but plain grep interprets a vertical-bar pattern literally. The situation here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

B.

This principle explains another scenario: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The situation here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

C.

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: A process has already started and changing its launch script would not alter its current scheduler niceness. The controlling mechanism is: nice influences a new process at launch; renice changes scheduling preference of an already running process.

D.

nice influences a new process at launch; renice changes scheduling preference of an already running process. That is why the appropriate action is: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The stated problem is: A process has already started and changing its launch script would not alter its current scheduler niceness.

Question 408

A process has already started and changing its launch script would not alter its current scheduler niceness. The administrator proposes: Use renice with the verified target PID and permitted new nice value to adjust an existing process. Which observation proves the intended Linux behavior has been restored?

  1. Run the task against test paths containing spaces and shell wildcard characters and inspect actual argument boundaries.
  2. Confirm the correct PID's NI field changed and the process remains running under expected workload.
  3. Boot a controlled rescue environment, verify the target is not mounted for writes, and inspect the post-repair filesystem consistency.
  4. Compare output on known sample rows with embedded empty fields and confirm the selected position is correct.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A maintenance script fails when a filename includes spaces because an unquoted variable expands into several command arguments. The case here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

B.

Confirm the correct PID's NI field changed and the process remains running under expected workload. This verifies the action: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The test applies to: A process has already started and changing its launch script would not alter its current scheduler niceness.

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 process has already started and changing its launch script would not alter its current scheduler niceness. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

D.

This check is intended for another scenario: A service report has colon-separated records and an analyst needs only the second field of each line. The case here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The pertinent test is: Confirm the correct PID's NI field changed and the process remains running under expected workload.

Question 409

A process has already started and changing its launch script would not alter its current scheduler niceness. Which seemingly quick workaround should the administrator reject?

  1. Type configuration into normal mode and then force quit while assuming keystrokes were saved.
  2. Restart the process solely to alter its priority, losing hours of computation without checking renice.
  3. Terminate the largest-looking process by name before checking whether CPU, I/O or memory is actually constrained.
  4. Start a second identical job because the original stopped job is mistaken for a terminated process.

Answer & Explanations

Correct answer: B

A.

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 process has already started and changing its launch script would not alter its current scheduler niceness. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

Restart the process solely to alter its priority, losing hours of computation without checking renice. This is unsafe in: A process has already started and changing its launch script would not alter its current scheduler niceness. The likely result is: Completed work can be discarded even though the priority adjustment did not require a restart. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

C.

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 process has already started and changing its launch script would not alter its current scheduler niceness. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

D.

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 process has already started and changing its launch script would not alter its current scheduler niceness. Here, avoid: Restart the process solely to alter its priority, losing hours of computation without checking renice. Instead: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

Question 410

A process has already started and changing its launch script would not alter its current scheduler niceness. Which adverse result is most specifically linked to the uncorrected condition?

  1. One user may remove or rename another user's temporary files despite being unable to read their contents.
  2. A failure may be missed by operators because its error stream was never captured where expected.
  3. Completed work can be discarded even though the priority adjustment did not require a restart.
  4. The planned batch job may terminate early and leave incomplete output.

Answer & Explanations

Correct answer: C

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 process has already started and changing its launch script would not alter its current scheduler niceness. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

B.

This failure concerns another situation: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The case here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

C.

Completed work can be discarded even though the priority adjustment did not require a restart. This can follow from the shortcut: Restart the process solely to alter its priority, losing hours of computation without checking renice. The protective action is: Use renice with the verified target PID and permitted new nice value to adjust an existing process. The case states: A process has already started and changing its launch script would not alter its current scheduler niceness.

D.

This failure concerns another situation: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The case here is: A process has already started and changing its launch script would not alter its current scheduler niceness. The primary consequence is: Completed work can be discarded even though the priority adjustment did not require a restart. The prevention is: Use renice with the verified target PID and permitted new nice value to adjust an existing process.

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