cert
cert-1
cert-2

Pass LPI 010-160 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
010-160 Exam - Verified By Experts
010-160 Premium Bundle
$29.98

010-160 Premium Bundle

$79.99
$109.97
  • Premium File 80 Questions & Answers. Last update: Nov 10, 2026
  • Training Course 78 Video Lectures
  • Study Guide 364 Pages
 
$109.97
$79.99
accept 35 downloads in last 7 days
block-screenshots
Purchase LPI 010-160 Exam Training Products Individually
LPI 010-160 Premium File
Premium File 80 Q&A
$76.99$69.99
LPI 010-160 Video Training Course
Training Course 78 Lectures
$21.99 $19.99
LPI 010-160 PDF Study Guide
Study Guide 364 Pages
$21.99 $19.99
LPI 010-160 Practice Test 4

Question 30

A writer wants to rename `draft.md` to `final.md` without retaining both names. Which action BEST accomplishes the stated Linux task?

  1. Delete the source before confirming a copied destination.
  2. Use `mv` with the original and destination paths.
  3. Use `cp` and assume the original automatically disappears.
  4. Run `touch` to rename an existing file.

Explanation

Correct Answer

B:

Use `mv` with the original and destination paths. `mv` renames or relocates filesystem objects rather than duplicating them. To confirm completion, the destination path exists and the original name no longer refers to the same entry.

Incorrect Answers

A:

Delete the source before confirming a copied destination. It would not produce the expected result: The destination path exists and the original name no longer refers to the same entry. The named operation concerns mv rename and relocation.

C:

Use `cp` and assume the original automatically disappears. This changes the workflow in the wrong way for mv rename and relocation. Using `cp` leaves the original behind when a move was required. For this task the appropriate operation is to use `mv` with the original and destination paths.

D:

Run `touch` to rename an existing file. It does not meet the requirement in this case: A writer wants to rename `draft.md` to `final.md` without retaining both names. `mv` renames or relocates filesystem objects rather than duplicating them.

Question 31

A Linux operator performs repetitive tasks and wants automation not tied to desktop clicks. Which action BEST accomplishes the stated Linux task?

  1. Use a browser tab as the operating-system shell.
  2. Treat every command as requiring a separate desktop icon.
  3. Use the command line for scriptable operations while keeping a GUI for interactive work where useful.
  4. Assume Linux prohibits a desktop graphical interface.

Explanation

Correct Answer

C:

Use the command line for scriptable operations while keeping a GUI for interactive work where useful. Linux can provide both graphical and text interfaces suited to different tasks. To confirm completion, repeated operations can run consistently from shell commands.

Incorrect Answers

A:

Use a browser tab as the operating-system shell. It does not meet the requirement in this case: A Linux operator performs repetitive tasks and wants automation not tied to desktop clicks. Linux can provide both graphical and text interfaces suited to different tasks.

B:

Treat every command as requiring a separate desktop icon. It would not produce the expected result: Repeated operations can run consistently from shell commands. The named operation concerns GUI and command-line tradeoffs.

D:

This changes the workflow in the wrong way for GUI and command-line tradeoffs.

Question 32

A student compares an application that computes slowly with one that runs out of working memory. Which action BEST accomplishes the stated Linux task?

  1. Use a monitor resolution setting to increase CPU cores.
  2. Diagnose CPU capacity for computation and RAM capacity for active working data.
  3. Assume a network interface is the processor.
  4. Treat an SSD as equivalent to RAM in speed and function.

Explanation

Correct Answer

B:

Diagnose CPU capacity for computation and RAM capacity for active working data. CPU executes instructions while RAM holds data and program state in use. To confirm completion, monitoring shows processor utilization and memory availability separately.

Incorrect Answers

A:

This changes the workflow in the wrong way for CPU and RAM responsibilities.

C:

Assume a network interface is the processor. It would not produce the expected result: Monitoring shows processor utilization and memory availability separately. The named operation concerns CPU and RAM responsibilities.

D:

Treat an SSD as equivalent to RAM in speed and function. It does not meet the requirement in this case: A student compares an application that computes slowly with one that runs out of working memory. CPU executes instructions while RAM holds data and program state in use.

Question 33

A CSV-like record `alice:1001:staff` must yield the middle field. Which action BEST accomplishes the stated Linux task?

  1. Run `sort` and expect it to select a colon-separated column.
  2. Use `cut -f 0` as the second field index.
  3. Use `cut -d ':' -f 2 file` to extract the second delimiter-separated field.
  4. Use `wc -c` to extract the second field.

Explanation

Correct Answer

C:

Use `cut -d ':' -f 2 file` to extract the second delimiter-separated field. `cut` selects fields based on the delimiter and field number. To confirm completion, output contains the requested field instead of full records.

Incorrect Answers

A:

Run `sort` and expect it to select a colon-separated column. It does not meet the requirement in this case: A CSV-like record `alice:1001:staff` must yield the middle field. `cut` selects fields based on the delimiter and field number.

B:

Use `cut -f 0` as the second field index. This changes the workflow in the wrong way for cut delimited fields. Choosing the wrong field or delimiter yields incorrect values. For this task the appropriate operation is to use `cut -d ':' -f 2 file` to extract the second delimiter-separated field.

D:

Use `wc -c` to extract the second field. It would not produce the expected result: Output contains the requested field instead of full records. The named operation concerns cut delimited fields.

Question 34

A project directory should become a compressed `.tar.gz` backup. Which action BEST accomplishes the stated Linux task?

  1. Use `zip` but label the output a native tar archive.
  2. Run `tar -czf project.tar.gz project/` to create gzip-compressed tar.
  3. Change only the filename suffix to enable gzip.
  4. Use `tar -xzf project.tar.gz project/` as the creation command.

Explanation

Correct Answer

B:

Run `tar -czf project.tar.gz project/` to create gzip-compressed tar. The tar `-z` option requests gzip compression while `-c` creates the archive. To confirm completion, the resulting archive extracts with `tar -xzf` and contains the original hierarchy.

Incorrect Answers

A:

Use `zip` but label the output a native tar archive. It would not produce the expected result: The resulting archive extracts with `tar -xzf` and contains the original hierarchy. The named operation concerns tar gzip combined compression.

C:

Change only the filename suffix to enable gzip. It does not meet the requirement in this case: A project directory should become a compressed `.tar.gz` backup. The tar `-z` option requests gzip compression while `-c` creates the archive.

D:

Use `tar -xzf project.tar.gz project/` as the creation command. This changes the workflow in the wrong way for tar gzip combined compression. Missing compression leaves an uncompressed tar despite a .gz-looking filename. For this task the appropriate operation is to run `tar -czf project.tar.gz project/` to create gzip-compressed tar.

Question 35

A CSV export needs a fast count of newline-delimited records. Which action BEST accomplishes the stated Linux task?

  1. Run `cat` and assume it reports line totals.
  2. Use `wc -c` to count lines.
  3. Run `wc -l file` and interpret its newline-count semantics.
  4. Use `sort` alone as a numerical line-count tool.

Explanation

Correct Answer

C:

Run `wc -l file` and interpret its newline-count semantics. `wc -l` counts newline characters rather than all byte or word units. To confirm completion, the output reports the number of newline terminators in the input.

Incorrect Answers

A:

Run `cat` and assume it reports line totals. It would not produce the expected result: The output reports the number of newline terminators in the input. The named operation concerns wc line counting.

B:

Use `wc -c` to count lines. This changes the workflow in the wrong way for wc line counting. Using word count can misrepresent a line-oriented record count. For this task the appropriate operation is to run `wc -l file` and interpret its newline-count semantics.

D:

Use `sort` alone as a numerical line-count tool. It does not meet the requirement in this case: A CSV export needs a fast count of newline-delimited records. `wc -l` counts newline characters rather than all byte or word units.

Question 36

A standard user is permitted to install an OS update without logging in directly as root. Which action BEST accomplishes the stated Linux task?

  1. Change file extensions to bypass the sudoers policy.
  2. Share the root password with all staff as the first choice.
  3. Run any ordinary command and assume it implicitly becomes root.
  4. Execute the approved command with `sudo` under applicable sudoers authorization.

Explanation

Correct Answer

D:

Execute the approved command with `sudo` under applicable sudoers authorization. sudo executes a command with permitted elevated privileges and can enforce policy. To confirm completion, the intended privileged action succeeds only for an authorized operator.

Incorrect Answers

A:

Change file extensions to bypass the sudoers policy. It would not produce the expected result: The intended privileged action succeeds only for an authorized operator. The named operation concerns sudo authorized privilege elevation.

B:

Share the root password with all staff as the first choice. It does not meet the requirement in this case: A standard user is permitted to install an OS update without logging in directly as root. sudo executes a command with permitted elevated privileges and can enforce policy.

C:

This changes the workflow in the wrong way for sudo authorized privilege elevation.

Question 37

A user is authorized to open a shell as a different local account. Which action BEST accomplishes the stated Linux task?

  1. Use `pwd` to change the current user identity.
  2. Rename the home directory to become its owner.
  3. Assume an ordinary user can always become root without authentication.
  4. Use `su - targetuser` where authorized and provide authentication as required.

Explanation

Correct Answer

D:

Use `su - targetuser` where authorized and provide authentication as required. su starts a shell or command under another user identity; login-mode options affect the environment. To confirm completion, the resulting shell identity and environment reflect the target user.

Incorrect Answers

A:

This changes the workflow in the wrong way for su switching user identity.

B:

Rename the home directory to become its owner. It does not meet the requirement in this case: A user is authorized to open a shell as a different local account. su starts a shell or command under another user identity; login-mode options affect the environment.

C:

Assume an ordinary user can always become root without authentication. It would not produce the expected result: The resulting shell identity and environment reflect the target user. The named operation concerns su switching user identity.

Question 38

A script must assign a path string to `target` without launching a separate command. Which action BEST accomplishes the stated Linux task?

  1. Use `==` as the Bash scalar assignment operator.
  2. Use `count = 3` as an equivalent Bash assignment.
  3. Write Bash scalar assignments without spaces around `=`, such as `count=3`.
  4. Place the variable name after `export -unset` expecting automatic assignment.

Explanation

Correct Answer

C:

Write Bash scalar assignments without spaces around `=`, such as `count=3`. Spaces around `=` split a Bash assignment into command words. To confirm completion, expansion of the variable returns the intended assigned value.

Incorrect Answers

A:

Use `==` as the Bash scalar assignment operator. It would not produce the expected result: Expansion of the variable returns the intended assigned value. The named operation concerns Bash variable assignment syntax.

B:

This changes the workflow in the wrong way for Bash variable assignment syntax.

D:

Place the variable name after `export -unset` expecting automatic assignment. It does not meet the requirement in this case: A script must assign a path string to `target` without launching a separate command. Spaces around `=` split a Bash assignment into command words.

Question 39

A new network adapter appears in Linux but cannot transmit packets without suitable driver support. Which action BEST accomplishes the stated Linux task?

  1. Copy a documentation PDF into `/etc` as the kernel driver.
  2. Change the browser homepage to activate network hardware.
  3. Assume every peripheral has the same built-in driver interface.
  4. Check whether a compatible kernel driver is available and loaded for the hardware.

Explanation

Correct Answer

D:

Check whether a compatible kernel driver is available and loaded for the hardware. Drivers let the kernel communicate with specific hardware interfaces. To confirm completion, the device appears with the appropriate driver and can perform its normal functions.

Incorrect Answers

A:

Copy a documentation PDF into `/etc` as the kernel driver. It does not meet the requirement in this case: A new network adapter appears in Linux but cannot transmit packets without suitable driver support. Drivers let the kernel communicate with specific hardware interfaces.

B:

This changes the workflow in the wrong way for Hardware drivers and kernel.

C:

Assume every peripheral has the same built-in driver interface. It would not produce the expected result: The device appears with the appropriate driver and can perform its normal functions. The named operation concerns Hardware drivers and kernel.

Question 40

A service starts but another machine cannot reach its expected TCP port. Which action BEST accomplishes the stated Linux task?

  1. Run `ss -ltn` and inspect the expected port and bound address.
  2. Use `ip addr show` expecting all listening TCP port details.
  3. Use `ls -a` to show active TCP connections.
  4. Run `route` to list process socket states.

Explanation

Correct Answer

A:

Run `ss -ltn` and inspect the expected port and bound address. A listening socket is necessary for incoming TCP service connections but firewall routing may also matter. To confirm completion, the service's TCP listening socket appears with the intended local address.

Incorrect Answers

B:

This changes the workflow in the wrong way for ss listening sockets.

C:

Use `ls -a` to show active TCP connections. It would not produce the expected result: The service's TCP listening socket appears with the intended local address. The named operation concerns ss listening sockets.

D:

Run `route` to list process socket states. It does not meet the requirement in this case: A service starts but another machine cannot reach its expected TCP port. A listening socket is necessary for incoming TCP service connections but firewall routing may also matter.

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