LPI 101-500 Dumps
LPI 101-500 Practice Test 27
Question 260
A nightly report counts unique service names incorrectly because repeated values are scattered throughout the file. Which adverse result is most specifically linked to the uncorrected condition?
Answer & Explanations
Correct answer: C
This failure concerns another situation: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The case here is: A nightly report counts unique service names incorrectly because repeated values are scattered throughout the file. The primary consequence is: Repeated hosts may remain counted multiple times and distort the operational summary. The prevention is: Sort the relevant values before using uniq to remove adjacent duplicates or count their occurrences.
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 nightly report counts unique service names incorrectly because repeated values are scattered throughout the file. The primary consequence is: Repeated hosts may remain counted multiple times and distort the operational summary. The prevention is: Sort the relevant values before using uniq to remove adjacent duplicates or count their occurrences.
Repeated hosts may remain counted multiple times and distort the operational summary. This can follow from the shortcut: Run uniq directly on an unordered list and treat the result as a globally deduplicated inventory. The protective action is: Sort the relevant values before using uniq to remove adjacent duplicates or count their occurrences. The case states: A nightly report counts unique service names incorrectly because repeated values are scattered throughout the file.
This failure concerns another situation: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The case here is: A nightly report counts unique service names incorrectly because repeated values are scattered throughout the file. The primary consequence is: Repeated hosts may remain counted multiple times and distort the operational summary. The prevention is: Sort the relevant values before using uniq to remove adjacent duplicates or count their occurrences.
Question 261
A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. Which action best matches the required Linux behavior?
Answer & Explanations
Correct answer: A
Use a recursive copy operation such as cp -R with reviewed source and destination paths. The scenario is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The technical reason is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
This action fits another scenario: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The stated scenario is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This action fits another scenario: A service report has colon-separated records and an analyst needs only the second field of each line. The stated scenario is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Question 262
A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The administrator proposes: Use a recursive copy operation such as cp -R with reviewed source and destination paths. What underlying principle explains the selected remedy?
Answer & Explanations
Correct answer: A
A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively. That is why the appropriate action is: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The stated problem is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location.
This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
This principle explains another scenario: A host has several similarly named application processes and only one worker must be restarted. The situation here is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
Question 263
A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The administrator proposes: Use a recursive copy operation such as cp -R with reviewed source and destination paths. Which practical check confirms the proposed fix works as intended?
Answer & Explanations
Correct answer: B
This check is intended for another scenario: A log review needs records containing either ERROR or FATAL but plain grep interprets a vertical-bar pattern literally. The case here is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
Compare representative nested paths and file counts between source and destination after the test copy. This verifies the action: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The test applies to: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location.
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
This check is intended for another scenario: A Linux machine is slow and a technician assumes that CPU is saturated without measuring running tasks. The case here is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
Question 264
A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. Which shortcut is most likely to worsen this exact condition?
Answer & Explanations
Correct answer: A
Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. This is unsafe in: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The likely result is: Nested configuration and artifacts may be omitted from the recovered copy. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This is a shortcut for another issue: An operator needs only matching error records from a command that emits hundreds of status lines. The specific case is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Question 265
A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. What consequence best illustrates this particular configuration risk?
Answer & Explanations
Correct answer: C
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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 project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Nested configuration and artifacts may be omitted from the recovered copy. This can follow from the shortcut: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. The protective action is: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The case states: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location.
This failure concerns another situation: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The case here is: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Question 266
An operator copies a folder to an archive but discovers that only the top-level files were included. Which Linux administration step most directly corrects this problem?
Answer & Explanations
Correct answer: A
Use a recursive copy operation such as cp -R with reviewed source and destination paths. The scenario is: An operator copies a folder to an archive but discovers that only the top-level files were included. The technical reason is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
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: An operator copies a folder to an archive but discovers that only the top-level files were included. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This action fits another scenario: A host has several similarly named application processes and only one worker must be restarted. The stated scenario is: An operator copies a folder to an archive but discovers that only the top-level files were included. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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: An operator copies a folder to an archive but discovers that only the top-level files were included. The appropriate response here is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Question 267
An operator copies a folder to an archive but discovers that only the top-level files were included. The administrator proposes: Use a recursive copy operation such as cp -R with reviewed source and destination paths. Why would the recommended command or configuration resolve this problem?
Answer & Explanations
Correct answer: D
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: An operator copies a folder to an archive but discovers that only the top-level files were included. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
This principle explains another scenario: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The situation here is: An operator copies a folder to an archive but discovers that only the top-level files were included. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
This principle explains another scenario: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The situation here is: An operator copies a folder to an archive but discovers that only the top-level files were included. The controlling mechanism is: A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively.
A directory tree contains nested entries, which ordinary file-only copying does not traverse recursively. That is why the appropriate action is: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The stated problem is: An operator copies a folder to an archive but discovers that only the top-level files were included.
Question 268
An operator copies a folder to an archive but discovers that only the top-level files were included. The administrator proposes: Use a recursive copy operation such as cp -R with reviewed source and destination paths. Which verification is most specifically tied to the original failure?
Answer & Explanations
Correct answer: A
Compare representative nested paths and file counts between source and destination after the test copy. This verifies the action: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The test applies to: An operator copies a folder to an archive but discovers that only the top-level files were included.
This check is intended for another scenario: A deployment operator wants to watch command output live and also preserve an exact run log for review. The case here is: An operator copies a folder to an archive but discovers that only the top-level files were included. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
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: An operator copies a folder to an archive but discovers that only the top-level files were included. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
This check is intended for another scenario: A remote backup process stops when an SSH session ends and the engineer needs a suitable persistent execution method. The case here is: An operator copies a folder to an archive but discovers that only the top-level files were included. The pertinent test is: Compare representative nested paths and file counts between source and destination after the test copy.
Question 269
An operator copies a folder to an archive but discovers that only the top-level files were included. Which risky choice fails to address the actual Linux problem?
Answer & Explanations
Correct answer: A
Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. This is unsafe in: An operator copies a folder to an archive but discovers that only the top-level files were included. The likely result is: Nested configuration and artifacts may be omitted from the recovered copy. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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: An operator copies a folder to an archive but discovers that only the top-level files were included. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This is a shortcut for another issue: An installed Debian package works with default settings but needs its package-managed setup dialog rerun after site changes. The specific case is: An operator copies a folder to an archive but discovers that only the top-level files were included. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
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 copies a folder to an archive but discovers that only the top-level files were included. Here, avoid: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. Instead: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
Question 270
An operator copies a folder to an archive but discovers that only the top-level files were included. Which operational impact should the engineer expect if the gap remains?
Answer & Explanations
Correct answer: A
Nested configuration and artifacts may be omitted from the recovered copy. This can follow from the shortcut: Copy only files matching a top-level wildcard and claim that all subdirectories were preserved. The protective action is: Use a recursive copy operation such as cp -R with reviewed source and destination paths. The case states: An operator copies a folder to an archive but discovers that only the top-level files were included.
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 copies a folder to an archive but discovers that only the top-level files were included. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This failure concerns another situation: 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: An operator copies a folder to an archive but discovers that only the top-level files were included. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
This failure concerns another situation: 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 copies a folder to an archive but discovers that only the top-level files were included. The primary consequence is: Nested configuration and artifacts may be omitted from the recovered copy. The prevention is: Use a recursive copy operation such as cp -R with reviewed source and destination paths.
LPIC-1 Exam 101 (101-500) Practice Tests
- LPI 101-500 Practice Test 25 - 10 Questions (Last Reviewed 04-Nov-2026)
- LPI 101-500 Practice Test 26 - 10 Questions (Last Reviewed 03-Nov-2026)
- LPI 101-500 Practice Test 27 - 10 Questions (Last Reviewed 02-Nov-2026)
- LPI 101-500 Practice Test 28 - 10 Questions (Last Reviewed 01-Nov-2026)
- LPI 101-500 Practice Test 29 - 10 Questions (Last Reviewed 31-Oct-2026)