Pass LPI 010-160 Exam in First Attempt Easily
Real LPI 010-160 Exam Questions, Accurate & Verified Answers As Experienced in the Actual Test!

Verified by experts
3 products

You save $69.98

010-160 Premium Bundle

  • Premium File 80 Questions & Answers
  • Last Update: Nov 8, 2026
  • Training Course 78 Lectures
  • Study Guide 364 Pages
$79.99 $149.97

Purchase Individually

  • Premium File

    80 Questions & Answers
    Last Update: Nov 8, 2026

    $76.99
    $69.99
  • Training Course

    78 Lectures

    $43.99
    $39.99
  • Study Guide

    364 Pages

    $43.99
    $39.99

Linux Essentials Certificate Exam, version 1.6 010-160 Practice Test 7

Question 60

A wrapper script must forward every original positional argument to another command while preserving spaces within individual arguments. The chosen response is: Invoke the downstream command using "$@" after the command name. Which Linux principle explains why that response works?

  1. The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries.
  2. Bash's special parameter $# expands to the number of currently set positional parameters.
  3. Bash performs parameter expansion inside double quotes but not inside single quotes.
  4. Within double quotes, "$@" expands to each positional parameter as its own shell word.

Explanation

Correct Answer

D:

Within double quotes, "$@" expands to each positional parameter as its own shell word. That mechanism connects the chosen action (Invoke the downstream command using "$@" after the command name) to the stated need. The expected success evidence is: Each received argument reaches the command as the same separate word.

Incorrect Answers

A:

The shell stores positional arguments as $1, $2 and so on, and double quotes preserve argument boundaries. That principle applies when a script receives a source filename as its first argument and must reference that value safely when spaces occur. Here the decisive reason is that within double quotes, "$@" expands to each positional parameter as its own shell word.

B:

Bash's special parameter $# expands to the number of currently set positional parameters. That principle applies when a shell helper accepts any number of filenames as separate positional arguments and needs to display how many it received. Here the decisive reason is that within double quotes, "$@" expands to each positional parameter as its own shell word.

C:

Bash performs parameter expansion inside double quotes but not inside single quotes. That principle applies when a novice writes a loop variable name in a script and needs to print its value instead of the literal variable name. Here the decisive reason is that within double quotes, "$@" expands to each positional parameter as its own shell word.

Question 61

A machine has a single physical storage device and the student needs separate logical regions for system and user data. The chosen response is: Create a suitable partition layout before installing filesystems into the selected partitions. Which Linux principle explains why that response works?

  1. Partitions divide a block device into addressable regions; filesystems organize files within such regions.
  2. Device drivers allow the kernel to communicate with supported peripherals.
  3. RAM is generally volatile working memory; disk and flash storage retain data without power.
  4. Processors execute machine instructions defined by their supported architecture.

Explanation

Correct Answer

A:

Partitions divide a block device into addressable regions; filesystems organize files within such regions. That mechanism connects the chosen action (Create a suitable partition layout before installing filesystems into the selected partitions) to the stated need. The expected success evidence is: The device reports separate partitions which can host distinct filesystems.

Incorrect Answers

B:

Device drivers allow the kernel to communicate with supported peripherals. That principle applies when a newly attached peripheral appears physically connected but no usable device interface is exposed by the system. Here the decisive reason is that partitions divide a block device into addressable regions; filesystems organize files within such regions.

C:

RAM is generally volatile working memory; disk and flash storage retain data without power. That principle applies when a user expects adding volatile RAM to permanently store documents across power loss. Here the decisive reason is that partitions divide a block device into addressable regions; filesystems organize files within such regions.

D:

Processors execute machine instructions defined by their supported architecture. That principle applies when a student downloads a binary for x86_64 but the teaching computer runs an ARM CPU. Here the decisive reason is that partitions divide a block device into addressable regions; filesystems organize files within such regions.

Question 62

A learner needs to print the names of three project directories using a loop rather than copying an echo command three times. Which command, configuration choice, or action best addresses this situation?

  1. Use read -r variable in the Bash loop.
  2. Use a Bash for variable in project1 project2 project3; do ...; done loop.
  3. Use echo "$item" inside the loop body.
  4. Place #!/bin/bash on the first line when Bash resides at that path.

Explanation

Correct Answer

B:

Use a Bash for variable in project1 project2 project3; do ...; done loop. It addresses the stated requirement: A learner needs to print the names of three project directories using a loop rather than copying an echo command three times. The underlying reason is that a for loop iterates over a list of words and executes its body with a changing variable.

Incorrect Answers

A:

Use read -r variable in the Bash loop. That action is relevant when a script reads paths from standard input and must preserve literal backslashes instead of treating them as escapes. For the current case, the fitting action is use a Bash for variable in project1 project2 project3; do ...; done loop.

C:

Use echo "$item" inside the loop body. That action is relevant when a novice writes a loop variable name in a script and needs to print its value instead of the literal variable name. For the current case, the fitting action is use a Bash for variable in project1 project2 project3; do ...; done loop.

D:

Place #!/bin/bash on the first line when Bash resides at that path. That action is relevant when a simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. For the current case, the fitting action is use a Bash for variable in project1 project2 project3; do ...; done loop.

Question 63

Consider this unresolved requirement: A small website must serve static pages and reverse-proxy requests to an application server using an open-source HTTP service. What is its most direct operational or security risk?

  1. A graphic editor or browser alone will not provide the intended office document editing workflow.
  2. Replacing a relational database with a non-database application leaves queries and schema storage unavailable.
  3. Choosing software for unrelated tasks will leave HTTP routing and serving unconfigured.
  4. Using a text document editor would not expose the intended bitmap editing tools.

Explanation

Correct Answer

C:

Choosing software for unrelated tasks will leave HTTP routing and serving unconfigured. NGINX is a web server that can also reverse-proxy requests to application processes.

Incorrect Answers

A:

A graphic editor or browser alone will not provide the intended office document editing workflow. That risk arises when an office wants to edit text documents and spreadsheets using an open-source desktop productivity suite. The current unresolved condition instead creates the risk that choosing software for unrelated tasks will leave HTTP routing and serving unconfigured.

B:

Replacing a relational database with a non-database application leaves queries and schema storage unavailable. That risk arises when a team needs a relational SQL database for an open-source web application, not file sync or image editing. The current unresolved condition instead creates the risk that choosing software for unrelated tasks will leave HTTP routing and serving unconfigured.

D:

Using a text document editor would not expose the intended bitmap editing tools. That risk arises when a volunteer must crop and retouch raster photographs with a free and open-source graphical editor. The current unresolved condition instead creates the risk that choosing software for unrelated tasks will leave HTTP routing and serving unconfigured.

Question 64

Consider this unresolved requirement: A desktop user must manage files on a Linux server that has no graphical desktop installed. What is its most direct operational or security risk?

  1. Public or overly broad sharing can reveal confidential content despite using a hosted platform.
  2. Leaving unrestricted third-party trackers active may permit broader cross-site observation of browsing activity.
  3. An unattended unlocked session lets another person act with the student's existing privileges.
  4. Waiting for an uninstalled graphical environment can block routine system access.

Explanation

Correct Answer

D:

Waiting for an uninstalled graphical environment can block routine system access. A terminal provides a text interface to a shell independently of a graphical desktop.

Incorrect Answers

A:

Public or overly broad sharing can reveal confidential content despite using a hosted platform. That risk arises when a team stores a collaborative document in a hosted cloud service and assumes the service eliminates the need to manage its own sharing permissions. The current unresolved condition instead creates the risk that waiting for an uninstalled graphical environment can block routine system access.

B:

Leaving unrestricted third-party trackers active may permit broader cross-site observation of browsing activity. That risk arises when a web user wants to reduce cross-site tracking when researching Linux documentation in a desktop browser. The current unresolved condition instead creates the risk that waiting for an uninstalled graphical environment can block routine system access.

C:

An unattended unlocked session lets another person act with the student's existing privileges. That risk arises when a trainee wants to protect personal accounts when sharing a Linux workstation with other students. The current unresolved condition instead creates the risk that waiting for an uninstalled graphical environment can block routine system access.

Question 65

A department needs a new named Unix group before granting shared file access to its members. Which command, configuration choice, or action best addresses this situation?

  1. Create the group using groupadd groupname with suitable privileges.
  2. Create the account with useradd -m username using appropriate privileges.
  3. Run passwd username as a permitted administrator and enter the password securely.
  4. Use usermod -aG projectgroup username to append membership.

Explanation

Correct Answer

A:

Create the group using groupadd groupname with suitable privileges. It addresses the stated requirement: A department needs a new named Unix group before granting shared file access to its members. The underlying reason is that groupadd provisions a group entry for use in Linux group-based authorization.

Incorrect Answers

B:

Create the account with useradd -m username using appropriate privileges. That action is relevant when a new staff account must have a home directory created when its user is provisioned. For the current case, the fitting action is create the group using groupadd groupname with suitable privileges.

C:

Run passwd username as a permitted administrator and enter the password securely. That action is relevant when a newly created account needs an initial password set by an authorized administrator. For the current case, the fitting action is create the group using groupadd groupname with suitable privileges.

D:

Use usermod -aG projectgroup username to append membership. That action is relevant when an existing employee must join an additional project group but retain all prior supplementary groups. For the current case, the fitting action is create the group using groupadd groupname with suitable privileges.

Question 66

A learner performs this action: Run man ls and search within its manual page. For the situation (a student needs the detailed reference page for the standard ls command, including its options), which observation would confirm success?

  1. The learner reaches the Info documentation navigation for core utilities.
  2. The manual opens with documented options and a navigable reference for ls.
  3. The program prints a concise usage and option summary.
  4. The user finds the packaged README or sample file when installed.

Explanation

Correct Answer

B:

The manual opens with documented options and a navigable reference for ls. That specific observation verifies the intended change (Run man ls and search within its manual page.) for this situation. man displays installed manual pages organized by command and topic.

Incorrect Answers

A:

The learner reaches the Info documentation navigation for core utilities. That observation would test whether A learner sees a GNU command with extensive tutorial-style documentation not fully covered in its short help summary. It would not establish the required outcome here, which is the manual opens with documented options and a navigable reference for ls.

C:

The program prints a concise usage and option summary. That observation would test whether A user needs a quick reminder of a program's supported flags without opening a full manual page. It would not establish the required outcome here, which is the manual opens with documented options and a navigable reference for ls.

D:

The user finds the packaged README or sample file when installed. That observation would test whether A package has installed sample configuration documents beneath the distribution's standard shared documentation path. It would not establish the required outcome here, which is the manual opens with documented options and a navigable reference for ls.

Question 67

A generated report has the wrong owner after being created by an administrative process. Which command, configuration choice, or action best addresses this situation?

  1. Set an appropriate umask before files are created and verify the default mode.
  2. Run chmod u+x script.sh without modifying group or other execute bits.
  3. Run chown intendeduser report.txt with authorized privileges.
  4. Grant the required execute or search permission on the directory while keeping access least privileged.

Explanation

Correct Answer

C:

Run chown intendeduser report.txt with authorized privileges. It addresses the stated requirement: A generated report has the wrong owner after being created by an administrative process. The underlying reason is that chown changes the owner and optionally the group recorded in a file's metadata.

Incorrect Answers

A:

Set an appropriate umask before files are created and verify the default mode. That action is relevant when a team wants newly created files to avoid world-write access without changing each file manually afterward. For the current case, the fitting action is run chown intendeduser report.txt with authorized privileges.

B:

Run chmod u+x script.sh without modifying group or other execute bits. That action is relevant when a script file belongs to a user who must execute it but should not grant execute permission to everyone. For the current case, the fitting action is run chown intendeduser report.txt with authorized privileges.

D:

Grant the required execute or search permission on the directory while keeping access least privileged. That action is relevant when a user has write permission on files inside a directory but cannot enter the directory to open them by path. For the current case, the fitting action is run chown intendeduser report.txt with authorized privileges.

Question 68

A script author wants to determine whether a command word such as cd resolves to a shell builtin or an external program. The chosen response is: Run type cd in the Bash shell. Which Linux principle explains why that response works?

  1. The shell searches PATH directories in order when resolving executable command names without a slash.
  2. Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion.
  3. Bash maintains a command history mechanism that history can display, subject to configuration.
  4. type reports how the shell interprets a command name, including builtins and external executables.

Explanation

Correct Answer

D:

type reports how the shell interprets a command name, including builtins and external executables. That mechanism connects the chosen action (Run type cd in the Bash shell) to the stated need. The expected success evidence is: The result identifies cd as a shell builtin rather than a standalone executable.

Incorrect Answers

A:

The shell searches PATH directories in order when resolving executable command names without a slash. That principle applies when a user types a command name and the shell cannot find it even though an executable exists in an unlisted directory. Here the decisive reason is that type reports how the shell interprets a command name, including builtins and external executables.

B:

Double quotes preserve expanded variable content as a single shell word while allowing dollar-variable expansion. That principle applies when a shell variable named PROJECT contains two words and a learner needs to print its value as one shell argument without word splitting. Here the decisive reason is that type reports how the shell interprets a command name, including builtins and external executables.

C:

Bash maintains a command history mechanism that history can display, subject to configuration. That principle applies when an operator wants to see recent interactive Bash commands to avoid retyping a long routine command. Here the decisive reason is that type reports how the shell interprets a command name, including builtins and external executables.

Question 69

A learner performs this action: Install LibreOffice and use its Writer and Calc applications. For the situation (an office wants to edit text documents and spreadsheets using an open-source desktop productivity suite), which observation would confirm success?

  1. The user can edit a document in Writer and a table in Calc.
  2. A SQL client connects to the server and can create and query a test table.
  3. HTTP requests for a static asset and an application route reach the intended backend responses.
  4. A layered image opens for editing and exports in the required raster format.

Explanation

Correct Answer

A:

The user can edit a document in Writer and a table in Calc. That specific observation verifies the intended change (Install LibreOffice and use its Writer and Calc applications.) for this situation. LibreOffice includes word processing, spreadsheet and presentation applications.

Incorrect Answers

B:

A SQL client connects to the server and can create and query a test table. That observation would test whether A team needs a relational SQL database for an open-source web application, not file sync or image editing. It would not establish the required outcome here, which is the user can edit a document in Writer and a table in Calc.

C:

HTTP requests for a static asset and an application route reach the intended backend responses. That observation would test whether A small website must serve static pages and reverse-proxy requests to an application server using an open-source HTTP service. It would not establish the required outcome here, which is the user can edit a document in Writer and a table in Calc.

D:

A layered image opens for editing and exports in the required raster format. That observation would test whether A volunteer must crop and retouch raster photographs with a free and open-source graphical editor. It would not establish the required outcome here, which is the user can edit a document in Writer and a table in Calc.

Question 70

A learner performs this action: Select a supported Linux guest image for the cloud virtual machine. For the situation (a developer wants to run a Linux service in a cloud virtual machine and assumes the guest cannot be Linux because the physical host is shared), which observation would confirm success?

  1. The board boots a supported ARM-compatible operating-system image and reaches the expected login.
  2. The instance boots and identifies a Linux operating system independently of neighboring guest workloads.
  3. Both systems identify a Linux kernel even while bundled applications and default interfaces differ.
  4. apt resolves the package and dependencies using Ubuntu's configured package sources.

Explanation

Correct Answer

B:

The instance boots and identifies a Linux operating system independently of neighboring guest workloads. That specific observation verifies the intended change (Select a supported Linux guest image for the cloud virtual machine.) for this situation. Virtualization allows a guest operating system such as Linux to run on virtualized compute resources.

Incorrect Answers

A:

The board boots a supported ARM-compatible operating-system image and reaches the expected login. That observation would test whether A student is selecting an operating system for a Raspberry Pi board and needs a Linux distribution built for its architecture. It would not establish the required outcome here, which is the instance boots and identifies a Linux operating system independently of neighboring guest workloads.

C:

Both systems identify a Linux kernel even while bundled applications and default interfaces differ. That observation would test whether A technician compares Debian and Ubuntu and mistakenly assumes they must use different operating-system kernels because their desktops look different. It would not establish the required outcome here, which is the instance boots and identifies a Linux operating system independently of neighboring guest workloads.

D:

apt resolves the package and dependencies using Ubuntu's configured package sources. That observation would test whether A training workstation uses Ubuntu and an instructor wants a Debian-family package manager rather than an RPM-based command. It would not establish the required outcome here, which is the instance boots and identifies a Linux operating system independently of neighboring guest workloads.

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

Purchase Individually

  • Premium File

    80 Questions & Answers
    Last Update: Nov 8, 2026

    $76.99
    $69.99
  • Training Course

    78 Lectures

    $43.99
    $39.99
  • Study Guide

    364 Pages

    $43.99
    $39.99

SPECIAL OFFER: GET 10% OFF
This is ONE TIME OFFER

You save
10%

Enter Your Email Address to Receive Your 10% Off Discount Code

SPECIAL OFFER: GET 10% OFF

You save
10%

Use Discount Code:

A confirmation link was sent to your e-mail.

Please check your mailbox for a message from support@examlabs.com and follow the directions.

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

Simply submit your email address below to get started with our interactive software demo of your free trial.

  • Realistic exam simulation and exam editor with preview functions
  • Whole exam in a single file with several different question types
  • Customizable exam-taking mode & detailed score reports