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 27

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.

Question 261

A trainee needs to repeat one harmless operation over matching pathnames. Which command or configuration decision is MOST appropriate?

  1. Use `for file in *.log; do ... "$file" ...; done` with quoted expansion.
  2. Enter insert mode with `i`, return with Esc and use `:wq` to write and quit.
  3. Run `rm *.log` instead of iterating when processing is required.
  4. Write `for file in '*.log'` expecting shell expansion of the quoted pattern.

Explanation

Correct Answer

A:

Use `for file in *.log; do . "$file" .; done` with quoted expansion. The same Loop over matching filenames principle applies in this second case. A pathname glob can supply the loop's items while quoted variable expansion preserves each filename. Success would be shown when each matched filename is processed as its own argument.

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 Loop over matching filenames requirement in the question. Each matched filename is processed as its own argument.

C:

Using a quoted literal glob as the loop source prevents normal pathname expansion. Run `rm *.log` instead of iterating when processing is required.

D:

Using a quoted literal glob as the loop source prevents normal pathname expansion. For the specified situation, this is not equivalent to use `for file in *.log; do . "$file" .; done` with quoted expansion.

Question 262

A club uses ARM-based Raspberry Pi boards and must select an appropriate distribution image. Which command or configuration decision is MOST appropriate?

  1. Choose a Windows device driver instead of a Linux distribution image.
  2. Recognize openSUSE and SUSE as related Linux distributions with their supported RPM-based package tooling.
  3. Install a board-compatible Raspberry Pi OS image and verify the device model and architecture.
  4. Flash an x86-only installation image to any ARM board.

Explanation

Correct Answer

C:

Success would be shown when the board boots to a usable Linux userspace with the expected peripherals supported.

Incorrect Answers

A:

A generic desktop image for the wrong processor architecture may not boot. Choose a Windows device driver instead of a Linux distribution image.

B:

Recognize openSUSE and SUSE as related Linux distributions with their supported RPM-based package tooling. This instead targets SUSE and openSUSE distributions, not the specific Raspberry Pi Linux deployment requirement in the question. The board boots to a usable Linux userspace with the expected peripherals supported.

D:

A generic desktop image for the wrong processor architecture may not boot. Flash an x86-only installation image to any ARM board.

Question 263

A team is choosing a numeric chmod mode for a private group-readable file. Which command or configuration decision is MOST appropriate?

  1. Run `chmod 777 report.txt` to keep others from reading.
  2. Run `chmod 640 report.txt`.
  3. Configure a suitable `umask` to clear unwanted default permissions.
  4. Set `chmod 644` and assume others receive no permissions.

Explanation

Correct Answer

B:

Run `chmod 640 report.txt`. The same chmod octal mode 640 principle applies in this second case. Octal permissions use bit sums read 4, write 2 and execute 1 within each class. Success would be shown when the resulting permissions are `rw- r-- ---` for owner, group and others.

Incorrect Answers

A:

Choosing 644 would allow other users to read the report. For the specified situation, this is not equivalent to run `chmod 640 report.txt`.

C:

Configure a suitable `umask` to clear unwanted default permissions. This instead targets umask default permission reduction, not the specific chmod octal mode 640 requirement in the question. The resulting permissions are `rw- r-- ---` for owner, group and others.

D:

Choosing 644 would allow other users to read the report. Set `chmod 644` and assume others receive no permissions.

Question 264

A desktop administrator chooses a free browser for web-based services. Which command or configuration decision is MOST appropriate?

  1. Use Firefox to visit HTTPS sites and adjust browser privacy settings as required.
  2. Configure Apache HTTP Server or NGINX as the web-serving application.
  3. Install Apache HTTP Server to obtain a graphical browser.
  4. Run dpkg as if it rendered websites.

Explanation

Correct Answer

A:

Use Firefox to visit HTTPS sites and adjust browser privacy settings as required. The same Firefox web browsing principle applies in this second case. Firefox is a web browser, not a package repository or command shell. Success would be shown when the expected web pages render in a browser with visible URL and connection information.

Incorrect Answers

B:

Configure Apache HTTP Server or NGINX as the web-serving application. This instead targets Web servers Apache and NGINX, not the specific Firefox web browsing requirement in the question. The expected web pages render in a browser with visible URL and connection information.

C:

Install Apache HTTP Server to obtain a graphical browser. For the specified situation, this is not equivalent to use Firefox to visit HTTPS sites and adjust browser privacy settings as required. Confusing an HTTP server with a browser reverses the client/server roles.

D:

Run dpkg as if it rendered websites. For the specified situation, this is not equivalent to use Firefox to visit HTTPS sites and adjust browser privacy settings as required. Confusing an HTTP server with a browser reverses the client/server roles.

Question 265

An administrator searches for README and example configuration files shipped with a package. Which command or configuration decision is MOST appropriate?

  1. Use `locate filename` after ensuring its filename index is available and updated.
  2. Look under `/usr/share/doc/` for the installed package's documentation.
  3. Search only `/tmp` for permanent packaged guides.
  4. Assume `/dev/null` stores installed package manuals.

Explanation

Correct Answer

B:

Look under `/usr/share/doc/` for the installed package's documentation. The same /usr/share/doc documentation directory principle applies in this second case. Distributions often place packaged documentation under `/usr/share/doc`. Success would be shown when package-specific README or documentation files can be opened when installed.

Incorrect Answers

A:

Use `locate filename` after ensuring its filename index is available and updated. This instead targets locate database lookup, not the specific /usr/share/doc documentation directory requirement in the question. Package-specific README or documentation files can be opened when installed.

C:

Using a log directory as the only documentation source can miss package instructions. For the specified situation, this is not equivalent to look under `/usr/share/doc/` for the installed package's documentation.

D:

For the specified situation, this is not equivalent to look under `/usr/share/doc/` for the installed package's documentation.

Question 266

A trainee must inspect boot-time or device-related kernel message output. Which command or configuration decision is MOST appropriate?

  1. Query `dmesg` when permitted to read the kernel message buffer.
  2. Use `passwd` to print kernel message history.
  3. Expect `ls` to decode all kernel driver diagnostics.
  4. Inspect `/sys` for supported sysfs device attributes.

Explanation

Correct Answer

A:

Query `dmesg` when permitted to read the kernel message buffer. The same dmesg kernel messages principle applies in this second case. dmesg reads the kernel ring buffer rather than user application log files. Success would be shown when kernel diagnostics relevant to device detection are displayed.

Incorrect Answers

B:

Reading only web-server logs can miss hardware detection errors. For the specified situation, this is not equivalent to query `dmesg` when permitted to read the kernel message buffer.

C:

For the specified situation, this is not equivalent to query `dmesg` when permitted to read the kernel message buffer.

D:

Inspect `/sys` for supported sysfs device attributes. This instead targets /sys device and kernel interfaces, not the specific dmesg kernel messages requirement in the question. Kernel diagnostics relevant to device detection are displayed.

Question 267

A shell exercise contrasts `/etc` with `etc` as pathnames. Which command or configuration decision is MOST appropriate?

  1. Prefix every absolute path with `~`.
  2. Treat `etc` as automatically identical to `/etc` from every directory.
  3. Use a path beginning with `/` when referencing an absolute location.
  4. Use `cd ~` or bare `cd` to return to the current user's home.

Explanation

Correct Answer

C:

Use a path beginning with `/` when referencing an absolute location. The same Absolute filesystem paths principle applies in this second case. Leading `/` anchors a pathname at the filesystem root. Success would be shown when the command reaches the same target independent of the current working directory.

Incorrect Answers

A:

Prefix every absolute path with `~`. For the specified situation, this is not equivalent to use a path beginning with `/` when referencing an absolute location. Relative paths depend on the shell's starting directory.

B:

Treat `etc` as automatically identical to `/etc` from every directory. For the specified situation, this is not equivalent to use a path beginning with `/` when referencing an absolute location. Relative paths depend on the shell's starting directory.

D:

Use `cd ~` or bare `cd` to return to the current user's home. This instead targets Home directory shorthand, not the specific Absolute filesystem paths requirement in the question. The command reaches the same target independent of the current working directory.

Question 268

A report contains status records and a user needs to filter by a known literal keyword. Which command or configuration decision is MOST appropriate?

  1. Run a pipeline such as `grep 'failed' log | wc -l`.
  2. Run `wc -l logfile` expecting the matching contents.
  3. Run `grep 'ERROR' logfile` or the matching fixed-text pattern.
  4. Use `sort logfile` expecting it to filter ERROR lines.

Explanation

Correct Answer

C:

Run `grep 'ERROR' logfile` or the matching fixed-text pattern. The same grep fixed text matching principle applies in this second case. grep filters text lines by a pattern, rather than modifying the source file. Success would be shown when only lines containing the requested pattern appear in the output.

Incorrect Answers

A:

Only lines containing the requested pattern appear in the output.

B:

Viewing the entire file does not isolate matching records. For the specified situation, this is not equivalent to run `grep 'ERROR' logfile` or the matching fixed-text pattern.

D:

Viewing the entire file does not isolate matching records. Use `sort logfile` expecting it to filter ERROR lines.

Question 269

A user wants a second copy of `draft.txt` named `review.txt`. Which command or configuration decision is MOST appropriate?

  1. Use `rm draft.txt` to preserve the source.
  2. Run `mkdir -p reports/2026/nov` to create missing parents.
  3. Run `mv draft.txt review.txt` expecting both names to remain.
  4. Use `cp draft.txt review.txt` when source and destination are regular files.

Explanation

Correct Answer

D:

Use `cp draft.txt review.txt` when source and destination are regular files. The same cp regular file principle applies in this second case. `cp` duplicates data rather than renaming or removing the source. Success would be shown when both the original and destination paths are present with copied data.

Incorrect Answers

A:

Use `rm draft.txt` to preserve the source. For the specified situation, this is not equivalent to use `cp draft.txt review.txt` when source and destination are regular files. Using move semantics would remove the original pathname.

B:

Run `mkdir -p reports/2026/nov` to create missing parents. This instead targets mkdir -p nested directories, not the specific cp regular file requirement in the question. Both the original and destination paths are present with copied data.

C:

Run `mv draft.txt review.txt` expecting both names to remain. For the specified situation, this is not equivalent to use `cp draft.txt review.txt` when source and destination are regular files. Using move semantics would remove the original pathname.

Question 270

A help desk is choosing a client for IMAP mailboxes on Linux desktops. Which command or configuration decision is MOST appropriate?

  1. Use NGINX as an IMAP desktop mail client.
  2. Open GIMP to retrieve POP3 messages.
  3. Install and configure Thunderbird for the intended email account and server settings.
  4. Use GIMP for raster editing and export the required image format.

Explanation

Correct Answer

C:

Install and configure Thunderbird for the intended email account and server settings. The same Thunderbird email client principle applies in this second case. Thunderbird is an email client whereas a mail server handles delivery and mailbox hosting. Success would be shown when the client synchronizes incoming mail and sends mail through configured servers.

Incorrect Answers

A:

Confusing a web server with an email client will not offer the desired desktop inbox. For the specified situation, this is not equivalent to install and configure Thunderbird for the intended email account and server settings.

B:

For the specified situation, this is not equivalent to install and configure Thunderbird for the intended email account and server settings.

D:

Use GIMP for raster editing and export the required image format. This instead targets GIMP raster image editing, not the specific Thunderbird email client requirement in the question. The client synchronizes incoming mail and sends mail through configured servers.

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