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 36

Question 350

An administrator starts a lengthy checksum job in a temporary terminal and wants it to survive normal logout. Which failure can follow if this control is ignored?

  1. Source information can be replaced or the consumer receives no filtered input.
  2. Active files or subdirectories may be erased along with the intended stale regular files.
  3. The planned batch job may terminate early and leave incomplete output.
  4. Extra files can be processed or deleted because the shell matched a wider set than intended.

Answer & Explanations

Correct answer: C

A.

This failure concerns another situation: An operator needs only matching error records from a command that emits hundreds of status lines. The case here is: An administrator starts a lengthy checksum job in a temporary terminal and wants it to survive normal logout. The primary consequence is: The planned batch job may terminate early and leave incomplete output. The prevention is: Use a supported nohup or persistent terminal session and direct outputs to monitored files before disconnecting.

B.

This failure concerns another situation: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: An administrator starts a lengthy checksum job in a temporary terminal and wants it to survive normal logout. The primary consequence is: The planned batch job may terminate early and leave incomplete output. The prevention is: Use a supported nohup or persistent terminal session and direct outputs to monitored files before disconnecting.

C.

The planned batch job may terminate early and leave incomplete output. This can follow from the shortcut: Place the task in the foreground and close SSH immediately while assuming it continues automatically. The protective action is: Use a supported nohup or persistent terminal session and direct outputs to monitored files before disconnecting. The case states: An administrator starts a lengthy checksum job in a temporary terminal and wants it to survive normal logout.

D.

This failure concerns another situation: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The case here is: An administrator starts a lengthy checksum job in a temporary terminal and wants it to survive normal logout. The primary consequence is: The planned batch job may terminate early and leave incomplete output. The prevention is: Use a supported nohup or persistent terminal session and direct outputs to monitored files before disconnecting.

Question 351

A host has several similarly named application processes and only one worker must be restarted. Which Linux administration step most directly corrects this problem?

  1. Preview a bounded sed substitution on a copy and verify intended occurrences before applying any file changes.
  2. Distinguish PATH-aware command lookup from locate's indexed filename database and use find or updatedb as appropriate.
  3. Identify the intended process by PID, command line and owner before sending the appropriate signal.
  4. Use history and man or the command's supported help output to inspect prior syntax and documented options without automatic execution.

Answer & Explanations

Correct answer: C

A.

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 host has several similarly named application processes and only one worker must be restarted. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

B.

This action fits 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 stated scenario is: A host has several similarly named application processes and only one worker must be restarted. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

C.

Identify the intended process by PID, command line and owner before sending the appropriate signal. The scenario is: A host has several similarly named application processes and only one worker must be restarted. The technical reason is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

D.

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 host has several similarly named application processes and only one worker must be restarted. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

Question 352

A host has several similarly named application processes and only one worker must be restarted. The administrator proposes: Identify the intended process by PID, command line and owner before sending the appropriate signal. Why would the recommended command or configuration resolve this problem?

  1. A delimiter-aware filter separates records into fields so a consistent column can be extracted deterministically.
  2. A shell's job lifecycle and hangup signals can terminate attached processes unless their session handling is deliberate.
  3. find evaluates metadata tests per entry, allowing file-type and time conditions to be combined precisely.
  4. Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: A service report has colon-separated records and an analyst needs only the second field of each line. The situation here is: A host has several similarly named application processes and only one worker must be restarted. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

B.

This principle explains another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The situation here is: A host has several similarly named application processes and only one worker must be restarted. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

C.

This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: A host has several similarly named application processes and only one worker must be restarted. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

D.

Signals target specific process identities; an ambiguous name-based selection can affect several different workloads. That is why the appropriate action is: Identify the intended process by PID, command line and owner before sending the appropriate signal. The stated problem is: A host has several similarly named application processes and only one worker must be restarted.

Question 353

A host has several similarly named application processes and only one worker must be restarted. The administrator proposes: Identify the intended process by PID, command line and owner before sending the appropriate signal. Which verification is most specifically tied to the original failure?

  1. Compare representative nested paths and file counts between source and destination after the test copy.
  2. List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
  3. Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.
  4. Compare type output and the executable path used by a fresh shell before and after the approved change.

Answer & Explanations

Correct answer: C

A.

This check is intended for another scenario: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The case here is: A host has several similarly named application processes and only one worker must be restarted. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

B.

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 host has several similarly named application processes and only one worker must be restarted. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

C.

Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal. This verifies the action: Identify the intended process by PID, command line and owner before sending the appropriate signal. The test applies to: A host has several similarly named application processes and only one worker must be restarted.

D.

This check is intended for another scenario: 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 host has several similarly named application processes and only one worker must be restarted. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

Question 354

A host has several similarly named application processes and only one worker must be restarted. Which risky choice fails to address the actual Linux problem?

  1. Add the variable only to the shell's command history and assume every later subprocess can read it.
  2. Permanently change the default to emergency.target just to inspect one transient service failure.
  3. Send SIGKILL to every process with a matching substring without checking ownership or workload scope.
  4. Overwrite persistent generated GRUB configuration blindly after one boot error without checking effective arguments.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The specific case is: A host has several similarly named application processes and only one worker must be restarted. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

B.

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 host has several similarly named application processes and only one worker must be restarted. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

C.

Send SIGKILL to every process with a matching substring without checking ownership or workload scope. This is unsafe in: A host has several similarly named application processes and only one worker must be restarted. The likely result is: Healthy processes may be stopped alongside the malfunctioning worker. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

D.

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 host has several similarly named application processes and only one worker must be restarted. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

Question 355

A host has several similarly named application processes and only one worker must be restarted. Which operational impact should the engineer expect if the gap remains?

  1. Healthy processes may be stopped alongside the malfunctioning worker.
  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. The script may target the wrong files or refuse valid paths whenever names contain spaces or metacharacters.

Answer & Explanations

Correct answer: A

A.

Healthy processes may be stopped alongside the malfunctioning worker. This can follow from the shortcut: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. The protective action is: Identify the intended process by PID, command line and owner before sending the appropriate signal. The case states: A host has several similarly named application processes and only one worker must be restarted.

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 host has several similarly named application processes and only one worker must be restarted. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

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 host has several similarly named application processes and only one worker must be restarted. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

D.

This failure concerns another situation: A maintenance script fails when a filename includes spaces because an unquoted variable expands into several command arguments. The case here is: A host has several similarly named application processes and only one worker must be restarted. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

Question 356

An operator runs a broad killall against a service label even though unrelated test instances use the same command name. What is the most specific defensible operational intervention?

  1. Identify the intended process by PID, command line and owner before sending the appropriate signal.
  2. Use vi search to locate the exact target and review it before a line-specific edit such as dd.
  3. Use tee as the intended pipeline consumer so stdout is displayed and a copy is written to the named log.
  4. Use a supported nohup or persistent terminal session and direct outputs to monitored files before disconnecting.

Answer & Explanations

Correct answer: A

A.

Identify the intended process by PID, command line and owner before sending the appropriate signal. The scenario is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The technical reason is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

B.

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: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

C.

This action fits another scenario: A deployment operator wants to watch command output live and also preserve an exact run log for review. The stated scenario is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

D.

This action fits another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The stated scenario is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The appropriate response here is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

Question 357

An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The administrator proposes: Identify the intended process by PID, command line and owner before sending the appropriate signal. Which causal relationship connects the diagnosis to the recommended step?

  1. A pipeline feeds one command's standard output into another command's standard input for sequential transformation.
  2. A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
  3. vi distinguishes command navigation from text editing, and a quit-without-save command deliberately abandons edits.
  4. Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

Answer & Explanations

Correct answer: D

A.

This principle explains another scenario: An operator needs only matching error records from a command that emits hundreds of status lines. The situation here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

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: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

C.

This principle explains another scenario: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The situation here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The controlling mechanism is: Signals target specific process identities; an ambiguous name-based selection can affect several different workloads.

D.

Signals target specific process identities; an ambiguous name-based selection can affect several different workloads. That is why the appropriate action is: Identify the intended process by PID, command line and owner before sending the appropriate signal. The stated problem is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name.

Question 358

An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The administrator proposes: Identify the intended process by PID, command line and owner before sending the appropriate signal. Which observation proves the intended Linux behavior has been restored?

  1. Inspect the new process NI value using ps or top and compare interactive responsiveness during a test workload.
  2. Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.
  3. Observe orderly process exit and resulting application state after SIGTERM under a controlled test.
  4. Boot once with the controlled parameter, inspect /proc/cmdline, and document whether normal startup resumes.

Answer & Explanations

Correct answer: B

A.

This check is intended for another scenario: A CPU-intensive indexer must run on a shared Linux server while interactive workloads retain reasonable responsiveness. The case here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

B.

Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal. This verifies the action: Identify the intended process by PID, command line and owner before sending the appropriate signal. The test applies to: An operator runs a broad killall against a service label even though unrelated test instances use the same command name.

C.

This check is intended for another scenario: A database helper is slow to exit and an operator wants to ensure it can flush in-memory state. The case here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

D.

This check is intended for another scenario: A test system boots normally until a changed kernel argument prevents access to required storage. The case here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The pertinent test is: Inspect ps or pgrep details and confirm only the intended PID exits after a controlled signal.

Question 359

An operator runs a broad killall against a service label even though unrelated test instances use the same command name. Which seemingly quick workaround should the administrator reject?

  1. Execute a numbered history entry with shell history expansion without first checking that it does not delete files.
  2. Assume the target command always interprets wildcard syntax instead of recognizing shell expansion.
  3. Send SIGKILL to every process with a matching substring without checking ownership or workload scope.
  4. Remove spaces from every production directory instead of fixing the unsafe shell parameter expansion.

Answer & Explanations

Correct answer: C

A.

This is a shortcut for another issue: A junior engineer repeatedly guesses unfamiliar command flags from memory despite local manual pages describing exact usage. The specific case is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

B.

This is a shortcut for another issue: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The specific case is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

C.

Send SIGKILL to every process with a matching substring without checking ownership or workload scope. This is unsafe in: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The likely result is: Healthy processes may be stopped alongside the malfunctioning worker. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

D.

This is a shortcut for another issue: A maintenance script fails when a filename includes spaces because an unquoted variable expands into several command arguments. The specific case is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. Here, avoid: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. Instead: Identify the intended process by PID, command line and owner before sending the appropriate signal.

Question 360

An operator runs a broad killall against a service label even though unrelated test instances use the same command name. Which adverse result is most specifically linked to the uncorrected condition?

  1. The report may contain incorrect fields or silently omit empty values from its input.
  2. The machine can boot into an unsuitable service state while administrators still cannot predict its target behavior.
  3. Healthy processes may be stopped alongside the malfunctioning worker.
  4. A command can receive partial filenames and act on unintended filesystem objects.

Answer & Explanations

Correct answer: C

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: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

B.

This failure concerns another situation: A headless Linux appliance unexpectedly starts a graphical desktop after a default target change. The case here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

C.

Healthy processes may be stopped alongside the malfunctioning worker. This can follow from the shortcut: Send SIGKILL to every process with a matching substring without checking ownership or workload scope. The protective action is: Identify the intended process by PID, command line and owner before sending the appropriate signal. The case states: An operator runs a broad killall against a service label even though unrelated test instances use the same command name.

D.

This failure concerns another situation: A cleanup command consumes paths emitted by find, but some names contain spaces and newlines. The case here is: An operator runs a broad killall against a service label even though unrelated test instances use the same command name. The primary consequence is: Healthy processes may be stopped alongside the malfunctioning worker. The prevention is: Identify the intended process by PID, command line and owner before sending the appropriate signal.

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