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 15

Question 140

A learner performs this action: Run tar -czf bundle.tar.gz directory/ from the appropriate parent. For the situation (a support agent must package a directory into one compressed tar.gz archive while retaining the original files), which observation would confirm success?

  1. The resulting .tar contains the source tree and is not gzip- or xz-compressed.
  2. The expected directory tree appears after extraction.
  3. The archive listing shows filenames and sizes without extracting the contents.
  4. The resulting bundle.tar.gz lists the expected directory contents and the source remains available.

Explanation

Correct Answer

D:

The resulting bundle.tar.gz lists the expected directory contents and the source remains available. That specific observation verifies the intended change (Run tar -czf bundle.tar.gz directory/ from the appropriate parent.) for this situation. tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

Incorrect Answers

A:

The resulting .tar contains the source tree and is not gzip- or xz-compressed. That observation would test whether An operator needs to create a tar archive of source files without compression because a later tool requires plain tar. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

B:

The expected directory tree appears after extraction. That observation would test whether A learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

C:

The archive listing shows filenames and sizes without extracting the contents. That observation would test whether A user downloads a ZIP archive and wants to inspect its member names before choosing an extraction directory. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

Question 141

A student needs to create a zero-byte marker file or update an existing file's modification timestamp without editing its contents. The chosen response is: Run touch marker.txt on the target file. Which Linux principle explains why that response works?

  1. touch creates an empty file if absent and updates timestamps on existing files.
  2. mkdir -p creates required parent directories if they do not yet exist.
  3. mv changes a file's directory entry or moves it to another path.
  4. cp -r recursively copies directory entries.

Explanation

Correct Answer

A:

touch creates an empty file if absent and updates timestamps on existing files. That mechanism connects the chosen action (Run touch marker.txt on the target file) to the stated need. The expected success evidence is: A missing marker file is created, or an existing one receives an updated timestamp without content changes.

Incorrect Answers

B:

mkdir -p creates required parent directories if they do not yet exist. That principle applies when a learner must create /home/alex/work/week1/reports although intermediate work folders do not yet exist. Here the decisive reason is that touch creates an empty file if absent and updates timestamps on existing files.

C:

mv changes a file's directory entry or moves it to another path. That principle applies when a user wants to rename notes-old.txt to notes-new.txt within the same directory. Here the decisive reason is that touch creates an empty file if absent and updates timestamps on existing files.

D:

cp -r recursively copies directory entries. That principle applies when a student must copy an entire directory named reports into an archive directory while preserving the original directory. Here the decisive reason is that touch creates an empty file if absent and updates timestamps on existing files.

Question 142

A user wants a continuously updating view of high CPU-consuming processes during an intermittent slowdown. Which command, configuration choice, or action best addresses this situation?

  1. Run ps with options appropriate to the desired process scope.
  2. Run top and inspect the displayed process CPU usage.
  3. Read permitted information under /proc/<PID>/ for the running process.
  4. Run free -h to display memory statistics.

Explanation

Correct Answer

B:

Run top and inspect the displayed process CPU usage. It addresses the stated requirement: A user wants a continuously updating view of high CPU-consuming processes during an intermittent slowdown. The underlying reason is that top provides an interactive periodically refreshed process and resource summary.

Incorrect Answers

A:

Run ps with options appropriate to the desired process scope. That action is relevant when a technician needs a snapshot of currently running processes and their process identifiers. For the current case, the fitting action is run top and inspect the displayed process CPU usage.

C:

Read permitted information under /proc/<PID>/ for the running process. That action is relevant when a programmer wants to inspect the kernel's live process information interface for a particular PID. For the current case, the fitting action is run top and inspect the displayed process CPU usage.

D:

Run free -h to display memory statistics. That action is relevant when a support engineer needs to inspect used and available system memory in human-readable units. For the current case, the fitting action is run top and inspect the displayed process CPU usage.

Question 143

A user inside /home/alex/projects needs to return to their own home directory without typing the username. The chosen response is: Run cd ~ or simply cd in Bash. Which Linux principle explains why that response works?

  1. The long listing option -l presents additional file metadata.
  2. ls -R recursively descends through listed directories and prints nested entries.
  3. The tilde expansion commonly resolves to the current user's home directory in Bash.
  4. ls -a includes filenames whose names start with a dot.

Explanation

Correct Answer

C:

The tilde expansion commonly resolves to the current user's home directory in Bash. That mechanism connects the chosen action (Run cd ~ or simply cd in Bash) to the stated need. The expected success evidence is: The working directory changes to the invoking user's home directory.

Incorrect Answers

A:

The long listing option -l presents additional file metadata. That principle applies when a technician needs file ownership, permissions and modification details instead of filenames alone. Here the decisive reason is that the tilde expansion commonly resolves to the current user's home directory in Bash.

B:

ls -R recursively descends through listed directories and prints nested entries. That principle applies when a learner needs to list a directory tree including entries inside nested subdirectories. Here the decisive reason is that the tilde expansion commonly resolves to the current user's home directory in Bash.

D:

ls -a includes filenames whose names start with a dot. That principle applies when a student cannot see a file named .config-note in an ordinary ls listing of a directory. Here the decisive reason is that the tilde expansion commonly resolves to the current user's home directory in Bash.

Question 144

A student needs the detailed reference page for the standard ls command, including its options. Which command, configuration choice, or action best addresses this situation?

  1. Refresh the locate database using the system's supported update procedure or use find for a live filesystem search.
  2. Try info coreutils to browse the installed GNU Info manuals.
  3. Invoke the program with --help if it supports that convention.
  4. Run man ls and search within its manual page.

Explanation

Correct Answer

D:

Run man ls and search within its manual page. It addresses the stated requirement: A student needs the detailed reference page for the standard ls command, including its options. The underlying reason is that man displays installed manual pages organized by command and topic.

Incorrect Answers

A:

Refresh the locate database using the system's supported update procedure or use find for a live filesystem search. That action is relevant when a learner uses locate to find a filename but notices a newly created file is absent from results. For the current case, the fitting action is run man ls and search within its manual page.

B:

Try info coreutils to browse the installed GNU Info manuals. That action is relevant when a learner sees a GNU command with extensive tutorial-style documentation not fully covered in its short help summary. For the current case, the fitting action is run man ls and search within its manual page.

C:

Invoke the program with --help if it supports that convention. That action is relevant when a user needs a quick reminder of a program's supported flags without opening a full manual page. For the current case, the fitting action is run man ls and search within its manual page.

Question 145

Consider this unresolved requirement: A learner tries to display a value with echo but accidentally places a command name in a shell redirection expression. What is its most direct operational or security risk?

  1. Confusing output arguments with redirection operators can overwrite files instead of displaying values.
  2. A variable left only in the shell's local context may be unavailable to child processes.
  3. Misconfigured PATH lookup can prevent expected commands from launching or accidentally select an unintended binary.
  4. Assuming every command resolves through PATH can lead to incorrect debugging of shell builtins.

Explanation

Correct Answer

A:

Confusing output arguments with redirection operators can overwrite files instead of displaying values. echo writes its arguments to standard output, which the shell can separately redirect.

Incorrect Answers

B:

A variable left only in the shell's local context may be unavailable to child processes. That risk arises when a locally assigned Bash variable must be inherited by a child process started from the same shell. The current unresolved condition instead creates the risk that confusing output arguments with redirection operators can overwrite files instead of displaying values.

C:

Misconfigured PATH lookup can prevent expected commands from launching or accidentally select an unintended binary. That risk arises when a user types a command name and the shell cannot find it even though an executable exists in an unlisted directory. The current unresolved condition instead creates the risk that confusing output arguments with redirection operators can overwrite files instead of displaying values.

D:

Assuming every command resolves through PATH can lead to incorrect debugging of shell builtins. That risk arises when a script author wants to determine whether a command word such as cd resolves to a shell builtin or an external program. The current unresolved condition instead creates the risk that confusing output arguments with redirection operators can overwrite files instead of displaying values.

Question 146

A standard user needs to run one approved administrative command without switching the entire interactive session to root. Which command, configuration choice, or action best addresses this situation?

  1. Use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow.
  2. Run the authorized command through sudo according to local policy.
  3. Run who to display logged-in session records.
  4. Run last to inspect recorded prior login events.

Explanation

Correct Answer

B:

Run the authorized command through sudo according to local policy. It addresses the stated requirement: A standard user needs to run one approved administrative command without switching the entire interactive session to root. The underlying reason is that sudo can authorize and audit individual commands under another account's privileges.

Incorrect Answers

A:

Use /etc/passwd to inspect account identity fields and recognize that hashes are normally held separately in /etc/shadow. That action is relevant when a student inspects /etc/passwd and mistakes its contents for the location of ordinary password hashes. For the current case, the fitting action is run the authorized command through sudo according to local policy.

C:

Run who to display logged-in session records. That action is relevant when a user needs to identify which accounts currently have active login sessions on a shared Linux system. For the current case, the fitting action is run the authorized command through sudo according to local policy.

D:

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 run the authorized command through sudo according to local policy.

Question 147

A user has an already downloaded Debian package and needs to install that local file without looking up a repository package by name. Which command, configuration choice, or action best addresses this situation?

  1. Install a supported MariaDB database server and create the application's database.
  2. Configure NGINX as the web server and reverse proxy for the site.
  3. Run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager.
  4. Install LibreOffice and use its Writer and Calc applications.

Explanation

Correct Answer

C:

Run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager. It addresses the stated requirement: A user has an already downloaded Debian package and needs to install that local file without looking up a repository package by name. The underlying reason is that dpkg directly handles Debian package files while apt typically manages repository resolution and dependency installation.

Incorrect Answers

A:

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 run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager.

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 run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager.

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 run dpkg -i on the local .deb file and resolve any missing dependencies through the package manager.

Question 148

A developer wants to run a Linux service in a cloud virtual machine and assumes the guest cannot be Linux because the physical host is shared. The chosen response is: Select a supported Linux guest image for the cloud virtual machine. Which Linux principle explains why that response works?

  1. LTS designates Ubuntu releases with longer support commitments than interim releases.
  2. Ubuntu derives its packaging conventions from Debian and commonly uses apt with dpkg packages.
  3. Single-board computers require distributions and kernel builds compatible with their hardware architecture.
  4. Virtualization allows a guest operating system such as Linux to run on virtualized compute resources.

Explanation

Correct Answer

D:

Virtualization allows a guest operating system such as Linux to run on virtualized compute resources. That mechanism connects the chosen action (Select a supported Linux guest image for the cloud virtual machine) to the stated need. The expected success evidence is: The instance boots and identifies a Linux operating system independently of neighboring guest workloads.

Incorrect Answers

A:

LTS designates Ubuntu releases with longer support commitments than interim releases. That principle applies when a small organization needs a stable Ubuntu desktop release with a predictable period of updates, not a short-lived experimental release. Here the decisive reason is that virtualization allows a guest operating system such as Linux to run on virtualized compute resources.

B:

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 virtualization allows a guest operating system such as Linux to run on virtualized compute resources.

C:

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 virtualization allows a guest operating system such as Linux to run on virtualized compute resources.

Question 149

A learner performs this action: Run ls -R on the target directory. For the situation (a learner needs to list a directory tree including entries inside nested subdirectories), which observation would confirm success?

  1. Files from the nested folders appear under their respective directory headings.
  2. The working directory changes to the invoking user's home directory.
  3. The shell's working directory becomes /etc.
  4. The listing includes dot-prefixed entries such as .config-note.

Explanation

Correct Answer

A:

Files from the nested folders appear under their respective directory headings. That specific observation verifies the intended change (Run ls -R on the target directory.) for this situation. ls -R recursively descends through listed directories and prints nested entries.

Incorrect Answers

B:

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 files from the nested folders appear under their respective directory headings.

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 files from the nested folders appear under their respective directory headings.

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 files from the nested folders appear under their respective directory headings.

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.

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