LPI 010-160 Practice Test 71
Question 700
A USB device is not recognized properly by the running Linux kernel. A check then reveals: Installing an unrelated user application does not replace missing kernel-level device support. Which targeted correction BEST restores the required behavior?
- Verify device and mount point names before accessing removable storage.
- Change the browser homepage to activate network hardware.
- Confirm driver compatibility and load or install the supported driver.
- Copy a documentation PDF into `/etc` as the kernel driver.
Explanation
Correct Answer
C:Confirm driver compatibility and load or install the supported driver. This repairs Hardware drivers and kernel and should be checked by seeing that the device appears with the appropriate driver and can perform its normal functions.
Incorrect Answers
A:Verify device and mount point names before accessing removable storage. This is a remedy for Removable USB block storage, not the symptom in this Hardware drivers and kernel case. Installing an unrelated user application does not replace missing kernel-level device support.
B:Change the browser homepage to activate network hardware. This does not remedy the diagnosed Hardware drivers and kernel failure; drivers let the kernel communicate with specific hardware interfaces.
D:Copy a documentation PDF into `/etc` as the kernel driver. This does not remedy the diagnosed Hardware drivers and kernel failure; drivers let the kernel communicate with specific hardware interfaces.
Question 701
A class is testing shell commands stored in a `.sh` file. A check then reveals: Confusing direct `./script.sh` execution with `bash script.sh` changes permission requirements. Which targeted correction BEST restores the required behavior?
- Use `./script.sh` and assume executable permissions are never checked.
- Use quoted expansions for pathname values.
- Run `echo script.sh` expecting the script to execute.
- Run the script through Bash or grant execute permission for direct invocation.
Explanation
Correct Answer
D:Run the script through Bash or grant execute permission for direct invocation. This repairs Script invocation via bash and should be checked by seeing that the Bash process executes the script contents.
Incorrect Answers
A:Use `./script.sh` and assume executable permissions are never checked. This does not remedy the diagnosed Script invocation via bash failure; explicit interpreter invocation does not require the script file's executable bit, only readable content.
B:Use quoted expansions for pathname values. This is a remedy for Quoting script argument expansion, not the symptom in this Script invocation via bash case. Confusing direct `./script.sh` execution with `bash script.sh` changes permission requirements.
C:Run `echo script.sh` expecting the script to execute. This does not remedy the diagnosed Script invocation via bash failure; explicit interpreter invocation does not require the script file's executable bit, only readable content.
Question 702
A student downloads a .zip archive and needs to list or extract its members. A check then reveals: Using gzip alone on a directory does not produce the same multientry ZIP container. Which targeted correction BEST restores the required behavior?
- Run `gunzip files.zip` as the standard ZIP extractor.
- Use gzip and gunzip for compatible single-file streams.
- Rename project.tar to files.zip without re-archiving.
- Use zip and unzip with the desired member paths.
Explanation
Correct Answer
D:Use zip and unzip with the desired member paths. This repairs ZIP archives and unzip and should be checked by seeing that the ZIP contains the intended file hierarchy and extracts successfully.
Incorrect Answers
A:Run `gunzip files.zip` as the standard ZIP extractor. This does not remedy the diagnosed ZIP archives and unzip failure; zIP combines archiving and compression in a widely supported container format.
B:Use gzip and gunzip for compatible single-file streams. This is a remedy for gzip compression and gunzip, not the symptom in this ZIP archives and unzip case. Using gzip alone on a directory does not produce the same multientry ZIP container.
C:Rename project.tar to files.zip without re-archiving. This does not remedy the diagnosed ZIP archives and unzip failure; zIP combines archiving and compression in a widely supported container format.
Question 703
An authorized user wants to change their own account password. A check then reveals: Creating a user does not necessarily provision a usable password login by itself. Which targeted correction BEST restores the required behavior?
- Echo a plaintext password into `/etc/passwd`.
- Use `groupadd` as the password-setting command.
- Create the group and then assign authorized members.
- Set the password with passwd under appropriate authorization.
Explanation
Correct Answer
D:Set the password with passwd under appropriate authorization. This repairs passwd setting account password and should be checked by seeing that authentication accepts the updated password according to the system's policies.
Incorrect Answers
A:Echo a plaintext password into `/etc/passwd`. This does not remedy the diagnosed passwd setting account password failure; passwd changes account authentication credentials through supported account-management interfaces.
B:Use `groupadd` as the password-setting command. This does not remedy the diagnosed passwd setting account password failure; passwd changes account authentication credentials through supported account-management interfaces.
C:Create the group and then assign authorized members. This is a remedy for groupadd new group, not the symptom in this passwd setting account password case. Creating a user does not necessarily provision a usable password login by itself.
Question 704
A learner sees references to `passwd(1)` and `passwd(5)` and needs the correct manual. A check then reveals: Reading a command synopsis as a file-format specification causes confusion. Which targeted correction BEST restores the required behavior?
- Assume a shared name means all manual sections contain identical text.
- Choose the manual section that matches the task.
- Use `man 1 passwd` to read `/etc/passwd` file syntax.
- Read the appropriate man entry and section.
Explanation
Correct Answer
B:Choose the manual section that matches the task. This repairs Manual sections for commands and config and should be checked by seeing that the selected manual describes the requested topic rather than the other same-named entry.
Incorrect Answers
A:Assume a shared name means all manual sections contain identical text. This does not remedy the diagnosed Manual sections for commands and config failure; manual sections separate user commands from formats and other interfaces.
C:Use `man 1 passwd` to read `/etc/passwd` file syntax. This does not remedy the diagnosed Manual sections for commands and config failure; manual sections separate user commands from formats and other interfaces.
D:Read the appropriate man entry and section. This is a remedy for man pages and sections, not the symptom in this Manual sections for commands and config case. Reading a command synopsis as a file-format specification causes confusion.
Question 705
A new administrator wants to know where typed shell commands are executed. A check then reveals: Typing a shell command into a browser search field does not execute it locally. Which targeted correction BEST restores the required behavior?
- Type `ls` into a spreadsheet cell expecting a directory listing.
- Treat the desktop wallpaper as the command interpreter.
- Launch a terminal and select the appropriate interface for each task.
- Inspect shell history and avoid entering secrets as command arguments.
Explanation
Correct Answer
C:Launch a terminal and select the appropriate interface for each task. This repairs Graphical desktop versus command line and should be checked by seeing that commands execute in a shell session while graphical tools run through the desktop.
Incorrect Answers
A:Type `ls` into a spreadsheet cell expecting a directory listing. This does not remedy the diagnosed Graphical desktop versus command line failure; a terminal exposes a command-line interface, which can coexist with a graphical desktop.
B:Treat the desktop wallpaper as the command interpreter. This does not remedy the diagnosed Graphical desktop versus command line failure; a terminal exposes a command-line interface, which can coexist with a graphical desktop.
D:Inspect shell history and avoid entering secrets as command arguments. This is a remedy for Terminal access and shell history, not the symptom in this Graphical desktop versus command line case. Typing a shell command into a browser search field does not execute it locally.
Question 706
A team needs a service to deliver static pages over HTTP or HTTPS. A check then reveals: An email client cannot directly serve the site's HTTP routes. Which targeted correction BEST restores the required behavior?
- Use a configured web server and validate its HTTP listener.
- Configure Thunderbird as the website listener.
- Select a supported Firefox release and review its browser settings.
- Use LibreOffice Writer as a persistent web-server daemon.
Explanation
Correct Answer
A:Use a configured web server and validate its HTTP listener. This repairs Web servers Apache and NGINX and should be checked by seeing that an HTTP request returns the configured page from the server.
Incorrect Answers
B:Configure Thunderbird as the website listener. This does not remedy the diagnosed Web servers Apache and NGINX failure; apache and NGINX provide HTTP server functions rather than graphical client browsing.
C:Select a supported Firefox release and review its browser settings. This is a remedy for Firefox web browsing, not the symptom in this Web servers Apache and NGINX case. An email client cannot directly serve the site's HTTP routes.
D:Use LibreOffice Writer as a persistent web-server daemon. This does not remedy the diagnosed Web servers Apache and NGINX failure; apache and NGINX provide HTTP server functions rather than graphical client browsing.
Question 707
A trainee needs an approachable terminal text editor to modify configuration notes. A check then reveals: A viewer-only command does not save file modifications. Which targeted correction BEST restores the required behavior?
- Run `cat filename` as an interactive full-screen editor.
- Switch modes intentionally and save with a write command.
- Use `less filename` and expect to save typed changes.
- Use nano's save command and verify the resulting file.
Explanation
Correct Answer
D:Use nano's save command and verify the resulting file. This repairs nano editor save and quit and should be checked by seeing that the saved file contains the intended text after leaving the editor.
Incorrect Answers
A:Run `cat filename` as an interactive full-screen editor. This does not remedy the diagnosed nano editor save and quit failure; nano provides terminal-based text editing with on-screen shortcut hints.
B:Switch modes intentionally and save with a write command. This is a remedy for vi insert mode and write quit, not the symptom in this nano editor save and quit case. A viewer-only command does not save file modifications.
C:Use `less filename` and expect to save typed changes. This does not remedy the diagnosed nano editor save and quit failure; nano provides terminal-based text editing with on-screen shortcut hints.
Question 708
An administrator searches for commands described as copying files. A check then reveals: Guessing random command names may miss the indexed help. Which targeted correction BEST restores the required behavior?
- Use `grep /usr/bin` as a manual-page index query.
- Search the manual database with a relevant keyword.
- Check the locate index's freshness before relying on results.
- Run `man -f keyword` as a full description search for unrelated topics.
Explanation
Correct Answer
B:Search the manual database with a relevant keyword. This repairs Keyword manual search and should be checked by seeing that matching manual-page names and short descriptions appear.
Incorrect Answers
A:Use `grep /usr/bin` as a manual-page index query. This does not remedy the diagnosed Keyword manual search failure; a keyword manual search finds indexed descriptions, rather than opening a known page directly.
C:Check the locate index's freshness before relying on results. This is a remedy for locate database lookup, not the symptom in this Keyword manual search case. Guessing random command names may miss the indexed help.
D:Run `man -f keyword` as a full description search for unrelated topics. This does not remedy the diagnosed Keyword manual search failure; a keyword manual search finds indexed descriptions, rather than opening a known page directly.
Question 709
A student wants a free graphical application to edit pixel-based image files. A check then reveals: Selecting a document viewer does not provide the required image-editing tools. Which targeted correction BEST restores the required behavior?
- Deploy a supported relational database and configure access permissions.
- Treat LibreOffice Calc as a replacement for raster retouching.
- Use MariaDB SQL commands to crop a photo.
- Open the image in GIMP and export a suitable result.
Explanation
Correct Answer
D:Open the image in GIMP and export a suitable result. This repairs GIMP raster image editing and should be checked by seeing that the edited image is saved in the requested raster format with the expected changes.
Incorrect Answers
A:Deploy a supported relational database and configure access permissions. This is a remedy for MariaDB and MySQL data stores, not the symptom in this GIMP raster image editing case. Selecting a document viewer does not provide the required image-editing tools.
B:Treat LibreOffice Calc as a replacement for raster retouching. This does not remedy the diagnosed GIMP raster image editing failure; gIMP edits raster images and is different from a database or spreadsheet program.
C:Use MariaDB SQL commands to crop a photo. This does not remedy the diagnosed GIMP raster image editing failure; gIMP edits raster images and is different from a database or spreadsheet program.
Question 710
A learner opens vi and needs to insert text then save and exit. A check then reveals: Typing text in command mode can trigger actions rather than insert characters. Which targeted correction BEST restores the required behavior?
- Switch modes intentionally and save with a write command.
- Use `:q!` expecting unsaved edits to be kept.
- Assume pressing `i` in a terminal outside vi edits a file.
- Use nano's save command and verify the resulting file.
Explanation
Correct Answer
A:Switch modes intentionally and save with a write command. This repairs vi insert mode and write quit and should be checked by seeing that the edited file persists on disk after vi exits.
Incorrect Answers
B:Use `:q!` expecting unsaved edits to be kept. This does not remedy the diagnosed vi insert mode and write quit failure; vi separates command mode and insert mode, so editing and saving require mode-aware commands.
C:Assume pressing `i` in a terminal outside vi edits a file. This does not remedy the diagnosed vi insert mode and write quit failure; vi separates command mode and insert mode, so editing and saving require mode-aware commands.
D:Use nano's save command and verify the resulting file. This is a remedy for nano editor save and quit, not the symptom in this vi insert mode and write quit case. Typing text in command mode can trigger actions rather than insert characters.