LPI 010-160 Practice Test 41
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.
Question 401
A Linux administrator needs to find system-wide text configuration files. After a correction to the /etc configuration files workflow, which observation MOST directly confirms success?
- The selected service configuration file is present under the expected directory.
- The queried device or subsystem attributes reflect the active kernel state.
- The machine remains stable under the expected electrical load.
- The listing includes process IDs and command information.
Explanation
Correct Answer
A:The selected service configuration file is present under the expected directory. This is the direct observable outcome of /etc configuration files. `/etc` commonly stores host-specific system configuration, not arbitrary user documents.
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 /etc configuration files result. The task requires that the selected service configuration file is present under the expected directory.
C: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 /etc configuration files result. The task requires that the selected service configuration file is present under the expected directory.
D:The listing includes process IDs and command information. Although that can be useful for ps process listing, it does not establish the needed /etc configuration files result. The task requires that the selected service configuration file is present under the expected directory.
Question 402
A nonprofit needs to edit spreadsheet and presentation documents without purchasing a proprietary office suite. After a correction to the LibreOffice document suite workflow, which observation MOST directly confirms success?
- A package query shows .deb packages managed through the configured Debian-family repositories.
- The edited image is saved in the requested raster format with the expected changes.
- The client synchronizes incoming mail and sends mail through configured servers.
- Documents open for editing in the relevant office applications.
Explanation
Correct Answer
D:Documents open for editing in the relevant office applications. This is the direct observable outcome of LibreOffice document suite. LibreOffice is an open-source productivity suite with document, spreadsheet and presentation tools.
Incorrect Answers
A:A package query shows .deb packages managed through the configured Debian-family repositories. Although that can be useful for Debian-derived package family, it does not establish the needed LibreOffice document suite result. The task requires that documents open for editing in the relevant office applications.
B: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 LibreOffice document suite result. The task requires that documents open for editing in the relevant office applications.
C:The client synchronizes incoming mail and sends mail through configured servers. Although that can be useful for Thunderbird email client, it does not establish the needed LibreOffice document suite result. The task requires that documents open for editing in the relevant office applications.
Question 403
A project has nested directories and an operator wants to list contents at every level. After a correction to the Recursive directory listings workflow, which observation MOST directly confirms success?
- The shell asks for confirmation and removes the file only when affirmed.
- Dot-prefixed files appear alongside other directory entries.
- `pwd` after the change displays the parent directory.
- Entries from subdirectories appear below their corresponding directory labels.
Explanation
Correct Answer
D:Entries from subdirectories appear below their corresponding directory labels. This is the direct observable outcome of Recursive directory listings. Recursive listing traverses nested directory contents rather than only a single level.
Incorrect Answers
A:The shell asks for confirmation and removes the file only when affirmed. Although that can be useful for rm interactive deletion, it does not establish the needed Recursive directory listings result. The task requires that entries from subdirectories appear below their corresponding directory labels.
B:Dot-prefixed files appear alongside other directory entries. Although that can be useful for Hidden dotfiles and ls -a, it does not establish the needed Recursive directory listings result. The task requires that entries from subdirectories appear below their corresponding directory labels.
C:`pwd` after the change displays the parent directory. Although that can be useful for cd parent directory, it does not establish the needed Recursive directory listings result. The task requires that entries from subdirectories appear below their corresponding directory labels.
Question 404
A training VM presents `/dev/sda` and `/dev/sda1` and a student must distinguish them. After a correction to the Linux block devices and partitions workflow, which observation MOST directly confirms success?
- The device list distinguishes the whole block device from numbered partitions.
- Component slots and buses connect through the board's interfaces.
- The selected service configuration file is present under the expected directory.
- Monitoring shows processor utilization and memory availability separately.
Explanation
Correct Answer
A:The device list distinguishes the whole block device from numbered partitions. This is the direct observable outcome of Linux block devices and partitions. Device nodes can represent disks and partitions; naming depends on driver and hardware.
Incorrect Answers
B: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 Linux block devices and partitions result. The task requires that the device list distinguishes the whole block device from numbered partitions.
C: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 Linux block devices and partitions result. The task requires that the device list distinguishes the whole block device from numbered partitions.
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 Linux block devices and partitions result. The task requires that the device list distinguishes the whole block device from numbered partitions.
Question 405
A student wants to count lines that contain `failed` without creating a temporary file. After a correction to the Pipes connecting commands workflow, which observation MOST directly confirms success?
- The count reflects only the lines sent from grep through the pipe.
- The files recorded in the tar archive appear after extraction.
- The resulting output is ordered according to the active locale's sort rules.
- Lines containing either indicated single-character alternative match.
Explanation
Correct Answer
A:The count reflects only the lines sent from grep through the pipe. This is the direct observable outcome of Pipes connecting commands. `|` passes one command's standard output to the next command's standard input.
Incorrect Answers
B: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 Pipes connecting commands result. The task requires that the count reflects only the lines sent from grep through the pipe.
C: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 Pipes connecting commands result. The task requires that the count reflects only the lines sent from grep through the pipe.
D:Lines containing either indicated single-character alternative match. Although that can be useful for Basic regular-expression character classes, it does not establish the needed Pipes connecting commands result. The task requires that the count reflects only the lines sent from grep through the pipe.
Question 406
A script should process every `.log` file in its current directory. After a correction to the Loop over matching filenames workflow, which observation MOST directly confirms success?
- The edited file persists on disk after vi exits.
- Words with any single character in the middle are matched.
- The resulting variable contains the expected integer.
- Each matched filename is processed as its own argument.
Explanation
Correct Answer
D:Each matched filename is processed as its own argument. This is the direct observable outcome of Loop over matching filenames. A pathname glob can supply the loop's items while quoted variable expansion preserves each filename.
Incorrect Answers
A:The edited file persists on disk after vi exits. Although that can be useful for vi insert mode and write quit, it does not establish the needed Loop over matching filenames result. The task requires that each matched filename is processed as its own argument.
B:Words with any single character in the middle are matched. Although that can be useful for Regular-expression dot and repetition, it does not establish the needed Loop over matching filenames result. The task requires that each matched filename is processed as its own argument.
C:The resulting variable contains the expected integer. Although that can be useful for Bash arithmetic expansion, it does not establish the needed Loop over matching filenames result. The task requires that each matched filename is processed as its own argument.
Question 407
An administrator creates a user and must set an initial login password securely. After a correction to the passwd setting account password workflow, which observation MOST directly confirms success?
- Distinct local users map to their intended UID records.
- Newly created homes include the intended template files when supported by useradd configuration.
- Authentication accepts the updated password according to the system's policies.
- A permitted user can traverse the directory path to reach an authorized file.
Explanation
Correct Answer
C:Authentication accepts the updated password according to the system's policies. This is the direct observable outcome of passwd setting account password. passwd changes account authentication credentials through supported account-management interfaces.
Incorrect Answers
A:Distinct local users map to their intended UID records. Although that can be useful for UID uniqueness and identity mapping, it does not establish the needed passwd setting account password result. The task requires that authentication accepts the updated password according to the system's policies.
B:Newly created homes include the intended template files when supported by useradd configuration. Although that can be useful for /etc/skel new home templates, it does not establish the needed passwd setting account password result. The task requires that authentication accepts the updated password according to the system's policies.
D: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 passwd setting account password result. The task requires that authentication accepts the updated password according to the system's policies.
Question 408
A student identifies where CPU, RAM and expansion interfaces connect. After a correction to the Motherboard and peripherals workflow, which observation MOST directly confirms success?
- The correct mounted volume contains the expected files.
- Component slots and buses connect through the board's interfaces.
- Monitoring shows processor utilization and memory availability separately.
- The service's TCP listening socket appears with the intended local address.
Explanation
Correct Answer
B:Component slots and buses connect through the board's interfaces. This is the direct observable outcome of Motherboard and peripherals. The motherboard provides electrical and communication pathways between system components.
Incorrect Answers
A:The correct mounted volume contains the expected files. Although that can be useful for Removable USB block storage, it does not establish the needed Motherboard and peripherals result. The task requires that component slots and buses connect through the board's interfaces.
C:Monitoring shows processor utilization and memory availability separately. Although that can be useful for CPU and RAM responsibilities, it does not establish the needed Motherboard and peripherals result. The task requires that component slots and buses connect through the board's interfaces.
D: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 Motherboard and peripherals result. The task requires that component slots and buses connect through the board's interfaces.
Question 409
A user needs a brief list of supported options for a GNU command. After a correction to the Command --help output workflow, which observation MOST directly confirms success?
- Usage text and options print to the terminal.
- Matching manual-page names and short descriptions appear.
- The manual shows a synopsis and option descriptions for the named command.
- The printed output reflects the variable's stored value.
Explanation
Correct Answer
A:Usage text and options print to the terminal. This is the direct observable outcome of Command --help output. Many command-line programs offer a brief `--help` option although not every program follows it.
Incorrect Answers
B:Matching manual-page names and short descriptions appear. Although that can be useful for Keyword manual search, it does not establish the needed Command --help output result. The task requires that usage text and options print to the terminal.
C: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 Command --help output result. The task requires that usage text and options print to the terminal.
D:The printed output reflects the variable's stored value. Although that can be useful for echo and shell variables, it does not establish the needed Command --help output result. The task requires that usage text and options print to the terminal.
Question 410
A trainee working in `/home/lee/projects` needs to move to `/home/lee`. After a correction to the cd parent directory workflow, which observation MOST directly confirms success?
- `pwd` after the change displays the parent directory.
- Entries from subdirectories appear below their corresponding directory labels.
- A navigable set of linked Info nodes is available.
- `pwd` shows the current user's configured home directory.
Explanation
Correct Answer
A:`pwd` after the change displays the parent directory. This is the direct observable outcome of cd parent directory. The `.` component denotes the parent directory in relative paths.
Incorrect Answers
B:Entries from subdirectories appear below their corresponding directory labels. Although that can be useful for Recursive directory listings, it does not establish the needed cd parent directory result. The task requires that `pwd` after the change displays the parent directory.
C:A navigable set of linked Info nodes is available. Although that can be useful for Info documentation navigation, it does not establish the needed cd parent directory result. The task requires that `pwd` after the change displays the parent directory.
D:`pwd` shows the current user's configured home directory. Although that can be useful for Home directory shorthand, it does not establish the needed cd parent directory result. The task requires that `pwd` after the change displays the parent directory.