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 12

Question 110

A hardware diagnostic script reads attributes exposed by kernel subsystems. Which action BEST accomplishes the stated Linux task?

  1. Use `/dev/null` as a device attribute browser.
  2. Treat `/sys` as the default place for user photos.
  3. Inspect `/sys` for supported sysfs device attributes.
  4. Assume `/sys` contains only compressed backups.

Explanation

Correct Answer

C:

Inspect `/sys` for supported sysfs device attributes. sysfs exposes kernel device and subsystem objects through a virtual filesystem. To confirm completion, the queried device or subsystem attributes reflect the active kernel state.

Incorrect Answers

A:

Use `/dev/null` as a device attribute browser. It would not produce the expected result: The queried device or subsystem attributes reflect the active kernel state. The named operation concerns /sys device and kernel interfaces.

B:

Treat `/sys` as the default place for user photos. This changes the workflow in the wrong way for /sys device and kernel interfaces. Mistaking sysfs for a persistent user-data directory can corrupt an investigation. For this task the appropriate operation is to inspect `/sys` for supported sysfs device attributes.

D:

Assume `/sys` contains only compressed backups. It does not meet the requirement in this case: A hardware diagnostic script reads attributes exposed by kernel subsystems. sysfs exposes kernel device and subsystem objects through a virtual filesystem.

Question 111

An administrator's workstation runs an old release with no longer-supported security repositories. Which action BEST accomplishes the stated Linux task?

  1. Plan migration to a supported distribution release before its security maintenance ends.
  2. Change the desktop wallpaper to extend vendor support.
  3. Avoid release notes and security advisories forever.
  4. Assume an OS stays supported because it still boots.

Explanation

Correct Answer

A:

Plan migration to a supported distribution release before its security maintenance ends. Distribution life cycles determine when a release receives supported fixes and upgrades. To confirm completion, the chosen release continues to receive applicable vendor security fixes.

Incorrect Answers

B:

Change the desktop wallpaper to extend vendor support. It would not produce the expected result: The chosen release continues to receive applicable vendor security fixes. The named operation concerns Distribution life cycle versus installed version.

C:

Avoid release notes and security advisories forever. It does not meet the requirement in this case: An administrator's workstation runs an old release with no longer-supported security repositories. Distribution life cycles determine when a release receives supported fixes and upgrades.

D:

This changes the workflow in the wrong way for Distribution life cycle versus installed version.

Question 112

A systems administrator needs to create a new ordinary local Linux login. Which action BEST accomplishes the stated Linux task?

  1. Edit `/etc/hosts` to create the username.
  2. Run `groupadd` alone expecting a login user.
  3. Run `useradd` with required options using authorized administrative privileges.
  4. Copy an existing home directory without adding an account record.

Explanation

Correct Answer

C:

Run `useradd` with required options using authorized administrative privileges. useradd creates a local account; additional options or distribution defaults control home and shell setup. To confirm completion, the new user has an account record with the expected UID and home policy.

Incorrect Answers

A:

Edit `/etc/hosts` to create the username. It would not produce the expected result: The new user has an account record with the expected UID and home policy. The named operation concerns useradd new local account.

B:

Run `groupadd` alone expecting a login user. This changes the workflow in the wrong way for useradd new local account. Assuming a user account exists because a home directory was manually created is unsafe. For this task the appropriate operation is to run `useradd` with required options using authorized administrative privileges.

D:

Copy an existing home directory without adding an account record. It does not meet the requirement in this case: A systems administrator needs to create a new ordinary local Linux login. useradd creates a local account; additional options or distribution defaults control home and shell setup.

Question 113

A script tracks a successful task count and must increment an integer. Which action BEST accomplishes the stated Linux task?

  1. Use arithmetic expansion such as `count=$((count + 1))`.
  2. Use `count=count+1` expecting arithmetic automatically.
  3. Use literal `echo 2+3` expecting shell evaluation.
  4. Treat a pathname glob as an arithmetic operator.

Explanation

Correct Answer

A:

Use arithmetic expansion such as `count=$((count + 1))`. Bash arithmetic expansion evaluates integer expressions rather than concatenating text. To confirm completion, the resulting variable contains the expected integer.

Incorrect Answers

B:

Use `count=count+1` expecting arithmetic automatically. This changes the workflow in the wrong way for Bash arithmetic expansion. Treating `+` as string concatenation can produce the wrong count. For this task the appropriate operation is to use arithmetic expansion such as `count=$((count + 1))`.

C:

Use literal `echo 2+3` expecting shell evaluation. It does not meet the requirement in this case: A script tracks a successful task count and must increment an integer. Bash arithmetic expansion evaluates integer expressions rather than concatenating text.

D:

Treat a pathname glob as an arithmetic operator. It would not produce the expected result: The resulting variable contains the expected integer. The named operation concerns Bash arithmetic expansion.

Question 114

A team needs a shared Unix group for collaborating on project files. Which action BEST accomplishes the stated Linux task?

  1. Treat a directory permission bit as a new group definition.
  2. Make `/etc/group` world-writable so anyone can create groups.
  3. Run `useradd groupname` expecting only a group record.
  4. Run `groupadd groupname` with appropriate privileges.

Explanation

Correct Answer

D:

Run `groupadd groupname` with appropriate privileges. Unix groups provide a way to assign shared access to users and files. To confirm completion, the group appears in the group database with an available GID.

Incorrect Answers

A:

Treat a directory permission bit as a new group definition. It would not produce the expected result: The group appears in the group database with an available GID. The named operation concerns groupadd new group.

B:

Make `/etc/group` world-writable so anyone can create groups. It does not meet the requirement in this case: A team needs a shared Unix group for collaborating on project files. Unix groups provide a way to assign shared access to users and files.

C:

Run `useradd groupname` expecting only a group record. This changes the workflow in the wrong way for groupadd new group. Creating a similarly named directory does not create group membership or identity. For this task the appropriate operation is to run `groupadd groupname` with appropriate privileges.

Question 115

A student is asked where Linux bootloader and kernel boot files are often stored. Which action BEST accomplishes the stated Linux task?

  1. Search `/tmp` as the universal permanent kernel image location.
  2. Treat `/var/log/messages` as a kernel executable image.
  3. Use `/etc/passwd` as the Linux bootloader binary.
  4. Inspect `/boot` for boot-related kernel and loader files when the distribution uses that layout.

Explanation

Correct Answer

D:

Inspect `/boot` for boot-related kernel and loader files when the distribution uses that layout. `/boot` commonly stores files needed during the system boot process. To confirm completion, kernel images or loader assets appear in the designated boot path.

Incorrect Answers

A:

This changes the workflow in the wrong way for /boot kernel startup files.

B:

Treat `/var/log/messages` as a kernel executable image. It would not produce the expected result: Kernel images or loader assets appear in the designated boot path. The named operation concerns /boot kernel startup files.

C:

Use `/etc/passwd` as the Linux bootloader binary. It does not meet the requirement in this case: A student is asked where Linux bootloader and kernel boot files are often stored. `/boot` commonly stores files needed during the system boot process.

Question 116

A user cannot see `.bashrc` in a plain directory listing. Which action BEST accomplishes the stated Linux task?

  1. Rename `.bashrc` to remove all hidden file semantics.
  2. Use `ls -l` alone to guarantee display of every dotfile.
  3. Use `ls -a` to include hidden dot-prefixed entries.
  4. Run `rmdir` to reveal hidden contents.

Explanation

Correct Answer

C:

Use `ls -a` to include hidden dot-prefixed entries. Default `ls` usually hides dot-prefixed names unless an option requests them. To confirm completion, dot-prefixed files appear alongside other directory entries.

Incorrect Answers

A:

Rename `.bashrc` to remove all hidden file semantics. It does not meet the requirement in this case: A user cannot see `.bashrc` in a plain directory listing. Default `ls` usually hides dot-prefixed names unless an option requests them.

B:

This changes the workflow in the wrong way for Hidden dotfiles and ls -a.

D:

Run `rmdir` to reveal hidden contents. It would not produce the expected result: Dot-prefixed files appear alongside other directory entries. The named operation concerns Hidden dotfiles and ls -a.

Question 117

A user in `/home/lee` must open `/var/log` regardless of current location. Which action BEST accomplishes the stated Linux task?

  1. Prefix every absolute path with `~`.
  2. Assume `..` is the literal name of the filesystem root.
  3. Treat `etc` as automatically identical to `/etc` from every directory.
  4. Use a path beginning with `/` when referencing an absolute location.

Explanation

Correct Answer

D:

Use a path beginning with `/` when referencing an absolute location. Leading `/` anchors a pathname at the filesystem root. To confirm completion, the command reaches the same target independent of the current working directory.

Incorrect Answers

A:

Prefix every absolute path with `~`. It does not meet the requirement in this case: A user in `/home/lee` must open `/var/log` regardless of current location. Leading `/` anchors a pathname at the filesystem root.

B:

Assume `.` is the literal name of the filesystem root. It would not produce the expected result: The command reaches the same target independent of the current working directory. The named operation concerns Absolute filesystem paths.

C:

Treat `etc` as automatically identical to `/etc` from every directory. This changes the workflow in the wrong way for Absolute filesystem paths. Relative paths depend on the shell's starting directory. For this task the appropriate operation is to use a path beginning with `/` when referencing an absolute location.

Question 118

A workstation is slow and an operator wants to observe which processes consume CPU. Which action BEST accomplishes the stated Linux task?

  1. Run `top` to monitor currently running processes and resource usage.
  2. Run `ls -l` expecting CPU usage refresh.
  3. Use `pwd` to monitor current CPU consumption.
  4. Use `rmdir` as the Linux process viewer.

Explanation

Correct Answer

A:

Run `top` to monitor currently running processes and resource usage. top provides interactive periodically refreshed process information. To confirm completion, process CPU and memory columns update during observation.

Incorrect Answers

B:

Run `ls -l` expecting CPU usage refresh. It does not meet the requirement in this case: A workstation is slow and an operator wants to observe which processes consume CPU. top provides interactive periodically refreshed process information.

C:

Use `pwd` to monitor current CPU consumption. This changes the workflow in the wrong way for top interactive process monitor. A single static file listing cannot show evolving CPU usage. For this task the appropriate operation is to run `top` to monitor currently running processes and resource usage.

D:

Use `rmdir` as the Linux process viewer. It would not produce the expected result: Process CPU and memory columns update during observation. The named operation concerns top interactive process monitor.

Question 119

A parent shell sets `API_MODE=test` and wants a child process to receive it. Which action BEST accomplishes the stated Linux task?

  1. Assume every local variable is automatically exported.
  2. Run `unset API_MODE` to publish the variable.
  3. Store the variable only in a terminal's title bar.
  4. Run `export API_MODE=test` or export an existing variable before launching the child.

Explanation

Correct Answer

D:

Run `export API_MODE=test` or export an existing variable before launching the child. Export marks shell variables for inclusion in child-process environments. To confirm completion, a child process displays the inherited value from its environment.

Incorrect Answers

A:

Assume every local variable is automatically exported. It does not meet the requirement in this case: A parent shell sets `API_MODE=test` and wants a child process to receive it. Export marks shell variables for inclusion in child-process environments.

B:

Run `unset API_MODE` to publish the variable. This changes the workflow in the wrong way for Exported environment variables. A nonexported shell-only variable is not automatically inherited by child programs. For this task the appropriate operation is to run `export API_MODE=test` or export an existing variable before launching the child.

C:

Store the variable only in a terminal's title bar. It would not produce the expected result: A child process displays the inherited value from its environment. The named operation concerns Exported environment variables.

Question 120

A developer has a shell script readable by its owner but not executable. Which action BEST accomplishes the stated Linux task?

  1. Run `chmod u+x script.sh` to add execute permission for the owner.
  2. Run `chmod a+x` and claim only owner rights changed.
  3. Use `chown` to set an execute bit directly.
  4. Expect changing a file extension to grant execute access.

Explanation

Correct Answer

A:

Run `chmod u+x script.sh` to add execute permission for the owner. Symbolic chmod adds or removes rights for specified classes without necessarily replacing other rights. To confirm completion, the resulting owner permission triplet includes the execute bit.

Incorrect Answers

B:

This changes the workflow in the wrong way for chmod symbolic execute flag.

C:

Use `chown` to set an execute bit directly. It does not meet the requirement in this case: A developer has a shell script readable by its owner but not executable. Symbolic chmod adds or removes rights for specified classes without necessarily replacing other rights.

D:

Expect changing a file extension to grant execute access. It would not produce the expected result: The resulting owner permission triplet includes the execute bit. The named operation concerns chmod symbolic execute flag.

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