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 14

Question 130

An operator needs to create a tar archive of source files without compression because a later tool requires plain tar. The chosen response is: Run tar -cf source.tar src/ and omit compression flags. Which Linux principle explains why that response works?

  1. By default gzip compresses a single file and replaces the input with its compressed form.
  2. tar can combine filesystem entries into an archive independently of compression tools.
  3. tar -x extracts, -z handles gzip and -f specifies the archive file.
  4. unzip -l lists the members of a ZIP archive without unpacking them.

Explanation

Correct Answer

B:

tar can combine filesystem entries into an archive independently of compression tools. That mechanism connects the chosen action (Run tar -cf source.tar src/ and omit compression flags) to the stated need. The expected success evidence is: The resulting .tar contains the source tree and is not gzip- or xz-compressed.

Incorrect Answers

A:

By default gzip compresses a single file and replaces the input with its compressed form. That principle applies when a student has a single large plain-text log and needs gzip compression, not a multi-file tar bundle. Here the decisive reason is that tar can combine filesystem entries into an archive independently of compression tools.

C:

tar -x extracts, -z handles gzip and -f specifies the archive file. That principle applies when a learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. Here the decisive reason is that tar can combine filesystem entries into an archive independently of compression tools.

D:

unzip -l lists the members of a ZIP archive without unpacking them. That principle applies when a user downloads a ZIP archive and wants to inspect its member names before choosing an extraction directory. Here the decisive reason is that tar can combine filesystem entries into an archive independently of compression tools.

Question 131

A symbolic link stopped working after its target was removed, yet the link itself still appears in an ls listing. The chosen response is: Restore a valid target at the referenced path or repoint the link to an existing file. Which Linux principle explains why that response works?

  1. sudo can authorize and audit individual commands under another account's privileges.
  2. The /etc/skel directory supplies default files that account-creation tools can copy into new homes.
  3. A symlink can remain present even when its target pathname no longer resolves.
  4. A symbolic link stores a path reference that is followed to reach the target.

Explanation

Correct Answer

C:

A symlink can remain present even when its target pathname no longer resolves. That mechanism connects the chosen action (Restore a valid target at the referenced path or repoint the link to an existing file) to the stated need. The expected success evidence is: The link resolves successfully and the expected target contents can be opened.

Incorrect Answers

A:

sudo can authorize and audit individual commands under another account's privileges. That principle applies when a standard user needs to run one approved administrative command without switching the entire interactive session to root. Here the decisive reason is that a symlink can remain present even when its target pathname no longer resolves.

B:

The /etc/skel directory supplies default files that account-creation tools can copy into new homes. That principle applies when a systems administrator wants new home directories to include a standard profile template on account creation. Here the decisive reason is that a symlink can remain present even when its target pathname no longer resolves.

D:

A symbolic link stores a path reference that is followed to reach the target. That principle applies when a user wants a shortcut pathname to a document stored in another directory without copying the document's bytes. Here the decisive reason is that a symlink can remain present even when its target pathname no longer resolves.

Question 132

Consider this unresolved requirement: A script file belongs to a user who must execute it but should not grant execute permission to everyone. What is its most direct operational or security risk?

  1. A missing directory execute bit blocks path traversal even when a file itself is readable.
  2. An overly permissive default mask can create files with broader access than the team intends.
  3. Excessively broad permissions can disclose the notes to unrelated local users.
  4. Granting global execute permission when only one owner needs it widens access unnecessarily.

Explanation

Correct Answer

D:

Granting global execute permission when only one owner needs it widens access unnecessarily. Symbolic chmod u+x adds execute to the owner permission class.

Incorrect Answers

A:

A missing directory execute bit blocks path traversal even when a file itself is readable. That risk arises when a user has write permission on files inside a directory but cannot enter the directory to open them by path. The current unresolved condition instead creates the risk that granting global execute permission when only one owner needs it widens access unnecessarily.

B:

An overly permissive default mask can create files with broader access than the team intends. That risk arises when a team wants newly created files to avoid world-write access without changing each file manually afterward. The current unresolved condition instead creates the risk that granting global execute permission when only one owner needs it widens access unnecessarily.

C:

Excessively broad permissions can disclose the notes to unrelated local users. That risk arises when a file containing team notes should allow the owner to read and write, the file's group to read, and others no access. The current unresolved condition instead creates the risk that granting global execute permission when only one owner needs it widens access unnecessarily.

Question 133

Consider this unresolved requirement: An analyst needs to count the number of newline-delimited records in a local text file. What is its most direct operational or security risk?

  1. Confusing byte count with line count can misstate the number of records.
  2. Finding text without its position can slow precise configuration edits.
  3. Removing duplicates without considering sorting can leave an inconsistent report order.
  4. Printing the entire log can bury the most recent messages in older output.

Explanation

Correct Answer

A:

Confusing byte count with line count can misstate the number of records. wc -l counts newline characters rather than file bytes or words.

Incorrect Answers

B:

Finding text without its position can slow precise configuration edits. That risk arises when a trainee needs the line numbers of configuration lines that contain the text listen. The current unresolved condition instead creates the risk that confusing byte count with line count can misstate the number of records.

C:

Removing duplicates without considering sorting can leave an inconsistent report order. That risk arises when a student has a text file containing repeated names and wants a lexically sorted unique list. The current unresolved condition instead creates the risk that confusing byte count with line count can misstate the number of records.

D:

Printing the entire log can bury the most recent messages in older output. That risk arises when a program writes many lines and a user needs to inspect only the final ten lines of its output log. The current unresolved condition instead creates the risk that confusing byte count with line count can misstate the number of records.

Question 134

Consider this unresolved requirement: A file containing team notes should allow the owner to read and write, the file's group to read, and others no access. What is its most direct operational or security risk?

  1. An overly permissive default mask can create files with broader access than the team intends.
  2. Excessively broad permissions can disclose the notes to unrelated local users.
  3. Incorrect ownership can block the intended user from modifying or managing the report.
  4. Granting global execute permission when only one owner needs it widens access unnecessarily.

Explanation

Correct Answer

B:

Excessively broad permissions can disclose the notes to unrelated local users. The octal digits 6, 4 and 0 represent rw-, r-- and --- in user/group/other positions.

Incorrect Answers

A:

An overly permissive default mask can create files with broader access than the team intends. That risk arises when a team wants newly created files to avoid world-write access without changing each file manually afterward. The current unresolved condition instead creates the risk that excessively broad permissions can disclose the notes to unrelated local users.

C:

Incorrect ownership can block the intended user from modifying or managing the report. That risk arises when a generated report has the wrong owner after being created by an administrative process. The current unresolved condition instead creates the risk that excessively broad permissions can disclose the notes to unrelated local users.

D:

Granting global execute permission when only one owner needs it widens access unnecessarily. That risk arises when a script file belongs to a user who must execute it but should not grant execute permission to everyone. The current unresolved condition instead creates the risk that excessively broad permissions can disclose the notes to unrelated local users.

Question 135

A learner performs this action: Run ss -tln and inspect the intended TCP port. For the situation (an administrator wants to verify whether a web service has a TCP listening socket on the local machine), which observation would confirm success?

  1. The routing table shows a valid default route pointing to the intended gateway when configured.
  2. Configured nameservers or local resolver settings match the intended network policy.
  3. A listening TCP socket appears bound to the intended address and port.
  4. The local system resolves the lab hostname to the specified test address where hosts-file lookup is enabled.

Explanation

Correct Answer

C:

A listening TCP socket appears bound to the intended address and port. That specific observation verifies the intended change (Run ss -tln and inspect the intended TCP port.) for this situation. ss can report current socket state, with -t selecting TCP and -l selecting listeners.

Incorrect Answers

A:

The routing table shows a valid default route pointing to the intended gateway when configured. That observation would test whether A Linux laptop can reach local devices but cannot connect to off-subnet networks and the user suspects its gateway. It would not establish the required outcome here, which is a listening TCP socket appears bound to the intended address and port.

B:

Configured nameservers or local resolver settings match the intended network policy. That observation would test whether A workstation resolves an internal hostname incorrectly and the operator needs to see local DNS resolver configuration. It would not establish the required outcome here, which is a listening TCP socket appears bound to the intended address and port.

D:

The local system resolves the lab hostname to the specified test address where hosts-file lookup is enabled. That observation would test whether A test host must override DNS for one temporary lab hostname without changing authoritative DNS servers. It would not establish the required outcome here, which is a listening TCP socket appears bound to the intended address and port.

Question 136

A support agent must package a directory into one compressed tar.gz archive while retaining the original files. The chosen response is: Run tar -czf bundle.tar.gz directory/ from the appropriate parent. Which Linux principle explains why that response works?

  1. tar -x extracts, -z handles gzip and -f specifies the archive file.
  2. tar can combine filesystem entries into an archive independently of compression tools.
  3. By default gzip compresses a single file and replaces the input with its compressed form.
  4. tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

Explanation

Correct Answer

D:

tar creates archives and its -z flag invokes gzip compression when used with -c and -f. That mechanism connects the chosen action (Run tar -czf bundle.tar.gz directory/ from the appropriate parent) to the stated need. The expected success evidence is: The resulting bundle.tar.gz lists the expected directory contents and the source remains available.

Incorrect Answers

A:

tar -x extracts, -z handles gzip and -f specifies the archive file. That principle applies when a learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. Here the decisive reason is that tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

B:

tar can combine filesystem entries into an archive independently of compression tools. That principle applies when an operator needs to create a tar archive of source files without compression because a later tool requires plain tar. Here the decisive reason is that tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

C:

By default gzip compresses a single file and replaces the input with its compressed form. That principle applies when a student has a single large plain-text log and needs gzip compression, not a multi-file tar bundle. Here the decisive reason is that tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

Question 137

A learner performs this action: Run export PROJECT after assigning the variable before launching the child process. For the situation (a locally assigned Bash variable must be inherited by a child process started from the same shell), which observation would confirm success?

  1. The child process sees PROJECT in its environment.
  2. The output preserves the two-word value rather than interpreting it as separate arguments.
  3. The shell resolves the command name to the intended executable when PATH is correctly set.
  4. The command list shows available entries from the current shell history state.

Explanation

Correct Answer

A:

The child process sees PROJECT in its environment. That specific observation verifies the intended change (Run export PROJECT after assigning the variable before launching the child process.) for this situation. export marks a shell variable for inclusion in the environment inherited by subsequent commands.

Incorrect Answers

B:

The output preserves the two-word value rather than interpreting it as separate arguments. That observation would test whether A shell variable named PROJECT contains two words and a learner needs to print its value as one shell argument without word splitting. It would not establish the required outcome here, which is the child process sees PROJECT in its environment.

C:

The shell resolves the command name to the intended executable when PATH is correctly set. That observation would test whether A user types a command name and the shell cannot find it even though an executable exists in an unlisted directory. It would not establish the required outcome here, which is the child process sees PROJECT in its environment.

D:

The command list shows available entries from the current shell history state. That observation would test whether An operator wants to see recent interactive Bash commands to avoid retyping a long routine command. It would not establish the required outcome here, which is the child process sees PROJECT in its environment.

Question 138

A learner performs this action: Use read -r variable in the Bash loop. For the situation (a script reads paths from standard input and must preserve literal backslashes instead of treating them as escapes), which observation would confirm success?

  1. Each iteration prints the value assigned to item.
  2. Input backslashes remain literal in the resulting variable.
  3. Executing the script directly uses the Bash interpreter specified by the shebang.
  4. A filename containing spaces remains one argument in the invoked command.

Explanation

Correct Answer

B:

Input backslashes remain literal in the resulting variable. That specific observation verifies the intended change (Use read -r variable in the Bash loop.) for this situation. Bash read -r disables its normal backslash escape processing.

Incorrect Answers

A:

Each iteration prints the value assigned to item. That observation would test whether A novice writes a loop variable name in a script and needs to print its value instead of the literal variable name. It would not establish the required outcome here, which is input backslashes remain literal in the resulting variable.

C:

Executing the script directly uses the Bash interpreter specified by the shebang. That observation would test whether A simple Bash script is opened by an interpreter but its first line must explicitly identify Bash as the intended interpreter. It would not establish the required outcome here, which is input backslashes remain literal in the resulting variable.

D:

A filename containing spaces remains one argument in the invoked command. That observation would test whether A script receives a source filename as its first argument and must reference that value safely when spaces occur. It would not establish the required outcome here, which is input backslashes remain literal in the resulting variable.

Question 139

Consider this unresolved requirement: An administrator needs to find the systemwide configuration directory for installed services on a typical Linux distribution. What is its most direct operational or security risk?

  1. Looking exclusively in /tmp may miss durable diagnostic records.
  2. A static snapshot may miss short spikes in resource consumption.
  3. Editing a copy under a user home folder may not change the active service settings.
  4. Assuming devices are ordinary user documents can cause incorrect file operations.

Explanation

Correct Answer

C:

Editing a copy under a user home folder may not change the active service settings. The /etc hierarchy conventionally stores host-specific system configuration files.

Incorrect Answers

A:

Looking exclusively in /tmp may miss durable diagnostic records. That risk arises when a troubleshooting session requires checking persistent text log files created by system services. The current unresolved condition instead creates the risk that editing a copy under a user home folder may not change the active service settings.

B:

A static snapshot may miss short spikes in resource consumption. That risk arises when a user wants a continuously updating view of high CPU-consuming processes during an intermittent slowdown. The current unresolved condition instead creates the risk that editing a copy under a user home folder may not change the active service settings.

D:

Assuming devices are ordinary user documents can cause incorrect file operations. That risk arises when a learner must identify where device nodes such as /dev/null and block-device entries are represented. The current unresolved condition instead creates the risk that editing a copy under a user home folder may not change the active service settings.

Question 140

A learner performs this action: Run tar -czf bundle.tar.gz directory/ from the appropriate parent. For the situation (a support agent must package a directory into one compressed tar.gz archive while retaining the original files), which observation would confirm success?

  1. The resulting .tar contains the source tree and is not gzip- or xz-compressed.
  2. The expected directory tree appears after extraction.
  3. The archive listing shows filenames and sizes without extracting the contents.
  4. The resulting bundle.tar.gz lists the expected directory contents and the source remains available.

Explanation

Correct Answer

D:

The resulting bundle.tar.gz lists the expected directory contents and the source remains available. That specific observation verifies the intended change (Run tar -czf bundle.tar.gz directory/ from the appropriate parent.) for this situation. tar creates archives and its -z flag invokes gzip compression when used with -c and -f.

Incorrect Answers

A:

The resulting .tar contains the source tree and is not gzip- or xz-compressed. That observation would test whether An operator needs to create a tar archive of source files without compression because a later tool requires plain tar. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

B:

The expected directory tree appears after extraction. That observation would test whether A learner receives a gzip-compressed tar archive and needs to extract it into the intended working directory. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

C:

The archive listing shows filenames and sizes without extracting the contents. That observation would test whether A user downloads a ZIP archive and wants to inspect its member names before choosing an extraction directory. It would not establish the required outcome here, which is the resulting bundle.tar.gz lists the expected directory contents and the source remains available.

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