cert
cert-1
cert-2

Pass LPI 102-500 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
102-500 Exam - Verified By Experts
102-500 Premium Bundle
$29.98

102-500 Premium Bundle

$79.99
$109.97
  • Premium File 120 Questions & Answers. Last update: Nov 13, 2026
  • Training Course 126 Video Lectures
  • Study Guide 962 Pages
 
$109.97
$79.99
accept 15 downloads in last 7 days
block-screenshots
Purchase LPI 102-500 Exam Training Products Individually
LPI 102-500 Premium File
Premium File 120 Q&A
$76.99$69.99
LPI 102-500 Video Training Course
Training Course 126 Lectures
$21.99 $19.99
LPI 102-500 PDF Study Guide
Study Guide 962 Pages
$21.99 $19.99
LPI 102-500 Practice Test 16

Question 150

A helpdesk escalation describes this Linux behavior: A user cannot hold simultaneous keyboard keys reliably, yet the accessibility configuration disables Sticky Keys and leaves no workable alternative. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.

  1. Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session.
  2. Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements.
  3. Treat a large cursor alone as a substitute for a screen reader and assume modifier-key accessibility settings have no effect on keyboard use.
  4. Inspect accessibility configuration, demonstrate a screen reader and key combination, and ask the affected user to complete a representative task.
  5. Enable suitable assistive tools such as a screen reader, large-print or high-contrast theme and Sticky Keys or on-screen keyboard according to actual user needs.

Explanation

Correct Answers

D:

Most direct verification evidence: Inspect accessibility configuration, demonstrate a screen reader and key combination, and ask the affected user to complete a representative task. Linux principle: Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable.

E:

Recommended administrative action: Enable suitable assistive tools such as a screen reader, large-print or high-contrast theme and Sticky Keys or on-screen keyboard according to actual user needs. Linux principle: Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable.

Incorrect Answers

A:

This alternative addresses Xorg configuration overrides and Wayland awareness, not the specific issue of Accessibility screen reading and keyboard interRecommended Recommended action: Check the session type, Xorg log or configuration fragments, effective keyboard layout and results after restarting an appropriate test session.

B:

This alternative addresses Graphical desktop families and remote desktop protocols, not the specific issue of Accessibility screen reading and keyboard interaction: Select an appropriate desktop family such as GNOME, KDE Plasma or Xfce, and choose a supported remote desktop protocol like VNC, RDP or SPICE according to session requirements. Linux principle: Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable. Appropriate response: Enable suitable assistive tools such as a screen reader, large-print or high-contrast theme and Sticky Keys or on-screen keyboard according to actual user needs. Root-cause evidence: Inspect accessibility configuration, demonstrate a screen reader and key combination, and ask the affected user to complete a representative task. Independent acceptance: The user can independently navigate and complete the workflow through the chosen assistive technology without requiring unsupported input actions.

C:

This shortcut is unsafe for the present Linux issue: Treat a large cursor alone as a substitute for a screen reader and assume modifier-key accessibility settings have no effect on keyboard use. Accessibility mechanisms include visual, auditory and keyboard interaction aids, and individual accommodations are not interchangeable.

Question 151

An operations handoff identifies this problem: A new employee's Linux account exists in /etc/passwd but the expected home directory was never created, so shell startup files cannot be written. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Use passwd and chage to update password or aging policy through supported account tools, preserving restricted shadow-file access.
  2. Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment.
  3. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  4. Review and apply the appropriate /etc/cron.allow and /etc/at.allow or deny policies with the scheduler's supported access rules.

Explanation

Correct Answer

B:

Recommended administrative action: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment.

Incorrect Answers

A:

That option would use passwd and chage to update password or aging policy through supported account tools, preserving restricted shadow-file access, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

C:

That option would assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

D:

That option would review and apply the appropriate /etc/cron.allow and /etc/at.allow or deny policies with the scheduler's supported access rules, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Question 152

A team maintaining a Linux host reports: A new employee's Linux account exists in /etc/passwd but the expected home directory was never created, so shell startup files cannot be written. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.
  2. The at daemon queues single-run jobs for specified times, while cron describes recurring schedules, and each queue entry has a removable job ID.
  3. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  4. Systemd timers activate associated units on configured events; Persistent applies to OnCalendar timer events and can recover missed activations after the timer was inactive.

Explanation

Correct Answer

A:

Relevant Linux operating principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

B:

This alternative addresses One-time at jobs and queue management, not the specific issue of Creating users and provisioning home directories: The at daemon queues single-run jobs for specified times, while cron describes recurring schedules, and each queue entry has a removable job ID. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

C:

That option would assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users, but it addresses a different concern. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment.

D:

This alternative addresses Systemd timers and persistent missed schedules, not the specific issue of Creating users and provisioning home directories: Systemd timers activate associated units on configured events; Persistent applies to OnCalendar timer events and can recover missed activations after the timer was inactive. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Question 153

While verifying a Linux change request, an engineer finds: A new employee's Linux account exists in /etc/passwd but the expected home directory was never created, so shell startup files cannot be written. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Inspect timedatectl status, /etc/localtime target, the process TZ value and sample `date` output in both intended zones.
  2. Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell.
  3. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  4. Review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records.

Explanation

Correct Answer

B:

Most direct verification evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell.

Incorrect Answers

A:

That option would inspect timedatectl status, /etc/localtime target, the process TZ value and sample `date` output in both intended zones, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

C:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. It cannot establish a safe correction.

D:

That option would review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Question 154

A Linux administrator investigates the following system incident: A new employee's Linux account exists in /etc/passwd but the expected home directory was never created, so shell startup files cannot be written. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. The new principal resolves correctly and has an accessible correctly owned home and intended login environment.
  2. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  3. The password is updated or expiration policy enforced as approved while shadow hashes remain inaccessible to unprivileged users.
  4. The required service is triggered at the intended calendar time and recovers eligible missed occurrences according to policy.

Explanation

Correct Answer

A:

Observable acceptance criterion: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Incorrect Answers

B:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

C:

This alternative addresses Shadow password entries and password aging, not the specific issue of Creating users and provisioning home directories: The password is updated or expiration policy enforced as approved while shadow hashes remain inaccessible to unprivileged users. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

D:

This alternative addresses Systemd timers and persistent missed schedules, not the specific issue of Creating users and provisioning home directories: The required service is triggered at the intended calendar time and recovers eligible missed occurrences according to policy. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Question 155

On a production Linux workstation or server, a technician observes: A new employee's Linux account exists in /etc/passwd but the expected home directory was never created, so shell startup files cannot be written. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.

  1. Use a daily cron schedule for a one-off change and expect cron to automatically erase it after its first execution.
  2. Assume cron automatically sources every user's interactive ~/.bashrc and inherits the login terminal's exported desktop variables.
  3. Assume the sixth username column is mandatory in both per-user crontabs and system-wide cron definitions.
  4. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.

Explanation

Correct Answer

D:

Reject this specific misconception: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. It incorrectly assumes behavior that conflicts with the observed Linux conditions.

Incorrect Answers

A:

That option would use a daily cron schedule for a one-off change and expect cron to automatically erase it after its first execution, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

B:

That option would assume cron automatically sources every user's interactive ~/.bashrc and inherits the login terminal's exported desktop variables, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

C:

That option would assume the sixth username column is mandatory in both per-user crontabs and system-wide cron definitions, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Question 156

During an LPIC-1 practice lab, the operator encounters this condition: An operator creates a service user's home under /root by hand rather than using appropriate account creation and ownership settings. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Configure the system timezone with `timedatectl set-timezone` or supported zoneinfo linkage and use TZ for deliberate per-process overrides.
  2. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  3. Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment.
  4. Submit the one-off command with `at`, inspect scheduled items using `atq`, and remove an unwanted job using `atrm`.

Explanation

Correct Answer

C:

Recommended administrative action: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

A:

That option would configure the system timezone with `timedatectl set-timezone` or supported zoneinfo linkage and use TZ for deliberate per-process overrides, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

B:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

D:

This alternative addresses One-time at jobs and queue management, not the specific issue of Creating users and provisioning home directories: Submit the one-off command with `at`, inspect scheduled items using `atq`, and remove an unwanted job using `atrm`. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Question 157

A helpdesk escalation describes this Linux behavior: An operator creates a service user's home under /root by hand rather than using appropriate account creation and ownership settings. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. cron and at can enforce distinct user-access controls, and the presence of an allow file often changes who may submit jobs.
  2. Nonhuman service identities reduce the blast radius of background processes; human interactive login and unrestricted privilege are not prerequisites for a daemon.
  3. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  4. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Explanation

Correct Answer

D:

Relevant Linux operating principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

A:

This alternative addresses Cron and at user-access allow deny policies, not the specific issue of Creating users and provisioning home directories: cron and at can enforce distinct user-access controls, and the presence of an allow file often changes who may submit jobs. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

B:

This alternative addresses System service accounts and least privilege, not the specific issue of Creating users and provisioning home directories: Nonhuman service identities reduce the blast radius of background processes; human interactive login and unrestricted privilege are not prerequisites for a daemon. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

C:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. It cannot establish a safe correction. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Question 158

An operations handoff identifies this problem: An operator creates a service user's home under /root by hand rather than using appropriate account creation and ownership settings. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records.
  2. Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell.
  3. Log the job's environment and standard error, inspect effective PATH and the scheduler's recorded command, and run in a clean environment.
  4. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.

Explanation

Correct Answer

B:

Most direct verification evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

A:

This alternative addresses Account locking suspension and safe removal, not the specific issue of Creating users and provisioning home directories: Review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records.

C:

That option would log the job's environment and standard error, inspect effective PATH and the scheduler's recorded command, and run in a clean environment, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

D:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. It cannot establish a safe correction. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Question 159

A team maintaining a Linux host reports: An operator creates a service user's home under /root by hand rather than using appropriate account creation and ownership settings. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  2. Automation produces stable expected output while interactive users retain their required localization where supported.
  3. The account has the additional authorized membership while every existing required supplementary group remains intact.
  4. The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Explanation

Correct Answer

D:

Observable acceptance criterion: The new principal resolves correctly and has an accessible correctly owned home and intended login environment. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

B:

This alternative addresses Locale category precedence and stable parsing, not the specific issue of Creating users and provisioning home directories: Automation produces stable expected output while interactive users retain their required localization where supported.

C:

This alternative addresses Supplementary group membership and primary GID, not the specific issue of Creating users and provisioning home directories: The account has the additional authorized membership while every existing required supplementary group remains intact. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists. Appropriate response: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Root-cause evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Independent acceptance: The new principal resolves correctly and has an accessible correctly owned home and intended login environment.

Question 160

While verifying a Linux change request, an engineer finds: An operator creates a service user's home under /root by hand rather than using appropriate account creation and ownership settings. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.

  1. Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users.
  2. Choose the appropriate LANG and LC_* settings and use LC_ALL=C only where a predictable locale-independent parsing environment is needed.
  3. Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell.
  4. Review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records.
  5. Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment.

Explanation

Correct Answers

C:

Most direct verification evidence: Inspect getent passwd for the account, stat the home directory and review useradd defaults, ownership and login shell. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

E:

Recommended administrative action: Create the intended user with a suitable home directory, shell and UID policy using useradd with the needed options, and verify ownership and skeleton-file deployment. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Assume a /etc/passwd entry guarantees a populated writable home and that manually adding a directory under /root is a sound default for ordinary users. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

B:

That option would choose the appropriate LANG and LC_* settings and use LC_ALL=C only where a predictable locale-independent parsing environment is needed, but it addresses a different concern. A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

D:

This alternative addresses Account locking suspension and safe removal, not the specific issue of Creating users and provisioning home directories: Review passwd status, chage or usermod lock fields, SSH key access, active sessions and retention or account-removal records. Linux principle: A user database entry and a filesystem home directory are separate artifacts; account creation options and distribution defaults govern whether the home exists.

LPI Level 1 (102-500) Practice Tests