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 4

Question 30

A controlled command-line practice exercise reports: A trainee uses su to switch to another local account but assumes the current shell always retains their original effective user identity and home environment. Which supported corrective action most directly addresses the problem?

  1. Use the approved administrative procedure under an authorized privileged identity rather than removing broad filesystem protections.
  2. Use an approved su invocation to enter the intended authorized account and inspect the resulting identity before running commands.
  3. Inspect approved account metadata through standard account tools without attempting to reveal password hashes or weaken shadow permissions.
  4. Run only the approved administrative command through sudo under the user's authorized policy rather than exposing root credentials.

Explanation

Correct Answer

B:

The main issue is: 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. The appropriate correction is: Use an approved su invocation to enter the intended authorized account and inspect the resulting identity before running commands. Verify success by checking: An id check inside the resulting shell reports the selected account while the original user's shell remains accessible on exit.

Incorrect Answers

A:

This action addresses root account privilege differs from standard user, whose causal condition is: A normal account and the root superuser have different default privileges, and protected system changes require authorized elevated access. The current scenario instead requires attention to: 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.

C:

This action addresses etc passwd accounts and shadow password hashes, whose causal condition is: The /etc/passwd database commonly exposes account names and IDs while protected password hashes belong in a more restricted /etc/shadow database. In this question the necessary remedy is “Use an approved su invocation to enter the intended authorized account and inspect the resulting identity before running commands”, which this alternative does not provide.

D:

This action addresses sudo command elevation without root login, whose causal condition is: Sudo can authorize and log selected privileged commands under a named user account without distributing a shared root login secret. The observed condition is a trainee uses su to switch to another local account but assumes the current shell always retains their original effective user identity and home environment; this mechanism addresses another problem.

Question 31

In an introductory Linux course scenario, the class finds: A beginner tries to modify a Bash script by sending it to a compression utility because they cannot identify a simple terminal text editor. Which Linux system or command behavior most directly explains this result?

  1. Unix-style command exit codes commonly use zero for success and nonzero values for errors, independent of text printed to the terminal.
  2. A script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions.
  3. A shebang line at the beginning of an executable script can identify its intended interpreter for direct execution.
  4. Editors such as vi and nano allow interactive modification of text files, whereas archivers and compressors transform file representations.

Explanation

Correct Answer

D:

The technical basis is: Editors such as vi and nano allow interactive modification of text files, whereas archivers and compressors transform file representations. Resolve this through: Open a disposable script in a supported text editor, make an intended text change and save or quit through documented controls. The expected evidence is: The saved file contains the expected edited command and remains a readable plain-text script after the editor exits.

Incorrect Answers

A:

Unix-style command exit codes commonly use zero for success and nonzero values for errors, independent of text printed to the terminal. “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: editors such as vi and nano allow interactive modification of text files, whereas archivers and compressors transform file representations.

B:

“Invoke bash with the intended script pathname for an explicit interpreter run, or set the correct shebang and executable permissions for direct use” is the supported response when a script can be launched explicitly with an interpreter and readable path, while direct execution additionally depends on path lookup and execute permissions. Here the decisive response is “Open a disposable script in a supported text editor, make an intended text change and save or quit through documented controls”, so that different intervention does not meet the stated requirement.

C:

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 a beginner tries to modify a Bash script by sending it to a compression utility because they cannot identify a simple terminal text editor; this alternative would address the wrong dependency.

Question 32

In a Linux Essentials v1.6 practice lab, the learner observes: A learner writes a text file containing Bash commands and marks it executable, but an automation launcher cannot determine which interpreter should execute the file reliably. Which preventive control should be standardized to avoid recurrence?

  1. Name the exact unit in reports created with wc and test trailing-newline behavior when exact record counts matter.
  2. Keep interpreter paths and script syntax consistent instead of assuming every executable text file is interpreted by Bash.
  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

B:

This safeguard addresses shebang selects interpreter for executable script: Keep interpreter paths and script syntax consistent instead of assuming every executable text file is interpreted by Bash. The prevented failure mechanism is: A shebang line at the beginning of an executable script can identify its intended interpreter for direct execution. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

A:

The wc options count different units: newline-terminated lines, whitespace-delimited words and bytes respectively. “Name the exact unit in reports created with wc and test trailing-newline behavior when exact record counts matter” would remedy that alternative situation, but it would not correct the present issue: a shebang line at the beginning of an executable script can identify its intended interpreter for direct execution.

C:

“Confirm whether a file is appended or rewritten before assuming the last stored lines always represent the newest events” 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 “Keep interpreter paths and script syntax consistent instead of assuming every executable text file is interpreted by Bash”, so that different intervention does not meet the stated requirement.

D:

A pager such as less allows interactive navigation through long text without emitting the whole file as an uncontrolled screen dump. “Use a pager for lengthy diagnostic output rather than repeatedly flooding a terminal with unrestricted command results” applies to that other condition. The reported evidence is a learner writes a text file containing Bash commands and marks it executable, but an automation launcher cannot determine which interpreter should execute the file reliably; this alternative would address the wrong dependency.

Question 33

In an introductory Linux course scenario, the class finds: A student can read personal notes but receives permission denied when attempting to edit a system configuration file and assumes Linux does not support such changes at all. What acceptance evidence demonstrates that the requirement is satisfied?

  1. The test account appears with its UID and home metadata while ordinary readers cannot disclose protected shadow credentials.
  2. The named permitted account performs the test administrative action and a second unauthorized account receives a denial.
  3. An id check inside the resulting shell reports the selected account while the original user's shell remains accessible on exit.
  4. The permitted administrator completes a controlled system configuration change while an ordinary test account remains unable to alter it.

Explanation

Correct Answer

D:

This specifically verifies root account privilege differs from standard user: The permitted administrator completes a controlled system configuration change while an ordinary test account remains unable to alter it. The related engineering correction is: Use the approved administrative procedure under an authorized privileged identity rather than removing broad filesystem protections. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The test account appears with its UID and home metadata while ordinary readers cannot disclose protected shadow credentials. “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: the permitted administrator completes a controlled system configuration change while an ordinary test account remains unable to alter it.

B:

“Run only the approved administrative command through sudo under the user's authorized policy rather than exposing root credentials” is the supported response when the named permitted account performs the test administrative action and a second unauthorized account receives a denial. Here the decisive response is “Use the approved administrative procedure under an authorized privileged identity rather than removing broad filesystem protections”, so that different intervention does not meet the stated requirement.

C:

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” applies to that other condition. The reported evidence is a student can read personal notes but receives permission denied when attempting to edit a system configuration file and assumes Linux does not support such changes at all; this alternative would address the wrong dependency.

Question 34

In an introductory Linux course scenario, the class finds: A student stores an output name in a shell variable but types the variable's name without its dollar-sign expansion in a later tar command. Which configuration step should the team implement first?

  1. Reference the first positional argument with suitable expansion and double quotes when it may contain spaces.
  2. Grant the intended owner execute permission to the script and retain appropriate read restrictions on other users.
  3. Use a simple Bash for loop over the intended fixed sample list and quote each variable when printing or processing it.
  4. Refer to the output variable using correct shell expansion and quote its value in the archive creation command.

Explanation

Correct Answer

D:

The main issue is: A variable assignment does not automatically replace arbitrary plain text tokens with the stored value; Bash uses explicit parameter expansion. The appropriate correction is: Refer to the output variable using correct shell expansion and quote its value in the archive creation command. Verify success by checking: A test archive is written under the intended variable-defined name and is not mistakenly created with a literal variable identifier.

Incorrect Answers

A:

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. The current scenario instead requires attention to: A variable assignment does not automatically replace arbitrary plain text tokens with the stored value; Bash uses explicit parameter expansion.

B:

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. In this question the necessary remedy is “Refer to the output variable using correct shell expansion and quote its value in the archive creation command”, which this alternative does not provide.

C:

This action addresses for loop repeats one action per listed file, whose causal condition is: A for loop iterates over supplied values, assigning each value to a loop variable before executing the body statements. The observed condition is a student stores an output name in a shell variable but types the variable's name without its dollar-sign expansion in a later tar command; this mechanism addresses another problem.

Question 35

An instructor reviews this Linux fundamentals exercise: A developer mistakes a Linux virtual machine running in a cloud account for a distinct operating system that does not share Linux shell and filesystem conventions with local machines. Which preventive control should be standardized to avoid recurrence?

  1. Separate virtualization or cloud resource management from the Linux operating system installed inside an instance.
  2. Distinguish server daemons from desktop clients when identifying open source software for a requested network role.
  3. Confirm CPU architecture and board support before downloading distribution images for embedded or single-board computers.
  4. Avoid equating a common kernel with identical applications, file layout, drivers or package-management interfaces across platforms.

Explanation

Correct Answer

A:

This safeguard addresses linux deployment in virtual machines and cloud hosts: Separate virtualization or cloud resource management from the Linux operating system installed inside an instance. The prevented failure mechanism is: Virtualization and cloud services package compute resources differently, but Linux guest systems still expose their kernel and standard userspace tools. A control for an unrelated service cannot establish the required protection.

Incorrect Answers

B:

A web browser is a client application, whereas NGINX or Apache HTTP Server provides server-side HTTP responses when installed and configured. “Distinguish server daemons from desktop clients when identifying open source software for a requested network role” would remedy that alternative situation, but it would not correct the present issue: virtualization and cloud services package compute resources differently, but Linux guest systems still expose their kernel and standard userspace tools.

C:

“Confirm CPU architecture and board support before downloading distribution images for embedded or single-board computers” is the supported response when linux supports many hardware architectures, but a distribution image must match the processor architecture and supported hardware boot firmware. Here the decisive response is “Separate virtualization or cloud resource management from the Linux operating system installed inside an instance”, so that different intervention does not meet the stated requirement.

D:

Android relies on a Linux-based kernel but its normal userspace, application runtime and user interface are not identical to a desktop GNU/Linux distribution. “Avoid equating a common kernel with identical applications, file layout, drivers or package-management interfaces across platforms” applies to that other condition. The reported evidence is a developer mistakes a Linux virtual machine running in a cloud account for a distinct operating system that does not share Linux shell and filesystem conventions with local machines; this alternative would address the wrong dependency.

Question 36

In an introductory Linux course scenario, the class finds: An open source application needs queries over related customer and order records, but an operator assumes that any text editor can replace a relational database service. What is the principal cause of this result?

  1. Samba commonly implements SMB interoperability with Windows file-sharing clients, while NFS uses a different file-sharing protocol and ecosystem.
  2. Open source licensing does not imply identical application roles; LibreOffice provides office document and spreadsheet editing functionality.
  3. NFS provides a network filesystem model that Linux clients can mount, while local copies do not stay synchronized automatically.
  4. MariaDB and PostgreSQL are database management systems that maintain structured tables and queries, unlike a simple text editing application.

Explanation

Correct Answer

D:

The technical basis is: MariaDB and PostgreSQL are database management systems that maintain structured tables and queries, unlike a simple text editing application. Resolve this through: Select and configure a suitable relational database with an application account, schema and restricted connectivity. The expected evidence is: A sample SQL query retrieves a related order and customer record while the database enforces the intended access controls.

Incorrect Answers

A:

Samba commonly implements SMB interoperability with Windows file-sharing clients, while NFS uses a different file-sharing protocol and ecosystem. “Configure a controlled Samba share with an intended access policy and test it from an authorized Windows workstation” would remedy that alternative situation, but it would not correct the present issue: mariaDB and PostgreSQL are database management systems that maintain structured tables and queries, unlike a simple text editing application.

B:

“Install an appropriate LibreOffice package and open a sample document and spreadsheet in the intended desktop environment” is the supported response when open source licensing does not imply identical application roles; LibreOffice provides office document and spreadsheet editing functionality. Here the decisive response is “Select and configure a suitable relational database with an application account, schema and restricted connectivity”, so that different intervention does not meet the stated requirement.

C:

NFS provides a network filesystem model that Linux clients can mount, while local copies do not stay synchronized automatically. “Provide a properly authorized NFS export and mount it on the intended client using the documented share path” applies to that other condition. The reported evidence is an open source application needs queries over related customer and order records, but an operator assumes that any text editor can replace a relational database service; this alternative would address the wrong dependency.

Question 37

In a Linux Essentials v1.6 practice lab, the learner observes: A user cannot write a group-shared course file despite a teacher saying they joined the project group, and the team guesses membership from the username. Which observed outcome confirms that the Linux operation works as intended?

  1. The approved account shows the intended supplementary group and gains only the shared directory permissions allowed by policy.
  2. The filename reports the new account as owner while the original document bytes remain unchanged after the metadata change.
  3. The new account has the intended unique UID and home directory and can authenticate only through its configured credential policy.
  4. The authorized test user can authenticate with the new password while the former credential is rejected according to system policy.

Explanation

Correct Answer

A:

This specifically verifies id and group membership for account verification: The approved account shows the intended supplementary group and gains only the shared directory permissions allowed by policy. The related engineering correction is: Inspect id output and the account's current groups, then correct authorized membership and refresh the session where needed. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

B:

The filename reports the new account as owner while the original document bytes remain unchanged after the metadata change. “Use an appropriately authorized chown operation to set the intended owner and inspect the result with a long listing” would remedy that alternative situation, but it would not correct the present issue: the approved account shows the intended supplementary group and gains only the shared directory permissions allowed by policy.

C:

“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 the new account has the intended unique UID and home directory and can authenticate only through its configured credential policy. Here the decisive response is “Inspect id output and the account's current groups, then correct authorized membership and refresh the session where needed”, so that different intervention does not meet the stated requirement.

D:

The authorized test user can authenticate with the new password while the former credential is rejected according to system policy. “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 user cannot write a group-shared course file despite a teacher saying they joined the project group, and the team guesses membership from the username; this alternative would address the wrong dependency.

Question 38

Before approving this basic Linux procedure, the team observes: A student tries to count matching lines by running grep and wc as separate unrelated commands, but the count describes a different file than the matches. Which engineering change best satisfies the stated operational requirement?

  1. Sort both lists using the same locale and sort flags, then compare their normalized outputs.
  2. Pipe the grep results into wc -l or another suitable text processor while keeping the source filename in the first stage.
  3. Use append redirection when preserving earlier notes is required, and choose overwrite only for intentionally replaced outputs.
  4. Use cut with the colon delimiter and the field corresponding to the desired username in the controlled sample.

Explanation

Correct Answer

B:

The main issue is: A shell pipeline connects one command's standard output to the next command's standard input. The appropriate correction is: Pipe the grep results into wc -l or another suitable text processor while keeping the source filename in the first stage. Verify success by checking: A known fixture with five matching lines yields a matching line count of five from the pipeline.

Incorrect Answers

A:

This action addresses sort arranges lines before report comparison, whose causal condition is: The sort command orders text lines according to a selected comparison rule, allowing repeatable list ordering before analysis. The current scenario instead requires attention to: A shell pipeline connects one command's standard output to the next command's standard input.

C:

This action addresses output redirection overwrites versus appends file, whose causal condition is: The > redirection truncates or creates an output file, while >> appends to the existing file in a normal shell. In this question the necessary remedy is “Pipe the grep results into wc -l or another suitable text processor while keeping the source filename in the first stage”, which this alternative does not provide.

D:

This action addresses cut extracts delimiter separated fields, whose causal condition is: The cut utility can select delimited fields from each line when supplied with an appropriate field number and separator. The observed condition is a student tries to count matching lines by running grep and wc as separate unrelated commands, but the count describes a different file than the matches; this mechanism addresses another problem.

Question 39

In a Linux Essentials v1.6 practice lab, the learner observes: A user sees only filenames in standard ls output but needs to distinguish an executable file from a directory and inspect its access permissions. Which observed outcome confirms that the Linux operation works as intended?

  1. The working directory changes from /home/student/projects to /home/student without unexpectedly returning to /.
  2. The command locates each signed-in user's own home directory without editing the script to insert their username.
  3. The output shows a directory beginning with d and a regular file beginning with - along with their respective ownership and mode bits.
  4. The .profile entry appears in the listing without renaming, recreating or modifying the original file.

Explanation

Correct Answer

C:

This specifically verifies long listing reveals file type and permission bits: The output shows a directory beginning with d and a regular file beginning with - along with their respective ownership and mode bits. The related engineering correction is: Run ls -l against the intended path and read the file type and permission character groups correctly. Evidence from another workflow would not establish the stated outcome.

Incorrect Answers

A:

The working directory changes from /home/student/projects to /home/student without unexpectedly returning to /. “Run cd .. from the correct current directory or supply the explicit desired absolute directory” would remedy that alternative situation, but it would not correct the present issue: the output shows a directory beginning with d and a regular file beginning with - along with their respective ownership and mode bits.

B:

“Use a supported tilde-based home path or the HOME variable appropriately when constructing a personal file location” is the supported response when the command locates each signed-in user's own home directory without editing the script to insert their username. Here the decisive response is “Run ls -l against the intended path and read the file type and permission character groups correctly”, so that different intervention does not meet the stated requirement.

D:

The .profile entry appears in the listing without renaming, recreating or modifying the original file. “Use ls -a in the relevant directory to include hidden files and directories while inspecting configuration” applies to that other condition. The reported evidence is a user sees only filenames in standard ls output but needs to distinguish an executable file from a directory and inspect its access permissions; this alternative would address the wrong dependency.

Question 40

In an introductory Linux course scenario, the class finds: A beginner expects to edit a Linux hardware property by writing a normal user document into /sys and then assumes the entire directory is disposable. What is the principal cause of this result?

  1. The /boot hierarchy typically contains bootloader and kernel startup files and is not intended as general user temporary storage.
  2. The proc pseudo-filesystem exposes dynamic kernel and process information rather than a conventional persistent directory of ordinary documents.
  3. Hostnames and interface IP addresses are distinct; a system can have multiple network devices and IPv4 or IPv6 addresses.
  4. The /sys pseudo-filesystem exposes kernel device and subsystem attributes rather than ordinary personal data files.

Explanation

Correct Answer

D:

The technical basis is: The /sys pseudo-filesystem exposes kernel device and subsystem attributes rather than ordinary personal data files. Resolve this through: Inspect supported read-only hardware attributes under /sys and modify device settings only through documented authorized interfaces. The expected evidence is: The appropriate system device attribute is visible and explains how the kernel represents the attached hardware.

Incorrect Answers

A:

The /boot hierarchy typically contains bootloader and kernel startup files and is not intended as general user temporary storage. “Store personal work under an appropriate home or data directory and leave managed boot artifacts under their maintenance process” would remedy that alternative situation, but it would not correct the present issue: the /sys pseudo-filesystem exposes kernel device and subsystem attributes rather than ordinary personal data files.

B:

“Read an appropriate process or system information entry under /proc without treating it as a long-term data store” is the supported response when the proc pseudo-filesystem exposes dynamic kernel and process information rather than a conventional persistent directory of ordinary documents. Here the decisive response is “Inspect supported read-only hardware attributes under /sys and modify device settings only through documented authorized interfaces”, so that different intervention does not meet the stated requirement.

C:

Hostnames and interface IP addresses are distinct; a system can have multiple network devices and IPv4 or IPv6 addresses. “Run the supported ip addr show command and select the address attached to the intended active network interface” applies to that other condition. The reported evidence is a beginner expects to edit a Linux hardware property by writing a normal user document into /sys and then assumes the entire directory is disposable; this alternative would address the wrong dependency.