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 24

Question 230

A newly attached peripheral appears physically connected but no usable device interface is exposed by the system. The chosen response is: Install or load a compatible device driver and verify kernel detection. Which Linux principle explains why that response works?

  1. RAM is generally volatile working memory; disk and flash storage retain data without power.
  2. Device drivers allow the kernel to communicate with supported peripherals.
  3. Processors execute machine instructions defined by their supported architecture.
  4. Solid-state storage avoids the mechanical seek latency characteristic of spinning disks.

Explanation

Correct Answer

B:

Device drivers allow the kernel to communicate with supported peripherals. That mechanism connects the chosen action (Install or load a compatible device driver and verify kernel detection) to the stated need. The expected success evidence is: The peripheral becomes visible through the expected Linux device interface.

Incorrect Answers

A:

RAM is generally volatile working memory; disk and flash storage retain data without power. That principle applies when a user expects adding volatile RAM to permanently store documents across power loss. Here the decisive reason is that device drivers allow the kernel to communicate with supported peripherals.

C:

Processors execute machine instructions defined by their supported architecture. That principle applies when a student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. Here the decisive reason is that device drivers allow the kernel to communicate with supported peripherals.

D:

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 device drivers allow the kernel to communicate with supported peripherals.

Question 231

A student has a text file containing repeated names and wants a lexically sorted unique list. Which command, configuration choice, or action best addresses this situation?

  1. Use grep -i 'error' logfile to search case-insensitively.
  2. Pipe the matching lines from grep 'FAILED' file.txt into wc -l.
  3. Run sort -u names.txt.
  4. Run cut -d ',' -f 3 data.csv.

Explanation

Correct Answer

C:

Run sort -u names.txt. It addresses the stated requirement: A student has a text file containing repeated names and wants a lexically sorted unique list. The underlying reason is that sort -u sorts input lines and emits one copy of each distinct line under its comparison rules.

Incorrect Answers

A:

Use grep -i 'error' logfile to search case-insensitively. That action is relevant when a technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. For the current case, the fitting action is run sort -u names.txt.

B:

Pipe the matching lines from grep 'FAILED' file.txt into wc -l. That action is relevant when a learner wants to count only lines containing FAILED in a text file using two simple commands. For the current case, the fitting action is run sort -u names.txt.

D:

Run cut -d ',' -f 3 data.csv. That action is relevant 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. For the current case, the fitting action is run sort -u names.txt.

Question 232

Consider this unresolved requirement: A programmer wants to inspect the kernel's live process information interface for a particular PID. What is its most direct operational or security risk?

  1. Assuming devices are ordinary user documents can cause incorrect file operations.
  2. Guessing which process is running can lead to troubleshooting or terminating the wrong program.
  3. Confusing total memory with immediately free memory can cause false capacity conclusions.
  4. Treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit.

Explanation

Correct Answer

D:

Treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit. The proc virtual filesystem exposes kernel and process data dynamically.

Incorrect Answers

A:

Assuming devices are ordinary user documents can cause incorrect file operations. That risk arises when a learner must identify where device nodes such as /dev/null and block-device entries are represented. The current unresolved condition instead creates the risk that treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit.

B:

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 treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit.

C:

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 treating /proc as a permanent file archive can yield stale or missing assumptions after processes exit.

Question 233

A learner performs this action: Use grep -i 'error' logfile to search case-insensitively. For the situation (a technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error), which observation would confirm success?

  1. Lines containing any letter-case variant of error are returned.
  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

A:

Lines containing any letter-case variant of error are returned. That specific observation verifies the intended change (Use grep -i 'error' logfile to search case-insensitively.) for this situation. grep -i ignores case distinctions during text matching.

Incorrect Answers

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 lines containing any letter-case variant of error are returned.

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 lines containing any letter-case variant of error are returned.

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 lines containing any letter-case variant of error are returned.

Question 234

Several students share /tmp and must not be able to delete each other's files merely because the directory is world writable. The chosen response is: Ensure the shared temporary directory has the sticky bit with appropriate normal directory permissions. Which Linux principle explains why that response works?

  1. umask removes specified permission bits from the creation mode used for new filesystem entries.
  2. The sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users.
  3. The -m option directs useradd to create a home directory on systems using that tool.
  4. For directories, execute permission controls traversal and lookup of entries.

Explanation

Correct Answer

B:

The sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users. That mechanism connects the chosen action (Ensure the shared temporary directory has the sticky bit with appropriate normal directory permissions) to the stated need. The expected success evidence is: Users can create their own temporary entries but generally cannot remove other users' entries.

Incorrect Answers

A:

umask removes specified permission bits from the creation mode used for new filesystem entries. That principle applies when a team wants newly created files to avoid world-write access without changing each file manually afterward. Here the decisive reason is that the sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users.

C:

The -m option directs useradd to create a home directory on systems using that tool. That principle applies when a new staff account must have a home directory created when its user is provisioned. Here the decisive reason is that the sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users.

D:

For directories, execute permission controls traversal and lookup of entries. That principle applies when a user has write permission on files inside a directory but cannot enter the directory to open them by path. Here the decisive reason is that the sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users.

Question 235

A learner performs this action: Grant the owner execute permission with chmod u+x script.sh when appropriate. For the situation (a trainee wrote a correct Bash script file but the shell says permission denied when attempting direct execution), which observation would confirm success?

  1. Executing the script directly uses the Bash interpreter specified by the shebang.
  2. The script opens in the terminal editor and can be saved after edits.
  3. The script becomes executable directly by its permitted owner.
  4. A filename containing spaces remains one argument in the invoked command.

Explanation

Correct Answer

C:

The script becomes executable directly by its permitted owner. That specific observation verifies the intended change (Grant the owner execute permission with chmod u+x script.sh when appropriate.) for this situation. Filesystem execute permission is required for direct execution of a script path.

Incorrect Answers

A:

Executing the script directly uses the Bash interpreter specified by the shebang. That observation would test whether A simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. It would not establish the required outcome here, which is the script becomes executable directly by its permitted owner.

B:

The script opens in the terminal editor and can be saved after edits. That observation would test whether A learner must make a quick edit to a shell script using a terminal-based editor with on-screen shortcut hints. It would not establish the required outcome here, which is the script becomes executable directly by its permitted owner.

D:

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 becomes executable directly by its permitted owner.

Question 236

A learner performs this action: Use the command-line shell for remote or local administration without requiring a desktop environment. For the situation (a server has no graphical desktop installed, yet a user assumes it cannot be administered at all), which observation would confirm success?

  1. The peripheral becomes visible through the expected Linux device interface.
  2. The screen refreshes with process usage values as the workload changes.
  3. Random file reads and application startup generally improve under the new storage device.
  4. Administrative file and process tasks work through the terminal session.

Explanation

Correct Answer

D:

Administrative file and process tasks work through the terminal session. That specific observation verifies the intended change (Use the command-line shell for remote or local administration without requiring a desktop environment.) for this situation. Linux systems can operate with a command-line interface without a graphical desktop.

Incorrect Answers

A:

The peripheral becomes visible through the expected Linux device interface. That observation would test whether A newly attached peripheral appears physically connected but no usable device interface is exposed by the system. It would not establish the required outcome here, which is administrative file and process tasks work through the terminal session.

B:

The screen refreshes with process usage values as the workload changes. That observation would test whether A user wants a continuously updating view of high CPU-consuming processes during an intermittent slowdown. It would not establish the required outcome here, which is administrative file and process tasks work through the terminal session.

C:

Random file reads and application startup generally improve under the new storage device. That observation would test whether A laptop must reduce application load times and improve random disk access without changing the CPU. It would not establish the required outcome here, which is administrative file and process tasks work through the terminal session.

Question 237

Consider this unresolved requirement: A program writes many lines and a user needs to inspect only the final ten lines of its output log. What is its most direct operational or security risk?

  1. Printing the entire log can bury the most recent messages in older output.
  2. Finding text without its position can slow precise configuration edits.
  3. Using output redirection into wc -l incorrectly may overwrite a file instead of passing a stream.
  4. A case-sensitive search can undercount the relevant failures.

Explanation

Correct Answer

A:

Printing the entire log can bury the most recent messages in older output. tail selects the end of an input stream or file.

Incorrect Answers

B:

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 printing the entire log can bury the most recent messages in older output.

C:

Using output redirection into wc -l incorrectly may overwrite a file instead of passing a stream. That risk arises when a learner wants to count only lines containing FAILED in a text file using two simple commands. The current unresolved condition instead creates the risk that printing the entire log can bury the most recent messages in older output.

D:

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 printing the entire log can bury the most recent messages in older output.

Question 238

A technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. Which command, configuration choice, or action best addresses this situation?

  1. Use grep -n 'listen' configfile to prefix matching lines with line numbers.
  2. Use grep -i 'error' logfile to search case-insensitively.
  3. Run tail -n 10 logfile.
  4. Pipe the matching lines from grep 'FAILED' file.txt into wc -l.

Explanation

Correct Answer

B:

Use grep -i 'error' logfile to search case-insensitively. It addresses the stated requirement: A technician must find case-insensitive occurrences of ERROR in a log, even when messages contain error or Error. The underlying reason is that grep -i ignores case distinctions during text matching.

Incorrect Answers

A:

Use grep -n 'listen' configfile to prefix matching lines with line numbers. That action is relevant when a trainee needs the line numbers of configuration lines that contain the text listen. For the current case, the fitting action is use grep -i 'error' logfile to search case-insensitively.

C:

Run tail -n 10 logfile. That action is relevant when a program writes many lines and a user needs to inspect only the final ten lines of its output log. For the current case, the fitting action is use grep -i 'error' logfile to search case-insensitively.

D:

Pipe the matching lines from grep 'FAILED' file.txt into wc -l. That action is relevant when a learner wants to count only lines containing FAILED in a text file using two simple commands. For the current case, the fitting action is use grep -i 'error' logfile to search case-insensitively.

Question 239

Consider this unresolved requirement: An operator needs to create a tar archive of source files without compression because a later tool requires plain tar. What is its most direct operational or security risk?

  1. Assuming compression necessarily preserves a second original file can cause data-handling mistakes.
  2. Archiving without the correct input path can produce an incomplete backup.
  3. Accidentally adding compression can make a plain-tar consumer reject the input.
  4. Blind extraction can create unwanted paths or overwrite files.

Explanation

Correct Answer

C:

Accidentally adding compression can make a plain-tar consumer reject the input. tar can combine filesystem entries into an archive independently of compression tools.

Incorrect Answers

A:

Assuming compression necessarily preserves a second original file can cause data-handling mistakes. That risk arises when a student has a single large plain-text log and needs gzip compression, not a multi-file tar bundle. The current unresolved condition instead creates the risk that accidentally adding compression can make a plain-tar consumer reject the input.

B:

Archiving without the correct input path can produce an incomplete backup. That risk arises when a support agent must package a directory into one compressed tar.gz archive while retaining the original files. The current unresolved condition instead creates the risk that accidentally adding compression can make a plain-tar consumer reject the input.

D:

Blind extraction can create unwanted paths or overwrite files. That risk arises when a user downloads a ZIP archive and wants to inspect its member names before choosing an extraction directory. The current unresolved condition instead creates the risk that accidentally adding compression can make a plain-tar consumer reject the input.

Question 240

A learner performs this action: Ensure the shared temporary directory has the sticky bit with appropriate normal directory permissions. For the situation (several students share /tmp and must not be able to delete each other's files merely because the directory is world writable), which observation would confirm success?

  1. The intended user can traverse the directory and open permitted entries.
  2. The mode shows owner rw, group r and other no permissions.
  3. Account entries show usernames and UID-related fields without exposing normal password hashes.
  4. Users can create their own temporary entries but generally cannot remove other users' entries.

Explanation

Correct Answer

D:

Users can create their own temporary entries but generally cannot remove other users' entries. That specific observation verifies the intended change (Ensure the shared temporary directory has the sticky bit with appropriate normal directory permissions.) for this situation. The sticky bit on a directory restricts removal and renaming of contained entries to authorized owners or privileged users.

Incorrect Answers

A:

The intended user can traverse the directory and open permitted entries. That observation would test whether A user has write permission on files inside a directory but cannot enter the directory to open them by path. It would not establish the required outcome here, which is users can create their own temporary entries but generally cannot remove other users' 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 users can create their own temporary entries but generally cannot remove other users' entries.

C:

Account entries show usernames and UID-related fields without exposing normal password hashes. That observation would test whether A student inspects /etc/passwd and mistakes its contents for the location of ordinary password hashes. It would not establish the required outcome here, which is users can create their own temporary entries but generally cannot remove other users' entries.

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