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 47

Question 460

A beginner asks how to display used and available physical memory and swap. Which underlying Linux principle BEST explains the correct procedure for free memory statistics?

  1. `/boot` commonly stores files needed during the system boot process.
  2. Device nodes are interfaces to devices rather than conventional documentation files.
  3. free summarizes system memory utilization rather than listing process names.
  4. The PSU converts and distributes power to system components and must meet load needs.

Explanation

Correct Answer

C:

Free summarizes system memory utilization rather than listing process names. The procedure it justifies is to run `free -h` or `free` to inspect memory and swap totals. This also allows checking that the output reports memory and swap figures in the selected units.

Incorrect Answers

A:

`/boot` commonly stores files needed during the system boot process. It describes /boot kernel startup files, not the behavior that controls this free memory statistics case. A disk listing cannot distinguish RAM from swap usage.

B:

Device nodes are interfaces to devices rather than conventional documentation files. It describes /dev device nodes, not the behavior that controls this free memory statistics case. A disk listing cannot distinguish RAM from swap usage.

D:

The PSU converts and distributes power to system components and must meet load needs. It describes Power supply for components, not the behavior that controls this free memory statistics case. A disk listing cannot distinguish RAM from swap usage.

Question 461

A desktop administrator chooses a free browser for web-based services. Which underlying Linux principle BEST explains the correct procedure for Firefox web browsing?

  1. Thunderbird is an email client whereas a mail server handles delivery and mailbox hosting.
  2. Firefox is a web browser, not a package repository or command shell.
  3. A terminal exposes a command-line interface, which can coexist with a graphical desktop.
  4. Package managers and repositories coordinate software metadata, updates and dependencies.

Explanation

Correct Answer

B:

Firefox is a web browser, not a package repository or command shell. The procedure it justifies is to use Firefox to visit HTTPS sites and adjust browser privacy settings as required. This also allows checking that the expected web pages render in a browser with visible URL and connection information.

Incorrect Answers

A:

Thunderbird is an email client whereas a mail server handles delivery and mailbox hosting. It describes Thunderbird email client, not the behavior that controls this Firefox web browsing case. Confusing an HTTP server with a browser reverses the client/server roles.

C:

A terminal exposes a command-line interface, which can coexist with a graphical desktop. It describes Graphical desktop versus command line, not the behavior that controls this Firefox web browsing case. Confusing an HTTP server with a browser reverses the client/server roles.

D:

Package managers and repositories coordinate software metadata, updates and dependencies. It describes Native distribution package repositories, not the behavior that controls this Firefox web browsing case. Confusing an HTTP server with a browser reverses the client/server roles.

Question 462

A report contains status records and a user needs to filter by a known literal keyword. Which underlying Linux principle BEST explains the correct procedure for grep fixed text matching?

  1. Shell redirection changes file-writing behavior before a program processes its arguments.
  2. grep filters text lines by a pattern, rather than modifying the source file.
  3. In basic regular expressions dot matches one character and star repeats the preceding atom.
  4. Spaces around `=` split a Bash assignment into command words.

Explanation

Correct Answer

B:

Grep filters text lines by a pattern, rather than modifying the source file. The procedure it justifies is to run `grep 'ERROR' logfile` or the matching fixed-text pattern. This also allows checking that only lines containing the requested pattern appear in the output.

Incorrect Answers

A:

Shell redirection changes file-writing behavior before a program processes its arguments. It describes Redirecting output and append, not the behavior that controls this grep fixed text matching case. Viewing the entire file does not isolate matching records.

C:

In basic regular expressions dot matches one character and star repeats the preceding atom. It describes Regular-expression dot and repetition, not the behavior that controls this grep fixed text matching case. Viewing the entire file does not isolate matching records.

D:

Spaces around `=` split a Bash assignment into command words. It describes Bash variable assignment syntax, not the behavior that controls this grep fixed text matching case. Viewing the entire file does not isolate matching records.

Question 463

A backup script processes filenames that may contain whitespace. Which underlying Linux principle BEST explains the correct procedure for Quoting script argument expansion?

  1. grep filters text lines by a pattern, rather than modifying the source file.
  2. Quoted expansion prevents unintended splitting and globbing of argument values.
  3. Executable permission and interpreter availability are relevant to direct script invocation.
  4. `$()` substitutes a command's output into the surrounding command context.

Explanation

Correct Answer

B:

Quoted expansion prevents unintended splitting and globbing of argument values. The procedure it justifies is to expand variables and positional arguments in double quotes, for example `"$1"`. This also allows checking that the intended pathname remains one argument when passed to another command.

Incorrect Answers

A:

Grep filters text lines by a pattern, rather than modifying the source file. It describes grep fixed text matching, not the behavior that controls this Quoting script argument expansion case. An unquoted expansion may split the path into two command arguments.

C:

Executable permission and interpreter availability are relevant to direct script invocation. It describes Script execute permission, not the behavior that controls this Quoting script argument expansion case. An unquoted expansion may split the path into two command arguments.

D:

`$()` substitutes a command's output into the surrounding command context. It describes Command substitution in scripts, not the behavior that controls this Quoting script argument expansion case. An unquoted expansion may split the path into two command arguments.

Question 464

A training lab uses an infrastructure-as-a-service instance for a Linux shell exercise. Which underlying Linux principle BEST explains the correct procedure for Cloud virtual machine responsibilities?

  1. Linux distributions can run as guest systems in virtualized cloud infrastructure.
  2. Source availability alone does not guarantee an application is secure or privacy-preserving.
  3. HTTPS protects transport but the identity of the site and download integrity still matter.
  4. In IaaS the provider manages underlying infrastructure while customers manage their guest operating systems.

Explanation

Correct Answer

D:

In IaaS the provider manages underlying infrastructure while customers manage their guest operating systems. The procedure it justifies is to treat guest OS configuration and patching as the user's responsibility within the cloud service model. This also allows checking that the guest shows installed updates and administrative changes after maintenance.

Incorrect Answers

A:

Linux distributions can run as guest systems in virtualized cloud infrastructure. It describes Linux in hosted cloud systems, not the behavior that controls this Cloud virtual machine responsibilities case. Assuming the provider patches every guest package can leave the VM outdated.

B:

Source availability alone does not guarantee an application is secure or privacy-preserving. It describes Privacy-conscious software selection, not the behavior that controls this Cloud virtual machine responsibilities case. Assuming the provider patches every guest package can leave the VM outdated.

C:

HTTPS protects transport but the identity of the site and download integrity still matter. It describes Browser HTTPS and site verification, not the behavior that controls this Cloud virtual machine responsibilities case. Assuming the provider patches every guest package can leave the VM outdated.

Question 465

A developer uses a test hostname that should resolve to one fixed local IP. Which underlying Linux principle BEST explains the correct procedure for /etc/hosts local name entries?

  1. IP address assignment and interface status are independent of DNS hostname resolution.
  2. IP routes decide next-hop forwarding, distinct from DNS name lookup.
  3. `/etc/hosts` provides static per-host name mappings.
  4. dmesg reads the kernel ring buffer rather than user application log files.

Explanation

Correct Answer

C:

`/etc/hosts` provides static per-host name mappings. The procedure it justifies is to add an appropriate entry to `/etc/hosts` and verify local lookup precedence. This also allows checking that the local host resolves the specified name to the configured IP.

Incorrect Answers

A:

IP address assignment and interface status are independent of DNS hostname resolution. It describes ip addr show interface addresses, not the behavior that controls this /etc/hosts local name entries case. A local hosts entry does not update global public DNS for other computers.

B:

IP routes decide next-hop forwarding, distinct from DNS name lookup. It describes ip route show default gateway, not the behavior that controls this /etc/hosts local name entries case. A local hosts entry does not update global public DNS for other computers.

D:

Dmesg reads the kernel ring buffer rather than user application log files. It describes dmesg kernel messages, not the behavior that controls this /etc/hosts local name entries case. A local hosts entry does not update global public DNS for other computers.

Question 466

A new administrator wants to know where typed shell commands are executed. Which underlying Linux principle BEST explains the correct procedure for Graphical desktop versus command line?

  1. In IaaS the provider manages underlying infrastructure while customers manage their guest operating systems.
  2. A terminal exposes a command-line interface, which can coexist with a graphical desktop.
  3. Virtualization lets multiple guest operating systems share a physical host via a hypervisor.
  4. Red Hat-family distributions commonly use RPM packages rather than Debian .deb packages.

Explanation

Correct Answer

B:

A terminal exposes a command-line interface, which can coexist with a graphical desktop. The procedure it justifies is to open a terminal emulator for shell commands and use desktop applications for GUI tasks. This also allows checking that commands execute in a shell session while graphical tools run through the desktop.

Incorrect Answers

A:

In IaaS the provider manages underlying infrastructure while customers manage their guest operating systems. It describes Cloud virtual machine responsibilities, not the behavior that controls this Graphical desktop versus command line case. Typing a shell command into a browser search field does not execute it locally.

C:

Virtualization lets multiple guest operating systems share a physical host via a hypervisor. It describes Local virtualization and guest operating systems, not the behavior that controls this Graphical desktop versus command line case. Typing a shell command into a browser search field does not execute it locally.

D:

Red Hat-family distributions commonly use RPM packages rather than Debian .deb packages. It describes Red Hat enterprise package family, not the behavior that controls this Graphical desktop versus command line case. Typing a shell command into a browser search field does not execute it locally.

Question 467

A trainee must inspect boot-time or device-related kernel message output. Which underlying Linux principle BEST explains the correct procedure for dmesg kernel messages?

  1. `ps` provides a snapshot of processes, not continuously updated interactive monitoring.
  2. `/boot` commonly stores files needed during the system boot process.
  3. dmesg reads the kernel ring buffer rather than user application log files.
  4. IP address assignment and interface status are independent of DNS hostname resolution.

Explanation

Correct Answer

C:

Dmesg reads the kernel ring buffer rather than user application log files. The procedure it justifies is to query `dmesg` when permitted to read the kernel message buffer. This also allows checking that kernel diagnostics relevant to device detection are displayed.

Incorrect Answers

A:

`ps` provides a snapshot of processes, not continuously updated interactive monitoring. It describes ps process listing, not the behavior that controls this dmesg kernel messages case. Reading only web-server logs can miss hardware detection errors.

B:

`/boot` commonly stores files needed during the system boot process. It describes /boot kernel startup files, not the behavior that controls this dmesg kernel messages case. Reading only web-server logs can miss hardware detection errors.

D:

IP address assignment and interface status are independent of DNS hostname resolution. It describes ip addr show interface addresses, not the behavior that controls this dmesg kernel messages case. Reading only web-server logs can miss hardware detection errors.

Question 468

A trainee asks what the first line `#!/bin/bash` does in a shell script. Which underlying Linux principle BEST explains the correct procedure for Shebang shell interpreter?

  1. xz is a specific compressed-stream format and requires a matching decompression algorithm.
  2. Bash arithmetic expansion evaluates integer expressions rather than concatenating text.
  3. A `for` loop assigns successive list items to the loop variable.
  4. A shebang identifies the interpreter used when the operating system directly executes a script.

Explanation

Correct Answer

D:

A shebang identifies the interpreter used when the operating system directly executes a script. The procedure it justifies is to put `#!/bin/bash` on the first line of an executable Bash script where that interpreter is available. This also allows checking that direct script execution selects the indicated interpreter.

Incorrect Answers

A:

Xz is a specific compressed-stream format and requires a matching decompression algorithm. It describes xz compression tools, not the behavior that controls this Shebang shell interpreter case. Without a suitable interpreter or execution method, a script may not run as intended.

B:

Bash arithmetic expansion evaluates integer expressions rather than concatenating text. It describes Bash arithmetic expansion, not the behavior that controls this Shebang shell interpreter case. Without a suitable interpreter or execution method, a script may not run as intended.

C:

A `for` loop assigns successive list items to the loop variable. It describes Loop over fixed items, not the behavior that controls this Shebang shell interpreter case. Without a suitable interpreter or execution method, a script may not run as intended.

Question 469

A trainee wants to calculate the sum of two integer shell variables. Which underlying Linux principle BEST explains the correct procedure for Bash arithmetic expansion?

  1. The tar `-z` option requests gzip compression while `-c` creates the archive.
  2. A pathname glob can supply the loop's items while quoted variable expansion preserves each filename.
  3. Bash arithmetic expansion evaluates integer expressions rather than concatenating text.
  4. Quoted expansion prevents unintended splitting and globbing of argument values.

Explanation

Correct Answer

C:

Bash arithmetic expansion evaluates integer expressions rather than concatenating text. The procedure it justifies is to use arithmetic expansion such as `count=$((count + 1))`. This also allows checking that the resulting variable contains the expected integer.

Incorrect Answers

A:

The tar `-z` option requests gzip compression while `-c` creates the archive. It describes tar gzip combined compression, not the behavior that controls this Bash arithmetic expansion case. Treating `+` as string concatenation can produce the wrong count.

B:

A pathname glob can supply the loop's items while quoted variable expansion preserves each filename. It describes Loop over matching filenames, not the behavior that controls this Bash arithmetic expansion case. Treating `+` as string concatenation can produce the wrong count.

D:

Quoted expansion prevents unintended splitting and globbing of argument values. It describes Quoting script argument expansion, not the behavior that controls this Bash arithmetic expansion case. Treating `+` as string concatenation can produce the wrong count.

Question 470

A restore task must unpack an existing tarball into a chosen directory. Which underlying Linux principle BEST explains the correct procedure for Extracting a tar archive?

  1. A shebang identifies the interpreter used when the operating system directly executes a script.
  2. `tar -x` extracts an archive and should be used with a supplied file.
  3. ZIP combines archiving and compression in a widely supported container format.
  4. gzip compresses a stream or file and does not by itself preserve multiple filenames in one archive.

Explanation

Correct Answer

B:

`tar -x` extracts an archive and should be used with a supplied file. The procedure it justifies is to run `tar -xf backup.tar` in a suitable destination directory. This also allows checking that the files recorded in the tar archive appear after extraction.

Incorrect Answers

A:

A shebang identifies the interpreter used when the operating system directly executes a script. It describes Shebang shell interpreter, not the behavior that controls this Extracting a tar archive case. Running the creation operation on an existing archive does not restore its contents.

C:

ZIP combines archiving and compression in a widely supported container format. It describes ZIP archives and unzip, not the behavior that controls this Extracting a tar archive case. Running the creation operation on an existing archive does not restore its contents.

D:

Gzip compresses a stream or file and does not by itself preserve multiple filenames in one archive. It describes gzip compression and gunzip, not the behavior that controls this Extracting a tar archive case. Running the creation operation on an existing archive does not restore its contents.

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