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 14

Question 130

An instructor reviews this Linux fundamentals exercise: A learner grants read permission on a shared directory but removes its execute permission, after which colleagues can see directory names yet cannot enter it or open files. Which observed outcome confirms that the Linux operation works as intended?

  1. The link resolves to its intended report when the target exists and deleting a disposable link leaves the original report present.
  2. The filename reports the new account as owner while the original document bytes remain unchanged after the metadata change.
  3. The intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked.
  4. Two users can create their own temporary files, but an ordinary unrelated user cannot remove the other's protected entry.

Explanation

Correct Answer

C:

This specifically verifies directory execute permission controls traversal: The intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked. The related engineering correction is: Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The link resolves to its intended report when the target exists and deleting a disposable link leaves the original report present. “Create or inspect a symbolic link using ln -s and an appropriate listing, then distinguish removal of the link from removal of the target” would remedy that alternative situation, but it would not correct the present issue: the intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked.

B:

“Use an appropriately authorized chown operation to set the intended owner and inspect the result with a long listing” is the supported response when the filename reports the new account as owner while the original document bytes remain unchanged after the metadata change. Here the decisive response is “Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files”, so that different intervention does not meet the stated requirement.

D:

Two users can create their own temporary files, but an ordinary unrelated user cannot remove the other's protected entry. “Use the appropriate sticky-bit directory permissions for an approved shared temporary directory without making all individual files public” applies to that other condition. The reported evidence is a learner grants read permission on a shared directory but removes its execute permission, after which colleagues can see directory names yet cannot enter it or open files; this alternative would address the wrong dependency.

Question 131

In an introductory Linux course scenario, the class finds: A beginner extracts a course archive from an untrusted download into the current working directory and unexpectedly overwrites similarly named notes. What acceptance evidence demonstrates that the requirement is satisfied?

  1. A deliberately failing test command returns nonzero and the script reports failure rather than pretending the operation completed.
  2. The expected source files are restored with correct relative paths and no leftover gzip wrapper obscures the archive contents.
  3. The recovered files appear inside the designated staging directory and existing notes outside that tree are unchanged.
  4. A controlled sample compressed with xz expands correctly through the matching tool while the mismatched bzip2 tool fails predictably.

Explanation

Correct Answer

C:

This specifically verifies tar extraction into an approved destination: The recovered files appear inside the designated staging directory and existing notes outside that tree are unchanged. The related engineering correction is: Inspect the archive file list and extract into a new controlled directory rather than an unknown working location. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

A deliberately failing test command returns nonzero and the script reports failure rather than pretending the operation completed. “Inspect the command's exit status and use a conditional check before starting the next dependent step” would remedy that alternative situation, but it would not correct the present issue: the recovered files appear inside the designated staging directory and existing notes outside that tree are unchanged.

B:

“Use supported tar extraction with gzip support, or decompress the stream and then extract its tar archive” is the supported response when the expected source files are restored with correct relative paths and no leftover gzip wrapper obscures the archive contents. Here the decisive response is “Inspect the archive file list and extract into a new controlled directory rather than an unknown working location”, so that different intervention does not meet the stated requirement.

D:

A controlled sample compressed with xz expands correctly through the matching tool while the mismatched bzip2 tool fails predictably. “Identify the archive's true format and select the appropriate xz or bzip2 decompressor before restoring file contents” applies to that other condition. The reported evidence is a beginner extracts a course archive from an untrusted download into the current working directory and unexpectedly overwrites similarly named notes; this alternative would address the wrong dependency.

Question 132

In a Linux Essentials v1.6 practice lab, the learner observes: A student is asked to create a backup copy of one notes file but uses mv and then believes the original source file has been unexpectedly deleted. Which underlying technical principle explains these observations?

  1. Shell word splitting treats unquoted spaces as argument separators; appropriate quoting preserves a path containing spaces as one parameter.
  2. The cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry.
  3. By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy.
  4. Removing ordinary files and recursively removing directories are different operations, and recursive deletion can irreversibly delete many entries.

Explanation

Correct Answer

B:

The technical basis is: The cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry. Resolve this through: Use cp with a distinct destination pathname and confirm both source and backup copies exist. The expected evidence is: The original notes file remains at the initial location and a second file with the expected contents appears at the backup path.

Incorrect Answers

A:

Shell word splitting treats unquoted spaces as argument separators; appropriate quoting preserves a path containing spaces as one parameter. “Pass the pathname as a single double-quoted argument or use correct escaping when invoking the desired file command” would remedy that alternative situation, but it would not correct the present issue: the cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry.

C:

“Use mkdir -p for the desired nested directory path after checking where it will be created” is the supported response when by default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy. Here the decisive response is “Use cp with a distinct destination pathname and confirm both source and backup copies exist”, so that different intervention does not meet the stated requirement.

D:

Removing ordinary files and recursively removing directories are different operations, and recursive deletion can irreversibly delete many entries. “Inspect the exact directory contents and use the appropriate explicitly authorized recursive removal method only when the intended tree is confirmed” applies to that other condition. The reported evidence is a student is asked to create a backup copy of one notes file but uses mv and then believes the original source file has been unexpectedly deleted; this alternative would address the wrong dependency.

Question 133

A beginner using a Linux terminal discovers: A teacher wants to edit documents and spreadsheets on Linux but installs a command-line image converter because both are listed as open source packages. What ongoing quality or security safeguard is most appropriate?

  1. Separate virtualization or cloud resource management from the Linux operating system installed inside an instance.
  2. Select the network file-sharing protocol based on client compatibility and permissions, not simply network connectivity.
  3. Classify software by its purpose and avoid substituting document editing tools for a persistent relational data service.
  4. Match open source application selection to actual document, media or development tasks rather than to licensing alone.

Explanation

Correct Answer

D:

This safeguard addresses libreoffice open source office productivity suite: Match open source application selection to actual document, media or development tasks rather than to licensing alone. The prevented failure mechanism is: Open source licensing does not imply identical application roles; LibreOffice provides office document and spreadsheet editing functionality. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

Virtualization and cloud services package compute resources differently, but Linux guest systems still expose their kernel and standard userspace tools. “Separate virtualization or cloud resource management from the Linux operating system installed inside an instance” would remedy that alternative situation, but it would not correct the present issue: open source licensing does not imply identical application roles; LibreOffice provides office document and spreadsheet editing functionality.

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 “Match open source application selection to actual document, media or development tasks rather than to licensing alone”, so that different intervention does not meet the stated requirement.

C:

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” applies to that other condition. The reported evidence is a teacher wants to edit documents and spreadsheets on Linux but installs a command-line image converter because both are listed as open source packages; this alternative would address the wrong dependency.

Question 134

In an introductory Linux course scenario, the class finds: A learner sees a script with valid Bash syntax but attempts to run its filename from an unrelated directory without a path or executable bit. What assurance check should be required for future changes?

  1. Use the minimum necessary execute permissions and verify ownership before marking scripts executable for multiple users.
  2. Check exit codes in scripts that chain operations and do not treat friendly console messages as proof of success.
  3. Document script execution requirements and working-directory assumptions when handing command-line exercises to other users.
  4. Practice editor save and exit operations on noncritical files before changing system startup or shared shell scripts.

Explanation

Correct Answer

C:

This safeguard addresses bash script invocation through interpreter: Document script execution requirements and working-directory assumptions when handing command-line exercises to other users. The prevented failure mechanism is: A script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

Direct execution requires suitable executable permission on a regular file, while explicitly invoking Bash only needs permission to read its contents. “Use the minimum necessary execute permissions and verify ownership before marking scripts executable for multiple users” would remedy that alternative situation, but it would not correct the present issue: a script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions.

B:

“Check exit codes in scripts that chain operations and do not treat friendly console messages as proof of success” is the supported response when unix-style command exit codes commonly use zero for success and nonzero values for errors, independent of text printed to the terminal. Here the decisive response is “Document script execution requirements and working-directory assumptions when handing command-line exercises to other users”, so that different intervention does not meet the stated requirement.

D:

Editors such as vi and nano allow interactive modification of text files, whereas archivers and compressors transform file representations. “Practice editor save and exit operations on noncritical files before changing system startup or shared shell scripts” applies to that other condition. The reported evidence is a learner sees a script with valid Bash syntax but attempts to run its filename from an unrelated directory without a path or executable bit; this alternative would address the wrong dependency.

Question 135

A controlled command-line practice exercise reports: An analyst expects wc -l, wc -w and wc -c to give the same number for a text document and reports a discrepancy when they differ. Which limitation most directly accounts for the reported behavior?

  1. ZIP is an archive format holding one or more entries, often compressed, rather than an ordinary text document.
  2. The wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively.
  3. Head selects leading lines, while tail selects trailing lines from a text stream or file.
  4. A shebang line at the beginning of an executable script can identify its intended interpreter for direct execution.

Explanation

Correct Answer

B:

The technical basis is: The wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively. Resolve this through: Select the appropriate wc count option for the specified measurement rather than treating all numeric outputs as interchangeable. The expected evidence is: A sample with two newline-terminated lines and several words yields separate predictable line, word and byte counts.

Incorrect Answers

A:

ZIP is an archive format holding one or more entries, often compressed, rather than an ordinary text document. “Use a suitable unzip utility to list and extract the intended archive entries into a chosen directory” would remedy that alternative situation, but it would not correct the present issue: the wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively.

C:

“Use tail with a suitable line count to inspect the latest stored lines and head when the first records are needed” is the supported response when head selects leading lines, while tail selects trailing lines from a text stream or file. Here the decisive response is “Select the appropriate wc count option for the specified measurement rather than treating all numeric outputs as interchangeable”, so that different intervention does not meet the stated requirement.

D:

A shebang line at the beginning of an executable script can identify its intended interpreter for direct execution. “Place an appropriate supported Bash interpreter directive at the first line and confirm the path exists on the training system” applies to that other condition. The reported evidence is an analyst expects wc -l, wc -w and wc -c to give the same number for a text document and reports a discrepancy when they differ; this alternative would address the wrong dependency.

Question 136

An instructor reviews this Linux fundamentals exercise: A learner changes the text inside /etc/passwd expecting to update their login password and then cannot authenticate with the intended new secret. What is the appropriate remediation for this scenario?

  1. Use passwd or the approved administrative reset workflow to change the appropriate account credential safely.
  2. Run the supported user creation process with approved home directory and account defaults, then verify the new entry through account tools.
  3. Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy.
  4. Inspect id output and the account's current groups, then correct authorized membership and refresh the session where needed.

Explanation

Correct Answer

A:

The main issue is: The passwd utility performs an authorized password update using the system's account authentication mechanisms rather than editing identity metadata as plain text. The appropriate correction is: Use passwd or the approved administrative reset workflow to change the appropriate account credential safely. Verify success by checking: The authorized test user can authenticate with the new password while the former credential is rejected according to system policy.

Incorrect Answers

B:

This action addresses useradd creates account with intended home directory, whose causal condition is: Creating a filesystem directory does not create a Unix user identity with a UID, account database entry and login settings. The current scenario instead requires attention to: The passwd utility performs an authorized password update using the system's account authentication mechanisms rather than editing identity metadata as plain text.

C:

This action addresses groupadd creates an independent group identity, whose causal condition is: A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name. In this question the necessary remedy is “Use passwd or the approved administrative reset workflow to change the appropriate account credential safely”, which this alternative does not provide.

D:

This action addresses id and group membership for account verification, whose causal condition is: Effective group access depends on actual user and supplementary group identity information, which can be inspected with tools such as id. The observed condition is a learner changes the text inside /etc/passwd expecting to update their login password and then cannot authenticate with the intended new secret; this mechanism addresses another problem.

Question 137

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 preventive control should be standardized to avoid recurrence?

  1. Confirm active identity and shell environment after using su, particularly before modifying files belonging to another account.
  2. Keep password hash storage restricted and distinguish public identity metadata from secret authentication material.
  3. Prefer accountable per-user privilege delegation and review sudo rights instead of making shared root passwords a routine workflow.
  4. Use standard-user sessions for ordinary work and limit root-level changes to justified tasks with reviewable audit context.

Explanation

Correct Answer

C:

This safeguard addresses sudo command elevation without root login: Prefer accountable per-user privilege delegation and review sudo rights instead of making shared root passwords a routine workflow. The prevented failure mechanism is: Sudo can authorize and log selected privileged commands under a named user account without distributing a shared root login secret. A control for an unrelated service cannot establish the required protection.

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. “Confirm active identity and shell environment after using su, particularly before modifying files belonging to another account” 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:

“Keep password hash storage restricted and distinguish public identity metadata from secret authentication material” is the supported response when the /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database. Here the decisive response is “Prefer accountable per-user privilege delegation and review sudo rights instead of making shared root passwords a routine workflow”, so that different intervention does not meet the stated requirement.

D:

A normal account and the root superuser have different default privileges, and protected system changes require authorized elevated access. “Use standard-user sessions for ordinary work and limit root-level changes to justified tasks with reviewable audit context” 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 138

Before approving this basic Linux procedure, the team observes: A learner tries to create coursework/week1/scripts with a single mkdir command but receives an error because the intermediate coursework directory does not yet exist. Which engineering change best satisfies the stated operational requirement?

  1. Open the applicable man section for the command-line utility or use the manual's section selection features.
  2. Run find from the appropriate search root with a quoted name pattern and review matches before taking further action.
  3. Use mkdir -p for the desired nested directory path after checking where it will be created.
  4. Use cp with a distinct destination pathname and confirm both source and backup copies exist.

Explanation

Correct Answer

C:

The main issue is: By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy. The appropriate correction is: Use mkdir -p for the desired nested directory path after checking where it will be created. Verify success by checking: A listing confirms the complete coursework/week1/scripts hierarchy exists without unintended sibling directories.

Incorrect Answers

A:

This action addresses man page sections disambiguate same utility name, whose causal condition is: Manual pages are divided into numbered sections, so the same term can refer to different kinds of interfaces. The current scenario instead requires attention to: By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy.

B:

This action addresses find directory tree by filename pattern, whose causal condition is: A filesystem search utility such as find can traverse directories and filter entries by name and other supported properties. In this question the necessary remedy is “Use mkdir -p for the desired nested directory path after checking where it will be created”, which this alternative does not provide.

D:

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 observed condition is a learner tries to create coursework/week1/scripts with a single mkdir command but receives an error because the intermediate coursework directory does not yet exist; this mechanism addresses another problem.

Question 139

A controlled command-line practice exercise reports: An administrator needs to transfer responsibility for a project file to another account but edits the first line of the file to contain the new person's username. Which limitation most directly accounts for the reported behavior?

  1. File ownership is filesystem metadata associated with user and group IDs; changing file contents does not change ownership.
  2. Configured local accounts and active login sessions are different records; tools such as who and w report current logged-in users.
  3. For directories the execute bit governs path traversal, while directory read permission primarily permits listing entry names.
  4. Directory owner, owning group and mode bits collectively determine ordinary discretionary access; changing one owner field alone is insufficient.

Explanation

Correct Answer

A:

The technical basis is: File ownership is filesystem metadata associated with user and group IDs; changing file contents does not change ownership. Resolve this through: Use an appropriately authorized chown operation to set the intended owner and inspect the result with a long listing. The expected evidence is: The filename reports the new account as owner while the original document bytes remain unchanged after the metadata change.

Incorrect Answers

B:

Configured local accounts and active login sessions are different records; tools such as who and w report current logged-in users. “Use who or w to inspect active sessions and separately consult account metadata for the list of created users” would remedy that alternative situation, but it would not correct the present issue: file ownership is filesystem metadata associated with user and group IDs; changing file contents does not change ownership.

C:

“Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files” is the supported response when for directories the execute bit governs path traversal, while directory read permission primarily permits listing entry names. Here the decisive response is “Use an appropriately authorized chown operation to set the intended owner and inspect the result with a long listing”, so that different intervention does not meet the stated requirement.

D:

Directory owner, owning group and mode bits collectively determine ordinary discretionary access; changing one owner field alone is insufficient. “Set the intended owning group and suitable group permissions with authorized filesystem tools after confirming account memberships” applies to that other condition. The reported evidence is an administrator needs to transfer responsibility for a project file to another account but edits the first line of the file to contain the new person's username; this alternative would address the wrong dependency.

Question 140

While preparing a Linux workstation for training, an operator finds: A beginner prints thousands of lines with cat and cannot inspect earlier output because the terminal scrollback is limited. What ongoing quality or security safeguard is most appropriate?

  1. List archive contents and use a disposable extraction directory when handling unfamiliar tar files or backups.
  2. Name the exact unit in reports created with wc and test trailing-newline behavior when exact record counts matter.
  3. Confirm whether a file is appended or rewritten before assuming the last stored lines always represent the newest events.
  4. Use a pager for lengthy diagnostic output rather than repeatedly flooding a terminal with unrestricted command results.

Explanation

Correct Answer

D:

This safeguard addresses less interactive paging of long output: Use a pager for lengthy diagnostic output rather than repeatedly flooding a terminal with unrestricted command results. The prevented failure mechanism is: A pager such as less allows interactive navigation through long text without emitting the whole file as an uncontrolled screen dump. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

Tar extraction restores archived pathname entries relative to a chosen destination, so the current working directory and archive paths affect where files appear. “List archive contents and use a disposable extraction directory when handling unfamiliar tar files or backups” would remedy that alternative situation, but it would not correct the present issue: a pager such as less allows interactive navigation through long text without emitting the whole file as an uncontrolled screen dump.

B:

“Name the exact unit in reports created with wc and test trailing-newline behavior when exact record counts matter” is the supported response when the wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively. Here the decisive response is “Use a pager for lengthy diagnostic output rather than repeatedly flooding a terminal with unrestricted command results”, so that different intervention does not meet the stated requirement.

C:

Head selects leading lines, while tail selects trailing lines from a text stream or file. “Confirm whether a file is appended or rewritten before assuming the last stored lines always represent the newest events” applies to that other condition. The reported evidence is a beginner prints thousands of lines with cat and cannot inspect earlier output because the terminal scrollback is limited; this alternative would address the wrong dependency.