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 10

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.

Question 91

Before approving this basic Linux procedure, the team observes: An intern writes the same echo command ten times for ten filenames and asks how a basic Bash script could repeat one action over a defined list. Which configuration step should the team implement first?

  1. Inspect the archive file list and extract into a new controlled directory rather than an unknown working location.
  2. Reference the first positional argument with suitable expansion and double quotes when it may contain spaces.
  3. Use a simple Bash for loop over the intended fixed sample list and quote each variable when printing or processing it.
  4. Grant the intended owner execute permission to the script and retain appropriate read restrictions on other users.

Explanation

Correct Answer

C:

The main issue is: A for loop iterates over supplied values, assigning each value to a loop variable before executing the body statements. The appropriate correction is: Use a simple Bash for loop over the intended fixed sample list and quote each variable when printing or processing it. Verify success by checking: The loop prints each known sample filename exactly once in the expected iteration order without copying commands repeatedly.

Incorrect Answers

A:

This action addresses tar extraction into an approved destination, whose causal condition is: Tar extraction restores archived pathname entries relative to a chosen destination, so the current working directory and archive paths affect where files appear. The current scenario instead requires attention to: A for loop iterates over supplied values, assigning each value to a loop variable before executing the body statements.

B:

This action addresses positional parameters in bash script arguments, whose causal condition is: Bash positional parameters such as $1 are expanded by the shell unless quoting rules prevent expansion. In this question the necessary remedy is “Use a simple Bash for loop over the intended fixed sample list and quote each variable when printing or processing it”, which this alternative does not provide.

D:

This action addresses executable bit required for direct shell script launch, whose causal condition is: Direct execution requires suitable executable permission on a regular file, while explicitly invoking Bash only needs permission to read its contents. The observed condition is an intern writes the same echo command ten times for ten filenames and asks how a basic Bash script could repeat one action over a defined list; this mechanism addresses another problem.

Question 92

An instructor reviews this Linux fundamentals exercise: A group project file is readable by every account although the team wants only its owner and group to read it, and an operator confuses permission characters. Which observed outcome confirms that the Linux operation works as intended?

  1. An id check inside the resulting shell reports the selected account while the original user's shell remains accessible on exit.
  2. The results identify a test logged-in session while inactive configured accounts are not falsely reported as connected.
  3. A long listing decodes to the intended owner, group and other permissions and an unauthorized account cannot modify the script.
  4. A file long listing shows restricted other bits and a different unapproved account can no longer read the test file.

Explanation

Correct Answer

D:

This specifically verifies chmod symbolic user group other permission edits: A file long listing shows restricted other bits and a different unapproved account can no longer read the test file. The related engineering correction is: Apply the intended symbolic chmod change to remove other-read access while retaining necessary owner and group permissions. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

An id check inside the resulting shell reports the selected account while the original user's shell remains accessible on exit. “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: a file long listing shows restricted other bits and a different unapproved account can no longer read the test file.

B:

“Use who or w to inspect active sessions and separately consult account metadata for the list of created users” is the supported response when the results identify a test logged-in session while inactive configured accounts are not falsely reported as connected. Here the decisive response is “Apply the intended symbolic chmod change to remove other-read access while retaining necessary owner and group permissions”, so that different intervention does not meet the stated requirement.

C:

A long listing decodes to the intended owner, group and other permissions and an unauthorized account cannot modify the script. “Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors” applies to that other condition. The reported evidence is a group project file is readable by every account although the team wants only its owner and group to read it, and an operator confuses permission characters; this alternative would address the wrong dependency.

Question 93

In a Linux Essentials v1.6 practice lab, the learner observes: A trainee compares two text lists with identical names in different orders and concludes the lists contain different members because their lines do not align. Which monitoring practice would best limit a repeat of this weakness?

  1. Use consistent sorting options and locale when relying on command-line comparisons of generated text.
  2. Inspect ZIP contents before extraction and avoid overwriting unrelated files with an unfamiliar archive.
  3. Verify the intended stream is piped and be aware that stderr diagnostics are separate from ordinary standard output.
  4. Review redirection operators before running commands against existing reports or log files containing irreplaceable data.

Explanation

Correct Answer

A:

This safeguard addresses sort arranges lines before report comparison: Use consistent sorting options and locale when relying on command-line comparisons of generated text. The prevented failure mechanism is: The sort command orders text lines according to a selected comparison rule, allowing repeatable list ordering before analysis. 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: the sort command orders text lines according to a selected comparison rule, allowing repeatable list ordering before analysis.

C:

“Verify the intended stream is piped and be aware that stderr diagnostics are separate from ordinary standard output” is the supported response when a shell pipeline connects one command's standard output to the next command's standard input. Here the decisive response is “Use consistent sorting options and locale when relying on command-line comparisons of generated text”, so that different intervention does not meet the stated requirement.

D:

The > redirection truncates or creates an output file, while >> appends to the existing file in a normal shell. “Review redirection operators before running commands against existing reports or log files containing irreplaceable data” applies to that other condition. The reported evidence is a trainee compares two text lists with identical names in different orders and concludes the lists contain different members because their lines do not align; this alternative would address the wrong dependency.

Question 94

A controlled command-line practice exercise reports: A student needs the newest events near the end of a long append-only log but repeatedly runs head and sees only the oldest lines. Which underlying technical principle explains these observations?

  1. Head selects leading lines, while tail selects trailing lines from a text stream or file.
  2. A shebang line at the beginning of an executable script can identify its intended interpreter for direct execution.
  3. A pager such as less allows interactive navigation through long text without emitting the whole file as an uncontrolled screen dump.
  4. The wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively.

Explanation

Correct Answer

A:

The technical basis is: Head selects leading lines, while tail selects trailing lines from a text stream or file. Resolve this through: Use tail with a suitable line count to inspect the latest stored lines and head when the first records are needed. The expected evidence is: The chosen command displays the expected final test events without reading and printing the entire log.

Incorrect Answers

B:

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” would remedy that alternative situation, but it would not correct the present issue: head selects leading lines, while tail selects trailing lines from a text stream or file.

C:

“Open the output in less and use supported navigation or search keys to inspect the desired section” is the supported response when a pager such as less allows interactive navigation through long text without emitting the whole file as an uncontrolled screen dump. Here the decisive response is “Use tail with a suitable line count to inspect the latest stored lines and head when the first records are needed”, so that different intervention does not meet the stated requirement.

D:

The wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively. “Select the appropriate wc count option for the specified measurement rather than treating all numeric outputs as interchangeable” applies to that other condition. The reported evidence is a student needs the newest events near the end of a long append-only log but repeatedly runs head and sees only the oldest lines; this alternative would address the wrong dependency.

Question 95

A beginner using a Linux terminal discovers: A technician successfully pings an IP address but cannot ping the intended hostname and concludes that all network connectivity is down. Which engineering change best satisfies the stated operational requirement?

  1. Use ip route show to examine the destination or default route and correct only authorized local training settings.
  2. Inspect the relevant /etc/hosts entry and resolver settings separately when troubleshooting the intended name.
  3. Compare controlled numeric-address ping results against host or other name lookup output before changing routing.
  4. Inspect ss with appropriate listening and protocol flags and verify whether the expected local port is actually bound.

Explanation

Correct Answer

C:

The main issue is: IP reachability and hostname resolution are separate stages; direct numeric address success can coexist with DNS configuration failure. The appropriate correction is: Compare controlled numeric-address ping results against host or other name lookup output before changing routing. Verify success by checking: The numeric test remains reachable while a resolver correction restores the intended hostname lookup and subsequent connection.

Incorrect Answers

A:

This action addresses default route found using ip route show, whose causal condition is: An IP address alone does not prove an external route exists; the kernel routing table determines the next hop for off-subnet traffic. The current scenario instead requires attention to: IP reachability and hostname resolution are separate stages; direct numeric address success can coexist with DNS configuration failure.

B:

This action addresses hosts file versus dns resolver configuration, whose causal condition is: The hosts file provides local name-to-address mappings, while broader DNS lookups depend on the configured resolver and upstream name servers. In this question the necessary remedy is “Compare controlled numeric-address ping results against host or other name lookup output before changing routing”, which this alternative does not provide.

D:

This action addresses ss displays current network socket listeners, whose causal condition is: The ss utility can show listening sockets and established connections, which are different from general filesystem or process listings. The observed condition is a technician successfully pings an IP address but cannot ping the intended hostname and concludes that all network connectivity is down; this mechanism addresses another problem.

Question 96

In a Linux Essentials v1.6 practice lab, the learner observes: 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 underlying technical principle explains these observations?

  1. A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name.
  2. Directory owner, owning group and mode bits collectively determine ordinary discretionary access; changing one owner field alone is insufficient.
  3. For directories the execute bit governs path traversal, while directory read permission primarily permits listing entry names.
  4. The sticky bit on a shared writable directory restricts removal or renaming of entries by unrelated users, subject to ownership and privilege rules.

Explanation

Correct Answer

C:

The technical basis is: For directories the execute bit governs path traversal, while directory read permission primarily permits listing entry names. Resolve this through: Grant the minimum search or execute permission needed to traverse the intended directory and preserve appropriate protections on its files. The expected evidence is: The intended group can enter the authorized directory and open permitted files while unrelated accounts remain blocked.

Incorrect Answers

A:

A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name. “Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy” would remedy that alternative situation, but it would not correct the present issue: for directories the execute bit governs path traversal, while directory read permission primarily permits listing entry names.

B:

“Set the intended owning group and suitable group permissions with authorized filesystem tools after confirming account memberships” is the supported response when directory owner, owning group and mode bits collectively determine ordinary discretionary access; changing one owner field alone is insufficient. 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:

The sticky bit on a shared writable directory restricts removal or renaming of entries by unrelated users, subject to ownership and privilege rules. “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 97

In an introductory Linux course scenario, the class finds: A learner sets PROJECT=lab in one Bash shell and starts a separate script but the script cannot read that value because it was never exported. What acceptance evidence demonstrates that the requirement is satisfied?

  1. A newly started shell or script prints the intended PROJECT value while unrelated session state remains unchanged.
  2. A directory listing or file copy accesses the intended My Reports path without a missing-argument or nonexistent-path error.
  3. A harmless echo command displays the expected text immediately while an unavailable command yields an understandable shell lookup error.
  4. The output shows the resolved home directory when double quoted and the literal variable name when single quoted.

Explanation

Correct Answer

A:

This specifically verifies shell variable assignment and export to child processes: A newly started shell or script prints the intended PROJECT value while unrelated session state remains unchanged. The related engineering correction is: Export the needed variable in the parent shell before launching the child and confirm its value within the executed script. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

B:

A directory listing or file copy accesses the intended My Reports path without a missing-argument or nonexistent-path error. “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: a newly started shell or script prints the intended PROJECT value while unrelated session state remains unchanged.

C:

“Enter the required command with valid syntax at the shell prompt and observe the resulting output or documented error” is the supported response when a harmless echo command displays the expected text immediately while an unavailable command yields an understandable shell lookup error. Here the decisive response is “Export the needed variable in the parent shell before launching the child and confirm its value within the executed script”, so that different intervention does not meet the stated requirement.

D:

The output shows the resolved home directory when double quoted and the literal variable name when single quoted. “Use double quotes around the requested variable expansion when the intention is to display its current value safely” applies to that other condition. The reported evidence is a learner sets PROJECT=lab in one Bash shell and starts a separate script but the script cannot read that value because it was never exported; this alternative would address the wrong dependency.

Question 98

In a Linux Essentials v1.6 practice lab, the learner observes: A trainee tries rm project to remove a nonempty directory and then attempts an unsafe wildcard command when the shell reports that the directory cannot be removed. Which supported corrective action most directly addresses the problem?

  1. Run find from the appropriate search root with a quoted name pattern and review matches before taking further action.
  2. Use cp with a distinct destination pathname and confirm both source and backup copies exist.
  3. Use mkdir -p for the desired nested directory path after checking where it will be created.
  4. Inspect the exact directory contents and use the appropriate explicitly authorized recursive removal method only when the intended tree is confirmed.

Explanation

Correct Answer

D:

The main issue is: Removing ordinary files and recursively removing directories are different operations, and recursive deletion can irreversibly delete many entries. The appropriate correction is: Inspect the exact directory contents and use the appropriate explicitly authorized recursive removal method only when the intended tree is confirmed. Verify success by checking: A disposable test directory and its expected children are removed while a neighboring preserved directory remains present.

Incorrect Answers

A:

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. The current scenario instead requires attention to: Removing ordinary files and recursively removing directories are different operations, and recursive deletion can irreversibly delete many entries.

B:

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. In this question the necessary remedy is “Inspect the exact directory contents and use the appropriate explicitly authorized recursive removal method only when the intended tree is confirmed”, which this alternative does not provide.

C:

This action addresses mkdir nested directories requires parent handling, whose causal condition is: By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy. The observed condition is a trainee tries rm project to remove a nonempty directory and then attempts an unsafe wildcard command when the shell reports that the directory cannot be removed; this mechanism addresses another problem.

Question 99

In a Linux Essentials v1.6 practice lab, the learner 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 limitation most directly accounts for the reported behavior?

  1. The shell can expand a leading tilde into the current user's configured home directory, avoiding assumptions about account names.
  2. A filesystem search utility such as find can traverse directories and filter entries by name and other supported properties.
  3. The cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry.
  4. By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy.

Explanation

Correct Answer

D:

The technical basis is: By default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy. Resolve this through: Use mkdir -p for the desired nested directory path after checking where it will be created. The expected evidence is: A listing confirms the complete coursework/week1/scripts hierarchy exists without unintended sibling directories.

Incorrect Answers

A:

The shell can expand a leading tilde into the current user's configured home directory, avoiding assumptions about account names. “Use a supported tilde-based home path or the HOME variable appropriately when constructing a personal file location” would remedy that alternative situation, but it would not correct the present issue: by default mkdir requires parent directories to exist; its supported parent-creation option can create the missing hierarchy.

B:

“Run find from the appropriate search root with a quoted name pattern and review matches before taking further action” is the supported response when a filesystem search utility such as find can traverse directories and filter entries by name and other supported properties. Here the decisive response is “Use mkdir -p for the desired nested directory path after checking where it will be created”, so that different intervention does not meet the stated requirement.

C:

The cp command copies file contents into another pathname, whereas mv relocates or renames the original directory entry. “Use cp with a distinct destination pathname and confirm both source and backup copies exist” applies to that other condition. The reported evidence 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 alternative would address the wrong dependency.

Question 100

In an introductory Linux course scenario, the class finds: A teacher wants several students to share access to a project folder and types the desired group name into a directory filename, expecting the group to exist. What is the principal cause of this result?

  1. The /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database.
  2. Creating a filesystem directory does not create a Unix user identity with a UID, account database entry and login settings.
  3. A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name.
  4. The passwd utility performs an authorized password update using the system's account authentication mechanisms rather than editing identity metadata as plain text.

Explanation

Correct Answer

C:

The technical basis is: A Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name. Resolve this through: Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy. The expected evidence is: The new group appears in group account records and selected test members have the intended group membership.

Incorrect Answers

A:

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” would remedy that alternative situation, but it would not correct the present issue: a Linux group is an account database entity with a group ID, not merely a label embedded in a file or directory name.

B:

“Run the supported user creation process with approved home directory and account defaults, then verify the new entry through account tools” is the supported response when creating a filesystem directory does not create a Unix user identity with a UID, account database entry and login settings. Here the decisive response is “Create the approved group using groupadd or a supported account tool, then assign authorized members according to policy”, so that different intervention does not meet the stated requirement.

D:

The passwd utility performs an authorized password update using the system's account authentication mechanisms rather than editing identity metadata as plain text. “Use passwd or the approved administrative reset workflow to change the appropriate account credential safely” applies to that other condition. The reported evidence is a teacher wants several students to share access to a project folder and types the desired group name into a directory filename, expecting the group to exist; this alternative would address the wrong dependency.