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 8

Question 70

An entry-level Linux support technician investigates: A learner reads a regular expression ab* and assumes it means any characters after ab, then receives unexpected matches such as a and abbb. Which observed outcome confirms that the Linux operation works as intended?

  1. The worksheet files and nested directory are recovered and can be opened separately after extraction.
  2. Both expected three-character test words match while an unrelated four-character word does not satisfy the intended expression.
  3. The output contains only the test log lines that match the expected marker, including their original text.
  4. A controlled test illustrates that ab* can match a plus zero or more b characters, while a separate pattern captures the intended full word.

Explanation

Correct Answer

D:

This specifically verifies grep regular expression star repeats preceding token: A controlled test illustrates that ab* can match a plus zero or more b characters, while a separate pattern captures the intended full word. The related engineering correction is: Construct a pattern using the correct anchors and tokens for the desired match, and distinguish it from shell filename globbing. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The worksheet files and nested directory are recovered and can be opened separately after extraction. “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: a controlled test illustrates that ab* can match a plus zero or more b characters, while a separate pattern captures the intended full word.

B:

“Use an appropriate regular expression in grep and quote the pattern so the shell does not transform it first” is the supported response when both expected three-character test words match while an unrelated four-character word does not satisfy the intended expression. Here the decisive response is “Construct a pattern using the correct anchors and tokens for the desired match, and distinguish it from shell filename globbing”, so that different intervention does not meet the stated requirement.

C:

The output contains only the test log lines that match the expected marker, including their original text. “Run grep with the intended literal pattern and appropriate input file, then inspect the matching lines in context” applies to that other condition. The reported evidence is a learner reads a regular expression ab* and assumes it means any characters after ab, then receives unexpected matches such as a and abbb; this alternative would address the wrong dependency.

Question 71

An entry-level Linux support technician investigates: 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. Which supported corrective action most directly addresses the problem?

  1. Invoke bash with the intended script pathname for an explicit interpreter run, or set the correct shebang and executable permissions for direct use.
  2. Inspect the command's exit status and use a conditional check before starting the next dependent step.
  3. Reference the first positional argument with suitable expansion and double quotes when it may contain spaces.
  4. Open a disposable script in a supported text editor, make an intended text change and save or quit through documented controls.

Explanation

Correct Answer

A:

The main issue is: A script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions. The appropriate correction is: Invoke bash with the intended script pathname for an explicit interpreter run, or set the correct shebang and executable permissions for direct use. Verify success by checking: The test script produces the same expected result through a deliberate Bash invocation and reports clear errors for a wrong pathname.

Incorrect Answers

B:

This action addresses exit status indicates command success or failure, whose causal condition is: Unix-style command exit codes commonly use zero for success and nonzero values for errors, independent of text printed to the terminal. The current scenario instead requires attention to: A script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions.

C:

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 “Invoke bash with the intended script pathname for an explicit interpreter run, or set the correct shebang and executable permissions for direct use”, which this alternative does not provide.

D:

This action addresses basic vi and nano text editor roles, whose causal condition is: Editors such as vi and nano allow interactive modification of text files, whereas archivers and compressors transform file representations. The observed condition 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 mechanism addresses another problem.

Question 72

In an introductory Linux course scenario, the class finds: A student assumes a script succeeded because it produced some output, even though its final command returned a nonzero error status and the next step should not run. What test finding most directly confirms successful remediation?

  1. The saved file contains the expected edited command and remains a readable plain-text script after the editor exits.
  2. The loop prints each known sample filename exactly once in the expected iteration order without copying commands repeatedly.
  3. The test script produces the same expected result through a deliberate Bash invocation and reports clear errors for a wrong pathname.
  4. A deliberately failing test command returns nonzero and the script reports failure rather than pretending the operation completed.

Explanation

Correct Answer

D:

This specifically verifies exit status indicates command success or failure: A deliberately failing test command returns nonzero and the script reports failure rather than pretending the operation completed. The related engineering correction is: Inspect the command's exit status and use a conditional check before starting the next dependent step. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The saved file contains the expected edited command and remains a readable plain-text script after the editor exits. “Open a disposable script in a supported text editor, make an intended text change and save or quit through documented controls” would remedy that alternative situation, but it would not correct the present issue: a deliberately failing test command returns nonzero and the script reports failure rather than pretending the operation completed.

B:

“Use a simple Bash for loop over the intended fixed sample list and quote each variable when printing or processing it” is the supported response when the loop prints each known sample filename exactly once in the expected iteration order without copying commands repeatedly. Here the decisive response is “Inspect the command's exit status and use a conditional check before starting the next dependent step”, so that different intervention does not meet the stated requirement.

C:

The test script produces the same expected result through a deliberate Bash invocation and reports clear errors for a wrong pathname. “Invoke bash with the intended script pathname for an explicit interpreter run, or set the correct shebang and executable permissions for direct use” applies to that other condition. The reported evidence is a student assumes a script succeeded because it produced some output, even though its final command returned a nonzero error status and the next step should not run; this alternative would address the wrong dependency.

Question 73

An instructor reviews this Linux fundamentals exercise: A trainee runs a command name that behaves differently from the executable documented in a tutorial because a shell alias has changed its meaning. Which observed result would best verify the correction?

  1. The prior harmless command appears in the history list and can be reviewed before being repeated.
  2. The help page describes options applicable to the actual executable rather than parameters of an unrelated API function.
  3. Command resolution reports the expected executable location and a test invocation produces the output of the intended program.
  4. The result identifies the command as an alias, builtin or path-based executable and explains the unexpected behavior.

Explanation

Correct Answer

D:

This specifically verifies type builtin identifies commands and aliases: The result identifies the command as an alias, builtin or path-based executable and explains the unexpected behavior. The related engineering correction is: Use the Bash type builtin to inspect how the command resolves before modifying a script or calling a different executable. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The prior harmless command appears in the history list and can be reviewed before being repeated. “Use the built-in history display or an approved history navigation shortcut to locate and selectively rerun the intended command” would remedy that alternative situation, but it would not correct the present issue: the result identifies the command as an alias, builtin or path-based executable and explains the unexpected behavior.

B:

“Open the applicable man section for the command-line utility or use the manual's section selection features” is the supported response when the help page describes options applicable to the actual executable rather than parameters of an unrelated API function. Here the decisive response is “Use the Bash type builtin to inspect how the command resolves before modifying a script or calling a different executable”, so that different intervention does not meet the stated requirement.

C:

Command resolution reports the expected executable location and a test invocation produces the output of the intended program. “Inspect the effective PATH and command resolution and invoke the intended executable with its full path or change the supported search order” applies to that other condition. The reported evidence is a trainee runs a command name that behaves differently from the executable documented in a tutorial because a shell alias has changed its meaning; this alternative would address the wrong dependency.

Question 74

While preparing a Linux workstation for training, an operator finds: A learner changes /etc/hosts to test one hostname and expects every other domain on the internet to be resolved through that file automatically. Which Linux system or command behavior most directly explains this result?

  1. Linux release channels differ in update cadence, validation and support policy; testing packages may change more frequently than stable ones.
  2. The hosts file provides local name-to-address mappings, while broader DNS lookups depend on the configured resolver and upstream name servers.
  3. The ss utility can show listening sockets and established connections, which are different from general filesystem or process listings.
  4. An IP address alone does not prove an external route exists; the kernel routing table determines the next hop for off-subnet traffic.

Explanation

Correct Answer

B:

The technical basis is: The hosts file provides local name-to-address mappings, while broader DNS lookups depend on the configured resolver and upstream name servers. Resolve this through: Inspect the relevant /etc/hosts entry and resolver settings separately when troubleshooting the intended name. The expected evidence is: The explicitly mapped test hostname resolves to its local configured address while unrelated public names use the appropriate resolver path.

Incorrect Answers

A:

Linux release channels differ in update cadence, validation and support policy; testing packages may change more frequently than stable ones. “Choose the distribution's appropriate stable or supported release path for the operational reliability requirement” would remedy that alternative situation, but it would not correct the present issue: the hosts file provides local name-to-address mappings, while broader DNS lookups depend on the configured resolver and upstream name servers.

C:

“Inspect ss with appropriate listening and protocol flags and verify whether the expected local port is actually bound” is the supported response when the ss utility can show listening sockets and established connections, which are different from general filesystem or process listings. Here the decisive response is “Inspect the relevant /etc/hosts entry and resolver settings separately when troubleshooting the intended name”, so that different intervention does not meet the stated requirement.

D:

An IP address alone does not prove an external route exists; the kernel routing table determines the next hop for off-subnet traffic. “Use ip route show to examine the destination or default route and correct only authorized local training settings” applies to that other condition. The reported evidence is a learner changes /etc/hosts to test one hostname and expects every other domain on the internet to be resolved through that file automatically; this alternative would address the wrong dependency.

Question 75

While preparing a Linux workstation for training, an operator finds: A student runs rmdir logs against a directory containing a log file and assumes the utility failed because they lack superuser privileges. What is the principal cause of this result?

  1. For normal unquoted filename patterns, Bash pathname expansion substitutes matching directory entries before the command receives its arguments.
  2. Single quotes preserve most enclosed characters literally, while double quotes permit parameter expansion in Bash.
  3. The rmdir utility is intended for empty directories and refuses to remove a directory that still contains entries.
  4. GNU Info documentation can contain linked, structured chapters that supplement terse command help and manual page summaries.

Explanation

Correct Answer

C:

The technical basis is: The rmdir utility is intended for empty directories and refuses to remove a directory that still contains entries. Resolve this through: List the target directory, handle its contents through a separately approved process, then use rmdir when it is empty. The expected evidence is: An empty disposable directory is removed successfully while a populated directory remains protected from accidental deletion.

Incorrect Answers

A:

For normal unquoted filename patterns, Bash pathname expansion substitutes matching directory entries before the command receives its arguments. “Quote a literal wildcard when text is intended, or use a scoped glob only when matching all eligible filenames is deliberate” would remedy that alternative situation, but it would not correct the present issue: the rmdir utility is intended for empty directories and refuses to remove a directory that still contains entries.

B:

“Use double quotes around the requested variable expansion when the intention is to display its current value safely” is the supported response when single quotes preserve most enclosed characters literally, while double quotes permit parameter expansion in Bash. Here the decisive response is “List the target directory, handle its contents through a separately approved process, then use rmdir when it is empty”, 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. “Open the supported info documentation and follow its nodes to the relevant section before changing command usage” applies to that other condition. The reported evidence is a student runs rmdir logs against a directory containing a log file and assumes the utility failed because they lack superuser privileges; this alternative would address the wrong dependency.

Question 76

A beginner using a Linux terminal discovers: An administrator provisions new student accounts but expects an existing employee's personal dotfiles to be copied automatically as templates into every home directory. Which configuration step should the team implement first?

  1. Apply the intended symbolic chmod change to remove other-read access while retaining necessary owner and group permissions.
  2. Use who or w to inspect active sessions and separately consult account metadata for the list of created users.
  3. Configure approved generic starter files in /etc/skel and create a disposable test user with the appropriate home creation settings.
  4. Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors.

Explanation

Correct Answer

C:

The main issue is: The /etc/skel directory conventionally supplies default initial home-directory content for user creation, separate from arbitrary existing home files. The appropriate correction is: Configure approved generic starter files in /etc/skel and create a disposable test user with the appropriate home creation settings. Verify success by checking: The newly created test home contains the approved default dotfiles without copying private material from another user's directory.

Incorrect Answers

A:

This action addresses chmod symbolic user group other permission edits, whose causal condition is: Linux permission mode bits distinguish owner, group and other access and can be modified with symbolic chmod operations. The current scenario instead requires attention to: The /etc/skel directory conventionally supplies default initial home-directory content for user creation, separate from arbitrary existing home files.

B:

This action addresses who and w show current signed in sessions, whose causal condition is: Configured local accounts and active login sessions are different records; tools such as who and w report current logged-in users. In this question the necessary remedy is “Configure approved generic starter files in /etc/skel and create a disposable test user with the appropriate home creation settings”, which this alternative does not provide.

D:

This action addresses chmod octal mode maps read write execute bits, whose causal condition is: Numeric Unix permission digits combine read 4, write 2 and execute 1 bits for owner, group and other classes. The observed condition is an administrator provisions new student accounts but expects an existing employee's personal dotfiles to be copied automatically as templates into every home directory; this mechanism addresses another problem.

Question 77

In a Linux Essentials v1.6 practice lab, the learner observes: A student relies on a one-line command synopsis for a GNU utility but cannot find the detailed explanation of a feature documented in its Info manual. Which observed outcome confirms that the Linux operation works as intended?

  1. An empty disposable directory is removed successfully while a populated directory remains protected from accidental deletion.
  2. The learner finds the feature description and understands its required arguments using the available installed documentation.
  3. The student identifies the valid command-line flags and can explain the effect of a chosen combination without guessing.
  4. The installed package's local documentation is located and consulted without relying on a third-party download.

Explanation

Correct Answer

B:

This specifically verifies info documentation navigation beyond short synopsis: The learner finds the feature description and understands its required arguments using the available installed documentation. The related engineering correction is: Open the supported info documentation and follow its nodes to the relevant section before changing command usage. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

An empty disposable directory is removed successfully while a populated directory remains protected from accidental deletion. “List the target directory, handle its contents through a separately approved process, then use rmdir when it is empty” would remedy that alternative situation, but it would not correct the present issue: the learner finds the feature description and understands its required arguments using the available installed documentation.

C:

“Run the utility's supported help flag for basic syntax and consult its manual for deeper option semantics” is the supported response when the student identifies the valid command-line flags and can explain the effect of a chosen combination without guessing. Here the decisive response is “Open the supported info documentation and follow its nodes to the relevant section before changing command usage”, so that different intervention does not meet the stated requirement.

D:

The installed package's local documentation is located and consulted without relying on a third-party download. “Inspect the appropriate package documentation directory and use local README files or examples to learn intended usage” applies to that other condition. The reported evidence is a student relies on a one-line command synopsis for a GNU utility but cannot find the detailed explanation of a feature documented in its Info manual; this alternative would address the wrong dependency.

Question 78

Before approving this basic Linux procedure, the team observes: A small team installs a distribution's testing branch for a critical long-lived workstation because it expects identical update stability to the supported stable release. What ongoing quality or security safeguard is most appropriate?

  1. Check machine architecture and boot support before reusing media or packages across different hardware families.
  2. Distinguish memory, swap and storage capacity metrics when diagnosing performance or capacity limitations.
  3. Select desktop and headless installations according to hardware and workload needs rather than treating graphical components as mandatory.
  4. Record distro and release channel versions before making stability or long-term support claims about a Linux deployment.

Explanation

Correct Answer

D:

This safeguard addresses stable linux distribution lifecycle versus testing channel: Record distro and release channel versions before making stability or long-term support claims about a Linux deployment. The prevented failure mechanism is: Linux release channels differ in update cadence, validation and support policy; testing packages may change more frequently than stable ones. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

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” would remedy that alternative situation, but it would not correct the present issue: linux release channels differ in update cadence, validation and support policy; testing packages may change more frequently than stable ones.

B:

“Distinguish memory, swap and storage capacity metrics when diagnosing performance or capacity limitations” is the supported response when system RAM holds active process memory, while storage devices retain files and any swap space uses storage with different performance characteristics. Here the decisive response is “Record distro and release channel versions before making stability or long-term support claims about a Linux deployment”, so that different intervention does not meet the stated requirement.

C:

Linux systems can expose a command-line environment without a graphical desktop; the command interface is not evidence that the operating system is missing. “Select desktop and headless installations according to hardware and workload needs rather than treating graphical components as mandatory” applies to that other condition. The reported evidence is a small team installs a distribution's testing branch for a critical long-lived workstation because it expects identical update stability to the supported stable release; this alternative would address the wrong dependency.

Question 79

An entry-level Linux support technician investigates: A learner sets chmod 777 on a private script because it is the only number they remember, giving every user write access when only its owner needs to edit it. Which supported corrective action most directly addresses the problem?

  1. Create or inspect a symbolic link using ln -s and an appropriate listing, then distinguish removal of the link from removal of the target.
  2. Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors.
  3. Use who or w to inspect active sessions and separately consult account metadata for the list of created users.
  4. Apply the intended symbolic chmod change to remove other-read access while retaining necessary owner and group permissions.

Explanation

Correct Answer

B:

The main issue is: Numeric Unix permission digits combine read 4, write 2 and execute 1 bits for owner, group and other classes. The appropriate correction is: Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors. Verify success by checking: A long listing decodes to the intended owner, group and other permissions and an unauthorized account cannot modify the script.

Incorrect Answers

A:

This action addresses symbolic link points to a separate target pathname, whose causal condition is: A symbolic link is a filesystem entry that refers to another pathname and can exist independently of the continued existence of its target. The current scenario instead requires attention to: Numeric Unix permission digits combine read 4, write 2 and execute 1 bits for owner, group and other classes.

C:

This action addresses who and w show current signed in sessions, whose causal condition is: Configured local accounts and active login sessions are different records; tools such as who and w report current logged-in users. In this question the necessary remedy is “Set a least-privilege numeric mode appropriate for the script's intended owner and authorized readers or executors”, which this alternative does not provide.

D:

This action addresses chmod symbolic user group other permission edits, whose causal condition is: Linux permission mode bits distinguish owner, group and other access and can be modified with symbolic chmod operations. The observed condition is a learner sets chmod 777 on a private script because it is the only number they remember, giving every user write access when only its owner needs to edit it; this mechanism addresses another problem.

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.