mcAfee Secure Website
23

LPI 010-160 Bundle

Exam Code: 010-160

Exam Name Linux Essentials Certificate Exam, version 1.6

Certification Provider: LPI

Corresponding Certification: Linux Essentials

010-160 Training Materials $44.99

Reliable & Actual Study Materials for 010-160 Exam Success

The Latest 010-160 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    010-160 Questions & Answers

    80 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    010-160 Video Course

    010-160 Training Course

    78 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    010-160 Study Guide

    364 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

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

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable LPI Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    80 Questions

    $124.99
    exam =35
  • exam =37
    010-160 Video Course

    Training Course

    78 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    364 PDF Pages

    $29.99

LPI 010-160 Practice Test 9

Question 80

A controlled command-line practice exercise reports: A student sees an account name in /etc/passwd and assumes that user must currently be signed in to the system. Which observed result would best verify the correction?

  1. A file long listing shows restricted other bits and a different unapproved account can no longer read the test file.
  2. A long listing decodes to the intended owner, group and other permissions and an unauthorized account cannot modify the script.
  3. The newly created test home contains the approved default dotfiles without copying private material from another user's directory.
  4. The results identify a test logged-in session while inactive configured accounts are not falsely reported as connected.

Explanation

Correct Answer

D:

This specifically verifies who and w show current signed in sessions: The results identify a test logged-in session while inactive configured accounts are not falsely reported as connected. The related engineering correction is: Use who or w to inspect active sessions and separately consult account metadata for the list of created users. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

A file long listing shows restricted other bits and a different unapproved account can no longer read the test file. “Apply the intended symbolic chmod change to remove other-read access while retaining necessary owner and group permissions” would remedy that alternative situation, but it would not correct the present issue: the results identify a test logged-in session while inactive configured accounts are not falsely reported as connected.

B:

“Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors” is the supported response when a long listing decodes to the intended owner, group and other permissions and an unauthorized account cannot modify the script. Here the decisive response is “Use who or w to inspect active sessions and separately consult account metadata for the list of created users”, so that different intervention does not meet the stated requirement.

C:

The newly created test home contains the approved default dotfiles without copying private material from another user's directory. “Configure approved generic starter files in /etc/skel and create a disposable test user with the appropriate home creation settings” applies to that other condition. The reported evidence is a student sees an account name in /etc/passwd and assumes that user must currently be signed in to the system; this alternative would address the wrong dependency.

Question 81

A beginner using a Linux terminal discovers: A learner wants to recall a safe command typed earlier but assumes Bash forgets all previously entered commands as soon as the prompt returns. Which engineering change best satisfies the stated operational requirement?

  1. Use cp with a distinct destination pathname and confirm both source and backup copies exist.
  2. Use the built-in history display or an approved history navigation shortcut to locate and selectively rerun the intended command.
  3. Use the Bash type builtin to inspect how the command resolves before modifying a script or calling a different executable.
  4. Inspect the effective PATH and command resolution and invoke the intended executable with its full path or change the supported search order.

Explanation

Correct Answer

B:

The main issue is: Bash can maintain an in-session command history, and persistent history behavior depends on shell configuration and session lifecycle. The appropriate correction is: Use the built-in history display or an approved history navigation shortcut to locate and selectively rerun the intended command. Verify success by checking: The prior harmless command appears in the history list and can be reviewed before being repeated.

Incorrect Answers

A:

This action addresses cp copy retains original source file, whose causal condition is: The cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry. The current scenario instead requires attention to: Bash can maintain an in-session command history, and persistent history behavior depends on shell configuration and session lifecycle.

C:

This action addresses type builtin identifies commands and aliases, whose causal condition is: Shell command names may resolve to aliases, functions, builtins or filesystem executables; a printed name alone does not identify the actual target. In this question the necessary remedy is “Use the built-in history display or an approved history navigation shortcut to locate and selectively rerun the intended command”, which this alternative does not provide.

D:

This action addresses path search order selects unexpected executable, whose causal condition is: The shell searches PATH entries in order for commands that do not specify an explicit executable path. The observed condition is a learner wants to recall a safe command typed earlier but assumes Bash forgets all previously entered commands as soon as the prompt returns; this mechanism addresses another problem.

Question 82

In an introductory Linux course scenario, the class finds: A learner observes a process using gigabytes of memory and concludes that adding free disk space alone will increase physical RAM available to the process. What assurance check should be required for future changes?

  1. Distinguish memory, swap and storage capacity metrics when diagnosing performance or capacity limitations.
  2. Document temporary hosts-file overrides and remove stale mappings before they mask correct DNS behavior later.
  3. Record distro and release channel versions before making stability or long-term support claims about a Linux deployment.
  4. Check machine architecture and boot support before reusing media or packages across different hardware families.

Explanation

Correct Answer

A:

This safeguard addresses ram pressure versus persistent disk storage: Distinguish memory, swap and storage capacity metrics when diagnosing performance or capacity limitations. The prevented failure mechanism is: System RAM holds active process memory, while storage devices retain files and any swap space uses storage with different performance characteristics. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

B:

The hosts file provides local name-to-address mappings, while broader DNS lookups depend on the configured resolver and upstream name servers. “Document temporary hosts-file overrides and remove stale mappings before they mask correct DNS behavior later” would remedy that alternative situation, but it would not correct the present issue: system RAM holds active process memory, while storage devices retain files and any swap space uses storage with different performance characteristics.

C:

“Record distro and release channel versions before making stability or long-term support claims about a Linux deployment” is the supported response when linux release channels differ in update cadence, validation and support policy; testing packages may change more frequently than stable ones. Here the decisive response is “Distinguish memory, swap and storage capacity metrics when diagnosing performance or capacity limitations”, so that different intervention does not meet the stated requirement.

D:

Processor architectures such as ARM and x86 use different instruction sets and boot requirements, so binary kernel images are not universally compatible. “Check machine architecture and boot support before reusing media or packages across different hardware families” applies to that other condition. The reported evidence is a learner observes a process using gigabytes of memory and concludes that adding free disk space alone will increase physical RAM available to the process; this alternative would address the wrong dependency.

Question 83

A beginner using a Linux terminal discovers: A user executes echo '$HOME' and is surprised to see literal dollar-sign text instead of the user's home directory value. What ongoing quality or security safeguard is most appropriate?

  1. Choose quote types deliberately and test examples containing dollar signs before turning interactive commands into scripts.
  2. Review intended root paths and existing directories before creating nested trees with automatic parent creation.
  3. Test shell scripts with whitespace-containing filenames and avoid assembling unquoted file paths from external input.
  4. Test environment visibility in child processes rather than assuming a local shell variable automatically becomes globally available.

Explanation

Correct Answer

A:

This safeguard addresses single quotes suppress shell variable expansion: Choose quote types deliberately and test examples containing dollar signs before turning interactive commands into scripts. The prevented failure mechanism is: Single quotes preserve most enclosed characters literally, while double quotes permit parameter expansion in Bash. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

B:

By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy. “Review intended root paths and existing directories before creating nested trees with automatic parent creation” would remedy that alternative situation, but it would not correct the present issue: single quotes preserve most enclosed characters literally, while double quotes permit parameter expansion in Bash.

C:

“Test shell scripts with whitespace-containing filenames and avoid assembling unquoted file paths from external input” is the supported response when shell word splitting treats unquoted spaces as argument separators; appropriate quoting preserves a path containing spaces as one parameter. Here the decisive response is “Choose quote types deliberately and test examples containing dollar signs before turning interactive commands into scripts”, so that different intervention does not meet the stated requirement.

D:

An ordinary shell variable is scoped to the current shell, while exported environment variables are passed to child processes. “Test environment visibility in child processes rather than assuming a local shell variable automatically becomes globally available” applies to that other condition. The reported evidence is a user executes echo '$HOME' and is surprised to see literal dollar-sign text instead of the user's home directory value; this alternative would address the wrong dependency.

Question 84

An instructor reviews this Linux fundamentals exercise: A trainee types a command against home/student/report.txt while working in another directory and cannot understand why the file is not found. Which monitoring practice would best limit a repeat of this weakness?

  1. Identify whether a script expects absolute or relative paths before running it from a different directory.
  2. Prefer installed vendor or distribution documentation before copying unverified shell commands from external websites.
  3. Use help and manual documentation together rather than treating a short usage screen as exhaustive reference material.
  4. Check locally installed Info manuals when a basic help output omits detailed behavior or examples.

Explanation

Correct Answer

A:

This safeguard addresses absolute path starts at filesystem root: Identify whether a script expects absolute or relative paths before running it from a different directory. The prevented failure mechanism is: A path without a leading slash is interpreted relative to the current working directory rather than from the filesystem root. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

B:

Linux packages often install local documentation and examples in conventional directories such as /usr/share/doc. “Prefer installed vendor or distribution documentation before copying unverified shell commands from external websites” would remedy that alternative situation, but it would not correct the present issue: a path without a leading slash is interpreted relative to the current working directory rather than from the filesystem root.

C:

“Use help and manual documentation together rather than treating a short usage screen as exhaustive reference material” is the supported response when short command help commonly summarizes syntax, whereas man pages or extended documentation provide additional concepts and examples. Here the decisive response is “Identify whether a script expects absolute or relative paths before running it from a different directory”, so that different intervention does not meet the stated requirement.

D:

GNU Info documentation can contain linked, structured chapters that supplement terse command help and manual page summaries. “Check locally installed Info manuals when a basic help output omits detailed behavior or examples” applies to that other condition. The reported evidence is a trainee types a command against home/student/report.txt while working in another directory and cannot understand why the file is not found; this alternative would address the wrong dependency.

Question 85

In a Linux Essentials v1.6 practice lab, the learner observes: A device driver fails to initialize after a hardware change, but the trainee searches only their personal shell history for an explanation of kernel-level events. What is the appropriate remediation for this scenario?

  1. Run an appropriate ps display and match process identifiers and command names to known active test programs.
  2. Use free with a readable display option to inspect available RAM and swap in the training session.
  3. Start top for the controlled workload and identify the process consuming the observed CPU resources.
  4. Inspect authorized dmesg output near the relevant event and correlate it with the installed device and driver.

Explanation

Correct Answer

D:

The main issue is: Kernel messages can be examined with dmesg and may record hardware detection and driver failures independently of shell command history. The appropriate correction is: Inspect authorized dmesg output near the relevant event and correlate it with the installed device and driver. Verify success by checking: A controlled hardware or module event produces a recognizable kernel diagnostic rather than merely a typed shell command entry.

Incorrect Answers

A:

This action addresses ps displays processes at a point in time, whose causal condition is: Executable files stored on disk are not the same as running processes; the ps command reports process information at the time of inspection. The current scenario instead requires attention to: Kernel messages can be examined with dmesg and may record hardware detection and driver failures independently of shell command history.

B:

This action addresses free reports memory and available capacity, whose causal condition is: Filesystem storage capacity and main memory statistics are separate resources; the free command reports memory and swap usage. In this question the necessary remedy is “Inspect authorized dmesg output near the relevant event and correlate it with the installed device and driver”, which this alternative does not provide.

C:

This action addresses top interactively monitors process resource usage, whose causal condition is: The top utility provides an interactive view of running tasks and CPU or memory activity that changes while the system runs. The observed condition is a device driver fails to initialize after a hardware change, but the trainee searches only their personal shell history for an explanation of kernel-level events; this mechanism addresses another problem.

Question 86

In a Linux Essentials v1.6 practice lab, the learner observes: A beginner uses a hard-coded /home/alice directory in a shared shell script and it fails for another account with a different home path. Which preventive control should be standardized to avoid recurrence?

  1. Preview wildcard matches before executing delete or move commands that could affect more files than intended.
  2. Use an explicit all-files listing when investigating missing dotfiles or hidden application configuration.
  3. Test path construction under multiple accounts rather than hard-coding one person's home directory into shared shell commands.
  4. Inspect metadata with long listings before modifying permissions or assuming an entry with a familiar extension is executable.

Explanation

Correct Answer

C:

This safeguard addresses tilde expansion returns user home directory: Test path construction under multiple accounts rather than hard-coding one person's home directory into shared shell commands. The prevented failure mechanism is: The shell can expand a leading tilde into the current user's configured home directory, avoiding assumptions about account names. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

For normal unquoted filename patterns, Bash pathname expansion substitutes matching directory entries before the command receives its arguments. “Preview wildcard matches before executing delete or move commands that could affect more files than intended” would remedy that alternative situation, but it would not correct the present issue: the shell can expand a leading tilde into the current user's configured home directory, avoiding assumptions about account names.

B:

“Use an explicit all-files listing when investigating missing dotfiles or hidden application configuration” is the supported response when names beginning with a dot are conventionally hidden from normal directory listing output unless an appropriate option is provided. Here the decisive response is “Test path construction under multiple accounts rather than hard-coding one person's home directory into shared shell commands”, so that different intervention does not meet the stated requirement.

D:

The ls long format displays file type, permission bits, ownership, sizes and other metadata not shown in a simple filename list. “Inspect metadata with long listings before modifying permissions or assuming an entry with a familiar extension is executable” applies to that other condition. The reported evidence is a beginner uses a hard-coded /home/alice directory in a shared shell script and it fails for another account with a different home path; this alternative would address the wrong dependency.

Question 87

A controlled command-line practice exercise reports: A smartphone runs Android and a beginner expects every desktop GNU/Linux command and graphical application to be present because Android uses the Linux kernel. What is the appropriate remediation for this scenario?

  1. Identify the specific Linux Mint edition and its base repositories before selecting compatible desktop software and help instructions.
  2. Install an authorized web server such as NGINX and configure a simple document root and reachable listener.
  3. Connect to the authorized Linux guest and use normal distribution identification and shell commands while respecting cloud-specific access controls.
  4. Distinguish the shared kernel lineage from the separate Android application stack when selecting supported software or terminal tools.

Explanation

Correct Answer

D:

The main issue is: Android relies on a Linux-based kernel but its normal userspace, application runtime and user interface are not identical to a desktop GNU/Linux distribution. The appropriate correction is: Distinguish the shared kernel lineage from the separate Android application stack when selecting supported software or terminal tools. Verify success by checking: The learner correctly identifies the Linux kernel relationship while explaining why a desktop package manager is not built into a normal Android device.

Incorrect Answers

A:

This action addresses linux mint desktop versus ubuntu ecosystem, whose causal condition is: Desktop environments and distribution branding do not determine kernel origin or every package management convention independently. The current scenario instead requires attention to: Android relies on a Linux-based kernel but its normal userspace, application runtime and user interface are not identical to a desktop GNU/Linux distribution.

B:

This action addresses nginx web server application versus web browser, whose causal condition is: A web browser is a client application, whereas NGINX or Apache HTTP Server provides server-side HTTP responses when installed and configured. In this question the necessary remedy is “Distinguish the shared kernel lineage from the separate Android application stack when selecting supported software or terminal tools”, which this alternative does not provide.

C:

This action addresses linux deployment in virtual machines and cloud hosts, whose causal condition is: Virtualization and cloud services package compute resources differently, but Linux guest systems still expose their kernel and standard userspace tools. The observed condition is a smartphone runs Android and a beginner expects every desktop GNU/Linux command and graphical application to be present because Android uses the Linux kernel; this mechanism addresses another problem.

Question 88

Before approving this basic Linux procedure, the team observes: A trainee searches a code list for entries such as cat and cot but uses a fixed-string search for c.t and expects the dot to match any character. What ongoing quality or security safeguard is most appropriate?

  1. Test regular expressions with positive and negative fixtures before applying them to real logs or automation.
  2. Inspect ZIP contents before extraction and avoid overwriting unrelated files with an unfamiliar archive.
  3. Differentiate regular expression syntax from shell wildcard syntax when writing file filters and text searches.
  4. Choose unambiguous patterns and review matches before using them as evidence of a particular software failure.

Explanation

Correct Answer

A:

This safeguard addresses basic regular expression dot and character classes: Test regular expressions with positive and negative fixtures before applying them to real logs or automation. The prevented failure mechanism is: In basic regular expressions, an unescaped dot matches a single character, and bracket expressions can select a defined character set. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

B:

ZIP is an archive format holding one or more entries, often compressed, rather than an ordinary text document. “Inspect ZIP contents before extraction and avoid overwriting unrelated files with an unfamiliar archive” would remedy that alternative situation, but it would not correct the present issue: in basic regular expressions, an unescaped dot matches a single character, and bracket expressions can select a defined character set.

C:

“Differentiate regular expression syntax from shell wildcard syntax when writing file filters and text searches” is the supported response when in basic regular expressions, the asterisk repeats the immediately preceding expression zero or more times rather than acting as a generic arbitrary suffix. Here the decisive response is “Test regular expressions with positive and negative fixtures before applying them to real logs or automation”, so that different intervention does not meet the stated requirement.

D:

Grep filters input by a pattern and prints matching lines, making it suitable for locating occurrences in text files. “Choose unambiguous patterns and review matches before using them as evidence of a particular software failure” applies to that other condition. The reported evidence is a trainee searches a code list for entries such as cat and cot but uses a fixed-string search for c.t and expects the dot to match any character; this alternative would address the wrong dependency.

Question 89

An entry-level Linux support technician investigates: A help-desk trainee needs to update one protected file and considers sharing the system's root password with every team member for convenience. Which underlying technical principle explains these observations?

  1. The su utility can start a shell under another account, so effective identity and login-environment details can differ from the caller's previous session.
  2. A normal account and the root superuser have different default privileges, and protected system changes require authorized elevated access.
  3. The /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database.
  4. Sudo can authorize and log selected privileged commands under a named user account without distributing a shared root login secret.

Explanation

Correct Answer

D:

The technical basis is: Sudo can authorize and log selected privileged commands under a named user account without distributing a shared root login secret. Resolve this through: Run only the approved administrative command through sudo under the user's authorized policy rather than exposing root credentials. The expected evidence is: The named permitted account performs the test administrative action and a second unauthorized account receives a denial.

Incorrect Answers

A:

The su utility can start a shell under another account, so effective identity and login-environment details can differ from the caller's previous session. “Use an approved su invocation to enter the intended authorized account and inspect the resulting identity before running commands” would remedy that alternative situation, but it would not correct the present issue: sudo can authorize and log selected privileged commands under a named user account without distributing a shared root login secret.

B:

“Use the approved administrative procedure under an authorized privileged identity rather than removing broad filesystem protections” is the supported response when a normal account and the root superuser have different default privileges, and protected system changes require authorized elevated access. Here the decisive response is “Run only the approved administrative command through sudo under the user's authorized policy rather than exposing root credentials”, so that different intervention does not meet the stated requirement.

C:

The /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database. “Inspect approved account metadata through standard account tools without attempting to reveal password hashes or weaken shadow permissions” applies to that other condition. The reported evidence is a help-desk trainee needs to update one protected file and considers sharing the system's root password with every team member for convenience; this alternative would address the wrong dependency.

Question 90

In an introductory Linux course scenario, the class finds: Two Linux laboratory computers need to mount one shared course directory, but the students assume that copying files manually after each change is the only option. What assurance check should be required for future changes?

  1. Classify software by its purpose and avoid substituting document editing tools for a persistent relational data service.
  2. Select the network file-sharing protocol based on client compatibility and permissions, not simply network connectivity.
  3. Protect NFS exports by client and filesystem permissions and avoid confusing a mounted share with independent duplicated files.
  4. Match open source application selection to actual document, media or development tasks rather than to licensing alone.

Explanation

Correct Answer

C:

This safeguard addresses nfs network filesystem for linux clients: Protect NFS exports by client and filesystem permissions and avoid confusing a mounted share with independent duplicated files. The prevented failure mechanism is: NFS provides a network filesystem model that Linux clients can mount, while local copies do not stay synchronized automatically. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

MariaDB and PostgreSQL are database management systems that maintain structured tables and queries, unlike a simple text editing application. “Classify software by its purpose and avoid substituting document editing tools for a persistent relational data service” would remedy that alternative situation, but it would not correct the present issue: NFS provides a network filesystem model that Linux clients can mount, while local copies do not stay synchronized automatically.

B:

“Select the network file-sharing protocol based on client compatibility and permissions, not simply network connectivity” is the supported response when samba commonly implements SMB interoperability with Windows file-sharing clients, while NFS uses a different file-sharing protocol and ecosystem. Here the decisive response is “Protect NFS exports by client and filesystem permissions and avoid confusing a mounted share with independent duplicated files”, so that different intervention does not meet the stated requirement.

D:

Open source licensing does not imply identical application roles; LibreOffice provides office document and spreadsheet editing functionality. “Match open source application selection to actual document, media or development tasks rather than to licensing alone” applies to that other condition. The reported evidence is two Linux laboratory computers need to mount one shared course directory, but the students assume that copying files manually after each change is the only option; this alternative would address the wrong dependency.