LPI 010-160 Practice Test 35
Question 340
A school evaluates an open-source application for handling student documents. After a correction to the Privacy-conscious software selection workflow, which observation MOST directly confirms success?
- Different accounts use distinct credentials and supported second factors.
- Installation consent and data-flow settings match the stated privacy needs.
- Commands execute in a shell session while graphical tools run through the desktop.
- The selected release has an explicit extended maintenance window rather than only a short interim lifecycle.
Explanation
Correct Answer
B:Installation consent and data-flow settings match the stated privacy needs. This is the direct observable outcome of Privacy-conscious software selection. Source availability alone does not guarantee an application is secure or privacy-preserving.
Incorrect Answers
A:Different accounts use distinct credentials and supported second factors. Although that can be useful for Password manager and multifactor authentication, it does not establish the needed Privacy-conscious software selection result. The task requires that installation consent and data-flow settings match the stated privacy needs.
C:Commands execute in a shell session while graphical tools run through the desktop. Although that can be useful for Graphical desktop versus command line, it does not establish the needed Privacy-conscious software selection result. The task requires that installation consent and data-flow settings match the stated privacy needs.
D:The selected release has an explicit extended maintenance window rather than only a short interim lifecycle. Although that can be useful for Ubuntu long-term support releases, it does not establish the needed Privacy-conscious software selection result. The task requires that installation consent and data-flow settings match the stated privacy needs.
Question 341
A learner knows a desired task but not the command name and wants to search manual descriptions. After a correction to the Keyword manual search workflow, which observation MOST directly confirms success?
- The selected manual describes the requested topic rather than the other same-named entry.
- Matching manual-page names and short descriptions appear.
- The command returns matching paths from its filename database.
- Successful commands commonly return status 0 and errors are represented by nonzero values.
Explanation
Correct Answer
B:Matching manual-page names and short descriptions appear. This is the direct observable outcome of Keyword manual search. A keyword manual search finds indexed descriptions, rather than opening a known page directly.
Incorrect Answers
A:The selected manual describes the requested topic rather than the other same-named entry. Although that can be useful for Manual sections for commands and config, it does not establish the needed Keyword manual search result. The task requires that matching manual-page names and short descriptions appear.
C:The command returns matching paths from its filename database. Although that can be useful for locate database lookup, it does not establish the needed Keyword manual search result. The task requires that matching manual-page names and short descriptions appear.
D:Successful commands commonly return status 0 and errors are represented by nonzero values. Although that can be useful for Exit status from previous command, it does not establish the needed Keyword manual search result. The task requires that matching manual-page names and short descriptions appear.
Question 342
A shared writable `/tmp`-like directory should stop users deleting each other's files. After a correction to the Sticky bit shared directories workflow, which observation MOST directly confirms success?
- Temporary data behaves according to the host's configured cleanup policy.
- The new user has an account record with the expected UID and home policy.
- The link resolves to the target when the path is valid.
- Users can create their own files but cannot freely remove other users' entries under the sticky-bit rule.
Explanation
Correct Answer
D:Users can create their own files but cannot freely remove other users' entries under the sticky-bit rule. This is the direct observable outcome of Sticky bit shared directories. Directory sticky bit restricts deletion and renaming in shared writable directories.
Incorrect Answers
A:Although that can be useful for /tmp and /var/tmp retention, it does not establish the needed Sticky bit shared directories result.
B:Although that can be useful for useradd new local account, it does not establish the needed Sticky bit shared directories result.
C:Although that can be useful for Symbolic links with ln -s, it does not establish the needed Sticky bit shared directories result.
Question 343
A school wants a stable Linux lab image with predictable security maintenance over several years. After a correction to the Ubuntu long-term support releases workflow, which observation MOST directly confirms success?
- Documentation and code carry clear licenses appropriate to their materials.
- The board boots to a usable Linux userspace with the expected peripherals supported.
- Installed package metadata and repository updates show packages from the RPM-compatible ecosystem.
- The selected release has an explicit extended maintenance window rather than only a short interim lifecycle.
Explanation
Correct Answer
D:The selected release has an explicit extended maintenance window rather than only a short interim lifecycle. This is the direct observable outcome of Ubuntu long-term support releases. LTS identifies an Ubuntu release designed for longer support than ordinary interim releases.
Incorrect Answers
A:Although that can be useful for Creative Commons and software licensing, it does not establish the needed Ubuntu long-term support releases result.
B:Although that can be useful for Raspberry Pi Linux deployment, it does not establish the needed Ubuntu long-term support releases result.
C:Although that can be useful for Red Hat enterprise package family, it does not establish the needed Ubuntu long-term support releases result.
Question 344
A script `greet.sh` receives a person's name as its first argument. After a correction to the Positional command-line arguments workflow, which observation MOST directly confirms success?
- The caller can distinguish success and failure through the process exit status.
- The script uses the value supplied as its first command-line argument.
- Direct script execution selects the indicated interpreter.
- The resulting output is ordered according to the active locale's sort rules.
Explanation
Correct Answer
B:The script uses the value supplied as its first command-line argument. This is the direct observable outcome of Positional command-line arguments. `$1` is Bash's first positional parameter, while `$0` is the script name.
Incorrect Answers
A:The caller can distinguish success and failure through the process exit status. Although that can be useful for Exit code on script completion, it does not establish the needed Positional command-line arguments result. The task requires that the script uses the value supplied as its first command-line argument.
C:Direct script execution selects the indicated interpreter. Although that can be useful for Shebang shell interpreter, it does not establish the needed Positional command-line arguments result. The task requires that the script uses the value supplied as its first command-line argument.
D:The resulting output is ordered according to the active locale's sort rules. Although that can be useful for sort text records, it does not establish the needed Positional command-line arguments result. The task requires that the script uses the value supplied as its first command-line argument.
Question 345
A desktop needs safe repeatable application updates with dependencies resolved. After a correction to the Native distribution package repositories workflow, which observation MOST directly confirms success?
- SQL queries retrieve stored records through the configured database service.
- Installed packages and dependency versions are tracked by the repository tools.
- Documents open for editing in the relevant office applications.
- The guest shows installed updates and administrative changes after maintenance.
Explanation
Correct Answer
B:Installed packages and dependency versions are tracked by the repository tools. This is the direct observable outcome of Native distribution package repositories. Package managers and repositories coordinate software metadata, updates and dependencies.
Incorrect Answers
A:SQL queries retrieve stored records through the configured database service. Although that can be useful for MariaDB and MySQL data stores, it does not establish the needed Native distribution package repositories result. The task requires that installed packages and dependency versions are tracked by the repository tools.
C:Documents open for editing in the relevant office applications. Although that can be useful for LibreOffice document suite, it does not establish the needed Native distribution package repositories result. The task requires that installed packages and dependency versions are tracked by the repository tools.
D:The guest shows installed updates and administrative changes after maintenance. Although that can be useful for Cloud virtual machine responsibilities, it does not establish the needed Native distribution package repositories result. The task requires that installed packages and dependency versions are tracked by the repository tools.
Question 346
A lab chooses openSUSE for a Linux workstation and needs an appropriate software-management approach. After a correction to the SUSE and openSUSE distributions workflow, which observation MOST directly confirms success?
- Installed package metadata and repository updates show packages from the RPM-compatible ecosystem.
- The selected release has an explicit extended maintenance window rather than only a short interim lifecycle.
- Installation consent and data-flow settings match the stated privacy needs.
- The selected system's package-management commands and repositories correspond to its SUSE variant.
Explanation
Correct Answer
D:The selected system's package-management commands and repositories correspond to its SUSE variant. This is the direct observable outcome of SUSE and openSUSE distributions. SUSE Enterprise and openSUSE are related Linux distributions but have different release and support models.
Incorrect Answers
A:Installed package metadata and repository updates show packages from the RPM-compatible ecosystem. Although that can be useful for Red Hat enterprise package family, it does not establish the needed SUSE and openSUSE distributions result. The task requires that the selected system's package-management commands and repositories correspond to its SUSE variant.
B:Although that can be useful for Ubuntu long-term support releases, it does not establish the needed SUSE and openSUSE distributions result.
C:Installation consent and data-flow settings match the stated privacy needs. Although that can be useful for Privacy-conscious software selection, it does not establish the needed SUSE and openSUSE distributions result. The task requires that the selected system's package-management commands and repositories correspond to its SUSE variant.
Question 347
A new user repeats commands in a Linux terminal and wants to inspect previous entries. After a correction to the Terminal access and shell history workflow, which observation MOST directly confirms success?
- The intended earlier command appears in the interactive shell history.
- Different accounts use distinct credentials and supported second factors.
- Documentation and code carry clear licenses appropriate to their materials.
- The guest boots separately while the host operating system remains intact.
Explanation
Correct Answer
A:The intended earlier command appears in the interactive shell history. This is the direct observable outcome of Terminal access and shell history. Interactive shells can maintain command history but sensitive inputs should not be recorded unnecessarily.
Incorrect Answers
B:Different accounts use distinct credentials and supported second factors. Although that can be useful for Password manager and multifactor authentication, it does not establish the needed Terminal access and shell history result. The task requires that the intended earlier command appears in the interactive shell history.
C:Documentation and code carry clear licenses appropriate to their materials. Although that can be useful for Creative Commons and software licensing, it does not establish the needed Terminal access and shell history result. The task requires that the intended earlier command appears in the interactive shell history.
D:The guest boots separately while the host operating system remains intact. Although that can be useful for Local virtualization and guest operating systems, it does not establish the needed Terminal access and shell history result. The task requires that the intended earlier command appears in the interactive shell history.
Question 348
A Linux user must send several files in one ZIP archive to a colleague on another operating system. After a correction to the ZIP archives and unzip workflow, which observation MOST directly confirms success?
- The files recorded in the tar archive appear after extraction.
- The archive lists the intended files when inspected.
- The ZIP contains the intended file hierarchy and extracts successfully.
- Lines with the term in different letter cases are selected.
Explanation
Correct Answer
C:The ZIP contains the intended file hierarchy and extracts successfully. This is the direct observable outcome of ZIP archives and unzip. ZIP combines archiving and compression in a widely supported container format.
Incorrect Answers
A:The files recorded in the tar archive appear after extraction. Although that can be useful for Extracting a tar archive, it does not establish the needed ZIP archives and unzip result. The task requires that the ZIP contains the intended file hierarchy and extracts successfully.
B:The archive lists the intended files when inspected. Although that can be useful for Creating a tar archive, it does not establish the needed ZIP archives and unzip result. The task requires that the ZIP contains the intended file hierarchy and extracts successfully.
D:Lines with the term in different letter cases are selected. Although that can be useful for grep -i ignore case, it does not establish the needed ZIP archives and unzip result. The task requires that the ZIP contains the intended file hierarchy and extracts successfully.
Question 349
A CSV-like record `alice:1001:staff` must yield the middle field. After a correction to the cut delimited fields workflow, which observation MOST directly confirms success?
- The target file is replaced or extended according to the chosen operator.
- The ZIP contains the intended file hierarchy and extracts successfully.
- Only lines containing the requested pattern appear in the output.
- Output contains the requested field instead of full records.
Explanation
Correct Answer
D:Output contains the requested field instead of full records. This is the direct observable outcome of cut delimited fields. `cut` selects fields based on the delimiter and field number.
Incorrect Answers
A:The target file is replaced or extended according to the chosen operator. Although that can be useful for Redirecting output and append, it does not establish the needed cut delimited fields result. The task requires that output contains the requested field instead of full records.
B:The ZIP contains the intended file hierarchy and extracts successfully. Although that can be useful for ZIP archives and unzip, it does not establish the needed cut delimited fields result. The task requires that output contains the requested field instead of full records.
C:Only lines containing the requested pattern appear in the output. Although that can be useful for grep fixed text matching, it does not establish the needed cut delimited fields result. The task requires that output contains the requested field instead of full records.
Question 350
A colleague sends a `.bz2`-compressed text file that needs decompression. After a correction to the bzip2 compressed streams workflow, which observation MOST directly confirms success?
- The resulting archive extracts with `tar -xzf` and contains the original hierarchy.
- The script uses the value supplied as its first command-line argument.
- The ZIP contains the intended file hierarchy and extracts successfully.
- The decompressed file matches the original content.
Explanation
Correct Answer
D:The decompressed file matches the original content. This is the direct observable outcome of bzip2 compressed streams. bzip2 is a compression format distinct from gzip and xz.
Incorrect Answers
A:The resulting archive extracts with `tar -xzf` and contains the original hierarchy. Although that can be useful for tar gzip combined compression, it does not establish the needed bzip2 compressed streams result. The task requires that the decompressed file matches the original content.
B:The script uses the value supplied as its first command-line argument. Although that can be useful for Positional command-line arguments, it does not establish the needed bzip2 compressed streams result. The task requires that the decompressed file matches the original content.
C:The ZIP contains the intended file hierarchy and extracts successfully. Although that can be useful for ZIP archives and unzip, it does not establish the needed bzip2 compressed streams result. The task requires that the decompressed file matches the original content.