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 29

Question 280

A learner performs this action: Open the file with nano script.sh when nano is installed. For the situation (a learner must make a quick edit to a shell script using a terminal-based editor with on-screen shortcut hints), which observation would confirm success?

  1. Each received argument reaches the command as the same separate word.
  2. The script becomes executable directly by its permitted owner.
  3. A filename containing spaces remains one argument in the invoked command.
  4. The script opens in the terminal editor and can be saved after edits.

Explanation

Correct Answer

D:

The script opens in the terminal editor and can be saved after edits. That specific observation verifies the intended change (Open the file with nano script.sh when nano is installed.) for this situation. nano is a terminal text editor; vi is another common editor with a different interaction model.

Incorrect Answers

A:

Each received argument reaches the command as the same separate word. That observation would test whether A wrapper script must forward every original positional argument to another command while preserving spaces within individual arguments. It would not establish the required outcome here, which is the script opens in the terminal editor and can be saved after edits.

B:

The script becomes executable directly by its permitted owner. That observation would test whether A trainee wrote a correct Bash script file but the shell says permission denied when attempting direct execution. It would not establish the required outcome here, which is the script opens in the terminal editor and can be saved after edits.

C:

A filename containing spaces remains one argument in the invoked command. That observation would test whether A script receives a source filename as its first argument and must reference that value safely when spaces occur. It would not establish the required outcome here, which is the script opens in the terminal editor and can be saved after edits.

Question 281

A maintainer wants other companies to reuse a small utility in proprietary products with minimal conditions while retaining attribution notices. Which command, configuration choice, or action best addresses this situation?

  1. Select a suitable permissive license such as the MIT license and retain its required notice.
  2. Choose an Ubuntu LTS release within its supported maintenance window.
  3. Select a supported Linux guest image for the cloud virtual machine.
  4. Install LibreOffice and use its Writer and Calc applications.

Explanation

Correct Answer

A:

Select a suitable permissive license such as the MIT license and retain its required notice. It addresses the stated requirement: A maintainer wants other companies to reuse a small utility in proprietary products with minimal conditions while retaining attribution notices. The underlying reason is that permissive licenses generally allow reuse under notice requirements without strong copyleft reciprocity.

Incorrect Answers

B:

Choose an Ubuntu LTS release within its supported maintenance window. That action is relevant when a small organization needs a stable Ubuntu desktop release with a predictable period of updates, not a short-lived experimental release. For the current case, the fitting action is select a suitable permissive license such as the MIT license and retain its required notice.

C:

Select a supported Linux guest image for the cloud virtual machine. That action is relevant 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. For the current case, the fitting action is select a suitable permissive license such as the MIT license and retain its required notice.

D:

Install LibreOffice and use its Writer and Calc applications. That action is relevant when an office wants to edit text documents and spreadsheets using an open-source desktop productivity suite. For the current case, the fitting action is select a suitable permissive license such as the MIT license and retain its required notice.

Question 282

A technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. The chosen response is: Use grep -i 'error' logfile to search case-insensitively. Which Linux principle explains why that response works?

  1. grep -n prints a line number with each selected input line.
  2. grep -i ignores case distinctions during text matching.
  3. cut can select numbered fields separated by a specified single-character delimiter.
  4. tail selects the end of an input stream or file.

Explanation

Correct Answer

B:

grep -i ignores case distinctions during text matching. That mechanism connects the chosen action (Use grep -i 'error' logfile to search case-insensitively) to the stated need. The expected success evidence is: Lines containing any letter-case variant of error are returned.

Incorrect Answers

A:

grep -n prints a line number with each selected input line. That principle applies when a trainee needs the line numbers of configuration lines that contain the text listen. Here the decisive reason is that grep -i ignores case distinctions during text matching.

C:

cut can select numbered fields separated by a specified single-character delimiter. That principle applies when a log uses comma-separated fields and a student needs only its third simple field from each line, with no embedded commas or quoting. Here the decisive reason is that grep -i ignores case distinctions during text matching.

D:

tail selects the end of an input stream or file. That principle applies when a program writes many lines and a user needs to inspect only the final ten lines of its output log. Here the decisive reason is that grep -i ignores case distinctions during text matching.

Question 283

A learner performs this action: Run tail -n 10 logfile. For the situation (a program writes many lines and a user needs to inspect only the final ten lines of its output log), which observation would confirm success?

  1. Each output line contains the third comma-delimited field.
  2. The output is sorted and duplicate identical lines are suppressed.
  3. Only the final ten lines appear in the inspection output.
  4. The count reflects the number of matching lines rather than all file lines.

Explanation

Correct Answer

C:

Only the final ten lines appear in the inspection output. That specific observation verifies the intended change (Run tail -n 10 logfile.) for this situation. tail selects the end of an input stream or file.

Incorrect Answers

A:

Each output line contains the third comma-delimited field. That observation would test whether A log uses comma-separated fields and a student needs only its third simple field from each line, with no embedded commas or quoting. It would not establish the required outcome here, which is only the final ten lines appear in the inspection output.

B:

The output is sorted and duplicate identical lines are suppressed. That observation would test whether A student has a text file containing repeated names and wants a lexically sorted unique list. It would not establish the required outcome here, which is only the final ten lines appear in the inspection output.

D:

The count reflects the number of matching lines rather than all file lines. That observation would test whether A learner wants to count only lines containing FAILED in a text file using two simple commands. It would not establish the required outcome here, which is only the final ten lines appear in the inspection output.

Question 284

A volunteer must crop and retouch raster photographs with a free and open-source graphical editor. Which command, configuration choice, or action best addresses this situation?

  1. Run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager.
  2. Configure NGINX as the web server and reverse proxy for the site.
  3. Install a supported MariaDB database server and create the application's database.
  4. Use GIMP to edit and export the raster image.

Explanation

Correct Answer

D:

Use GIMP to edit and export the raster image. It addresses the stated requirement: A volunteer must crop and retouch raster photographs with a free and open-source graphical editor. The underlying reason is that gIMP provides raster image editing functions rather than office document layout.

Incorrect Answers

A:

Run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager. That action is relevant when a user has an already downloaded Debian package and needs to install that local file without looking up a repository package by name. For the current case, the fitting action is use GIMP to edit and export the raster image.

B:

Configure NGINX as the web server and reverse proxy for the site. That action is relevant when a small website must serve static pages and reverse-proxy requests to an application server using an open-source HTTP service. For the current case, the fitting action is use GIMP to edit and export the raster image.

C:

Install a supported MariaDB database server and create the application's database. That action is relevant when a team needs a relational SQL database for an open-source web application, not file sync or image editing. For the current case, the fitting action is use GIMP to edit and export the raster image.

Question 285

An administrator wants to verify whether a web service has a TCP listening socket on the local machine. Which command, configuration choice, or action best addresses this situation?

  1. Run ss -tln and inspect the intended TCP port.
  2. Run ip route show and inspect the default route.
  3. Add a controlled hostname-to-address mapping to /etc/hosts.
  4. Inspect the system's active resolver settings, including /etc/resolv.conf where applicable.

Explanation

Correct Answer

A:

Run ss -tln and inspect the intended TCP port. It addresses the stated requirement: An administrator wants to verify whether a web service has a TCP listening socket on the local machine. The underlying reason is that ss can report current socket state, with -t selecting TCP and -l selecting listeners.

Incorrect Answers

B:

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 run ss -tln and inspect the intended TCP port.

C:

Add a controlled hostname-to-address mapping to /etc/hosts. That action is relevant when a test host must override DNS for one temporary lab hostname without changing authoritative DNS servers. For the current case, the fitting action is run ss -tln and inspect the intended TCP port.

D:

Inspect the system's active resolver settings, including /etc/resolv.conf where applicable. That action is relevant when a workstation resolves an internal hostname incorrectly and the operator needs to see local DNS resolver configuration. For the current case, the fitting action is run ss -tln and inspect the intended TCP port.

Question 286

A learner needs to list a directory tree including entries inside nested subdirectories. Which command, configuration choice, or action best addresses this situation?

  1. Run ls -l for the target directory.
  2. Run ls -R on the target directory.
  3. Run ls -a in the directory.
  4. Run cd ~ or simply cd in Bash.

Explanation

Correct Answer

B:

Run ls -R on the target directory. It addresses the stated requirement: A learner needs to list a directory tree including entries inside nested subdirectories. The underlying reason is that ls -R recursively descends through listed directories and prints nested entries.

Incorrect Answers

A:

Run ls -l for the target directory. That action is relevant when a technician needs file ownership, permissions and modification details instead of filenames alone. For the current case, the fitting action is run ls -R on the target directory.

C:

Run ls -a in the directory. That action is relevant when a student cannot see a file named .config-note in an ordinary ls listing of a directory. For the current case, the fitting action is run ls -R on the target directory.

D:

Run cd ~ or simply cd in Bash. That action is relevant when a user inside /home/alex/projects needs to return to their own home directory without typing the username. For the current case, the fitting action is run ls -R on the target directory.

Question 287

Consider this unresolved requirement: A trainee wants to protect personal accounts when sharing a Linux workstation with other students. What is its most direct operational or security risk?

  1. Leaving unrestricted third-party trackers active may permit broader cross-site observation of browsing activity.
  2. Public or overly broad sharing can reveal confidential content despite using a hosted platform.
  3. An unattended unlocked session lets another person act with the student's existing privileges.
  4. Installing both test systems directly on the same root filesystem may create configuration conflicts.

Explanation

Correct Answer

C:

An unattended unlocked session lets another person act with the student's existing privileges. Account authentication and session locking restrict who may use a logged-in identity.

Incorrect Answers

A:

Leaving unrestricted third-party trackers active may permit broader cross-site observation of browsing activity. That risk arises when a web user wants to reduce cross-site tracking when researching Linux documentation in a desktop browser. The current unresolved condition instead creates the risk that an unattended unlocked session lets another person act with the student's existing privileges.

B:

Public or overly broad sharing can reveal confidential content despite using a hosted platform. That risk arises when a team stores a collaborative document in a hosted cloud service and assumes the service eliminates the need to manage its own sharing permissions. The current unresolved condition instead creates the risk that an unattended unlocked session lets another person act with the student's existing privileges.

D:

Installing both test systems directly on the same root filesystem may create configuration conflicts. That risk arises when a systems student needs two isolated guest operating systems on one physical teaching machine for testing and wants to avoid repartitioning for dual boot. The current unresolved condition instead creates the risk that an unattended unlocked session lets another person act with the student's existing privileges.

Question 288

A learner performs this action: Install a supported MariaDB database server and create the application's database. For the situation (a team needs a relational SQL database for an open-source web application, not file sync or image editing), which observation would confirm success?

  1. The installed package is registered in the dpkg database and required dependencies are satisfied.
  2. HTTP requests for a static asset and an application route reach the intended backend responses.
  3. A layered image opens for editing and exports in the required raster format.
  4. A SQL client connects to the server and can create and query a test table.

Explanation

Correct Answer

D:

A SQL client connects to the server and can create and query a test table. That specific observation verifies the intended change (Install a supported MariaDB database server and create the application's database.) for this situation. MariaDB provides a relational database management system compatible with common SQL workloads.

Incorrect Answers

A:

The installed package is registered in the dpkg database and required dependencies are satisfied. That observation would test whether A user has an already downloaded Debian package and needs to install that local file without looking up a repository package by name. It would not establish the required outcome here, which is a SQL client connects to the server and can create and query a test table.

B:

HTTP requests for a static asset and an application route reach the intended backend responses. That observation would test whether A small website must serve static pages and reverse-proxy requests to an application server using an open-source HTTP service. It would not establish the required outcome here, which is a SQL client connects to the server and can create and query a test table.

C:

A layered image opens for editing and exports in the required raster format. That observation would test whether A volunteer must crop and retouch raster photographs with a free and open-source graphical editor. It would not establish the required outcome here, which is a SQL client connects to the server and can create and query a test table.

Question 289

Consider this unresolved requirement: A workstation resolves an internal hostname incorrectly and the operator needs to see local DNS resolver configuration. What is its most direct operational or security risk?

  1. An incorrect resolver can cause hostname lookups to fail even when IP connectivity works.
  2. Testing a nonexistent host address can lead to misleading connectivity failures.
  3. Without a suitable route, traffic to remote destinations may not leave the local subnet.
  4. Assuming a daemon is reachable merely because a process exists can hide a missing listener.

Explanation

Correct Answer

A:

An incorrect resolver can cause hostname lookups to fail even when IP connectivity works. DNS client resolver configuration tells software where to direct name-resolution requests.

Incorrect Answers

B:

Testing a nonexistent host address can lead to misleading connectivity failures. That risk arises when a user needs to list network interface addresses on a modern Linux host. The current unresolved condition instead creates the risk that an incorrect resolver can cause hostname lookups to fail even when IP connectivity works.

C:

Without a suitable route, traffic to remote destinations may not leave the local subnet. That risk arises when a Linux laptop can reach local devices but cannot connect to off-subnet networks and the user suspects its gateway. The current unresolved condition instead creates the risk that an incorrect resolver can cause hostname lookups to fail even when IP connectivity works.

D:

Assuming a daemon is reachable merely because a process exists can hide a missing listener. That risk arises when an administrator wants to verify whether a web service has a TCP listening socket on the local machine. The current unresolved condition instead creates the risk that an incorrect resolver can cause hostname lookups to fail even when IP connectivity works.

Question 290

A student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. Which command, configuration choice, or action best addresses this situation?

  1. Install or load a compatible device driver and verify kernel detection.
  2. Install or compile a binary supported for the machine's processor architecture.
  3. Replace a spinning hard disk with a compatible SSD for system storage.
  4. Save documents on persistent storage rather than relying on RAM contents.

Explanation

Correct Answer

B:

Install or compile a binary supported for the machine's processor architecture. It addresses the stated requirement: A student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. The underlying reason is that processors execute machine instructions defined by their supported architecture.

Incorrect Answers

A:

Install or load a compatible device driver and verify kernel detection. That action is relevant when a newly attached peripheral appears physically connected but no usable device interface is exposed by the system. For the current case, the fitting action is install or compile a binary supported for the machine's processor architecture.

C:

Replace a spinning hard disk with a compatible SSD for system storage. That action is relevant when a laptop must reduce application load times and improve random disk access without changing the CPU. For the current case, the fitting action is install or compile a binary supported for the machine's processor architecture.

D:

Save documents on persistent storage rather than relying on RAM contents. That action is relevant when a user expects adding volatile RAM to permanently store documents across power loss. For the current case, the fitting action is install or compile a binary supported for the machine's processor architecture.

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