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 22

Question 210

A backup job must preserve a directory tree in a .tar file. Which command or configuration decision is MOST appropriate?

  1. Use `zip -r files.zip folder/` to create the archive and `unzip files.zip` to extract.
  2. Run `tar -cf project.tar project/` to create an uncompressed archive.
  3. Run `tar -xf project.tar project/` expecting to create a new archive.
  4. Use `gzip project/` to collect an entire directory into one tar archive.

Explanation

Correct Answer

B:

Run `tar -cf project.tar project/` to create an uncompressed archive. The same Creating a tar archive principle applies in this second case. `tar -c` creates an archive and `-f` supplies its filename. Success would be shown when the archive lists the intended files when inspected.

Incorrect Answers

A:

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 Creating a tar archive requirement in the question. The archive lists the intended files when inspected.

C:

Compression is not automatically enabled by every tar archive creation. For the specified situation, this is not equivalent to run `tar -cf project.tar project/` to create an uncompressed archive.

D:

Compression is not automatically enabled by every tar archive creation. Use `gzip project/` to collect an entire directory into one tar archive.

Question 211

A student asks why `count = 3` produces an error in Bash. Which command or configuration decision is MOST appropriate?

  1. Open the file with `nano filename`, edit, save and exit using nano's documented key shortcuts.
  2. Write Bash scalar assignments without spaces around `=`, such as `count=3`.
  3. Use `count = 3` as an equivalent Bash assignment.
  4. Place the variable name after `export -unset` expecting automatic assignment.

Explanation

Correct Answer

B:

Write Bash scalar assignments without spaces around `=`, such as `count=3`. The same Bash variable assignment syntax principle applies in this second case. Spaces around `=` split a Bash assignment into command words. Success would be shown when expansion of the variable returns the intended assigned value.

Incorrect Answers

A:

Open the file with `nano filename`, edit, save and exit using nano's documented key shortcuts. This instead targets nano editor save and quit, not the specific Bash variable assignment syntax requirement in the question. Expansion of the variable returns the intended assigned value.

C:

Incorrect assignment syntax can attempt to run a command named after the variable. For the specified situation, this is not equivalent to write Bash scalar assignments without spaces around `=`, such as `count=3`.

D:

Incorrect assignment syntax can attempt to run a command named after the variable. Place the variable name after `export -unset` expecting automatic assignment.

Question 212

A training lab uses an infrastructure-as-a-service instance for a Linux shell exercise. Which command or configuration decision is MOST appropriate?

  1. Use unique strong passwords managed securely and enable multifactor authentication where offered.
  2. Expose the guest SSH port to everyone as the only patching process.
  3. Treat guest OS configuration and patching as the user's responsibility within the cloud service model.
  4. Assume the provider's billing console runs apt inside the guest.

Explanation

Correct Answer

C:

Treat guest OS configuration and patching as the user's responsibility within the cloud service model. The same Cloud virtual machine responsibilities principle applies in this second case. In IaaS the provider manages underlying infrastructure while customers manage their guest operating systems. Success would be shown when the guest shows installed updates and administrative changes after maintenance.

Incorrect Answers

A:

The guest shows installed updates and administrative changes after maintenance.

B:

Assuming the provider patches every guest package can leave the VM outdated. Expose the guest SSH port to everyone as the only patching process.

D:

Assuming the provider patches every guest package can leave the VM outdated. For the specified situation, this is not equivalent to treat guest OS configuration and patching as the user's responsibility within the cloud service model.

Question 213

A training organization creates many users and needs consistent default dotfiles. Which command or configuration decision is MOST appropriate?

  1. Read `/etc/group` and verify memberships with `id` or a supported group-query tool.
  2. Write new-user template files into `/dev/null`.
  3. Place approved default home-directory files under `/etc/skel` for account creation workflows that copy them.
  4. Store shell defaults only in `/proc/cpuinfo`.

Explanation

Correct Answer

C:

The same /etc/skel new home templates principle applies in this second case. `/etc/skel` is a template directory for new home directories, not a live shared home.

Incorrect Answers

A:

Read `/etc/group` and verify memberships with `id` or a supported group-query tool. This instead targets /etc/group account membership records, not the specific /etc/skel new home templates requirement in the question. Newly created homes include the intended template files when supported by useradd configuration.

B:

Editing a current user's home does not change defaults for future users. For the specified situation, this is not equivalent to place approved default home-directory files under `/etc/skel` for account creation workflows that copy them.

D:

For the specified situation, this is not equivalent to place approved default home-directory files under `/etc/skel` for account creation workflows that copy them.

Question 214

A new administrator wants to know where typed shell commands are executed. Which command or configuration decision is MOST appropriate?

  1. Review application permissions, provenance, update policy and data-sharing settings.
  2. Type `ls` into a spreadsheet cell expecting a directory listing.
  3. Treat the desktop wallpaper as the command interpreter.
  4. Open a terminal emulator for shell commands and use desktop applications for GUI tasks.

Explanation

Correct Answer

D:

Success would be shown when commands execute in a shell session while graphical tools run through the desktop.

Incorrect Answers

A:

Commands execute in a shell session while graphical tools run through the desktop.

B:

Typing a shell command into a browser search field does not execute it locally. For the specified situation, this is not equivalent to open a terminal emulator for shell commands and use desktop applications for GUI tasks.

C:

For the specified situation, this is not equivalent to open a terminal emulator for shell commands and use desktop applications for GUI tasks.

Question 215

A project directory needs a designated account as its owner. Which command or configuration decision is MOST appropriate?

  1. Rename the file to the user's account name.
  2. Run `chmod username file` as an ownership change.
  3. Use `chown username file` with required privileges.
  4. Ensure appropriate execute/search permission on each parent directory for the accessing class.

Explanation

Correct Answer

C:

Use `chown username file` with required privileges. The same chown file ownership principle applies in this second case. chown changes ownership metadata while chmod changes permission bits. Success would be shown when `ls -l` displays the intended owner after the change.

Incorrect Answers

A:

Adjusting mode alone does not change the owning UID. For the specified situation, this is not equivalent to use `chown username file` with required privileges.

B:

For the specified situation, this is not equivalent to use `chown username file` with required privileges.

D:

Ensure appropriate execute/search permission on each parent directory for the accessing class. This instead targets Directory traversal execute permission, not the specific chown file ownership requirement in the question. `ls -l` displays the intended owner after the change.

Question 216

A lab server runs Debian and its operator needs compatible repository packages. Which command or configuration decision is MOST appropriate?

  1. Configure yum as the only native Ubuntu package manager.
  2. Install a board-compatible Raspberry Pi OS image and verify the device model and architecture.
  3. Download arbitrary RPM files and install them with dpkg.
  4. Choose Debian-family .deb packages with APT tools.

Explanation

Correct Answer

D:

Choose Debian-family .deb packages with APT tools. The same Debian-derived package family principle applies in this second case. Debian and Ubuntu share a Debian-derived package format and APT ecosystem. Success would be shown when a package query shows .deb packages managed through the configured Debian-family repositories.

Incorrect Answers

A:

Selecting RPM-specific tooling as the sole native interface will not manage Debian repositories. Configure yum as the only native Ubuntu package manager.

B:

Install a board-compatible Raspberry Pi OS image and verify the device model and architecture. This instead targets Raspberry Pi Linux deployment, not the specific Debian-derived package family requirement in the question. A package query shows .deb packages managed through the configured Debian-family repositories.

C:

Selecting RPM-specific tooling as the sole native interface will not manage Debian repositories. For the specified situation, this is not equivalent to choose Debian-family .deb packages with APT tools.

Question 217

A training app requires a Linux-hosted relational database service. Which command or configuration decision is MOST appropriate?

  1. Install and configure Thunderbird for the intended email account and server settings.
  2. Set a Firefox browser profile as the relational database.
  3. Install MariaDB or MySQL and create the required schema and user permissions.
  4. Use NFS exports instead of SQL tables.

Explanation

Correct Answer

C:

Install MariaDB or MySQL and create the required schema and user permissions. The same MariaDB and MySQL data stores principle applies in this second case. MariaDB and MySQL are relational database servers rather than file-sharing daemons. Success would be shown when sQL queries retrieve stored records through the configured database service.

Incorrect Answers

A:

SQL queries retrieve stored records through the configured database service.

B:

Choosing an HTTP server alone does not provide relational tables. For the specified situation, this is not equivalent to install MariaDB or MySQL and create the required schema and user permissions.

D:

For the specified situation, this is not equivalent to install MariaDB or MySQL and create the required schema and user permissions.

Question 218

A maintenance session must switch to a service user for a permitted troubleshooting task. Which command or configuration decision is MOST appropriate?

  1. Use `pwd` to change the current user identity.
  2. Use `su - targetuser` where authorized and provide authentication as required.
  3. Use a standard account for routine work and elevate only for authorized administrative tasks.
  4. Rename the home directory to become its owner.

Explanation

Correct Answer

B:

Use `su - targetuser` where authorized and provide authentication as required. The same su switching user identity principle applies in this second case. su starts a shell or command under another user identity; login-mode options affect the environment. Success would be shown when the resulting shell identity and environment reflect the target user.

Incorrect Answers

A:

Assuming su without authorization grants elevated access can lead to authentication failure. For the specified situation, this is not equivalent to use `su - targetuser` where authorized and provide authentication as required.

C:

Use a standard account for routine work and elevate only for authorized administrative tasks. This instead targets Root versus ordinary users, not the specific su switching user identity requirement in the question. The resulting shell identity and environment reflect the target user.

D:

For the specified situation, this is not equivalent to use `su - targetuser` where authorized and provide authentication as required.

Question 219

A trainee asks what the first line `#!/bin/bash` does in a shell script. Which command or configuration decision is MOST appropriate?

  1. Put `#!/bin/bash` on the first line of an executable Bash script where that interpreter is available.
  2. Put a Bash comment after the last line and expect it to select the interpreter.
  3. Invoke `bash script.sh` to have Bash read the script when permitted.
  4. Put `#/bin/bash` without `!` and assume it is a shebang.

Explanation

Correct Answer

A:

Put `#!/bin/bash` on the first line of an executable Bash script where that interpreter is available. The same Shebang shell interpreter principle applies in this second case. A shebang identifies the interpreter used when the operating system directly executes a script. Success would be shown when direct script execution selects the indicated interpreter.

Incorrect Answers

B:

Without a suitable interpreter or execution method, a script may not run as intended. For the specified situation, this is not equivalent to put `#!/bin/bash` on the first line of an executable Bash script where that interpreter is available.

C:

Invoke `bash script.sh` to have Bash read the script when permitted. This instead targets Script invocation via bash, not the specific Shebang shell interpreter requirement in the question. Direct script execution selects the indicated interpreter.

D:

Without a suitable interpreter or execution method, a script may not run as intended. Put `#/bin/bash` without `!` and assume it is a shebang.

Question 220

A text analyst needs to find matching terms regardless of capitalization. Which command or configuration decision is MOST appropriate?

  1. Run `grep -i warning file` for a case-insensitive match.
  2. Use `sort -r` as grep's case-insensitive option.
  3. Run a pipeline such as `grep 'failed' log | wc -l`.
  4. Run `grep -v warning` expecting to ignore case.

Explanation

Correct Answer

A:

Run `grep -i warning file` for a case-insensitive match. The same grep -i ignore case principle applies in this second case. The `-i` option makes grep ignore case distinctions in matching. Success would be shown when lines with the term in different letter cases are selected.

Incorrect Answers

B:

A case-sensitive search can miss variants of a keyword. For the specified situation, this is not equivalent to run `grep -i warning file` for a case-insensitive match.

C:

Run a pipeline such as `grep 'failed' log | wc -l`. This instead targets Pipes connecting commands, not the specific grep -i ignore case requirement in the question. Lines with the term in different letter cases are selected.

D:

For the specified situation, this is not equivalent to run `grep -i warning file` for a case-insensitive match.

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