LPI 010-160 Practice Test 36
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.
Question 351
A hardware diagnostic script reads attributes exposed by kernel subsystems. After a correction to the /sys device and kernel interfaces workflow, which observation MOST directly confirms success?
- The output reports memory and swap figures in the selected units.
- The queried device or subsystem attributes reflect the active kernel state.
- The routing table identifies the gateway or default route as applicable.
- The selected service configuration file is present under the expected directory.
Explanation
Correct Answer
B:The queried device or subsystem attributes reflect the active kernel state. This is the direct observable outcome of /sys device and kernel interfaces. sysfs exposes kernel device and subsystem objects through a virtual filesystem.
Incorrect Answers
A:The output reports memory and swap figures in the selected units. Although that can be useful for free memory statistics, it does not establish the needed /sys device and kernel interfaces result. The task requires that the queried device or subsystem attributes reflect the active kernel state.
C:The routing table identifies the gateway or default route as applicable. Although that can be useful for ip route show default gateway, it does not establish the needed /sys device and kernel interfaces result. The task requires that the queried device or subsystem attributes reflect the active kernel state.
D:The selected service configuration file is present under the expected directory. Although that can be useful for /etc configuration files, it does not establish the needed /sys device and kernel interfaces result. The task requires that the queried device or subsystem attributes reflect the active kernel state.
Question 352
A student notices terminal and disk device nodes under `/dev`. After a correction to the /dev device nodes workflow, which observation MOST directly confirms success?
- Device nodes correspond to available kernel-managed devices or special streams.
- The queried device or subsystem attributes reflect the active kernel state.
- A process-specific directory or kernel information file reflects the running system.
- The device list distinguishes the whole block device from numbered partitions.
Explanation
Correct Answer
A:Device nodes correspond to available kernel-managed devices or special streams. This is the direct observable outcome of /dev device nodes. Device nodes are interfaces to devices rather than conventional documentation files.
Incorrect Answers
B:The queried device or subsystem attributes reflect the active kernel state. Although that can be useful for /sys device and kernel interfaces, it does not establish the needed /dev device nodes result. The task requires that device nodes correspond to available kernel-managed devices or special streams.
C:A process-specific directory or kernel information file reflects the running system. Although that can be useful for /proc virtual process information, it does not establish the needed /dev device nodes result. The task requires that device nodes correspond to available kernel-managed devices or special streams.
D:The device list distinguishes the whole block device from numbered partitions. Although that can be useful for Linux block devices and partitions, it does not establish the needed /dev device nodes result. The task requires that device nodes correspond to available kernel-managed devices or special streams.
Question 353
A student is asked where Linux bootloader and kernel boot files are often stored. After a correction to the /boot kernel startup files workflow, which observation MOST directly confirms success?
- The queried device or subsystem attributes reflect the active kernel state.
- Kernel images or loader assets appear in the designated boot path.
- The output reports memory and swap figures in the selected units.
- Echo replies and round-trip timing appear if supported by the network.
Explanation
Correct Answer
B:Kernel images or loader assets appear in the designated boot path. This is the direct observable outcome of /boot kernel startup files. `/boot` commonly stores files needed during the system boot process.
Incorrect Answers
A:The queried device or subsystem attributes reflect the active kernel state. Although that can be useful for /sys device and kernel interfaces, it does not establish the needed /boot kernel startup files result. The task requires that kernel images or loader assets appear in the designated boot path.
C:The output reports memory and swap figures in the selected units. Although that can be useful for free memory statistics, it does not establish the needed /boot kernel startup files result. The task requires that kernel images or loader assets appear in the designated boot path.
D:Echo replies and round-trip timing appear if supported by the network. Although that can be useful for ping reachability testing, it does not establish the needed /boot kernel startup files result. The task requires that kernel images or loader assets appear in the designated boot path.
Question 354
A user can list a directory's name but cannot access a known child path. After a correction to the Directory traversal execute permission workflow, which observation MOST directly confirms success?
- The resulting owner permission triplet includes the execute bit.
- Deletion is allowed or denied according to directory-level rights and protection.
- The group appears in the group database with an available GID.
- A permitted user can traverse the directory path to reach an authorized file.
Explanation
Correct Answer
D:A permitted user can traverse the directory path to reach an authorized file. This is the direct observable outcome of Directory traversal execute permission. Directory execute permission controls traversal or search, not execution of the files it contains.
Incorrect Answers
A:The resulting owner permission triplet includes the execute bit. Although that can be useful for chmod symbolic execute flag, it does not establish the needed Directory traversal execute permission result. The task requires that a permitted user can traverse the directory path to reach an authorized file.
B:Deletion is allowed or denied according to directory-level rights and protection. Although that can be useful for Directory write and delete rights, it does not establish the needed Directory traversal execute permission result. The task requires that a permitted user can traverse the directory path to reach an authorized file.
C:The group appears in the group database with an available GID. Although that can be useful for groupadd new group, it does not establish the needed Directory traversal execute permission result. The task requires that a permitted user can traverse the directory path to reach an authorized file.
Question 355
A host can ping an IP address but cannot resolve any domain names. After a correction to the DNS resolver configuration workflow, which observation MOST directly confirms success?
- The local host resolves the specified name to the configured IP.
- The configured DNS resolver addresses are available for diagnosis.
- The routing table identifies the gateway or default route as applicable.
- Monitoring shows processor utilization and memory availability separately.
Explanation
Correct Answer
B:The configured DNS resolver addresses are available for diagnosis. This is the direct observable outcome of DNS resolver configuration. DNS converts names into addresses and is separate from IP routing.
Incorrect Answers
A:The local host resolves the specified name to the configured IP. Although that can be useful for /etc/hosts local name entries, it does not establish the needed DNS resolver configuration result. The task requires that the configured DNS resolver addresses are available for diagnosis.
C:The routing table identifies the gateway or default route as applicable. Although that can be useful for ip route show default gateway, it does not establish the needed DNS resolver configuration result. The task requires that the configured DNS resolver addresses are available for diagnosis.
D:Monitoring shows processor utilization and memory availability separately. Although that can be useful for CPU and RAM responsibilities, it does not establish the needed DNS resolver configuration result. The task requires that the configured DNS resolver addresses are available for diagnosis.
Question 356
A photographer shares documentation illustrations while a developer licenses executable source code. After a correction to the Creative Commons and software licensing workflow, which observation MOST directly confirms success?
- The organizations and their public missions are identified correctly.
- Documentation and code carry clear licenses appropriate to their materials.
- The distribution package meets the GPL version's source and notice obligations.
- The guest boots separately while the host operating system remains intact.
Explanation
Correct Answer
B:Documentation and code carry clear licenses appropriate to their materials. This is the direct observable outcome of Creative Commons and software licensing. Creative Commons licenses are frequently used for creative works whereas software licenses address source-code distribution.
Incorrect Answers
A:The organizations and their public missions are identified correctly. Although that can be useful for FSF versus OSI organizations, it does not establish the needed Creative Commons and software licensing result. The task requires that documentation and code carry clear licenses appropriate to their materials.
C:The distribution package meets the GPL version's source and notice obligations. Although that can be useful for GPL copyleft obligations, it does not establish the needed Creative Commons and software licensing result. The task requires that documentation and code carry clear licenses appropriate to their materials.
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 Creative Commons and software licensing result. The task requires that documentation and code carry clear licenses appropriate to their materials.
Question 357
A junior administrator sees an Ubuntu workstation and needs to select the native package family. After a correction to the Debian-derived package family workflow, which observation MOST directly confirms success?
- A package query shows .deb packages managed through the configured Debian-family repositories.
- The instance boots the chosen Linux image and serves the application after configuration.
- The edited image is saved in the requested raster format with the expected changes.
- The selected release has an explicit extended maintenance window rather than only a short interim lifecycle.
Explanation
Correct Answer
A:A package query shows .deb packages managed through the configured Debian-family repositories. This is the direct observable outcome of Debian-derived package family. Debian and Ubuntu share a Debian-derived package format and APT ecosystem.
Incorrect Answers
B:The instance boots the chosen Linux image and serves the application after configuration. Although that can be useful for Linux in hosted cloud systems, it does not establish the needed Debian-derived package family result. The task requires that a package query shows .deb packages managed through the configured Debian-family repositories.
C:The edited image is saved in the requested raster format with the expected changes. Although that can be useful for GIMP raster image editing, it does not establish the needed Debian-derived package family result. The task requires that a package query shows .deb packages managed through the configured Debian-family repositories.
D:Although that can be useful for Ubuntu long-term support releases, it does not establish the needed Debian-derived package family result.
Question 358
A report must be writable by its owner, readable by its group, and inaccessible to others. After a correction to the chmod octal mode 640 workflow, which observation MOST directly confirms success?
- The resulting permissions are `rw- r-- ---` for owner, group and others.
- The resulting owner permission triplet includes the execute bit.
- Entries include colon-separated account metadata without storing cleartext user passwords.
- New files and directories have effective modes reduced by the specified mask.
Explanation
Correct Answer
A:The resulting permissions are `rw- r-- ---` for owner, group and others. This is the direct observable outcome of chmod octal mode 640. Octal permissions use bit sums read 4, write 2 and execute 1 within each class.
Incorrect Answers
B:The resulting owner permission triplet includes the execute bit. Although that can be useful for chmod symbolic execute flag, it does not establish the needed chmod octal mode 640 result. The task requires that the resulting permissions are `rw- r-- ---` for owner, group and others.
C:Entries include colon-separated account metadata without storing cleartext user passwords. Although that can be useful for /etc/passwd public account metadata, it does not establish the needed chmod octal mode 640 result. The task requires that the resulting permissions are `rw- r-- ---` for owner, group and others.
D:New files and directories have effective modes reduced by the specified mask. Although that can be useful for umask default permission reduction, it does not establish the needed chmod octal mode 640 result. The task requires that the resulting permissions are `rw- r-- ---` for owner, group and others.
Question 359
A log file has many lines and a student wants those containing the text ERROR. After a correction to the grep fixed text matching workflow, which observation MOST directly confirms success?
- Only lines containing the requested pattern appear in the output.
- The resulting archive extracts with `tar -xzf` and contains the original hierarchy.
- Lines with the term in different letter cases are selected.
- The count reflects only the lines sent from grep through the pipe.
Explanation
Correct Answer
A:Only lines containing the requested pattern appear in the output. This is the direct observable outcome of grep fixed text matching. grep filters text lines by a pattern, rather than modifying the source file.
Incorrect Answers
B: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 grep fixed text matching result. The task requires that only lines containing the requested pattern appear in the output.
C: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 grep fixed text matching result. The task requires that only lines containing the requested pattern appear in the output.
D:The count reflects only the lines sent from grep through the pipe. Although that can be useful for Pipes connecting commands, it does not establish the needed grep fixed text matching result. The task requires that only lines containing the requested pattern appear in the output.
Question 360
A USB adapter fails to initialize and the operator needs recent kernel diagnostics. After a correction to the dmesg kernel messages workflow, which observation MOST directly confirms success?
- Kernel diagnostics relevant to device detection are displayed.
- The queried device or subsystem attributes reflect the active kernel state.
- The output reports memory and swap figures in the selected units.
- Echo replies and round-trip timing appear if supported by the network.
Explanation
Correct Answer
A:Kernel diagnostics relevant to device detection are displayed. This is the direct observable outcome of dmesg kernel messages. dmesg reads the kernel ring buffer rather than user application log files.
Incorrect Answers
B:The queried device or subsystem attributes reflect the active kernel state. Although that can be useful for /sys device and kernel interfaces, it does not establish the needed dmesg kernel messages result. The task requires that kernel diagnostics relevant to device detection are displayed.
C:The output reports memory and swap figures in the selected units. Although that can be useful for free memory statistics, it does not establish the needed dmesg kernel messages result. The task requires that kernel diagnostics relevant to device detection are displayed.
D:Echo replies and round-trip timing appear if supported by the network. Although that can be useful for ping reachability testing, it does not establish the needed dmesg kernel messages result. The task requires that kernel diagnostics relevant to device detection are displayed.