LPI 101-500 Dumps
LPI 101-500 Practice Test 29
Question 280
An admin needs to list logs older than a threshold without matching similarly named directories and sockets. What consequence best illustrates this particular configuration risk?
Answer & Explanations
Correct answer: B
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 admin needs to list logs older than a threshold without matching similarly named directories and sockets. The primary consequence is: Active files or subdirectories may be erased along with the intended stale regular files. The prevention is: Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action.
Active files or subdirectories may be erased along with the intended stale regular files. This can follow from the shortcut: Execute rm recursively on the whole parent path because its directory name includes archive. The protective action is: Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action. The case states: An admin needs to list logs older than a threshold without matching similarly named directories and sockets.
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 admin needs to list logs older than a threshold without matching similarly named directories and sockets. The primary consequence is: Active files or subdirectories may be erased along with the intended stale regular files. The prevention is: Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action.
This failure concerns another situation: A backup process creates a second filename for one file on the same filesystem and the operator expects independent contents. The case here is: An admin needs to list logs older than a threshold without matching similarly named directories and sockets. The primary consequence is: Active files or subdirectories may be erased along with the intended stale regular files. The prevention is: Use find with an explicit starting path, regular-file type and appropriate age predicate before any reviewed action.
Question 281
A Linux application must be archived with nested configuration and metadata before a version migration. What should the system administrator do first to resolve the stated issue?
Answer & Explanations
Correct answer: C
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 Linux application must be archived with nested configuration and metadata before a version migration. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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 Linux application must be archived with nested configuration and metadata before a version migration. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The scenario is: A Linux application must be archived with nested configuration and metadata before a version migration. The technical reason is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
This action fits another scenario: A shell script starts a subprocess that cannot see a value assigned earlier in an interactive Bash session. The stated scenario is: A Linux application must be archived with nested configuration and metadata before a version migration. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Question 282
A Linux application must be archived with nested configuration and metadata before a version migration. The administrator proposes: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. Which Linux behavior makes the proposed remediation appropriate?
Answer & Explanations
Correct answer: 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 Linux application must be archived with nested configuration and metadata before a version migration. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
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 Linux application must be archived with nested configuration and metadata before a version migration. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
This principle explains another scenario: A cleanup command consumes paths emitted by find, but some names contain spaces and newlines. The situation here is: A Linux application must be archived with nested configuration and metadata before a version migration. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
A tar archive preserves a tree of named entries and may restore directory structures rather than a single file. That is why the appropriate action is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The stated problem is: A Linux application must be archived with nested configuration and metadata before a version migration.
Question 283
A Linux application must be archived with nested configuration and metadata before a version migration. The administrator proposes: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. What acceptance check best distinguishes success from an unchanged issue?
Answer & Explanations
Correct answer: D
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 Linux application must be archived with nested configuration and metadata before a version migration. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
This check is intended for another scenario: A new administrator can navigate a configuration file in vi but typing does not insert text because normal mode is active. The case here is: A Linux application must be archived with nested configuration and metadata before a version migration. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
This check is intended for another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The case here is: A Linux application must be archived with nested configuration and metadata before a version migration. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy. This verifies the action: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The test applies to: A Linux application must be archived with nested configuration and metadata before a version migration.
Question 284
A Linux application must be archived with nested configuration and metadata before a version migration. What tempting response would create an avoidable operational hazard?
Answer & Explanations
Correct answer: B
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 Linux application must be archived with nested configuration and metadata before a version migration. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. This is unsafe in: A Linux application must be archived with nested configuration and metadata before a version migration. The likely result is: Unintended archive entries could overwrite system configuration and disrupt running applications. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
This is a shortcut for another issue: A maintenance window reveals ext4 metadata errors and the administrator considers running a repair on its mounted read-write root filesystem. The specific case is: A Linux application must be archived with nested configuration and metadata before a version migration. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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 Linux application must be archived with nested configuration and metadata before a version migration. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Question 285
A Linux application must be archived with nested configuration and metadata before a version migration. Which failure can follow if this control is ignored?
Answer & Explanations
Correct answer: D
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 Linux application must be archived with nested configuration and metadata before a version migration. 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 junior engineer repeatedly guesses unfamiliar command flags from memory despite local manual pages describing exact usage. The case here is: A Linux application must be archived with nested configuration and metadata before a version migration. 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: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The case here is: A Linux application must be archived with nested configuration and metadata before a version migration. 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: A Linux application must be archived with nested configuration and metadata before a version migration.
Question 286
An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. Which configuration or command decision addresses the stated failure?
Answer & Explanations
Correct answer: C
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 operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The scenario is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The technical reason is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
This action fits another scenario: A cleanup command consumes paths emitted by find, but some names contain spaces and newlines. The stated scenario is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The appropriate response here is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Question 287
An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The administrator proposes: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. Which technical explanation supports the proposed Linux action?
Answer & Explanations
Correct answer: D
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: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
This principle explains another scenario: A nightly job must save normal command output while leaving failures visible in a separate diagnostic log. The situation here is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
This principle explains another scenario: A backup directory contains stale regular files and live subdirectories that must be retained. The situation here is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The controlling mechanism is: A tar archive preserves a tree of named entries and may restore directory structures rather than a single file.
A tar archive preserves a tree of named entries and may restore directory structures rather than a single file. That is why the appropriate action is: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The stated problem is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production.
Question 288
An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The administrator proposes: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. What test should validate the proposed configuration or command change?
Answer & Explanations
Correct answer: D
This check is intended for another scenario: A server receives a new storage disk and an engineer must distinguish it from the system boot device before creating an ext4 filesystem. The case here is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
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 operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
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: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The pertinent test is: List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy.
List the archive first, perform a test extraction in an isolated directory and compare resulting file hierarchy. This verifies the action: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination. The test applies to: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production.
Question 289
An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. What action would most directly undermine the intended safeguard?
Answer & Explanations
Correct answer: B
This is a shortcut for another issue: An operator needs to locate one obsolete directive among many lines and remove it without affecting similar entries. The specific case is: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. This is unsafe in: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. The likely result is: Unintended archive entries could overwrite system configuration and disrupt running applications. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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: An operations engineer receives a tar archive and wants to know what it would restore before placing files on production. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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 operations engineer receives a tar archive and wants to know what it would restore before placing files on production. Here, avoid: Extract an unreviewed archive directly over / with no inspection of contained paths or ownership. Instead: Use tar to inspect archive contents and create or extract archives with explicit reviewed paths and intended destination.
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.
LPIC-1 Exam 101 (101-500) Practice Tests
- 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)
- 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)