LPI 010-160 Practice Test 40
Question 390
A student sees `-rw-r-----` and needs to identify owner, group and other access. After a correction to the ls -l permission string interpretation workflow, which observation MOST directly confirms success?
- Temporary data behaves according to the host's configured cleanup policy.
- The resulting permissions are `rw- r-- ---` for owner, group and others.
- The displayed permissions indicate the intended read, write and execute rights per class.
- New files and directories have effective modes reduced by the specified mask.
Explanation
Correct Answer
C:The displayed permissions indicate the intended read, write and execute rights per class. This is the direct observable outcome of ls -l permission string interpretation. The first character identifies object type and the following triples show permissions.
Incorrect Answers
A:Temporary data behaves according to the host's configured cleanup policy. Although that can be useful for /tmp and /var/tmp retention, it does not establish the needed ls -l permission string interpretation result. The task requires that the displayed permissions indicate the intended read, write and execute rights per class.
B:The resulting permissions are `rw- r-- ---` for owner, group and others. Although that can be useful for chmod octal mode 640, it does not establish the needed ls -l permission string interpretation result. The task requires that the displayed permissions indicate the intended read, write and execute rights per class.
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 ls -l permission string interpretation result. The task requires that the displayed permissions indicate the intended read, write and execute rights per class.
Question 391
A student wants `echo '$HOME'` to print the dollar sign and name literally. After a correction to the Single versus double shell quotes workflow, which observation MOST directly confirms success?
- The single-quoted command prints `$USER` or `$HOME` literally.
- Successful commands commonly return status 0 and errors are represented by nonzero values.
- Both the original and destination paths are present with copied data.
- The result identifies a builtin, alias, keyword or executable as applicable.
Explanation
Correct Answer
A:The single-quoted command prints `$USER` or `$HOME` literally. This is the direct observable outcome of Single versus double shell quotes. Bash single quotes inhibit parameter expansion while double quotes generally permit it.
Incorrect Answers
B: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 Single versus double shell quotes result. The task requires that the single-quoted command prints `$USER` or `$HOME` literally.
C:Both the original and destination paths are present with copied data. Although that can be useful for cp regular file, it does not establish the needed Single versus double shell quotes result. The task requires that the single-quoted command prints `$USER` or `$HOME` literally.
D:The result identifies a builtin, alias, keyword or executable as applicable. Although that can be useful for type and builtin identification, it does not establish the needed Single versus double shell quotes result. The task requires that the single-quoted command prints `$USER` or `$HOME` literally.
Question 392
A student compares an application that computes slowly with one that runs out of working memory. After a correction to the CPU and RAM responsibilities workflow, which observation MOST directly confirms success?
- Monitoring shows processor utilization and memory availability separately.
- The machine remains stable under the expected electrical load.
- The service's TCP listening socket appears with the intended local address.
- The correct mounted volume contains the expected files.
Explanation
Correct Answer
A:Monitoring shows processor utilization and memory availability separately. This is the direct observable outcome of CPU and RAM responsibilities. CPU executes instructions while RAM holds data and program state in use.
Incorrect Answers
B:The machine remains stable under the expected electrical load. Although that can be useful for Power supply for components, it does not establish the needed CPU and RAM responsibilities result. The task requires that monitoring shows processor utilization and memory availability separately.
C:The service's TCP listening socket appears with the intended local address. Although that can be useful for ss listening sockets, it does not establish the needed CPU and RAM responsibilities result. The task requires that monitoring shows processor utilization and memory availability separately.
D:The correct mounted volume contains the expected files. Although that can be useful for Removable USB block storage, it does not establish the needed CPU and RAM responsibilities result. The task requires that monitoring shows processor utilization and memory availability separately.
Question 393
A user needs locally installed package documentation on a Debian-like system. After a correction to the /usr/share/doc documentation directory workflow, which observation MOST directly confirms success?
- The selected manual describes the requested topic rather than the other same-named entry.
- The manual shows a synopsis and option descriptions for the named command.
- The shell prints the current directory path.
- Package-specific README or documentation files can be opened when installed.
Explanation
Correct Answer
D:Package-specific README or documentation files can be opened when installed. This is the direct observable outcome of /usr/share/doc documentation directory. Distributions often place packaged documentation under `/usr/share/doc`.
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 /usr/share/doc documentation directory result. The task requires that package-specific README or documentation files can be opened when installed.
B:The manual shows a synopsis and option descriptions for the named command. Although that can be useful for man pages and sections, it does not establish the needed /usr/share/doc documentation directory result. The task requires that package-specific README or documentation files can be opened when installed.
C:The shell prints the current directory path. Although that can be useful for pwd current directory, it does not establish the needed /usr/share/doc documentation directory result. The task requires that package-specific README or documentation files can be opened when installed.
Question 394
A trainee writes `ls -l /tmp` and asks which token changes the listing format. After a correction to the Bash command and argument structure workflow, which observation MOST directly confirms success?
- A numbered command list from the current shell history is displayed.
- The shell prints the current directory path.
- The command resolves to the intended executable from a directory on the search path.
- The output uses long listing format for the specified directory.
Explanation
Correct Answer
D:This is the direct observable outcome of Bash command and argument structure.
Incorrect Answers
A:Although that can be useful for Shell history recall, it does not establish the needed Bash command and argument structure result.
B:Although that can be useful for pwd current directory, it does not establish the needed Bash command and argument structure result.
C:Although that can be useful for PATH and command discovery, it does not establish the needed Bash command and argument structure result.
Question 395
A trainee connects a removable USB drive and must identify the correct device before working on it. After a correction to the Removable USB block storage workflow, which observation MOST directly confirms success?
- Kernel images or loader assets appear in the designated boot path.
- The device list distinguishes the whole block device from numbered partitions.
- The correct mounted volume contains the expected files.
- Component slots and buses connect through the board's interfaces.
Explanation
Correct Answer
C:The correct mounted volume contains the expected files. This is the direct observable outcome of Removable USB block storage. Removable media may appear as block devices but the mount location is distinct from the device node.
Incorrect Answers
A:Kernel images or loader assets appear in the designated boot path. Although that can be useful for /boot kernel startup files, it does not establish the needed Removable USB block storage result. The task requires that the correct mounted volume contains the expected files.
B: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 Removable USB block storage result. The task requires that the correct mounted volume contains the expected files.
D:Component slots and buses connect through the board's interfaces. Although that can be useful for Motherboard and peripherals, it does not establish the needed Removable USB block storage result. The task requires that the correct mounted volume contains the expected files.
Question 396
An administrator's workstation runs an old release with no longer-supported security repositories. After a correction to the Distribution life cycle versus installed version workflow, which observation MOST directly confirms success?
- Component slots and buses connect through the board's interfaces.
- The team identifies actual reuse and redistribution rights from relevant licenses.
- The chosen release continues to receive applicable vendor security fixes.
- The chosen release has a published support/update status rather than pre-release warnings.
Explanation
Correct Answer
C:The chosen release continues to receive applicable vendor security fixes. This is the direct observable outcome of Distribution life cycle versus installed version. Distribution life cycles determine when a release receives supported fixes and upgrades.
Incorrect Answers
A:Component slots and buses connect through the board's interfaces. Although that can be useful for Motherboard and peripherals, it does not establish the needed Distribution life cycle versus installed version result. The task requires that the chosen release continues to receive applicable vendor security fixes.
B:The team identifies actual reuse and redistribution rights from relevant licenses. Although that can be useful for Linux and proprietary OS licensing models, it does not establish the needed Distribution life cycle versus installed version result. The task requires that the chosen release continues to receive applicable vendor security fixes.
D:The chosen release has a published support/update status rather than pre-release warnings. Although that can be useful for Stable versus beta distribution releases, it does not establish the needed Distribution life cycle versus installed version result. The task requires that the chosen release continues to receive applicable vendor security fixes.
Question 397
A marketing assistant needs to crop and retouch photos for a Linux website. After a correction to the GIMP raster image editing workflow, which observation MOST directly confirms success?
- The edited image is saved in the requested raster format with the expected changes.
- An HTTP request returns the configured page from the server.
- SQL queries retrieve stored records through the configured database service.
- The selected system's package-management commands and repositories correspond to its SUSE variant.
Explanation
Correct Answer
A:The edited image is saved in the requested raster format with the expected changes. This is the direct observable outcome of GIMP raster image editing. GIMP edits raster images and is different from a database or spreadsheet program.
Incorrect Answers
B:An HTTP request returns the configured page from the server. Although that can be useful for Web servers Apache and NGINX, it does not establish the needed GIMP raster image editing result. The task requires that the edited image is saved in the requested raster format with the expected changes.
C: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 GIMP raster image editing result. The task requires that the edited image is saved in the requested raster format with the expected changes.
D:The selected system's package-management commands and repositories correspond to its SUSE variant. Although that can be useful for SUSE and openSUSE distributions, it does not establish the needed GIMP raster image editing result. The task requires that the edited image is saved in the requested raster format with the expected changes.
Question 398
A student needs a copy of a directory and all nested files. After a correction to the cp -r directory trees workflow, which observation MOST directly confirms success?
- The file exists or its timestamp changes without adding text contents.
- Each directory component exists after execution without separate manual creation.
- The listing includes permission bits, ownership and other metadata.
- The destination includes the nested files while the original remains.
Explanation
Correct Answer
D:The destination includes the nested files while the original remains. This is the direct observable outcome of cp -r directory trees. Recursive copying is required when copying a directory hierarchy with common cp implementations.
Incorrect Answers
A:The file exists or its timestamp changes without adding text contents. Although that can be useful for touch empty files and timestamps, it does not establish the needed cp -r directory trees result. The task requires that the destination includes the nested files while the original remains.
B:Each directory component exists after execution without separate manual creation. Although that can be useful for mkdir -p nested directories, it does not establish the needed cp -r directory trees result. The task requires that the destination includes the nested files while the original remains.
C:The listing includes permission bits, ownership and other metadata. Although that can be useful for ls -l file metadata, it does not establish the needed cp -r directory trees result. The task requires that the destination includes the nested files while the original remains.
Question 399
A trainee sees entries such as `alex:x:1001:1001:...` and asks what the file contains. After a correction to the /etc/passwd public account metadata workflow, which observation MOST directly confirms success?
- A permitted user can traverse the directory path to reach an authorized file.
- The output distinguishes current users from previously recorded login sessions.
- The output identifies the user's UID and group memberships.
- Entries include colon-separated account metadata without storing cleartext user passwords.
Explanation
Correct Answer
D:Entries include colon-separated account metadata without storing cleartext user passwords. This is the direct observable outcome of /etc/passwd public account metadata. `/etc/passwd` holds public local account information; secret password hashes are normally stored elsewhere.
Incorrect Answers
A:A permitted user can traverse the directory path to reach an authorized file. Although that can be useful for Directory traversal execute permission, it does not establish the needed /etc/passwd public account metadata result. The task requires that entries include colon-separated account metadata without storing cleartext user passwords.
B:The output distinguishes current users from previously recorded login sessions. Although that can be useful for who w and last login activity, it does not establish the needed /etc/passwd public account metadata result. The task requires that entries include colon-separated account metadata without storing cleartext user passwords.
C:The output identifies the user's UID and group memberships. Although that can be useful for id UID and group identity, it does not establish the needed /etc/passwd public account metadata result. The task requires that entries include colon-separated account metadata without storing cleartext user passwords.
Question 400
A student compares organizations that promote software freedoms and open-source licensing. After a correction to the FSF versus OSI organizations workflow, which observation MOST directly confirms success?
- Documentation and code carry clear licenses appropriate to their materials.
- The organizations and their public missions are identified correctly.
- The distribution package meets the GPL version's source and notice obligations.
- An HTTP request returns the configured page from the server.
Explanation
Correct Answer
B:The organizations and their public missions are identified correctly. This is the direct observable outcome of FSF versus OSI organizations. FSF and OSI overlap in many licenses but emphasize different frameworks and programs.
Incorrect Answers
A: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 FSF versus OSI organizations result. The task requires that the organizations and their public missions are identified correctly.
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 FSF versus OSI organizations result. The task requires that the organizations and their public missions are identified correctly.
D:An HTTP request returns the configured page from the server. Although that can be useful for Web servers Apache and NGINX, it does not establish the needed FSF versus OSI organizations result. The task requires that the organizations and their public missions are identified correctly.