LPI 010-160 Practice Test 78
Question 770
A hardware technician maps USB peripherals to the main system board. A check then reveals: Confusing removable peripherals with the motherboard misstates system architecture. Which targeted correction BEST restores the required behavior?
- Classify a USB mouse as the system's RAM.
- Identify the appropriate mainboard connectors and device interfaces.
- Match the storage medium to I/O requirements and budget.
- Call the operating system kernel the motherboard.
Explanation
Correct Answer
B:Identify the appropriate mainboard connectors and device interfaces. This repairs Motherboard and peripherals and should be checked by seeing that component slots and buses connect through the board's interfaces.
Incorrect Answers
A:Classify a USB mouse as the system's RAM. This does not remedy the diagnosed Motherboard and peripherals failure; the motherboard provides electrical and communication pathways between system components.
C:Match the storage medium to I/O requirements and budget. This is a remedy for SSD versus rotational disk, not the symptom in this Motherboard and peripherals case. Confusing removable peripherals with the motherboard misstates system architecture.
D:Call the operating system kernel the motherboard. This does not remedy the diagnosed Motherboard and peripherals failure; the motherboard provides electrical and communication pathways between system components.
Question 771
A beginner needs to view filenames that start with a dot. A check then reveals: Missing dotfiles from a default listing does not imply they were deleted. Which targeted correction BEST restores the required behavior?
- Use `ls -l` alone to guarantee display of every dotfile.
- Rename `.bashrc` to remove all hidden file semantics.
- Show hidden entries with the documented listing option.
- Select the recursive listing option and constrain the target path.
Explanation
Correct Answer
C:Show hidden entries with the documented listing option. This repairs Hidden dotfiles and ls -a and should be checked by seeing that dot-prefixed files appear alongside other directory entries.
Incorrect Answers
A:Use `ls -l` alone to guarantee display of every dotfile. This does not remedy the diagnosed Hidden dotfiles and ls -a failure; default `ls` usually hides dot-prefixed names unless an option requests them.
B:Rename `.bashrc` to remove all hidden file semantics. This does not remedy the diagnosed Hidden dotfiles and ls -a failure; default `ls` usually hides dot-prefixed names unless an option requests them.
D:Select the recursive listing option and constrain the target path. This is a remedy for Recursive directory listings, not the symptom in this Hidden dotfiles and ls -a case. Missing dotfiles from a default listing does not imply they were deleted.
Question 772
A help desk is choosing a client for IMAP mailboxes on Linux desktops. A check then reveals: Confusing a web server with an email client will not offer the desired desktop inbox. Which targeted correction BEST restores the required behavior?
- Set up Thunderbird with the provider's supported email configuration.
- Open GIMP to retrieve POP3 messages.
- Prefer the configured trusted repositories and matching package manager.
- Use NGINX as an IMAP desktop mail client.
Explanation
Correct Answer
A:Set up Thunderbird with the provider's supported email configuration. This repairs Thunderbird email client and should be checked by seeing that the client synchronizes incoming mail and sends mail through configured servers.
Incorrect Answers
B:Open GIMP to retrieve POP3 messages. This does not remedy the diagnosed Thunderbird email client failure; thunderbird is an email client whereas a mail server handles delivery and mailbox hosting.
C:Prefer the configured trusted repositories and matching package manager. This is a remedy for Native distribution package repositories, not the symptom in this Thunderbird email client case. Confusing a web server with an email client will not offer the desired desktop inbox.
D:Use NGINX as an IMAP desktop mail client. This does not remedy the diagnosed Thunderbird email client failure; thunderbird is an email client whereas a mail server handles delivery and mailbox hosting.
Question 773
A volunteer needs an accessible way to create unique credentials for Linux service accounts. A check then reveals: Reusing a breached password can compromise unrelated accounts. Which targeted correction BEST restores the required behavior?
- Replace shared passwords and turn on supported MFA.
- Store all account passwords in a public README.
- Update the chosen guest distribution using its supported maintenance tools.
- Use the same password for every administrator account.
Explanation
Correct Answer
A:Replace shared passwords and turn on supported MFA. This repairs Password manager and multifactor authentication and should be checked by seeing that different accounts use distinct credentials and supported second factors.
Incorrect Answers
B:Store all account passwords in a public README. This does not remedy the diagnosed Password manager and multifactor authentication failure; unique secrets reduce credential-reuse exposure; MFA adds an independent verification factor.
C:Update the chosen guest distribution using its supported maintenance tools. This is a remedy for Cloud virtual machine responsibilities, not the symptom in this Password manager and multifactor authentication case. Reusing a breached password can compromise unrelated accounts.
D:Use the same password for every administrator account. This does not remedy the diagnosed Password manager and multifactor authentication failure; unique secrets reduce credential-reuse exposure; MFA adds an independent verification factor.
Question 774
A technician wants to identify resolver addresses configured on a Linux client. A check then reveals: Broken resolver settings can affect names while raw IP connectivity still works. Which targeted correction BEST restores the required behavior?
- Check effective DNS resolver settings and test name resolution.
- Inspect sockets with ss and then verify network filtering.
- Remove the default gateway as the only DNS fix.
- Edit `/etc/hosts` expecting to change every upstream DNS server.
Explanation
Correct Answer
A:Check effective DNS resolver settings and test name resolution. This repairs DNS resolver configuration and should be checked by seeing that the configured DNS resolver addresses are available for diagnosis.
Incorrect Answers
B:Inspect sockets with ss and then verify network filtering. This is a remedy for ss listening sockets, not the symptom in this DNS resolver configuration case. Broken resolver settings can affect names while raw IP connectivity still works.
C:Remove the default gateway as the only DNS fix. This does not remedy the diagnosed DNS resolver configuration failure; dNS converts names into addresses and is separate from IP routing.
D:Edit `/etc/hosts` expecting to change every upstream DNS server. This does not remedy the diagnosed DNS resolver configuration failure; dNS converts names into addresses and is separate from IP routing.
Question 775
A monitoring script needs to add one new line without erasing prior entries. A check then reveals: The wrong operator can discard previous output or accumulate stale content. Which targeted correction BEST restores the required behavior?
- Select overwrite or append intentionally and verify file contents.
- Use `>` when the requirement is to keep all earlier lines.
- Assume `>>` always truncates the file first.
- Connect filtering output to the counting stage.
Explanation
Correct Answer
A:Select overwrite or append intentionally and verify file contents. This repairs Redirecting output and append and should be checked by seeing that the target file is replaced or extended according to the chosen operator.
Incorrect Answers
B:Use `>` when the requirement is to keep all earlier lines. This does not remedy the diagnosed Redirecting output and append failure; shell redirection changes file-writing behavior before a program processes its arguments.
C:Assume `>>` always truncates the file first. This does not remedy the diagnosed Redirecting output and append failure; shell redirection changes file-writing behavior before a program processes its arguments.
D:Connect filtering output to the counting stage. This is a remedy for Pipes connecting commands, not the symptom in this Redirecting output and append case. The wrong operator can discard previous output or accumulate stale content.
Question 776
A grep exercise distinguishes `a*` in regular expressions from globbing. A check then reveals: Confusing regex star with shell glob star changes the intended matching semantics. Which targeted correction BEST restores the required behavior?
- Assume `.` in a regex always means a literal dot.
- Choose head or tail according to the desired section.
- Quote the regex so grep interprets it rather than the shell.
- Use `grep 'c*t'` expecting exactly one arbitrary middle character.
Explanation
Correct Answer
C:Quote the regex so grep interprets it rather than the shell. This repairs Regular-expression dot and repetition and should be checked by seeing that words with any single character in the middle are matched.
Incorrect Answers
A:Assume `.` in a regex always means a literal dot. This does not remedy the diagnosed Regular-expression dot and repetition failure; in basic regular expressions dot matches one character and star repeats the preceding atom.
B:Choose head or tail according to the desired section. This is a remedy for head and tail line selection, not the symptom in this Regular-expression dot and repetition case. Confusing regex star with shell glob star changes the intended matching semantics.
D:Use `grep 'c*t'` expecting exactly one arbitrary middle character. This does not remedy the diagnosed Regular-expression dot and repetition failure; in basic regular expressions dot matches one character and star repeats the preceding atom.
Question 777
A Linux utility accesses a block device represented by a device file. A check then reveals: Writing arbitrary data to a block device may overwrite actual storage. Which targeted correction BEST restores the required behavior?
- Assume `/dev/null` saves files for later retrieval.
- Inspect the correct device node without using unsafe writes.
- Treat `/dev/sda` as an editable text README.
- Use ps options that display the desired processes and IDs.
Explanation
Correct Answer
B:Inspect the correct device node without using unsafe writes. This repairs /dev device nodes and should be checked by seeing that device nodes correspond to available kernel-managed devices or special streams.
Incorrect Answers
A:Assume `/dev/null` saves files for later retrieval. This does not remedy the diagnosed /dev device nodes failure; device nodes are interfaces to devices rather than conventional documentation files.
C:Treat `/dev/sda` as an editable text README. This does not remedy the diagnosed /dev device nodes failure; device nodes are interfaces to devices rather than conventional documentation files.
D:Use ps options that display the desired processes and IDs. This is a remedy for ps process listing, not the symptom in this /dev device nodes case. Writing arbitrary data to a block device may overwrite actual storage.
Question 778
An administrator needs to understand why filesystem ownership uses numeric UIDs. A check then reveals: Reusing a UID for unrelated users may unintentionally share ownership rights. Which targeted correction BEST restores the required behavior?
- Give every standard account UID 0.
- Set the password with passwd under appropriate authorization.
- Verify available UIDs and account mapping before provisioning.
- Use identical UID values for unrelated tenants without review.
Explanation
Correct Answer
C:Verify available UIDs and account mapping before provisioning. This repairs UID uniqueness and identity mapping and should be checked by seeing that distinct local users map to their intended UID records.
Incorrect Answers
A:Give every standard account UID 0. This does not remedy the diagnosed UID uniqueness and identity mapping failure; filesystems associate owners primarily with numeric IDs, not merely display names.
B:Set the password with passwd under appropriate authorization. This is a remedy for passwd setting account password, not the symptom in this UID uniqueness and identity mapping case. Reusing a UID for unrelated users may unintentionally share ownership rights.
D:Use identical UID values for unrelated tenants without review. This does not remedy the diagnosed UID uniqueness and identity mapping failure; filesystems associate owners primarily with numeric IDs, not merely display names.
Question 779
A colleague asks how to restore a file ending `.gz` to ordinary text. A check then reveals: Treating gzip alone as a directory archiver is incorrect. Which targeted correction BEST restores the required behavior?
- Identify the stream format and use compatible xz tools.
- Use `tar -xf` directly against arbitrary gzip data without an archive.
- Use gzip and gunzip for compatible single-file streams.
- Rename `.txt` to `.gz` to compress it.
Explanation
Correct Answer
C:Use gzip and gunzip for compatible single-file streams. This repairs gzip compression and gunzip and should be checked by seeing that a gzip file can be decompressed to recover its original bytes.
Incorrect Answers
A:Identify the stream format and use compatible xz tools. This is a remedy for xz compression tools, not the symptom in this gzip compression and gunzip case. Treating gzip alone as a directory archiver is incorrect.
B:Use `tar -xf` directly against arbitrary gzip data without an archive. This does not remedy the diagnosed gzip compression and gunzip failure; gzip compresses a stream or file and does not by itself preserve multiple filenames in one archive.
D:Rename `.txt` to `.gz` to compress it. This does not remedy the diagnosed gzip compression and gunzip failure; gzip compresses a stream or file and does not by itself preserve multiple filenames in one archive.
Question 780
A club uses ARM-based Raspberry Pi boards and must select an appropriate distribution image. A check then reveals: A generic desktop image for the wrong processor architecture may not boot. Which targeted correction BEST restores the required behavior?
- Match the OS image to the Raspberry Pi model and processor architecture.
- Choose a Windows device driver instead of a Linux distribution image.
- Confirm the LTS release and its supported update channels before rollout.
- Flash an x86-only installation image to any ARM board.
Explanation
Correct Answer
A:Match the OS image to the Raspberry Pi model and processor architecture. This repairs Raspberry Pi Linux deployment and should be checked by seeing that the board boots to a usable Linux userspace with the expected peripherals supported.
Incorrect Answers
B:Choose a Windows device driver instead of a Linux distribution image. This does not remedy the diagnosed Raspberry Pi Linux deployment failure; raspberry Pi OS is a Debian-derived Linux distribution built for supported Raspberry Pi hardware.
C:Confirm the LTS release and its supported update channels before rollout. This is a remedy for Ubuntu long-term support releases, not the symptom in this Raspberry Pi Linux deployment case. A generic desktop image for the wrong processor architecture may not boot.
D:Flash an x86-only installation image to any ARM board. This does not remedy the diagnosed Raspberry Pi Linux deployment failure; raspberry Pi OS is a Debian-derived Linux distribution built for supported Raspberry Pi hardware.