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 26

Question 250

A technician moves a target directory and its relative symbolic links stop resolving. Which command or configuration decision is MOST appropriate?

  1. Run `ln -s target linkname` to create a symbolic link.
  2. Run `chmod 777 link` as a guaranteed way to restore a missing target.
  3. Inspect the symbolic link target and repair or recreate the link with a valid path.
  4. Assume every symbolic link contains a full independent copy of target bytes.

Explanation

Correct Answer

C:

Inspect the symbolic link target and repair or recreate the link with a valid path. The same Dangling symbolic links principle applies in this second case. Symbolic links can dangle when their targets are removed or relocated. Success would be shown when the repaired link resolves to an existing target pathname.

Incorrect Answers

A:

Run `ln -s target linkname` to create a symbolic link. This instead targets Symbolic links with ln -s, not the specific Dangling symbolic links requirement in the question. The repaired link resolves to an existing target pathname.

B:

Repairing permissions alone cannot recover a nonexistent target file. For the specified situation, this is not equivalent to inspect the symbolic link target and repair or recreate the link with a valid path.

D:

Repairing permissions alone cannot recover a nonexistent target file. Assume every symbolic link contains a full independent copy of target bytes.

Question 251

A technician separates DNS failures from transport problems using a query utility. Which command or configuration decision is MOST appropriate?

  1. Check only the disk partitions for DNS answers.
  2. Run `host example.org` or an equivalent DNS lookup query.
  3. Run `ping` as a guaranteed DNS record listing tool.
  4. Inspect `/etc/resolv.conf` or the system's effective resolver configuration.

Explanation

Correct Answer

B:

Run `host example.org` or an equivalent DNS lookup query. The same host DNS name lookup principle applies in this second case. `host` is a DNS lookup utility rather than a packet reachability test. Success would be shown when returned DNS resource data reflects the configured resolver's answer.

Incorrect Answers

A:

Check only the disk partitions for DNS answers. For the specified situation, this is not equivalent to run `host example.org` or an equivalent DNS lookup query. Confusing name resolution with ICMP masks the failing layer.

C:

Run `ping` as a guaranteed DNS record listing tool. For the specified situation, this is not equivalent to run `host example.org` or an equivalent DNS lookup query. Confusing name resolution with ICMP masks the failing layer.

D:

Inspect `/etc/resolv.conf` or the system's effective resolver configuration. This instead targets DNS resolver configuration, not the specific host DNS name lookup requirement in the question. Returned DNS resource data reflects the configured resolver's answer.

Question 252

A class wants a script to report success explicitly when all operations succeed. Which command or configuration decision is MOST appropriate?

  1. Refer to `$1` in the script for the first positional argument.
  2. Use `exit 0` for successful completion and a nonzero exit code for a failure.
  3. Use `exit 1` to indicate unequivocal success.
  4. Print an error message but always force zero status.

Explanation

Correct Answer

B:

Use `exit 0` for successful completion and a nonzero exit code for a failure. The same Exit code on script completion principle applies in this second case. Conventionally zero exit status means success and nonzero signals a problem. Success would be shown when the caller can distinguish success and failure through the process exit status.

Incorrect Answers

A:

Refer to `$1` in the script for the first positional argument. This instead targets Positional command-line arguments, not the specific Exit code on script completion requirement in the question. The caller can distinguish success and failure through the process exit status.

C:

Returning success after a failed critical command can mislead later automation. For the specified situation, this is not equivalent to use `exit 0` for successful completion and a nonzero exit code for a failure.

D:

Returning success after a failed critical command can mislead later automation. Print an error message but always force zero status.

Question 253

A trainee needs only the first five lines of a long CSV file. Which command or configuration decision is MOST appropriate?

  1. Use `head` to guarantee the final log lines.
  2. Use `sort` to read only the newest appended lines.
  3. Use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`.
  4. Use `tail -n 10 log` for the end or `head -n 5 file` for the beginning.

Explanation

Correct Answer

D:

Use `tail -n 10 log` for the end or `head -n 5 file` for the beginning. The same head and tail line selection principle applies in this second case. `head` selects beginning lines and `tail` selects ending lines. Success would be shown when only the requested prefix or suffix lines appear.

Incorrect Answers

A:

Use `head` to guarantee the final log lines. For the specified situation, this is not equivalent to use `tail -n 10 log` for the end or `head -n 5 file` for the beginning. Reversing head and tail returns the wrong part of a file.

B:

Use `sort` to read only the newest appended lines. For the specified situation, this is not equivalent to use `tail -n 10 log` for the end or `head -n 5 file` for the beginning. Reversing head and tail returns the wrong part of a file.

C:

Use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`. This instead targets Regular-expression dot and repetition, not the specific head and tail line selection requirement in the question. Only the requested prefix or suffix lines appear.

Question 254

A student wishes to find a recently issued command without reconstructing it. Which command or configuration decision is MOST appropriate?

  1. Use the shell history facility to inspect and reuse prior commands safely.
  2. Treat guest OS configuration and patching as the user's responsibility within the cloud service model.
  3. Run `rm -rf` to display the command history.
  4. Treat the browser cache as Bash command history.

Explanation

Correct Answer

A:

Use the shell history facility to inspect and reuse prior commands safely. The same Terminal access and shell history principle applies in this second case. Interactive shells can maintain command history but sensitive inputs should not be recorded unnecessarily. Success would be shown when the intended earlier command appears in the interactive shell history.

Incorrect Answers

B:

Treat guest OS configuration and patching as the user's responsibility within the cloud service model. This instead targets Cloud virtual machine responsibilities, not the specific Terminal access and shell history requirement in the question. The intended earlier command appears in the interactive shell history.

C:

Run `rm -rf` to display the command history. For the specified situation, this is not equivalent to use the shell history facility to inspect and reuse prior commands safely. Mistaking command history for permanent secure audit storage gives incomplete evidence.

D:

Treat the browser cache as Bash command history. For the specified situation, this is not equivalent to use the shell history facility to inspect and reuse prior commands safely. Mistaking command history for permanent secure audit storage gives incomplete evidence.

Question 255

A script filters a log and sends those results to a count command. Which command or configuration decision is MOST appropriate?

  1. Use `>` between commands to execute a pipe.
  2. Run `wc -l file` and interpret its newline-count semantics.
  3. Use `&&` expecting filtered text to become standard input.
  4. Run a pipeline such as `grep 'failed' log | wc -l`.

Explanation

Correct Answer

D:

Run a pipeline such as `grep 'failed' log | wc -l`. The same Pipes connecting commands principle applies in this second case. `|` passes one command's standard output to the next command's standard input. Success would be shown when the count reflects only the lines sent from grep through the pipe.

Incorrect Answers

A:

Running commands separately without connecting streams does not build the same pipeline. For the specified situation, this is not equivalent to run a pipeline such as `grep 'failed' log | wc -l`.

B:

Run `wc -l file` and interpret its newline-count semantics. This instead targets wc line counting, not the specific Pipes connecting commands requirement in the question. The count reflects only the lines sent from grep through the pipe.

C:

Running commands separately without connecting streams does not build the same pipeline. Use `&&` expecting filtered text to become standard input.

Question 256

A mobile-team discussion asks why Android is called Linux-based despite different user applications. Which command or configuration decision is MOST appropriate?

  1. Choose an Ubuntu LTS release and check its supported maintenance dates.
  2. Explain that Android uses the Linux kernel with an Android-specific userspace and application framework.
  3. Assume every GNU/Linux desktop binary runs unchanged as an Android app.
  4. Claim Android relies on the Windows NT kernel.

Explanation

Correct Answer

B:

Explain that Android uses the Linux kernel with an Android-specific userspace and application framework. The same Android Linux kernel relationship principle applies in this second case. Kernel lineage does not require Android to use a conventional GNU desktop userspace. Success would be shown when the architecture identifies a Linux kernel underneath Android system services.

Incorrect Answers

A:

Choose an Ubuntu LTS release and check its supported maintenance dates. This instead targets Ubuntu long-term support releases, not the specific Android Linux kernel relationship requirement in the question. The architecture identifies a Linux kernel underneath Android system services.

C:

Assume every GNU/Linux desktop binary runs unchanged as an Android app. For the specified situation, this is not equivalent to explain that Android uses the Linux kernel with an Android-specific userspace and application framework. Treating the Android UI as a standard Linux desktop misstates application compatibility.

D:

Claim Android relies on the Windows NT kernel. For the specified situation, this is not equivalent to explain that Android uses the Linux kernel with an Android-specific userspace and application framework. Treating the Android UI as a standard Linux desktop misstates application compatibility.

Question 257

A trainee wants to list local listening TCP sockets on Linux. Which command or configuration decision is MOST appropriate?

  1. Use `ip addr show` expecting all listening TCP port details.
  2. Run `ss -ltn` and inspect the expected port and bound address.
  3. Run `ping` against the intended IP or hostname where ICMP is allowed.
  4. Run `route` to list process socket states.

Explanation

Correct Answer

B:

Run `ss -ltn` and inspect the expected port and bound address. The same ss listening sockets principle applies in this second case. A listening socket is necessary for incoming TCP service connections but firewall routing may also matter. Success would be shown when the service's TCP listening socket appears with the intended local address.

Incorrect Answers

A:

Checking only IP assignment does not prove an application is listening. For the specified situation, this is not equivalent to run `ss -ltn` and inspect the expected port and bound address.

C:

Run `ping` against the intended IP or hostname where ICMP is allowed. This instead targets ping reachability testing, not the specific ss listening sockets requirement in the question. The service's TCP listening socket appears with the intended local address.

D:

For the specified situation, this is not equivalent to run `ss -ltn` and inspect the expected port and bound address.

Question 258

A technician plans a Linux host and must distinguish processor and RAM roles. Which command or configuration decision is MOST appropriate?

  1. Treat an SSD as equivalent to RAM in speed and function.
  2. Use a monitor resolution setting to increase CPU cores.
  3. Identify the USB storage block device and its mounted filesystem before copying data.
  4. Diagnose CPU capacity for computation and RAM capacity for active working data.

Explanation

Correct Answer

D:

Diagnose CPU capacity for computation and RAM capacity for active working data. The same CPU and RAM responsibilities principle applies in this second case. CPU executes instructions while RAM holds data and program state in use. Success would be shown when monitoring shows processor utilization and memory availability separately.

Incorrect Answers

A:

Replacing storage alone does not necessarily remedy insufficient working memory. For the specified situation, this is not equivalent to diagnose CPU capacity for computation and RAM capacity for active working data.

B:

Replacing storage alone does not necessarily remedy insufficient working memory. Use a monitor resolution setting to increase CPU cores.

C:

Identify the USB storage block device and its mounted filesystem before copying data. This instead targets Removable USB block storage, not the specific CPU and RAM responsibilities requirement in the question. Monitoring shows processor utilization and memory availability separately.

Question 259

A student must count log lines without printing every entry. Which command or configuration decision is MOST appropriate?

  1. Use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`.
  2. Use `sort` alone as a numerical line-count tool.
  3. Use `wc -c` to count lines.
  4. Run `wc -l file` and interpret its newline-count semantics.

Explanation

Correct Answer

D:

Run `wc -l file` and interpret its newline-count semantics. The same wc line counting principle applies in this second case. `wc -l` counts newline characters rather than all byte or word units. Success would be shown when the output reports the number of newline terminators in the input.

Incorrect Answers

A:

Use a quoted regular expression with `.` for any one character, such as `grep 'c.t' file`. This instead targets Regular-expression dot and repetition, not the specific wc line counting requirement in the question. The output reports the number of newline terminators in the input.

B:

Using word count can misrepresent a line-oriented record count. For the specified situation, this is not equivalent to run `wc -l file` and interpret its newline-count semantics.

C:

For the specified situation, this is not equivalent to run `wc -l file` and interpret its newline-count semantics.

Question 260

A team moves a service onto an RPM-family host and must select compatible packages. Which command or configuration decision is MOST appropriate?

  1. Use RPM-family packages and the distribution's supported DNF or YUM repository manager.
  2. Use apt-get and .deb files as the universal RHEL workflow.
  3. Select a supported Linux distribution image for the cloud VM and configure its required applications.
  4. Rename a .deb archive to .rpm to convert its format.

Explanation

Correct Answer

A:

Use RPM-family packages and the distribution's supported DNF or YUM repository manager. The same Red Hat enterprise package family principle applies in this second case. Red Hat-family distributions commonly use RPM packages rather than Debian .deb packages. Success would be shown when installed package metadata and repository updates show packages from the RPM-compatible ecosystem.

Incorrect Answers

B:

Debian-only package tools do not implement the host's supported RPM repository workflow. For the specified situation, this is not equivalent to use RPM-family packages and the distribution's supported DNF or YUM repository manager.

C:

Select a supported Linux distribution image for the cloud VM and configure its required applications. This instead targets Linux in hosted cloud systems, not the specific Red Hat enterprise package family requirement in the question. Installed package metadata and repository updates show packages from the RPM-compatible ecosystem.

D:

Debian-only package tools do not implement the host's supported RPM repository workflow. Rename a .deb archive to .rpm to convert its format.

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