Pass LPI 010-160 Exam in First Attempt Easily
Real LPI 010-160 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

010-160 Premium Bundle

  • Premium File 80 Questions & Answers
  • Last Update: Nov 8, 2026
  • Training Course 78 Lectures
  • Study Guide 364 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    80 Questions & Answers
    Last Update: Nov 8, 2026

    $76.99
    $69.99
  • Training Course

    78 Lectures

    $43.99
    $39.99
  • Study Guide

    364 Pages

    $43.99
    $39.99

Linux Essentials Certificate Exam, version 1.6 010-160 Practice Test 26

Question 250

Consider this unresolved requirement: A student is selecting an operating system for a Raspberry Pi board and needs a Linux distribution built for its architecture. What is its most direct operational or security risk?

  1. Confusing distribution branding with the kernel can lead to incorrect compatibility expectations.
  2. An image built for the wrong processor architecture may fail to boot.
  3. Choosing an unsupported release can leave newly disclosed vulnerabilities unpatched.
  4. Treating physical tenancy as an operating-system restriction can prevent an otherwise valid deployment.

Explanation

Correct Answer

B:

An image built for the wrong processor architecture may fail to boot. Single-board computers require distributions and kernel builds compatible with their hardware architecture.

Incorrect Answers

A:

Confusing distribution branding with the kernel can lead to incorrect compatibility expectations. That risk arises when a technician compares Debian and Ubuntu and mistakenly assumes they must use different operating-system kernels because their desktops look different. The current unresolved condition instead creates the risk that an image built for the wrong processor architecture may fail to boot.

C:

Choosing an unsupported release can leave newly disclosed vulnerabilities unpatched. That risk arises when a small organization needs a stable Ubuntu desktop release with a predictable period of updates, not a short-lived experimental release. The current unresolved condition instead creates the risk that an image built for the wrong processor architecture may fail to boot.

D:

Treating physical tenancy as an operating-system restriction can prevent an otherwise valid deployment. That risk arises when a developer wants to run a Linux service in a cloud virtual machine and assumes the guest cannot be Linux because the physical host is shared. The current unresolved condition instead creates the risk that an image built for the wrong processor architecture may fail to boot.

Question 251

A test host must override DNS for one temporary lab hostname without changing authoritative DNS servers. Which command, configuration choice, or action best addresses this situation?

  1. Run ss -tln and inspect the intended TCP port.
  2. Run ip addr show to inspect interface address assignments.
  3. Add a controlled hostname-to-address mapping to /etc/hosts.
  4. Run ip route show and inspect the default route.

Explanation

Correct Answer

C:

Add a controlled hostname-to-address mapping to /etc/hosts. It addresses the stated requirement: A test host must override DNS for one temporary lab hostname without changing authoritative DNS servers. The underlying reason is that the hosts file supplies local static name mappings for systems configured to consult it.

Incorrect Answers

A:

Run ss -tln and inspect the intended TCP port. That action is relevant when an administrator wants to verify whether a web service has a TCP listening socket on the local machine. For the current case, the fitting action is add a controlled hostname-to-address mapping to /etc/hosts.

B:

Run ip addr show to inspect interface address assignments. That action is relevant when a user needs to list network interface addresses on a modern Linux host. For the current case, the fitting action is add a controlled hostname-to-address mapping to /etc/hosts.

D:

Run ip route show and inspect the default route. That action is relevant when a Linux laptop can reach local devices but cannot connect to off-subnet networks and the user suspects its gateway. For the current case, the fitting action is add a controlled hostname-to-address mapping to /etc/hosts.

Question 252

A learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. Which command, configuration choice, or action best addresses this situation?

  1. Run tar -czf bundle.tar.gz directory/ from the appropriate parent.
  2. Run tar -cf source.tar src/ and omit compression flags.
  3. Run gzip on the log file when replacement of the original is acceptable.
  4. Run tar -xzf bundle.tar.gz from a safe extraction location.

Explanation

Correct Answer

D:

Run tar -xzf bundle.tar.gz from a safe extraction location. It addresses the stated requirement: A learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. The underlying reason is that tar -x extracts, -z handles gzip and -f specifies the archive file.

Incorrect Answers

A:

Run tar -czf bundle.tar.gz directory/ from the appropriate parent. That action is relevant when a support agent must package a directory into one compressed tar.gz archive while retaining the original files. For the current case, the fitting action is run tar -xzf bundle.tar.gz from a safe extraction location.

B:

Run tar -cf source.tar src/ and omit compression flags. That action is relevant when an operator needs to create a tar archive of source files without compression because a later tool requires plain tar. For the current case, the fitting action is run tar -xzf bundle.tar.gz from a safe extraction location.

C:

Run gzip on the log file when replacement of the original is acceptable. That action is relevant when a student has a single large plain-text log and needs gzip compression, not a multi-file tar bundle. For the current case, the fitting action is run tar -xzf bundle.tar.gz from a safe extraction location.

Question 253

A learner performs this action: Run ip addr show to inspect interface address assignments. For the situation (a user needs to list network interface addresses on a modern Linux host), which observation would confirm success?

  1. The output includes configured IPv4 or IPv6 addresses for applicable interfaces.
  2. The routing table shows a valid default route pointing to the intended gateway when configured.
  3. Configured nameservers or local resolver settings match the intended network policy.
  4. The local system resolves the lab hostname to the specified test address where hosts-file lookup is enabled.

Explanation

Correct Answer

A:

The output includes configured IPv4 or IPv6 addresses for applicable interfaces. That specific observation verifies the intended change (Run ip addr show to inspect interface address assignments.) for this situation. The ip utility can query network interface addressing from kernel networking state.

Incorrect Answers

B:

The routing table shows a valid default route pointing to the intended gateway when configured. That observation would test whether A Linux laptop can reach local devices but cannot connect to off-subnet networks and the user suspects its gateway. It would not establish the required outcome here, which is the output includes configured IPv4 or IPv6 addresses for applicable interfaces.

C:

Configured nameservers or local resolver settings match the intended network policy. That observation would test whether A workstation resolves an internal hostname incorrectly and the operator needs to see local DNS resolver configuration. It would not establish the required outcome here, which is the output includes configured IPv4 or IPv6 addresses for applicable interfaces.

D:

The local system resolves the lab hostname to the specified test address where hosts-file lookup is enabled. That observation would test whether A test host must override DNS for one temporary lab hostname without changing authoritative DNS servers. It would not establish the required outcome here, which is the output includes configured IPv4 or IPv6 addresses for applicable interfaces.

Question 254

An operator must remove a particular file but wants interactive confirmation before deletion. Which command, configuration choice, or action best addresses this situation?

  1. Run touch marker.txt on the target file.
  2. Run rm -i on the intended file and review the prompt.
  3. Run cp -r reports archive/ after checking the destination.
  4. Run mkdir -p /home/alex/work/week1/reports with appropriate permissions.

Explanation

Correct Answer

B:

Run rm -i on the intended file and review the prompt. It addresses the stated requirement: An operator must remove a particular file but wants interactive confirmation before deletion. The underlying reason is that rm -i asks for interactive confirmation before removing an entry.

Incorrect Answers

A:

Run touch marker.txt on the target file. That action is relevant when a student needs to create a zero-byte marker file or update an existing file's modification timestamp without editing its contents. For the current case, the fitting action is run rm -i on the intended file and review the prompt.

C:

Run cp -r reports archive/ after checking the destination. That action is relevant when a student must copy an entire directory named reports into an archive directory while preserving the original directory. For the current case, the fitting action is run rm -i on the intended file and review the prompt.

D:

Run mkdir -p /home/alex/work/week1/reports with appropriate permissions. That action is relevant when a learner must create /home/alex/work/week1/reports although intermediate work folders do not yet exist. For the current case, the fitting action is run rm -i on the intended file and review the prompt.

Question 255

Consider this unresolved requirement: A student is in /home/alex/docs and needs to move to /etc regardless of the current location. What is its most direct operational or security risk?

  1. Guessing a different user's home path can lead to editing the wrong files.
  2. Relying on a plain name listing may hide permission problems.
  3. Using a relative path without the correct starting location can navigate to an unintended directory.
  4. A standard listing may hide configuration files and create the mistaken impression that they are missing.

Explanation

Correct Answer

C:

Using a relative path without the correct starting location can navigate to an unintended directory. An absolute path beginning with slash is interpreted from the filesystem root.

Incorrect Answers

A:

Guessing a different user's home path can lead to editing the wrong files. That risk arises when a user inside /home/alex/projects needs to return to their own home directory without typing the username. The current unresolved condition instead creates the risk that using a relative path without the correct starting location can navigate to an unintended directory.

B:

Relying on a plain name listing may hide permission problems. That risk arises when a technician needs file ownership, permissions and modification details instead of filenames alone. The current unresolved condition instead creates the risk that using a relative path without the correct starting location can navigate to an unintended directory.

D:

A standard listing may hide configuration files and create the mistaken impression that they are missing. That risk arises when a student cannot see a file named .config-note in an ordinary ls listing of a directory. The current unresolved condition instead creates the risk that using a relative path without the correct starting location can navigate to an unintended directory.

Question 256

Consider this unresolved requirement: A technician needs recent kernel diagnostic messages after attaching a USB storage device. What is its most direct operational or security risk?

  1. Guessing which process is running can lead to troubleshooting or terminating the wrong program.
  2. Confusing total memory with immediately free memory can cause false capacity conclusions.
  3. Treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit.
  4. Depending only on an application log can miss low-level kernel device events.

Explanation

Correct Answer

D:

Depending only on an application log can miss low-level kernel device events. dmesg reads messages from the kernel's diagnostic ring buffer where permitted.

Incorrect Answers

A:

Guessing which process is running can lead to troubleshooting or terminating the wrong program. That risk arises when a technician needs a snapshot of currently running processes and their process identifiers. The current unresolved condition instead creates the risk that depending only on an application log can miss low-level kernel device events.

B:

Confusing total memory with immediately free memory can cause false capacity conclusions. That risk arises when a support engineer needs to inspect used and available system memory in human-readable units. The current unresolved condition instead creates the risk that depending only on an application log can miss low-level kernel device events.

C:

Treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit. That risk arises when a programmer wants to inspect the kernel's live process information interface for a particular PID. The current unresolved condition instead creates the risk that depending only on an application log can miss low-level kernel device events.

Question 257

A learner uses locate to find a filename but notices a newly created file is absent from results. Which command, configuration choice, or action best addresses this situation?

  1. Refresh the locate database using the system's supported update procedure or use find for a live filesystem search.
  2. Run man ls and search within its manual page.
  3. Inspect the appropriate package subdirectory under /usr/share/doc/.
  4. Invoke the program with --help if it supports that convention.

Explanation

Correct Answer

A:

Refresh the locate database using the system's supported update procedure or use find for a live filesystem search. It addresses the stated requirement: A learner uses locate to find a filename but notices a newly created file is absent from results. The underlying reason is that locate commonly searches an indexed database rather than walking the live filesystem.

Incorrect Answers

B:

Run man ls and search within its manual page. That action is relevant when a student needs the detailed reference page for the standard ls command, including its options. For the current case, the fitting action is refresh the locate database using the system's supported update procedure or use find for a live filesystem search.

C:

Inspect the appropriate package subdirectory under /usr/share/doc/. That action is relevant when a package has installed sample configuration documents beneath the distribution's standard shared documentation path. For the current case, the fitting action is refresh the locate database using the system's supported update procedure or use find for a live filesystem search.

D:

Invoke the program with --help if it supports that convention. That action is relevant when a user needs a quick reminder of a program's supported flags without opening a full manual page. For the current case, the fitting action is refresh the locate database using the system's supported update procedure or use find for a live filesystem search.

Question 258

Consider this unresolved requirement: A trainee needs the line numbers of configuration lines that contain the text listen. What is its most direct operational or security risk?

  1. Removing duplicates without considering sorting can leave an inconsistent report order.
  2. Finding text without its position can slow precise configuration edits.
  3. A case-sensitive search can undercount the relevant failures.
  4. Printing the entire log can bury the most recent messages in older output.

Explanation

Correct Answer

B:

Finding text without its position can slow precise configuration edits. This is the most direct consequence of leaving the described condition unresolved. grep -n prints a line number with each selected input line.

Incorrect Answers

A:

Removing duplicates without considering sorting can leave an inconsistent report order. That risk arises when a student has a text file containing repeated names and wants a lexically sorted unique list. The current unresolved condition instead creates the risk that finding text without its position can slow precise configuration edits.

C:

A case-sensitive search can undercount the relevant failures. That risk arises when a technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. The current unresolved condition instead creates the risk that finding text without its position can slow precise configuration edits.

D:

Printing the entire log can bury the most recent messages in older output. That risk arises when a program writes many lines and a user needs to inspect only the final ten lines of its output log. The current unresolved condition instead creates the risk that finding text without its position can slow precise configuration edits.

Question 259

A learner performs this action: Run gzip on the log file when replacement of the original is acceptable. For the situation (a student has a single large plain-text log and needs gzip compression, not a multi-file tar bundle), which observation would confirm success?

  1. The resulting bundle.tar.gz lists the expected directory contents and the source remains available.
  2. The archive listing shows filenames and sizes without extracting the contents.
  3. The original log is replaced by a smaller .gz file and can be decompressed when needed.
  4. The expected directory tree appears after extraction.

Explanation

Correct Answer

C:

The original log is replaced by a smaller .gz file and can be decompressed when needed. That specific observation verifies the intended change (Run gzip on the log file when replacement of the original is acceptable.) for this situation. By default gzip compresses a single file and replaces the input with its compressed form.

Incorrect Answers

A:

The resulting bundle.tar.gz lists the expected directory contents and the source remains available. That observation would test whether A support agent must package a directory into one compressed tar.gz archive while retaining the original files. It would not establish the required outcome here, which is the original log is replaced by a smaller .gz file and can be decompressed when needed.

B:

The archive listing shows filenames and sizes without extracting the contents. That observation would test whether A user downloads a ZIP archive and wants to inspect its member names before choosing an extraction directory. It would not establish the required outcome here, which is the original log is replaced by a smaller .gz file and can be decompressed when needed.

D:

The expected directory tree appears after extraction. That observation would test whether A learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. It would not establish the required outcome here, which is the original log is replaced by a smaller .gz file and can be decompressed when needed.

Question 260

A learner must make a quick edit to a shell script using a terminal-based editor with on-screen shortcut hints. The chosen response is: Open the file with nano script.sh when nano is installed. Which Linux principle explains why that response works?

  1. A shebang requests the interpreter used when the operating system directly executes a script.
  2. The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.
  3. Within double quotes, "$@" expands to each positional parameter as its own shell word.
  4. nano is a terminal text editor; vi is another common editor with a different interaction model.

Explanation

Correct Answer

D:

nano is a terminal text editor; vi is another common editor with a different interaction model. That mechanism connects the chosen action (Open the file with nano script.sh when nano is installed) to the stated need. The expected success evidence is: The script opens in the terminal editor and can be saved after edits.

Incorrect Answers

A:

A shebang requests the interpreter used when the operating system directly executes a script. That principle applies when a simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. Here the decisive reason is that nano is a terminal text editor; vi is another common editor with a different interaction model.

B:

The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries. That principle applies when a script receives a source filename as its first argument and must reference that value safely when spaces occur. Here the decisive reason is that nano is a terminal text editor; vi is another common editor with a different interaction model.

C:

Within double quotes, "$@" expands to each positional parameter as its own shell word. That principle applies when a wrapper script must forward every original positional argument to another command while preserving spaces within individual arguments. Here the decisive reason is that nano is a terminal text editor; vi is another common editor with a different interaction model.

Linux Essentials Certificate Exam, version 1.6 (010-160) Practice Tests

Purchase Individually

  • Premium File

    80 Questions & Answers
    Last Update: Nov 8, 2026

    $76.99
    $69.99
  • Training Course

    78 Lectures

    $43.99
    $39.99
  • Study Guide

    364 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports