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 10

Question 90

A developer wants to ask DNS for the addresses associated with a domain. Which action BEST accomplishes the stated Linux task?

  1. Check only the disk partitions for DNS answers.
  2. Use `free` to retrieve nameserver records.
  3. Run `ping` as a guaranteed DNS record listing tool.
  4. Run `host example.org` or an equivalent DNS lookup query.

Explanation

Correct Answer

D:

Run `host example.org` or an equivalent DNS lookup query. `host` is a DNS lookup utility rather than a packet reachability test. To confirm completion, returned DNS resource data reflects the configured resolver's answer.

Incorrect Answers

A:

Check only the disk partitions for DNS answers. It does not meet the requirement in this case: A developer wants to ask DNS for the addresses associated with a domain. `host` is a DNS lookup utility rather than a packet reachability test.

B:

Use `free` to retrieve nameserver records. It would not produce the expected result: Returned DNS resource data reflects the configured resolver's answer. The named operation concerns host DNS name lookup.

C:

Run `ping` as a guaranteed DNS record listing tool. This changes the workflow in the wrong way for host DNS name lookup. Confusing name resolution with ICMP masks the failing layer. For this task the appropriate operation is to run `host example.org` or an equivalent DNS lookup query.

Question 91

A trainee must duplicate a report while keeping its original. Which action BEST accomplishes the stated Linux task?

  1. Use `cp draft.txt review.txt` when source and destination are regular files.
  2. Use `rm draft.txt` to preserve the source.
  3. Run `mv draft.txt review.txt` expecting both names to remain.
  4. Run `rmdir draft.txt` to copy a file.

Explanation

Correct Answer

A:

Use `cp draft.txt review.txt` when source and destination are regular files. `cp` duplicates data rather than renaming or removing the source. To confirm completion, both the original and destination paths are present with copied data.

Incorrect Answers

B:

Use `rm draft.txt` to preserve the source. It does not meet the requirement in this case: A trainee must duplicate a report while keeping its original. `cp` duplicates data rather than renaming or removing the source.

C:

Run `mv draft.txt review.txt` expecting both names to remain. This changes the workflow in the wrong way for cp regular file. Using move semantics would remove the original pathname. For this task the appropriate operation is to use `cp draft.txt review.txt` when source and destination are regular files.

D:

Run `rmdir draft.txt` to copy a file. It would not produce the expected result: Both the original and destination paths are present with copied data. The named operation concerns cp regular file.

Question 92

A script is readable but not marked executable, and a user wants to run it explicitly. Which action BEST accomplishes the stated Linux task?

  1. Use `chmod -r` as the method for making a script runnable.
  2. Invoke `bash script.sh` to have Bash read the script when permitted.
  3. Run `echo script.sh` expecting the script to execute.
  4. Use `./script.sh` and assume executable permissions are never checked.

Explanation

Correct Answer

B:

Invoke `bash script.sh` to have Bash read the script when permitted. Explicit interpreter invocation does not require the script file's executable bit, only readable content. To confirm completion, the Bash process executes the script contents.

Incorrect Answers

A:

Use `chmod -r` as the method for making a script runnable. It would not produce the expected result: The Bash process executes the script contents. The named operation concerns Script invocation via bash.

C:

Run `echo script.sh` expecting the script to execute. It does not meet the requirement in this case: A script is readable but not marked executable, and a user wants to run it explicitly. Explicit interpreter invocation does not require the script file's executable bit, only readable content.

D:

Use `./script.sh` and assume executable permissions are never checked. This changes the workflow in the wrong way for Script invocation via bash. Confusing direct `./script.sh` execution with `bash script.sh` changes permission requirements. For this task the appropriate operation is to invoke `bash script.sh` to have Bash read the script when permitted.

Question 93

A class compares Linux distributions with typical proprietary desktop operating systems. Which action BEST accomplishes the stated Linux task?

  1. Assume all commercial Linux support contracts convert the kernel to proprietary source.
  2. Conclude all Linux distributions are freely supported forever.
  3. Review the applicable Linux distribution's open-source licenses alongside proprietary OS terms.
  4. Treat every Windows application as a Linux kernel module.

Explanation

Correct Answer

C:

Review the applicable Linux distribution's open-source licenses alongside proprietary OS terms. Linux uses many open-source components, but a distribution can also contain separately licensed material. To confirm completion, the team identifies actual reuse and redistribution rights from relevant licenses.

Incorrect Answers

A:

This changes the workflow in the wrong way for Linux and proprietary OS licensing models.

B:

Conclude all Linux distributions are freely supported forever. It would not produce the expected result: The team identifies actual reuse and redistribution rights from relevant licenses. The named operation concerns Linux and proprietary OS licensing models.

D:

Treat every Windows application as a Linux kernel module. It does not meet the requirement in this case: A class compares Linux distributions with typical proprietary desktop operating systems. Linux uses many open-source components, but a distribution can also contain separately licensed material.

Question 94

An automation runner checks a script's result and should stop after a fatal error. Which action BEST accomplishes the stated Linux task?

  1. Use `exit 0` for successful completion and a nonzero exit code for a failure.
  2. Use `exit 1` to indicate unequivocal success.
  3. Print an error message but always force zero status.
  4. Treat output color as the only machine-readable success signal.

Explanation

Correct Answer

A:

Use `exit 0` for successful completion and a nonzero exit code for a failure. Conventionally zero exit status means success and nonzero signals a problem. To confirm completion, the caller can distinguish success and failure through the process exit status.

Incorrect Answers

B:

This changes the workflow in the wrong way for Exit code on script completion.

C:

Print an error message but always force zero status. It does not meet the requirement in this case: An automation runner checks a script's result and should stop after a fatal error. Conventionally zero exit status means success and nonzero signals a problem.

D:

Treat output color as the only machine-readable success signal. It would not produce the expected result: The caller can distinguish success and failure through the process exit status. The named operation concerns Exit code on script completion.

Question 95

A school wants every new account to begin with common shell configuration templates. Which action BEST accomplishes the stated Linux task?

  1. Store shell defaults only in `/proc/cpuinfo`.
  2. Assume `/tmp` is the standard new-user skeleton directory.
  3. Write new-user template files into `/dev/null`.
  4. Place approved default home-directory files under `/etc/skel` for account creation workflows that copy them.

Explanation

Correct Answer

D:

Place approved default home-directory files under `/etc/skel` for account creation workflows that copy them. `/etc/skel` is a template directory for new home directories, not a live shared home. To confirm completion, newly created homes include the intended template files when supported by useradd configuration.

Incorrect Answers

A:

Store shell defaults only in `/proc/cpuinfo`. It does not meet the requirement in this case: A school wants every new account to begin with common shell configuration templates. `/etc/skel` is a template directory for new home directories, not a live shared home.

B:

Assume `/tmp` is the standard new-user skeleton directory. It would not produce the expected result: Newly created homes include the intended template files when supported by useradd configuration. The named operation concerns /etc/skel new home templates.

C:

Editing a current user's home does not change defaults for future users. This changes the workflow in the wrong way for /etc/skel new home templates.

Question 96

A trainee needs information about current kernel process state. Which action BEST accomplishes the stated Linux task?

  1. Treat `/proc` as an ordinary photo directory.
  2. Inspect virtual entries under `/proc` for current kernel and process information.
  3. Store application reports permanently in `/proc`.
  4. Expect every `/proc` entry to be a static document from installation.

Explanation

Correct Answer

B:

Inspect virtual entries under `/proc` for current kernel and process information. procfs presents virtual runtime data rather than a normal persistent disk archive. To confirm completion, a process-specific directory or kernel information file reflects the running system.

Incorrect Answers

A:

Treat `/proc` as an ordinary photo directory. This changes the workflow in the wrong way for /proc virtual process information. Treating procfs entries as permanent backups can give misleading results. For this task the appropriate operation is to inspect virtual entries under `/proc` for current kernel and process information.

C:

Store application reports permanently in `/proc`. It does not meet the requirement in this case: A trainee needs information about current kernel process state. procfs presents virtual runtime data rather than a normal persistent disk archive.

D:

Expect every `/proc` entry to be a static document from installation. It would not produce the expected result: A process-specific directory or kernel information file reflects the running system. The named operation concerns /proc virtual process information.

Question 97

A service fails during startup and an operator needs stored diagnostic logs. Which action BEST accomplishes the stated Linux task?

  1. Look under `/var/log` or the distribution's documented logging facility.
  2. Treat `/usr/share/doc` as the only live logging directory.
  3. Inspect `/boot` as the universal application log folder.
  4. Use `/dev/null` to recover historic logs.

Explanation

Correct Answer

A:

Look under `/var/log` or the distribution's documented logging facility. `/var/log` commonly contains variable log data on traditional Linux layouts. To confirm completion, relevant diagnostic entries appear in the configured log destination.

Incorrect Answers

B:

Treat `/usr/share/doc` as the only live logging directory. It would not produce the expected result: Relevant diagnostic entries appear in the configured log destination. The named operation concerns /var/log system messages.

C:

Inspect `/boot` as the universal application log folder. This changes the workflow in the wrong way for /var/log system messages. The wrong filesystem directory may hide important diagnostics. For this task the appropriate operation is to look under `/var/log` or the distribution's documented logging facility.

D:

Use `/dev/null` to recover historic logs. It does not meet the requirement in this case: A service fails during startup and an operator needs stored diagnostic logs. `/var/log` commonly contains variable log data on traditional Linux layouts.

Question 98

A school wants a stable Linux lab image with predictable security maintenance over several years. Which action BEST accomplishes the stated Linux task?

  1. Disable update repositories after initial installation.
  2. Assume every Ubuntu daily development image has the same support term.
  3. Choose an Ubuntu LTS release and check its supported maintenance dates.
  4. Treat a beta release as an automatic long-term support guarantee.

Explanation

Correct Answer

C:

Choose an Ubuntu LTS release and check its supported maintenance dates. LTS identifies an Ubuntu release designed for longer support than ordinary interim releases. To confirm completion, the selected release has an explicit extended maintenance window rather than only a short interim lifecycle.

Incorrect Answers

A:

Disable update repositories after initial installation. It does not meet the requirement in this case: A school wants a stable Linux lab image with predictable security maintenance over several years. LTS identifies an Ubuntu release designed for longer support than ordinary interim releases.

B:

This changes the workflow in the wrong way for Ubuntu long-term support releases.

D:

Treat a beta release as an automatic long-term support guarantee. It would not produce the expected result: The selected release has an explicit extended maintenance window rather than only a short interim lifecycle. The named operation concerns Ubuntu long-term support releases.

Question 99

A junior administrator sees an Ubuntu workstation and needs to select the native package family. Which action BEST accomplishes the stated Linux task?

  1. Choose Debian-family .deb packages with APT tools.
  2. Treat all Linux distributions as using one identical binary package format.
  3. Download arbitrary RPM files and install them with dpkg.
  4. Configure yum as the only native Ubuntu package manager.

Explanation

Correct Answer

A:

Choose Debian-family .deb packages with APT tools. Debian and Ubuntu share a Debian-derived package format and APT ecosystem. To confirm completion, a package query shows .deb packages managed through the configured Debian-family repositories.

Incorrect Answers

B:

Treat all Linux distributions as using one identical binary package format. It would not produce the expected result: A package query shows .deb packages managed through the configured Debian-family repositories. The named operation concerns Debian-derived package family.

C:

Download arbitrary RPM files and install them with dpkg. It does not meet the requirement in this case: A junior administrator sees an Ubuntu workstation and needs to select the native package family. Debian and Ubuntu share a Debian-derived package format and APT ecosystem.

D:

Configure yum as the only native Ubuntu package manager. This changes the workflow in the wrong way for Debian-derived package family. Selecting RPM-specific tooling as the sole native interface will not manage Debian repositories. For this task the appropriate operation is to choose Debian-family .deb packages with APT tools.

Question 100

A shell prompt omits the current directory and a user needs its absolute location. Which action BEST accomplishes the stated Linux task?

  1. Run `mkdir` to display the current directory.
  2. Use `cd ..` solely to print the original path without changing it.
  3. Use `passwd` to determine the working directory.
  4. Run `pwd` to display the current working directory.

Explanation

Correct Answer

D:

Run `pwd` to display the current working directory. Current-directory reporting is different from changing directories. To confirm completion, the shell prints the current directory path.

Incorrect Answers

A:

Run `mkdir` to display the current directory. It does not meet the requirement in this case: A shell prompt omits the current directory and a user needs its absolute location. Current-directory reporting is different from changing directories.

B:

This changes the workflow in the wrong way for pwd current directory.

C:

Use `passwd` to determine the working directory. It would not produce the expected result: The shell prints the current directory path. The named operation concerns pwd current directory.

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