Pass Your LPI 102-500 Exam Easy!

LPI 102-500 Exam Questions & Answers, Accurate & Verified By IT Experts

Instant Download, Free Fast Updates, 99.6% Pass Rate

102-500 Premium Bundle

$79.99

LPI 102-500 Premium Bundle

102-500 Premium File: 120 Questions & Answers

Last Update: Sep 30, 2026

102-500 Training Course: 126 Video Lectures

102-500 PDF Study Guide: 962 Pages

102-500 Bundle gives you unlimited access to "102-500" files. However, this does not replace the need for a .vce exam simulator. To download VCE exam simulator click here
LPI 102-500 Premium Bundle
LPI 102-500 Premium Bundle

102-500 Premium File: 120 Questions & Answers

Last Update: Sep 30, 2026

102-500 Training Course: 126 Video Lectures

102-500 PDF Study Guide: 962 Pages

$79.99

102-500 Bundle gives you unlimited access to "102-500" files. However, this does not replace the need for a .vce exam simulator. To download your .vce exam simulator click here

LPI 102-500 Practice Test 16

Question 150

The engineer proposes this implementation: Lock the account password with passwd -l employee and separately assess other authentication paths. The requirement is: A departing employee's interactive password login must be locked immediately while preserving account files for investigation. Which technical explanation best supports the proposed action?

  1. userdel removes the account records and -r also removes its home and mail spool where supported.
  2. passwd -l prefixes the stored password hash with an invalid marker; it does not by itself disable SSH public-key or other authentication.
  3. A system-account UID allocation and non-login shell reduce interactive access when no shell is needed.
  4. getent queries the name service switch databases, including configured directory sources where available.

Explanation

Correct Answer

B:

passwd -l prefixes the stored password hash with an invalid marker; it does not by itself disable SSH public-key or other authentication. It specifically supports the proposed action of Lock the account password with passwd -l employee and separately assess other authentication paths. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Run userdel -r oldsvc with the required permissions and backups., where userdel removes the account records and -r also removes its home and mail spool where supported. It does not explain why Lock the account password with passwd -l employee and separately assess other authentication paths. satisfies the stated condition.

C:

This explains another Linux operation, namely Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent)., where A system-account UID allocation and non-login shell reduce interactive access when no shell is needed. It does not explain why Lock the account password with passwd -l employee and separately assess other authentication paths. satisfies the stated condition.

D:

This explains another Linux operation, namely Run getent passwd username., where getent queries the name service switch databases, including configured directory sources where available. It does not explain why Lock the account password with passwd -l employee and separately assess other authentication paths. satisfies the stated condition.

Question 151

The action Lock the account password with passwd -l employee and separately assess other authentication paths. was applied for this goal: A departing employee's interactive password login must be locked immediately while preserving account files for investigation. Which observation provides the most direct acceptance evidence?

  1. getent passwd oldsvc returns no entry and the approved home path no longer exists.
  2. getent passwd employee shows the home and /bin/bash, and the home contains approved skeleton files.
  3. Password authentication fails while the account and home directory remain for review.
  4. getent group appreaders returns the new group entry with its expected name.

Explanation

Correct Answer

C:

Password authentication fails while the account and home directory remain for review. This checks the effect of Lock the account password with passwd -l employee and separately assess other authentication paths. against the stated operational goal.

Incorrect Answers

A:

That observation checks A former service account must be deleted along with its local home directory after approved retention checks. In this scenario it does not demonstrate Lock the account password with passwd -l employee and separately assess other authentication paths.; the relevant evidence must establish Password authentication fails while the account and home directory remain for review.

B:

That observation checks A new employee needs a local Linux login, a home directory and the configured default shell. In this scenario it does not demonstrate Lock the account password with passwd -l employee and separately assess other authentication paths.; the relevant evidence must establish Password authentication fails while the account and home directory remain for review.

D:

That observation checks A local application needs a dedicated group before administrators can assign its log readers. In this scenario it does not demonstrate Lock the account password with passwd -l employee and separately assess other authentication paths.; the relevant evidence must establish Password authentication fails while the account and home directory remain for review.

Question 152

A team is validating its implementation of this requirement: A departing employee's interactive password login must be locked immediately while preserving account files for investigation. Which observed mistake most specifically identifies that the intended manage user and group accounts and related system files behavior has NOT been met?

  1. The policy was edited in an unrelated global file but the existing user's aging values did not change.
  2. The administrator changed the SHELL variable manually but login still launches the prior shell.
  3. A privileged interactive shell was assigned to the daemon account unnecessarily.
  4. SSH key login still succeeds despite a locked password hash.

Explanation

Correct Answer

D:

SSH key login still succeeds despite a locked password hash. This shows the requested behavior is absent, so the deployment needs the correction: Lock or disable additional authentication channels and expiry as required by policy.

Incorrect Answers

A:

That symptom concerns A password policy requires local user passwords to expire after 90 days. This concerns a separate requirement, not the one being tested. The relevant failure is SSH key login still succeeds despite a locked password hash. The current requirement calls for a different check.

B:

That symptom concerns An account's interactive default shell must be changed without deleting or recreating the account. This concerns a separate requirement, not the one being tested. The relevant failure is SSH key login still succeeds despite a locked password hash. The current requirement calls for a different check.

C:

That symptom concerns A daemon needs a low-privilege local system identity that normally should not be used for interactive login. This concerns a separate requirement, not the one being tested. The relevant failure is SSH key login still succeeds despite a locked password hash. The current requirement calls for a different check.

Question 153

During validation, this problem was found: SSH key login still succeeds despite a locked password hash. The original goal was: A departing employee's interactive password login must be locked immediately while preserving account files for investigation. Which targeted correction best resolves it?

  1. Lock or disable additional authentication channels and expiry as required by policy.
  2. Query the NSS database through getent and verify name-service configuration.
  3. Check id -gn and the primary GID resolution instead of supplementary group listings alone.
  4. Remove the approved residual home after ensuring it does not contain retained data.

Explanation

Correct Answer

A:

Lock or disable additional authentication channels and expiry as required by policy. It directly addresses the observed symptom: SSH key login still succeeds despite a locked password hash. The relevant mechanism is passwd -l prefixes the stored password hash with an invalid marker; it does not by itself disable SSH public-key or other authentication.

Incorrect Answers

B:

This fix is aimed at grep /etc/passwd misses a centrally managed account that can authenticate. and would be relevant if An administrator needs to look up a user's account record using the configured NSS sources, not just local /etc/passwd. The incident instead states SSH key login still succeeds despite a locked password hash. and needs Lock or disable additional authentication channels and expiry as required by policy.

C:

This fix is aimed at A grep of supplementary memberships was mistaken for the account's primary group. and would be relevant if A technician wants to inspect which group is the primary group for a named account. The incident instead states SSH key login still succeeds despite a locked password hash. and needs Lock or disable additional authentication channels and expiry as required by policy.

D:

This fix is aimed at The account disappears but the home remains because userdel ran without -r. and would be relevant if A former service account must be deleted along with its local home directory after approved retention checks. The incident instead states SSH key login still succeeds despite a locked password hash. and needs Lock or disable additional authentication channels and expiry as required by policy.

Question 154

A Linux administrator faces this requirement: A former service account must be deleted along with its local home directory after approved retention checks. Which specific action is the best direct solution?

  1. Create the account with useradd -m -s /bin/bash employee and set its password.
  2. Run userdel -r oldsvc with the required permissions and backups.
  3. Use usermod -s /bin/bash username for an installed permitted shell.
  4. Use groupmod -n newgroup oldgroup.

Explanation

Correct Answer

B:

Run userdel -r oldsvc with the required permissions and backups. The mechanism is: userdel removes the account records and -r also removes its home and mail spool where supported.

Incorrect Answers

A:

Create the account with useradd -m -s /bin/bash employee and set its password. That operation is designed for the different case: A new employee needs a local Linux login, a home directory and the configured default shell. It does not perform the specific action required here: Run userdel -r oldsvc with the required permissions and backups.

C:

Use usermod -s /bin/bash username for an installed permitted shell. That operation is designed for the different case: An account's interactive default shell must be changed without deleting or recreating the account. It does not perform the specific action required here: Run userdel -r oldsvc with the required permissions and backups.

D:

Use groupmod -n newgroup oldgroup. That operation is designed for the different case: The operations team renamed a local Unix group without changing its existing numeric GID. It does not perform the specific action required here: Run userdel -r oldsvc with the required permissions and backups.

Question 155

The engineer proposes this implementation: Run userdel -r oldsvc with the required permissions and backups. The requirement is: A former service account must be deleted along with its local home directory after approved retention checks. Which technical explanation best supports the proposed action?

  1. The -a append modifier preserves the user's existing supplementary groups when -G changes membership.
  2. getent queries the name service switch databases, including configured directory sources where available.
  3. userdel removes the account records and -r also removes its home and mail spool where supported.
  4. usermod updates the shell field in the account database; the change applies to future login sessions.

Explanation

Correct Answer

C:

userdel removes the account records and -r also removes its home and mail spool where supported. It specifically supports the proposed action of Run userdel -r oldsvc with the required permissions and backups. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Use usermod -aG docker developer., where The -a append modifier preserves the user's existing supplementary groups when -G changes membership. It does not explain why Run userdel -r oldsvc with the required permissions and backups. satisfies the stated condition.

B:

This explains another Linux operation, namely Run getent passwd username., where getent queries the name service switch databases, including configured directory sources where available. It does not explain why Run userdel -r oldsvc with the required permissions and backups. satisfies the stated condition.

D:

This explains another Linux operation, namely Use usermod -s /bin/bash username for an installed permitted shell., where usermod updates the shell field in the account database; the change applies to future login sessions. It does not explain why Run userdel -r oldsvc with the required permissions and backups. satisfies the stated condition.

Question 156

The action Run userdel -r oldsvc with the required permissions and backups. was applied for this goal: A former service account must be deleted along with its local home directory after approved retention checks. Which observation provides the most direct acceptance evidence?

  1. getent group newgroup reports the original GID and the old name is no longer found.
  2. The reported primary group corresponds to the GID in getent passwd for that account.
  3. getent passwd employee shows the home and /bin/bash, and the home contains approved skeleton files.
  4. getent passwd oldsvc returns no entry and the approved home path no longer exists.

Explanation

Correct Answer

D:

getent passwd oldsvc returns no entry and the approved home path no longer exists. This checks the effect of Run userdel -r oldsvc with the required permissions and backups. against the stated operational goal.

Incorrect Answers

A:

That observation checks The operations team renamed a local Unix group without changing its existing numeric GID. In this scenario it does not demonstrate Run userdel -r oldsvc with the required permissions and backups.; the relevant evidence must establish getent passwd oldsvc returns no entry and the approved home path no longer exists.

B:

That observation checks A technician wants to inspect which group is the primary group for a named account. In this scenario it does not demonstrate Run userdel -r oldsvc with the required permissions and backups.; the relevant evidence must establish getent passwd oldsvc returns no entry and the approved home path no longer exists.

C:

That observation checks A new employee needs a local Linux login, a home directory and the configured default shell. In this scenario it does not demonstrate Run userdel -r oldsvc with the required permissions and backups.; the relevant evidence must establish getent passwd oldsvc returns no entry and the approved home path no longer exists.

Question 157

A team is validating its implementation of this requirement: A former service account must be deleted along with its local home directory after approved retention checks. Which observed mistake most specifically identifies that the intended manage user and group accounts and related system files behavior has NOT been met?

  1. The account disappears but the home remains because userdel ran without -r.
  2. The policy was edited in an unrelated global file but the existing user's aging values did not change.
  3. The account exists in passwd but has no home directory because -m was omitted.
  4. SSH key login still succeeds despite a locked password hash.

Explanation

Correct Answer

A:

The account disappears but the home remains because userdel ran without -r. This shows the requested behavior is absent, so the deployment needs the correction: Remove the approved residual home after ensuring it does not contain retained data.

Incorrect Answers

B:

That symptom concerns A password policy requires local user passwords to expire after 90 days. This concerns a separate requirement, not the one being tested. The relevant failure is The account disappears but the home remains because userdel ran without -r. The current requirement calls for a different check.

C:

That symptom concerns A new employee needs a local Linux login, a home directory and the configured default shell. This concerns a separate requirement, not the one being tested. The relevant failure is The account disappears but the home remains because userdel ran without -r. The current requirement calls for a different check.

D:

That symptom concerns A departing employee's interactive password login must be locked immediately while preserving account files for investigation. This concerns a separate requirement, not the one being tested. The relevant failure is The account disappears but the home remains because userdel ran without -r. The current requirement calls for a different check.

Question 158

During validation, this problem was found: The account disappears but the home remains because userdel ran without -r. The original goal was: A former service account must be deleted along with its local home directory after approved retention checks. Which targeted correction best resolves it?

  1. Check id -gn and the primary GID resolution instead of supplementary group listings alone.
  2. Remove the approved residual home after ensuring it does not contain retained data.
  3. Query the NSS database through getent and verify name-service configuration.
  4. Create the correct group first, then assign ownership and intended membership.

Explanation

Correct Answer

B:

Remove the approved residual home after ensuring it does not contain retained data. It directly addresses the observed symptom: The account disappears but the home remains because userdel ran without -r. The relevant mechanism is userdel removes the account records and -r also removes its home and mail spool where supported.

Incorrect Answers

A:

This fix is aimed at A grep of supplementary memberships was mistaken for the account's primary group. and would be relevant if A technician wants to inspect which group is the primary group for a named account. The incident instead states The account disappears but the home remains because userdel ran without -r. and needs Remove the approved residual home after ensuring it does not contain retained data.

C:

This fix is aimed at grep /etc/passwd misses a centrally managed account that can authenticate. and would be relevant if An administrator needs to look up a user's account record using the configured NSS sources, not just local /etc/passwd. The incident instead states The account disappears but the home remains because userdel ran without -r. and needs Remove the approved residual home after ensuring it does not contain retained data.

D:

This fix is aimed at The directory has group ownership set to a non-existent group name. and would be relevant if A local application needs a dedicated group before administrators can assign its log readers. The incident instead states The account disappears but the home remains because userdel ran without -r. and needs Remove the approved residual home after ensuring it does not contain retained data.

Question 159

A Linux administrator faces this requirement: A password policy requires local user passwords to expire after 90 days. Which specific action is the best direct solution?

  1. Create the group with groupadd appreaders.
  2. Use groupmod -n newgroup oldgroup.
  3. Set the maximum password age with chage -M 90 username.
  4. Run id -gn username to display the account's primary group name.

Explanation

Correct Answer

C:

Set the maximum password age with chage -M 90 username. The mechanism is: chage modifies password-aging policy stored with the account in the shadow database.

Incorrect Answers

A:

Create the group with groupadd appreaders. That operation is designed for the different case: A local application needs a dedicated group before administrators can assign its log readers. It does not perform the specific action required here: Set the maximum password age with chage -M 90 username.

B:

Use groupmod -n newgroup oldgroup. That operation is designed for the different case: The operations team renamed a local Unix group without changing its existing numeric GID. It does not perform the specific action required here: Set the maximum password age with chage -M 90 username.

D:

Run id -gn username to display the account's primary group name. That operation is designed for the different case: A technician wants to inspect which group is the primary group for a named account. It does not perform the specific action required here: Set the maximum password age with chage -M 90 username.

Question 160

The engineer proposes this implementation: Set the maximum password age with chage -M 90 username. The requirement is: A password policy requires local user passwords to expire after 90 days. Which technical explanation best supports the proposed action?

  1. The -a append modifier preserves the user's existing supplementary groups when -G changes membership.
  2. userdel removes the account records and -r also removes its home and mail spool where supported.
  3. useradd creates the account database entry, -m creates the initial home and -s selects the login shell.
  4. chage modifies password-aging policy stored with the account in the shadow database.

Explanation

Correct Answer

D:

chage modifies password-aging policy stored with the account in the shadow database. It specifically supports the proposed action of Set the maximum password age with chage -M 90 username. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Use usermod -aG docker developer., where The -a append modifier preserves the user's existing supplementary groups when -G changes membership. It does not explain why Set the maximum password age with chage -M 90 username. satisfies the stated condition.

B:

This explains another Linux operation, namely Run userdel -r oldsvc with the required permissions and backups., where userdel removes the account records and -r also removes its home and mail spool where supported. It does not explain why Set the maximum password age with chage -M 90 username. satisfies the stated condition.

C:

This explains another Linux operation, namely Create the account with useradd -m -s /bin/bash employee and set its password., where useradd creates the account database entry, -m creates the initial home and -s selects the login shell. It does not explain why Set the maximum password age with chage -M 90 username. satisfies the stated condition.


LPI Level 1 (102-500) Practice Tests

Purchase Individually

102-500 Premium File

Premium File
102-500 Premium File
120 Q&A
$76.99$69.99

102-500 Training Video Course

Training Course
102-500 Training Video Course
126 Lectures
$27.49$24.99

102-500 Study Guide

Study Guide
102-500 Study Guide
962 PDF Pages
$27.49$24.99

Site Search:

 

VISA, MasterCard, AmericanExpress, UnionPay

SPECIAL OFFER: GET 10% OFF

ExamCollection Premium

ExamCollection Premium Files

Pass your Exam with ExamCollection's PREMIUM files!

  • ExamCollection Certified Safe Files
  • Guaranteed to have ACTUAL Exam Questions
  • Up-to-Date Exam Study Material - Verified by Experts
  • Instant Downloads
Enter Your Email Address to Receive Your 10% Off Discount Code
A Confirmation Link will be sent to this email address to verify your login
We value your privacy. We will not rent or sell your email address

SPECIAL OFFER: GET 10% OFF

Use Discount Code:

MIN10OFF

A confirmation link was sent to your e-mail.
Please check your mailbox for a message from support@examcollection.com and follow the directions.

Next

Download Free Demo of VCE Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.

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

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.