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 38

Question 370

A learner performs this action: Run cut -d ',' -f 3 data.csv. For the situation (a log uses comma-separated fields and a student needs only its third simple field from each line, with no embedded commas or quoting), which observation would confirm success?

  1. Matching content appears with the original line number before each line.
  2. Each output line contains the third comma-delimited field.
  3. Only the final ten lines appear in the inspection output.
  4. The output is sorted and duplicate identical lines are suppressed.

Explanation

Correct Answer

B:

Each output line contains the third comma-delimited field. That specific observation verifies the intended change (Run cut -d ',' -f 3 data.csv.) for this situation. cut can select numbered fields separated by a specified single-character delimiter.

Incorrect Answers

A:

Matching content appears with the original line number before each line. That observation would test whether A trainee needs the line numbers of configuration lines that contain the text listen. It would not establish the required outcome here, which is each output line contains the third comma-delimited field.

C:

Only the final ten lines appear in the inspection output. That observation would test whether A program writes many lines and a user needs to inspect only the final ten lines of its output log. It would not establish the required outcome here, which is each output line contains the third comma-delimited field.

D:

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 each output line contains the third comma-delimited field.

Question 371

A learner performs this action: Run cd /etc with an absolute path. For the situation (a student is in /home/alex/docs and needs to move to /etc regardless of the current location), which observation would confirm success?

  1. The listing shows permission bits, owner, group, size and timestamps for its entries.
  2. Files from the nested folders appear under their respective directory headings.
  3. The shell's working directory becomes /etc.
  4. The listing includes dot-prefixed entries such as .config-note.

Explanation

Correct Answer

C:

The shell's working directory becomes /etc. That specific observation verifies the intended change (Run cd /etc with an absolute path.) for this situation. An absolute path beginning with slash is interpreted from the filesystem root.

Incorrect Answers

A:

The listing shows permission bits, owner, group, size and timestamps for its entries. That observation would test whether A technician needs file ownership, permissions and modification details instead of filenames alone. It would not establish the required outcome here, which is the shell's working directory becomes /etc.

B:

Files from the nested folders appear under their respective directory headings. That observation would test whether A learner needs to list a directory tree including entries inside nested subdirectories. It would not establish the required outcome here, which is the shell's working directory becomes /etc.

D:

The listing includes dot-prefixed entries such as .config-note. That observation would test whether A student cannot see a file named .config-note in an ordinary ls listing of a directory. It would not establish the required outcome here, which is the shell's working directory becomes /etc.

Question 372

A simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. Which command, configuration choice, or action best addresses this situation?

  1. Use "$1" when passing the first positional argument to a file-handling command.
  2. Use read -r variable in the Bash loop.
  3. Use a Bash for variable in project1 project2 project3; do ...; done loop.
  4. Place #!/bin/bash on the first line when Bash resides at that path.

Explanation

Correct Answer

D:

Place #!/bin/bash on the first line when Bash resides at that path. It addresses the stated requirement: A simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. The underlying reason is that a shebang requests the interpreter used when the operating system directly executes a script.

Incorrect Answers

A:

Use "$1" when passing the first positional argument to a file-handling command. That action is relevant when a script receives a source filename as its first argument and must reference that value safely when spaces occur. For the current case, the fitting action is place #!/bin/bash on the first line when Bash resides at that path.

B:

Use read -r variable in the Bash loop. That action is relevant when a script reads paths from standard input and must preserve literal backslashes instead of treating them as escapes. For the current case, the fitting action is place #!/bin/bash on the first line when Bash resides at that path.

C:

Use a Bash for variable in project1 project2 project3; do ...; done loop. That action is relevant when a learner needs to print the names of three project directories using a loop rather than copying an echo command three times. For the current case, the fitting action is place #!/bin/bash on the first line when Bash resides at that path.

Question 373

A learner performs this action: Use distinct strong passwords and lock or log out of the session when leaving the computer. For the situation (a trainee wants to protect personal accounts when sharing a Linux workstation with other students), which observation would confirm success?

  1. Returning to the workstation requires account authentication rather than revealing an open personal session.
  2. apt resolves the package and dependencies using Ubuntu's configured package sources.
  3. The browser's privacy controls show the intended restriction, and sites still provide the required documentation.
  4. The user obtains a shell prompt and can list the server's intended directory.

Explanation

Correct Answer

A:

Returning to the workstation requires account authentication rather than revealing an open personal session. That specific observation verifies the intended change (Use distinct strong passwords and lock or log out of the session when leaving the computer.) for this situation. Account authentication and session locking restrict who may use a logged-in identity.

Incorrect Answers

B:

apt resolves the package and dependencies using Ubuntu's configured package sources. That observation would test whether A training workstation uses Ubuntu and an instructor wants a Debian-family package manager rather than an RPM-based command. It would not establish the required outcome here, which is returning to the workstation requires account authentication rather than revealing an open personal session.

C:

The browser's privacy controls show the intended restriction, and sites still provide the required documentation. That observation would test whether A web user wants to reduce cross-site tracking when researching Linux documentation in a desktop browser. It would not establish the required outcome here, which is returning to the workstation requires account authentication rather than revealing an open personal session.

D:

The user obtains a shell prompt and can list the server's intended directory. That observation would test whether A desktop user must manage files on a Linux server that has no graphical desktop installed. It would not establish the required outcome here, which is returning to the workstation requires account authentication rather than revealing an open personal session.

Question 374

A small organization needs a stable Ubuntu desktop release with a predictable period of updates, not a short-lived experimental release. The chosen response is: Choose an Ubuntu LTS release within its supported maintenance window. Which Linux principle explains why that response works?

  1. Ubuntu derives its packaging conventions from Debian and commonly uses apt with dpkg packages.
  2. LTS designates Ubuntu releases with longer support commitments than interim releases.
  3. A Linux distribution combines the Linux kernel with user-space utilities, packages, configuration and release choices.
  4. Single-board computers require distributions and kernel builds compatible with their hardware architecture.

Explanation

Correct Answer

B:

LTS designates Ubuntu releases with longer support commitments than interim releases. That mechanism connects the chosen action (Choose an Ubuntu LTS release within its supported maintenance window) to the stated need. The expected success evidence is: The selected release has published long-term maintenance coverage and receives normal security updates.

Incorrect Answers

A:

Ubuntu derives its packaging conventions from Debian and commonly uses apt with dpkg packages. That principle applies when a training workstation uses Ubuntu and an instructor wants a Debian-family package manager rather than an RPM-based command. Here the decisive reason is that lTS designates Ubuntu releases with longer support commitments than interim releases.

C:

A Linux distribution combines the Linux kernel with user-space utilities, packages, configuration and release choices. That principle applies when a technician compares Debian and Ubuntu and mistakenly assumes they must use different operating-system kernels because their desktops look different. Here the decisive reason is that lTS designates Ubuntu releases with longer support commitments than interim releases.

D:

Single-board computers require distributions and kernel builds compatible with their hardware architecture. That principle applies when a student is selecting an operating system for a Raspberry Pi board and needs a Linux distribution built for its architecture. Here the decisive reason is that lTS designates Ubuntu releases with longer support commitments than interim releases.

Question 375

A shell variable named PROJECT contains two words and a learner needs to print its value as one shell argument without word splitting. The chosen response is: Use echo "$PROJECT" with the variable expansion enclosed in double quotes. Which Linux principle explains why that response works?

  1. In Bash, single quotes prevent parameter expansion inside the quoted string.
  2. export marks a shell variable for inclusion in the environment inherited by subsequent commands.
  3. Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.
  4. echo writes its arguments to standard output, which the shell can separately redirect.

Explanation

Correct Answer

C:

Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion. That mechanism connects the chosen action (Use echo "$PROJECT" with the variable expansion enclosed in double quotes) to the stated need. The expected success evidence is: The output preserves the two-word value rather than interpreting it as separate arguments.

Incorrect Answers

A:

In Bash, single quotes prevent parameter expansion inside the quoted string. That principle applies when a shell user wants the literal characters $HOME printed rather than an expansion of the current home directory. Here the decisive reason is that double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.

B:

export marks a shell variable for inclusion in the environment inherited by subsequent commands. That principle applies when a locally assigned Bash variable must be inherited by a child process started from the same shell. Here the decisive reason is that double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.

D:

echo writes its arguments to standard output, which the shell can separately redirect. That principle applies when a learner tries to display a value with echo but accidentally places a command name in a shell redirection expression. Here the decisive reason is that double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.

Question 376

A technician needs a snapshot of currently running processes and their process identifiers. The chosen response is: Run ps with options appropriate to the desired process scope. Which Linux principle explains why that response works?

  1. dmesg reads messages from the kernel's diagnostic ring buffer where permitted.
  2. top provides an interactive periodically refreshed process and resource summary.
  3. free reports memory accounting including used, free and available amounts.
  4. ps reports process information from the running system.

Explanation

Correct Answer

D:

ps reports process information from the running system. That mechanism connects the chosen action (Run ps with options appropriate to the desired process scope) to the stated need. The expected success evidence is: A process list shows PIDs and command names for the selected scope.

Incorrect Answers

A:

dmesg reads messages from the kernel's diagnostic ring buffer where permitted. That principle applies when a technician needs recent kernel diagnostic messages after attaching a USB storage device. Here the decisive reason is that ps reports process information from the running system.

B:

top provides an interactive periodically refreshed process and resource summary. That principle applies when a user wants a continuously updating view of high CPU-consuming processes during an intermittent slowdown. Here the decisive reason is that ps reports process information from the running system.

C:

free reports memory accounting including used, free and available amounts. That principle applies when a support engineer needs to inspect used and available system memory in human-readable units. Here the decisive reason is that ps reports process information from the running system.

Question 377

Consider this unresolved requirement: A user needs a quick reminder of a program's supported flags without opening a full manual page. What is its most direct operational or security risk?

  1. Inventing command switches without checking supported syntax can cause unexpected actions.
  2. Editing from an unverified internet snippet may not match the installed package version.
  3. Depending only on the command's terse invocation hint may omit important operational guidance.
  4. An outdated filename index can miss recently created paths.

Explanation

Correct Answer

A:

Inventing command switches without checking supported syntax can cause unexpected actions. This is the most direct consequence of leaving the described condition unresolved. Many GNU programs provide command-specific help via the --help option.

Incorrect Answers

B:

Editing from an unverified internet snippet may not match the installed package version. That risk arises when a package has installed sample configuration documents beneath the distribution's standard shared documentation path. The current unresolved condition instead creates the risk that inventing command switches without checking supported syntax can cause unexpected actions.

C:

Depending only on the command's terse invocation hint may omit important operational guidance. That risk arises when a learner sees a GNU command with extensive tutorial-style documentation not fully covered in its short help summary. The current unresolved condition instead creates the risk that inventing command switches without checking supported syntax can cause unexpected actions.

D:

An outdated filename index can miss recently created paths. That risk arises when a learner uses locate to find a filename but notices a newly created file is absent from results. The current unresolved condition instead creates the risk that inventing command switches without checking supported syntax can cause unexpected actions.

Question 378

Consider this unresolved requirement: A learner uses locate to find a filename but notices a newly created file is absent from results. What is its most direct operational or security risk?

  1. Relying only on a guessed flag can produce incorrect command usage.
  2. An outdated filename index can miss recently created paths.
  3. Editing from an unverified internet snippet may not match the installed package version.
  4. Depending only on the command's terse invocation hint may omit important operational guidance.

Explanation

Correct Answer

B:

An outdated filename index can miss recently created paths. This is the most direct consequence of leaving the described condition unresolved. locate commonly searches an indexed database rather than walking the live filesystem.

Incorrect Answers

A:

Relying only on a guessed flag can produce incorrect command usage. That risk arises when a student needs the detailed reference page for the standard ls command, including its options. The current unresolved condition instead creates the risk that an outdated filename index can miss recently created paths.

C:

Editing from an unverified internet snippet may not match the installed package version. That risk arises when a package has installed sample configuration documents beneath the distribution's standard shared documentation path. The current unresolved condition instead creates the risk that an outdated filename index can miss recently created paths.

D:

Depending only on the command's terse invocation hint may omit important operational guidance. That risk arises when a learner sees a GNU command with extensive tutorial-style documentation not fully covered in its short help summary. The current unresolved condition instead creates the risk that an outdated filename index can miss recently created paths.

Question 379

A user wants a shortcut pathname to a document stored in another directory without copying the document's bytes. Which command, configuration choice, or action best addresses this situation?

  1. Restore a valid target at the referenced path or repoint the link to an existing file.
  2. Create the account with useradd -m username using appropriate privileges.
  3. Create a symbolic link using ln -s target-path shortcut-name.
  4. Create the group using groupadd groupname with suitable privileges.

Explanation

Correct Answer

C:

Create a symbolic link using ln -s target-path shortcut-name. It addresses the stated requirement: A user wants a shortcut pathname to a document stored in another directory without copying the document's bytes. The underlying reason is that a symbolic link stores a path reference that is followed to reach the target.

Incorrect Answers

A:

Restore a valid target at the referenced path or repoint the link to an existing file. That action is relevant when a symbolic link stopped working after its target was removed, yet the link itself still appears in an ls listing. For the current case, the fitting action is create a symbolic link using ln -s target-path shortcut-name.

B:

Create the account with useradd -m username using appropriate privileges. That action is relevant when a new staff account must have a home directory created when its user is provisioned. For the current case, the fitting action is create a symbolic link using ln -s target-path shortcut-name.

D:

Create the group using groupadd groupname with suitable privileges. That action is relevant when a department needs a new named Unix group before granting shared file access to its members. For the current case, the fitting action is create a symbolic link using ln -s target-path shortcut-name.

Question 380

A volunteer must crop and retouch raster photographs with a free and open-source graphical editor. The chosen response is: Use GIMP to edit and export the raster image. Which Linux principle explains why that response works?

  1. dpkg directly handles Debian package files while apt typically manages repository resolution and dependency installation.
  2. NGINX is a web server that can also reverse-proxy requests to application processes.
  3. LibreOffice includes word processing, spreadsheet and presentation applications.
  4. GIMP provides raster image editing functions rather than office document layout.

Explanation

Correct Answer

D:

GIMP provides raster image editing functions rather than office document layout. That mechanism connects the chosen action (Use GIMP to edit and export the raster image) to the stated need. The expected success evidence is: A layered image opens for editing and exports in the required raster format.

Incorrect Answers

A:

dpkg directly handles Debian package files while apt typically manages repository resolution and dependency installation. That principle applies when a user has an already downloaded Debian package and needs to install that local file without looking up a repository package by name. Here the decisive reason is that gIMP provides raster image editing functions rather than office document layout.

B:

NGINX is a web server that can also reverse-proxy requests to application processes. That principle applies when a small website must serve static pages and reverse-proxy requests to an application server using an open-source HTTP service. Here the decisive reason is that gIMP provides raster image editing functions rather than office document layout.

C:

LibreOffice includes word processing, spreadsheet and presentation applications. That principle applies when an office wants to edit text documents and spreadsheets using an open-source desktop productivity suite. Here the decisive reason is that gIMP provides raster image editing functions rather than office document layout.

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