cert
cert-1
cert-2

Pass LPI 010-160 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
010-160 Exam - Verified By Experts
010-160 Premium Bundle
$29.98

010-160 Premium Bundle

$79.99
$109.97
  • Premium File 80 Questions & Answers. Last update: Nov 10, 2026
  • Training Course 78 Video Lectures
  • Study Guide 364 Pages
 
$109.97
$79.99
accept 35 downloads in last 7 days
block-screenshots
Purchase LPI 010-160 Exam Training Products Individually
LPI 010-160 Premium File
Premium File 80 Q&A
$76.99$69.99
LPI 010-160 Video Training Course
Training Course 78 Lectures
$21.99 $19.99
LPI 010-160 PDF Study Guide
Study Guide 364 Pages
$21.99 $19.99
LPI 010-160 Practice Test 16

Question 150

A Linux training exercise asks which matching utility can reverse bzip2 compression. Which command or configuration decision is MOST appropriate?

  1. Run `gunzip` as the guaranteed decoder for arbitrary .bz2 data.
  2. Use `bzip2` to compress and `bunzip2` or `bzip2 -d` to decompress.
  3. Use `zip -r files.zip folder/` to create the archive and `unzip files.zip` to extract.
  4. Rename the suffix to .gz without recompressing.

Explanation

Correct Answer

B:

Use `bzip2` to compress and `bunzip2` or `bzip2 -d` to decompress. The same bzip2 compressed streams principle applies in this second case. bzip2 is a compression format distinct from gzip and xz. Success would be shown when the decompressed file matches the original content.

Incorrect Answers

A:

Sending bzip2 data to an unrelated decompressor can cause format errors. For the specified situation, this is not equivalent to use `bzip2` to compress and `bunzip2` or `bzip2 -d` to decompress.

C:

Use `zip -r files.zip folder/` to create the archive and `unzip files.zip` to extract. This instead targets ZIP archives and unzip, not the specific bzip2 compressed streams requirement in the question. The decompressed file matches the original content.

D:

For the specified situation, this is not equivalent to use `bzip2` to compress and `bunzip2` or `bzip2 -d` to decompress.

Question 151

A team needs a service to deliver static pages over HTTP or HTTPS. Which command or configuration decision is MOST appropriate?

  1. Use LibreOffice Writer as a persistent web-server daemon.
  2. Use Firefox to visit HTTPS sites and adjust browser privacy settings as required.
  3. Configure Apache HTTP Server or NGINX as the web-serving application.
  4. Configure Thunderbird as the website listener.

Explanation

Correct Answer

C:

Configure Apache HTTP Server or NGINX as the web-serving application. The same Web servers Apache and NGINX principle applies in this second case. Apache and NGINX provide HTTP server functions rather than graphical client browsing. Success would be shown when an HTTP request returns the configured page from the server.

Incorrect Answers

A:

An email client cannot directly serve the site's HTTP routes. For the specified situation, this is not equivalent to configure Apache HTTP Server or NGINX as the web-serving application.

B:

Use Firefox to visit HTTPS sites and adjust browser privacy settings as required. This instead targets Firefox web browsing, not the specific Web servers Apache and NGINX requirement in the question. An HTTP request returns the configured page from the server.

D:

For the specified situation, this is not equivalent to configure Apache HTTP Server or NGINX as the web-serving application.

Question 152

A user moves a file from `~/Downloads` into a project directory. Which command or configuration decision is MOST appropriate?

  1. Use `cp` and assume the original automatically disappears.
  2. Use `cp -r project project-backup` to copy the directory tree.
  3. Use `mv` with the original and destination paths.
  4. Run `touch` to rename an existing file.

Explanation

Correct Answer

C:

Use `mv` with the original and destination paths. The same mv rename and relocation principle applies in this second case. `mv` renames or relocates filesystem objects rather than duplicating them. Success would be shown when the destination path exists and the original name no longer refers to the same entry.

Incorrect Answers

A:

Use `cp` and assume the original automatically disappears. For the specified situation, this is not equivalent to use `mv` with the original and destination paths. Using `cp` leaves the original behind when a move was required.

B:

The destination path exists and the original name no longer refers to the same entry.

D:

Run `touch` to rename an existing file. For the specified situation, this is not equivalent to use `mv` with the original and destination paths. Using `cp` leaves the original behind when a move was required.

Question 153

An IT team evaluates how software licensing affects reuse and redistribution. Which command or configuration decision is MOST appropriate?

  1. Treat every Windows application as a Linux kernel module.
  2. Review the applicable Linux distribution's open-source licenses alongside proprietary OS terms.
  3. Assume all commercial Linux support contracts convert the kernel to proprietary source.
  4. Plan migration to a supported distribution release before its security maintenance ends.

Explanation

Correct Answer

B:

Review the applicable Linux distribution's open-source licenses alongside proprietary OS terms. The same Linux and proprietary OS licensing models principle applies in this second case. Linux uses many open-source components, but a distribution can also contain separately licensed material. Success would be shown when the team identifies actual reuse and redistribution rights from relevant licenses.

Incorrect Answers

A:

Treat every Windows application as a Linux kernel module. For the specified situation, this is not equivalent to review the applicable Linux distribution's open-source licenses alongside proprietary OS terms. Assuming every installed component has identical license terms gives incorrect compliance decisions.

C:

Assume all commercial Linux support contracts convert the kernel to proprietary source. For the specified situation, this is not equivalent to review the applicable Linux distribution's open-source licenses alongside proprietary OS terms. Assuming every installed component has identical license terms gives incorrect compliance decisions.

D:

Plan migration to a supported distribution release before its security maintenance ends. This instead targets Distribution life cycle versus installed version, not the specific Linux and proprietary OS licensing models requirement in the question. The team identifies actual reuse and redistribution rights from relevant licenses.

Question 154

A trainee wants to calculate the sum of two integer shell variables. Which command or configuration decision is MOST appropriate?

  1. Use arithmetic expansion such as `count=$((count + 1))`.
  2. Enter insert mode with `i`, return with Esc and use `:wq` to write and quit.
  3. Use literal `echo 2+3` expecting shell evaluation.
  4. Use `count=count+1` expecting arithmetic automatically.

Explanation

Correct Answer

A:

Use arithmetic expansion such as `count=$((count + 1))`. The same Bash arithmetic expansion principle applies in this second case. Bash arithmetic expansion evaluates integer expressions rather than concatenating text. Success would be shown when the resulting variable contains the expected integer.

Incorrect Answers

B:

Enter insert mode with `i`, return with Esc and use `:wq` to write and quit. This instead targets vi insert mode and write quit, not the specific Bash arithmetic expansion requirement in the question. The resulting variable contains the expected integer.

C:

Treating `+` as string concatenation can produce the wrong count. For the specified situation, this is not equivalent to use arithmetic expansion such as `count=$((count + 1))`.

D:

For the specified situation, this is not equivalent to use arithmetic expansion such as `count=$((count + 1))`.

Question 155

A Linux utility accesses a block device represented by a device file. Which command or configuration decision is MOST appropriate?

  1. Inspect `/etc` and the service's documented configuration path.
  2. Assume `/dev/null` saves files for later retrieval.
  3. Recognize `/dev` as the directory containing device nodes and related special files.
  4. Treat `/dev/sda` as an editable text README.

Explanation

Correct Answer

C:

Recognize `/dev` as the directory containing device nodes and related special files. The same /dev device nodes principle applies in this second case. Device nodes are interfaces to devices rather than conventional documentation files. Success would be shown when device nodes correspond to available kernel-managed devices or special streams.

Incorrect Answers

A:

Inspect `/etc` and the service's documented configuration path. This instead targets /etc configuration files, not the specific /dev device nodes requirement in the question. Device nodes correspond to available kernel-managed devices or special streams.

B:

Assume `/dev/null` saves files for later retrieval. For the specified situation, this is not equivalent to recognize `/dev` as the directory containing device nodes and related special files. Writing arbitrary data to a block device may overwrite actual storage.

D:

Treat `/dev/sda` as an editable text README. For the specified situation, this is not equivalent to recognize `/dev` as the directory containing device nodes and related special files. Writing arbitrary data to a block device may overwrite actual storage.

Question 156

A trainee asks why the shell finds commands in `/usr/bin` without a full pathname. Which command or configuration decision is MOST appropriate?

  1. Add the executable directory to `PATH` or invoke the executable by its explicit path.
  2. Change `HOME` and assume PATH updates automatically.
  3. Copy the binary name into the shell prompt without a file.
  4. Run `export API_MODE=test` or export an existing variable before launching the child.

Explanation

Correct Answer

A:

Success would be shown when the command resolves to the intended executable from a directory on the search path.

Incorrect Answers

B:

Change `HOME` and assume PATH updates automatically. For the specified situation, this is not equivalent to add the executable directory to `PATH` or invoke the executable by its explicit path. A command outside PATH may require a qualified path.

C:

Copy the binary name into the shell prompt without a file. For the specified situation, this is not equivalent to add the executable directory to `PATH` or invoke the executable by its explicit path. A command outside PATH may require a qualified path.

D:

Run `export API_MODE=test` or export an existing variable before launching the child. This instead targets Exported environment variables, not the specific PATH and command discovery requirement in the question. The command resolves to the intended executable from a directory on the search path.

Question 157

A school schedules OS upgrades and needs to consider vendor maintenance periods. Which command or configuration decision is MOST appropriate?

  1. Plan migration to a supported distribution release before its security maintenance ends.
  2. Avoid release notes and security advisories forever.
  3. Prefer a supported stable release for production and reserve beta builds for testing.
  4. Assume an OS stays supported because it still boots.

Explanation

Correct Answer

A:

Plan migration to a supported distribution release before its security maintenance ends. The same Distribution life cycle versus installed version principle applies in this second case. Distribution life cycles determine when a release receives supported fixes and upgrades. Success would be shown when the chosen release continues to receive applicable vendor security fixes.

Incorrect Answers

B:

Keeping an end-of-life release can expose known defects without standard patches. For the specified situation, this is not equivalent to plan migration to a supported distribution release before its security maintenance ends.

C:

The chosen release continues to receive applicable vendor security fixes.

D:

Keeping an end-of-life release can expose known defects without standard patches. Assume an OS stays supported because it still boots.

Question 158

A report script needs to pass the literal string `*.txt` without shell expansion. Which command or configuration decision is MOST appropriate?

  1. Replace all wildcard patterns with regular expression anchors.
  2. Run `history` in an interactive Bash shell.
  3. Use `*.txt` unquoted for matching filenames and quote it when literal text is intended.
  4. Assume a quoted asterisk always matches every filename.

Explanation

Correct Answer

C:

Use `*.txt` unquoted for matching filenames and quote it when literal text is intended. The same Globbing versus literal pattern principle applies in this second case. Shell globbing occurs before the command runs and quoting controls it. Success would be shown when the unquoted glob expands to matching filenames while the quoted pattern remains literal.

Incorrect Answers

A:

Passing the wrong quoted form can make a command use a literal asterisk as a pathname. For the specified situation, this is not equivalent to use `*.txt` unquoted for matching filenames and quote it when literal text is intended.

B:

The unquoted glob expands to matching filenames while the quoted pattern remains literal.

D:

For the specified situation, this is not equivalent to use `*.txt` unquoted for matching filenames and quote it when literal text is intended.

Question 159

An archive job sets up a new nested output path in one command. Which command or configuration decision is MOST appropriate?

  1. Use `mv` with the original and destination paths.
  2. Run `touch reports/2026/nov` as a directory constructor.
  3. Run `mkdir -p reports/2026/nov` to create missing parents.
  4. Use `rmdir -p` to create missing ancestors.

Explanation

Correct Answer

C:

Run `mkdir -p reports/2026/nov` to create missing parents. The same mkdir -p nested directories principle applies in this second case. `mkdir -p` creates intermediate directories as needed. Success would be shown when each directory component exists after execution without separate manual creation.

Incorrect Answers

A:

Each directory component exists after execution without separate manual creation.

B:

Plain mkdir on the deepest path fails when parents do not exist. For the specified situation, this is not equivalent to run `mkdir -p reports/2026/nov` to create missing parents.

D:

For the specified situation, this is not equivalent to run `mkdir -p reports/2026/nov` to create missing parents.

Question 160

A grep exercise distinguishes `a*` in regular expressions from globbing. Which command or configuration decision is MOST appropriate?

  1. Use `grep 'c*t'` expecting exactly one arbitrary middle character.
  2. Assume `.` in a regex always means a literal dot.
  3. Use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`.
  4. Run `sort file` or pipe records into sort.

Explanation

Correct Answer

C:

Success would be shown when words with any single character in the middle are matched.

Incorrect Answers

A:

Confusing regex star with shell glob star changes the intended matching semantics. For the specified situation, this is not equivalent to use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`.

B:

Confusing regex star with shell glob star changes the intended matching semantics. Assume `.` in a regex always means a literal dot.

D:

Run `sort file` or pipe records into sort. This instead targets sort text records, not the specific Regular-expression dot and repetition requirement in the question. Words with any single character in the middle are matched.

Linux Essentials Certificate Exam, version 1.6 (010-160) Practice Tests