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 16

Question 150

A learner performs this action: Run ls -a in the directory. For the situation (a student cannot see a file named .config-note in an ordinary ls listing of a directory), which observation would confirm success?

  1. The listing shows permission bits, owner, group, size and timestamps for its entries.
  2. The listing includes dot-prefixed entries such as .config-note.
  3. The shell's working directory becomes /etc.
  4. The working directory changes to the invoking user's home directory.

Explanation

Correct Answer

B:

The listing includes dot-prefixed entries such as .config-note. That specific observation verifies the intended change (Run ls -a in the directory.) for this situation. ls -a includes filenames whose names start with a dot.

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 listing includes dot-prefixed entries such as .config-note.

C:

The shell's working directory becomes /etc. That observation would test whether A student is in /home/alex/docs and needs to move to /etc regardless of the current location. It would not establish the required outcome here, which is the listing includes dot-prefixed entries such as .config-note.

D:

The working directory changes to the invoking user's home directory. That observation would test whether A user inside /home/alex/projects needs to return to their own home directory without typing the username. It would not establish the required outcome here, which is the listing includes dot-prefixed entries such as .config-note.

Question 151

A script receives a source filename as its first argument and must reference that value safely when spaces occur. The chosen response is: Use "$1" when passing the first positional argument to a file-handling command. Which Linux principle explains why that response works?

  1. Within double quotes, "$@" expands to each positional parameter as its own shell word.
  2. Bash performs parameter expansion inside double quotes but not inside single quotes.
  3. The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.
  4. A shebang requests the interpreter used when the operating system directly executes a script.

Explanation

Correct Answer

C:

The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries. That mechanism connects the chosen action (Use "$1" when passing the first positional argument to a file-handling command) to the stated need. The expected success evidence is: A filename containing spaces remains one argument in the invoked command.

Incorrect Answers

A:

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 the shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.

B:

Bash performs parameter expansion inside double quotes but not inside single quotes. That principle applies when a novice writes a loop variable name in a script and needs to print its value instead of the literal variable name. Here the decisive reason is that the shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.

D:

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 the shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.

Question 152

A student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. The chosen response is: Install or compile a binary supported for the machine's processor architecture. Which Linux principle explains why that response works?

  1. Device drivers allow the kernel to communicate with supported peripherals.
  2. Solid-state storage avoids the mechanical seek latency characteristic of spinning disks.
  3. Partitions divide a block device into addressable regions; filesystems organize files within such regions.
  4. Processors execute machine instructions defined by their supported architecture.

Explanation

Correct Answer

D:

Processors execute machine instructions defined by their supported architecture. That mechanism connects the chosen action (Install or compile a binary supported for the machine's processor architecture) to the stated need. The expected success evidence is: The executable launches successfully with compatible instruction-set support.

Incorrect Answers

A:

Device drivers allow the kernel to communicate with supported peripherals. That principle applies when a newly attached peripheral appears physically connected but no usable device interface is exposed by the system. Here the decisive reason is that processors execute machine instructions defined by their supported architecture.

B:

Solid-state storage avoids the mechanical seek latency characteristic of spinning disks. That principle applies when a laptop must reduce application load times and improve random disk access without changing the CPU. Here the decisive reason is that processors execute machine instructions defined by their supported architecture.

C:

Partitions divide a block device into addressable regions; filesystems organize files within such regions. That principle applies when a machine has a single physical storage device and the student needs separate logical regions for system and user data. Here the decisive reason is that processors execute machine instructions defined by their supported architecture.

Question 153

Consider this unresolved requirement: A student inspects /etc/passwd and mistakes its contents for the location of ordinary password hashes. What is its most direct operational or security risk?

  1. Treating /etc/passwd as a protected password-hash store misunderstands access controls.
  2. Working as root for an entire session increases the scope of accidental privileged changes.
  3. Inspecting current sessions alone can omit prior access events.
  4. Guessing group membership can result in incorrect permission troubleshooting.

Explanation

Correct Answer

A:

Treating /etc/passwd as a protected password-hash store misunderstands access controls. Modern Linux systems generally keep password hashes in the more restricted /etc/shadow file.

Incorrect Answers

B:

Working as root for an entire session increases the scope of accidental privileged changes. That risk arises when a standard user needs to run one approved administrative command without switching the entire interactive session to root. The current unresolved condition instead creates the risk that treating /etc/passwd as a protected password-hash store misunderstands access controls.

C:

Inspecting current sessions alone can omit prior access events. That risk arises when an administrator investigates which accounts recently logged in and from where, using available login history. The current unresolved condition instead creates the risk that treating /etc/passwd as a protected password-hash store misunderstands access controls.

D:

Guessing group membership can result in incorrect permission troubleshooting. That risk arises when an operator wants to see the current user's numeric UID and group memberships from the command line. The current unresolved condition instead creates the risk that treating /etc/passwd as a protected password-hash store misunderstands access controls.

Question 154

A team stores a collaborative document in a hosted cloud service and assumes the service eliminates the need to manage its own sharing permissions. Which command, configuration choice, or action best addresses this situation?

  1. Create separate virtual machines through a supported hypervisor.
  2. Review user access and configure least-privilege sharing for the hosted files.
  3. Open a terminal or remote shell session and use command-line tools for the required work.
  4. Use distinct strong passwords and lock or log out of the session when leaving the computer.

Explanation

Correct Answer

B:

Review user access and configure least-privilege sharing for the hosted files. It addresses the stated requirement: 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 underlying reason is that cloud services do not automatically enforce an organization's desired document access policy.

Incorrect Answers

A:

Create separate virtual machines through a supported hypervisor. That action is relevant 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. For the current case, the fitting action is review user access and configure least-privilege sharing for the hosted files.

C:

Open a terminal or remote shell session and use command-line tools for the required work. That action is relevant when a desktop user must manage files on a Linux server that has no graphical desktop installed. For the current case, the fitting action is review user access and configure least-privilege sharing for the hosted files.

D:

Use distinct strong passwords and lock or log out of the session when leaving the computer. That action is relevant when a trainee wants to protect personal accounts when sharing a Linux workstation with other students. For the current case, the fitting action is review user access and configure least-privilege sharing for the hosted files.

Question 155

A learner performs this action: Replace a spinning hard disk with a compatible SSD for system storage. For the situation (a laptop must reduce application load times and improve random disk access without changing the CPU), which observation would confirm success?

  1. The device reports separate partitions which can host distinct filesystems.
  2. Documents remain available after a full shutdown and reboot.
  3. Random file reads and application startup generally improve under the new storage device.
  4. The executable launches successfully with compatible instruction-set support.

Explanation

Correct Answer

C:

Random file reads and application startup generally improve under the new storage device. That specific observation verifies the intended change (Replace a spinning hard disk with a compatible SSD for system storage.) for this situation. Solid-state storage avoids the mechanical seek latency characteristic of spinning disks.

Incorrect Answers

A:

The device reports separate partitions which can host distinct filesystems. That observation would test whether A machine has a single physical storage device and the student needs separate logical regions for system and user data. It would not establish the required outcome here, which is random file reads and application startup generally improve under the new storage device.

B:

Documents remain available after a full shutdown and reboot. That observation would test whether A user expects adding volatile RAM to permanently store documents across power loss. It would not establish the required outcome here, which is random file reads and application startup generally improve under the new storage device.

D:

The executable launches successfully with compatible instruction-set support. That observation would test whether A student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. It would not establish the required outcome here, which is random file reads and application startup generally improve under the new storage device.

Question 156

A student inspects /etc/passwd and mistakes its contents for the location of ordinary password hashes. Which command, configuration choice, or action best addresses this situation?

  1. Run id for the account whose identity must be checked.
  2. Run last to inspect recorded prior login events.
  3. Run the authorized command through sudo according to local policy.
  4. Use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow.

Explanation

Correct Answer

D:

Use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow. It addresses the stated requirement: A student inspects /etc/passwd and mistakes its contents for the location of ordinary password hashes. The underlying reason is that modern Linux systems generally keep password hashes in the more restricted /etc/shadow file.

Incorrect Answers

A:

Run id for the account whose identity must be checked. That action is relevant when an operator wants to see the current user's numeric UID and group memberships from the command line. For the current case, the fitting action is use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow.

B:

Run last to inspect recorded prior login events. That action is relevant when an administrator investigates which accounts recently logged in and from where, using available login history. For the current case, the fitting action is use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow.

C:

Run the authorized command through sudo according to local policy. That action is relevant when a standard user needs to run one approved administrative command without switching the entire interactive session to root. For the current case, the fitting action is use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow.

Question 157

A locally assigned Bash variable must be inherited by a child process started from the same shell. The chosen response is: Run export PROJECT after assigning the variable before launching the child process. Which Linux principle explains why that response works?

  1. export marks a shell variable for inclusion in the environment inherited by subsequent commands.
  2. Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.
  3. The shell searches PATH directories in order when resolving executable command names without a slash.
  4. echo writes its arguments to standard output, which the shell can separately redirect.

Explanation

Correct Answer

A:

export marks a shell variable for inclusion in the environment inherited by subsequent commands. That mechanism connects the chosen action (Run export PROJECT after assigning the variable before launching the child process) to the stated need. The expected success evidence is: The child process sees PROJECT in its environment.

Incorrect Answers

B:

Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion. That principle applies when a shell variable named PROJECT contains two words and a learner needs to print its value as one shell argument without word splitting. Here the decisive reason is that export marks a shell variable for inclusion in the environment inherited by subsequent commands.

C:

The shell searches PATH directories in order when resolving executable command names without a slash. That principle applies when a user types a command name and the shell cannot find it even though an executable exists in an unlisted directory. Here the decisive reason is that export marks a shell variable for inclusion in the environment inherited by subsequent commands.

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 export marks a shell variable for inclusion in the environment inherited by subsequent commands.

Question 158

Consider this unresolved requirement: A technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. What is its most direct operational or security risk?

  1. Finding text without its position can slow precise configuration edits.
  2. A case-sensitive search can undercount the relevant failures.
  3. Printing the entire log can bury the most recent messages in older output.
  4. Confusing byte count with line count can misstate the number of records.

Explanation

Correct Answer

B:

A case-sensitive search can undercount the relevant failures. This is the most direct consequence of leaving the described condition unresolved. grep -i ignores case distinctions during text matching.

Incorrect Answers

A:

Finding text without its position can slow precise configuration edits. That risk arises when a trainee needs the line numbers of configuration lines that contain the text listen. The current unresolved condition instead creates the risk that a case-sensitive search can undercount the relevant failures.

C:

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 a case-sensitive search can undercount the relevant failures.

D:

Confusing byte count with line count can misstate the number of records. That risk arises when an analyst needs to count the number of newline-delimited records in a local text file. The current unresolved condition instead creates the risk that a case-sensitive search can undercount the relevant failures.

Question 159

A learner performs this action: Grant the required execute or search permission on the directory while keeping access least privileged. For the situation (a user has write permission on files inside a directory but cannot enter the directory to open them by path), which observation would confirm success?

  1. File ownership reports the intended account after the change.
  2. The mode shows owner rw, group r and other no permissions.
  3. The intended user can traverse the directory and open permitted entries.
  4. New files omit the unwanted world-write permission.

Explanation

Correct Answer

C:

The intended user can traverse the directory and open permitted entries. That specific observation verifies the intended change (Grant the required execute or search permission on the directory while keeping access least privileged.) for this situation. For directories, execute permission controls traversal and lookup of entries.

Incorrect Answers

A:

File ownership reports the intended account after the change. That observation would test whether A generated report has the wrong owner after being created by an administrative process. It would not establish the required outcome here, which is the intended user can traverse the directory and open permitted entries.

B:

The mode shows owner rw, group r and other no permissions. That observation would test whether A file containing team notes should allow the owner to read and write, the file's group to read, and others no access. It would not establish the required outcome here, which is the intended user can traverse the directory and open permitted entries.

D:

New files omit the unwanted world-write permission. That observation would test whether A team wants newly created files to avoid world-write access without changing each file manually afterward. It would not establish the required outcome here, which is the intended user can traverse the directory and open permitted entries.

Question 160

A log uses comma-separated fields and a student needs only its third simple field from each line, with no embedded commas or quoting. The chosen response is: Run cut -d ',' -f 3 data.csv. Which Linux principle explains why that response works?

  1. tail selects the end of an input stream or file.
  2. grep -n prints a line number with each selected input line.
  3. A shell pipe connects the standard output of one process to the standard input of another.
  4. cut can select numbered fields separated by a specified single-character delimiter.

Explanation

Correct Answer

D:

cut can select numbered fields separated by a specified single-character delimiter. That mechanism connects the chosen action (Run cut -d ',' -f 3 data.csv) to the stated need. The expected success evidence is: Each output line contains the third comma-delimited field.

Incorrect Answers

A:

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 cut can select numbered fields separated by a specified single-character delimiter.

B:

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 cut can select numbered fields separated by a specified single-character delimiter.

C:

A shell pipe connects the standard output of one process to the standard input of another. That principle applies when a learner wants to count only lines containing FAILED in a text file using two simple commands. Here the decisive reason is that cut can select numbered fields separated by a specified single-character delimiter.

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