LPI 101-500 Dumps
LPI 101-500 Practice Test 30
Question 290
An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. What problem is the proposed administration change designed to prevent?
Answer & Explanations
Correct answer: B
This failure concerns another situation: An incident sample lists several recurring hostnames out of order and the team wants one entry per distinct name. The case here is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The primary consequence is: Unintended archive entries could overwrite system configuration and disrupt running applications. The prevention is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Unintended archive entries could overwrite system configuration and disrupt running applications. This can follow from the shortcut: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. The protective action is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The case states: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production.
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: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The primary consequence is: Unintended archive entries could overwrite system configuration and disrupt running applications. The prevention is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
This failure concerns another situation: A log review needs records containing either ERROR or FATAL but plain grep interprets a vertical-bar pattern literally. The case here is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The primary consequence is: Unintended archive entries could overwrite system configuration and disrupt running applications. The prevention is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Question 291
A script uses a star wildcard and unintentionally selects backup files as well as current reports. What is the most specific defensible operational intervention?
Answer & Explanations
Correct answer: C
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The scenario is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The technical reason is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
This action fits another scenario: An interactive operator temporarily pauses a long-running text transformation and later needs it to continue. The stated scenario is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Question 292
A script uses a star wildcard and unintentionally selects backup files as well as current reports. The administrator proposes: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. Which causal relationship connects the diagnosis to the recommended step?
Answer & Explanations
Correct answer: 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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
Pathname expansion occurs in the invoking shell and determines the command's actual argument list. That is why the appropriate action is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The stated problem is: A script uses a star wildcard and unintentionally selects backup files as well as current reports.
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: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
Question 293
A script uses a star wildcard and unintentionally selects backup files as well as current reports. The administrator proposes: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. Which observation proves the intended Linux behavior has been restored?
Answer & Explanations
Correct answer: B
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match. This verifies the action: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The test applies to: A script uses a star wildcard and unintentionally selects backup files as well as current reports.
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
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: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
Question 294
A script uses a star wildcard and unintentionally selects backup files as well as current reports. Which seemingly quick workaround should the administrator reject?
Answer & Explanations
Correct answer: C
This is a shortcut for another issue: A CPU-intensive indexer must run on a shared Linux server while interactive workloads retain reasonable responsiveness. The specific case is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This is a shortcut for another issue: A backup directory contains stale regular files and live subdirectories that must be retained. The specific case is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. This is unsafe in: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The likely result is: Extra files can be processed or deleted because the shell matched a wider set than intended. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This is a shortcut for another issue: A log review needs records containing either ERROR or FATAL but plain grep interprets a vertical-bar pattern literally. The specific case is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Question 295
A script uses a star wildcard and unintentionally selects backup files as well as current reports. Which adverse result is most specifically linked to the uncorrected condition?
Answer & Explanations
Correct answer: A
Extra files can be processed or deleted because the shell matched a wider set than intended. This can follow from the shortcut: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. The protective action is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The case states: A script uses a star wildcard and unintentionally selects backup files as well as current reports.
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 script uses a star wildcard and unintentionally selects backup files as well as current reports. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This failure concerns another situation: A host has several similarly named application processes and only one worker must be restarted. The case here is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This failure concerns another situation: An operator puts application logs inside /etc and later confuses runtime output with persistent configuration files. The case here is: A script uses a star wildcard and unintentionally selects backup files as well as current reports. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Question 296
An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. What should the system administrator do first to resolve the stated issue?
Answer & Explanations
Correct answer: B
This action fits another scenario: A project directory contains nested configuration files and an engineer must duplicate its full tree to a test location. The stated scenario is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The scenario is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The technical reason is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
This action fits another scenario: A support engineer needs to identify the installed Debian package that owns a failing executable under /usr/bin. The stated scenario is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This action fits another scenario: A running batch calculation should be deprioritized after users begin a time-critical interactive session. The stated scenario is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The appropriate response here is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Question 297
An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The administrator proposes: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. Which Linux behavior makes the proposed remediation appropriate?
Answer & Explanations
Correct answer: B
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 analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
Pathname expansion occurs in the invoking shell and determines the command's actual argument list. That is why the appropriate action is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The stated problem is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first.
This principle explains another scenario: A technician installs a program under /opt/tools but invoking its short name still runs an older executable in /usr/bin. The situation here is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
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: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The controlling mechanism is: Pathname expansion occurs in the invoking shell and determines the command's actual argument list.
Question 298
An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The administrator proposes: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. What acceptance check best distinguishes success from an unchanged issue?
Answer & Explanations
Correct answer: D
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: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
This check is intended for another scenario: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The case here is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
This check is intended for another scenario: A cleanup command consumes paths emitted by find, but some names contain spaces and newlines. The case here is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The pertinent test is: Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match.
Display the expanded arguments for test filenames containing similar prefixes and confirm only intended paths match. This verifies the action: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The test applies to: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first.
Question 299
An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. What tempting response would create an avoidable operational hazard?
Answer & Explanations
Correct answer: B
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: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. This is unsafe in: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The likely result is: Extra files can be processed or deleted because the shell matched a wider set than intended. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
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 analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
This is a shortcut for another issue: An administrator receives device-busy when trying to unmount a USB backup disk that a shell session is currently using. The specific case is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. Here, avoid: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. Instead: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Question 300
An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. Which failure can follow if this control is ignored?
Answer & Explanations
Correct answer: B
This failure concerns another situation: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The case here is: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
Extra files can be processed or deleted because the shell matched a wider set than intended. This can follow from the shortcut: Assume the target command always interprets wildcard syntax instead of recognizing shell expansion. The protective action is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments. The case states: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first.
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 analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
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: An analyst expects a command to receive a literal asterisk but the shell expands it into filenames first. The primary consequence is: Extra files can be processed or deleted because the shell matched a wider set than intended. The prevention is: Choose deliberate Bash glob patterns and quote characters that must be treated literally before passing arguments.
LPIC-1 Exam 101 (101-500) Practice Tests
- 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)
- LPI 101-500 Practice Test 30 - 10 Questions (Last Reviewed 30-Oct-2026)
- LPI 101-500 Practice Test 31 - 10 Questions (Last Reviewed 29-Oct-2026)
- LPI 101-500 Practice Test 32 - 10 Questions (Last Reviewed 28-Oct-2026)