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 19

Question 180

The engineer proposes this implementation: Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). The requirement is: A daemon needs a low-privilege local system identity that normally should not be used for interactive login. Which technical explanation best supports the proposed action?

  1. id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry.
  2. /etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd.
  3. The -n option changes the group name while retaining its numeric group identifier.
  4. A system-account UID allocation and non-login shell reduce interactive access when no shell is needed.

Explanation

Correct Answer

D:

A system-account UID allocation and non-login shell reduce interactive access when no shell is needed. It specifically supports the proposed action of Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Run id -gn username to display the account's primary group name., where id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry. It does not explain why Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). satisfies the stated condition.

B:

This explains another Linux operation, namely Inspect the protected /etc/shadow database under appropriate privileges., where /etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd. It does not explain why Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). satisfies the stated condition.

C:

This explains another Linux operation, namely Use groupmod -n newgroup oldgroup., where The -n option changes the group name while retaining its numeric group identifier. It does not explain why Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). satisfies the stated condition.

Question 181

The action Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). was applied for this goal: A daemon needs a low-privilege local system identity that normally should not be used for interactive login. Which observation provides the most direct acceptance evidence?

  1. getent passwd svcname shows the configured nologin shell and service runtime can use the UID.
  2. getent group appreaders returns the new group entry with its expected name.
  3. getent passwd employee shows the home and /bin/bash, and the home contains approved skeleton files.
  4. Password authentication fails while the account and home directory remain for review.

Explanation

Correct Answer

A:

getent passwd svcname shows the configured nologin shell and service runtime can use the UID. This checks the effect of Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent). against the stated operational goal.

Incorrect Answers

B:

That observation checks A local application needs a dedicated group before administrators can assign its log readers. In this scenario it does not demonstrate Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent).; the relevant evidence must establish getent passwd svcname shows the configured nologin shell and service runtime can use the UID.

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 Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent).; the relevant evidence must establish getent passwd svcname shows the configured nologin shell and service runtime can use the UID.

D:

That observation checks A departing employee's interactive password login must be locked immediately while preserving account files for investigation. In this scenario it does not demonstrate Create an appropriate system account with useradd -r -s /usr/sbin/nologin svcname (path distro dependent).; the relevant evidence must establish getent passwd svcname shows the configured nologin shell and service runtime can use the UID.

Question 182

A team is validating its implementation of this requirement: A daemon needs a low-privilege local system identity that normally should not be used for interactive login. 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 administrator changed the SHELL variable manually but login still launches the prior shell.
  2. A privileged interactive shell was assigned to the daemon account unnecessarily.
  3. A plain usermod -G docker developer replaced the entire supplementary group list.
  4. Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder.

Explanation

Correct Answer

B:

A privileged interactive shell was assigned to the daemon account unnecessarily. This shows the requested behavior is absent, so the deployment needs the correction: Set a valid nologin shell and tighten the service account's privileges.

Incorrect Answers

A:

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 A privileged interactive shell was assigned to the daemon account unnecessarily. The current requirement calls for a different check.

C:

That symptom concerns A developer must be added to the supplementary docker group without losing current secondary groups. This concerns a separate requirement, not the one being tested. The relevant failure is A privileged interactive shell was assigned to the daemon account unnecessarily. The current requirement calls for a different check.

D:

That symptom concerns An administrator needs to identify which file stores local password hashes rather than account names and shell paths. This concerns a separate requirement, not the one being tested. The relevant failure is A privileged interactive shell was assigned to the daemon account unnecessarily. The current requirement calls for a different check.

Question 183

During validation, this problem was found: A privileged interactive shell was assigned to the daemon account unnecessarily. The original goal was: A daemon needs a low-privilege local system identity that normally should not be used for interactive login. Which targeted correction best resolves it?

  1. Lock or disable additional authentication channels and expiry as required by policy.
  2. Change the account's configured login shell with usermod -s.
  3. Set a valid nologin shell and tighten the service account's privileges.
  4. Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.

Explanation

Correct Answer

C:

Set a valid nologin shell and tighten the service account's privileges. It directly addresses the observed symptom: A privileged interactive shell was assigned to the daemon account unnecessarily. The relevant mechanism is A system-account UID allocation and non-login shell reduce interactive access when no shell is needed.

Incorrect Answers

A:

This fix is aimed at SSH key login still succeeds despite a locked password hash. and would be relevant if A departing employee's interactive password login must be locked immediately while preserving account files for investigation. The incident instead states A privileged interactive shell was assigned to the daemon account unnecessarily. and needs Set a valid nologin shell and tighten the service account's privileges.

B:

This fix is aimed at The administrator changed the SHELL variable manually but login still launches the prior shell. and would be relevant if An account's interactive default shell must be changed without deleting or recreating the account. The incident instead states A privileged interactive shell was assigned to the daemon account unnecessarily. and needs Set a valid nologin shell and tighten the service account's privileges.

D:

This fix is aimed at Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. and would be relevant if An administrator needs to identify which file stores local password hashes rather than account names and shell paths. The incident instead states A privileged interactive shell was assigned to the daemon account unnecessarily. and needs Set a valid nologin shell and tighten the service account's privileges.

Question 184

A Linux administrator faces this requirement: An account's interactive default shell must be changed without deleting or recreating the account. Which specific action is the best direct solution?

  1. Use usermod -aG docker developer.
  2. Create the account with useradd -m -s /bin/bash employee and set its password.
  3. Run getent passwd username.
  4. Use usermod -s /bin/bash username for an installed permitted shell.

Explanation

Correct Answer

D:

Use usermod -s /bin/bash username for an installed permitted shell. The mechanism is: usermod updates the shell field in the account database; the change applies to future login sessions.

Incorrect Answers

A:

Use usermod -aG docker developer. That operation is designed for the different case: A developer must be added to the supplementary docker group without losing current secondary groups. It does not perform the specific action required here: Use usermod -s /bin/bash username for an installed permitted shell.

B:

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: Use usermod -s /bin/bash username for an installed permitted shell.

C:

Run getent passwd username. That operation is designed for the different case: An administrator needs to look up a user's account record using the configured NSS sources, not just local /etc/passwd. It does not perform the specific action required here: Use usermod -s /bin/bash username for an installed permitted shell.

Question 185

The engineer proposes this implementation: Use usermod -s /bin/bash username for an installed permitted shell. The requirement is: An account's interactive default shell must be changed without deleting or recreating the account. Which technical explanation best supports the proposed action?

  1. usermod updates the shell field in the account database; the change applies to future login sessions.
  2. useradd creates the account database entry, -m creates the initial home and -s selects the login shell.
  3. id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry.
  4. userdel removes the account records and -r also removes its home and mail spool where supported.

Explanation

Correct Answer

A:

usermod updates the shell field in the account database; the change applies to future login sessions. It specifically supports the proposed action of Use usermod -s /bin/bash username for an installed permitted shell. for the requirement described.

Incorrect Answers

B:

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 Use usermod -s /bin/bash username for an installed permitted shell. satisfies the stated condition.

C:

This explains another Linux operation, namely Run id -gn username to display the account's primary group name., where id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry. It does not explain why Use usermod -s /bin/bash username for an installed permitted shell. satisfies the stated condition.

D:

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 Use usermod -s /bin/bash username for an installed permitted shell. satisfies the stated condition.

Question 186

The action Use usermod -s /bin/bash username for an installed permitted shell. was applied for this goal: An account's interactive default shell must be changed without deleting or recreating the account. Which observation provides the most direct acceptance evidence?

  1. chage -l username shows the maximum password age set to 90 days.
  2. getent passwd username reports /bin/bash and a fresh login opens the selected shell.
  3. getent passwd oldsvc returns no entry and the approved home path no longer exists.
  4. id developer shows docker and the user's previous supplementary group memberships.

Explanation

Correct Answer

B:

getent passwd username reports /bin/bash and a fresh login opens the selected shell. This checks the effect of Use usermod -s /bin/bash username for an installed permitted shell. against the stated operational goal.

Incorrect Answers

A:

That observation checks A password policy requires local user passwords to expire after 90 days. In this scenario it does not demonstrate Use usermod -s /bin/bash username for an installed permitted shell.; the relevant evidence must establish getent passwd username reports /bin/bash and a fresh login opens the selected shell.

C:

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 Use usermod -s /bin/bash username for an installed permitted shell.; the relevant evidence must establish getent passwd username reports /bin/bash and a fresh login opens the selected shell.

D:

That observation checks A developer must be added to the supplementary docker group without losing current secondary groups. In this scenario it does not demonstrate Use usermod -s /bin/bash username for an installed permitted shell.; the relevant evidence must establish getent passwd username reports /bin/bash and a fresh login opens the selected shell.

Question 187

A team is validating its implementation of this requirement: An account's interactive default shell must be changed without deleting or recreating the account. 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 administrator changed the SHELL variable manually but login still launches the prior shell.
  4. grep /etc/passwd misses a centrally managed account that can authenticate.

Explanation

Correct Answer

C:

The administrator changed the SHELL variable manually but login still launches the prior shell. This shows the requested behavior is absent, so the deployment needs the correction: Change the account's configured login shell with usermod -s.

Incorrect Answers

A:

That symptom concerns A former service account must be deleted along with its local home directory after approved retention checks. This concerns a separate requirement, not the one being tested. The relevant failure is The administrator changed the SHELL variable manually but login still launches the prior shell. The current requirement calls for a different check.

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 administrator changed the SHELL variable manually but login still launches the prior shell. The current requirement calls for a different check.

D:

That symptom concerns An administrator needs to look up a user's account record using the configured NSS sources, not just local /etc/passwd. This concerns a separate requirement, not the one being tested. The relevant failure is The administrator changed the SHELL variable manually but login still launches the prior shell. The current requirement calls for a different check.

Question 188

During validation, this problem was found: The administrator changed the SHELL variable manually but login still launches the prior shell. The original goal was: An account's interactive default shell must be changed without deleting or recreating the account. Which targeted correction best resolves it?

  1. Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.
  2. Use usermod -aG and confirm all intended memberships with id or groups.
  3. Apply chage to the target account and confirm the shadow aging fields.
  4. Change the account's configured login shell with usermod -s.

Explanation

Correct Answer

D:

Change the account's configured login shell with usermod -s. It directly addresses the observed symptom: The administrator changed the SHELL variable manually but login still launches the prior shell. The relevant mechanism is usermod updates the shell field in the account database; the change applies to future login sessions.

Incorrect Answers

A:

This fix is aimed at Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. and would be relevant if An administrator needs to identify which file stores local password hashes rather than account names and shell paths. The incident instead states The administrator changed the SHELL variable manually but login still launches the prior shell. and needs Change the account's configured login shell with usermod -s.

B:

This fix is aimed at A plain usermod -G docker developer replaced the entire supplementary group list. and would be relevant if A developer must be added to the supplementary docker group without losing current secondary groups. The incident instead states The administrator changed the SHELL variable manually but login still launches the prior shell. and needs Change the account's configured login shell with usermod -s.

C:

This fix is aimed at The policy was edited in an unrelated global file but the existing user's aging values did not change. and would be relevant if A password policy requires local user passwords to expire after 90 days. The incident instead states The administrator changed the SHELL variable manually but login still launches the prior shell. and needs Change the account's configured login shell with usermod -s.

Question 189

A Linux administrator faces this requirement: A technician wants to inspect which group is the primary group for a named account. Which specific action is the best direct solution?

  1. Run id -gn username to display the account's primary group name.
  2. Inspect the protected /etc/shadow database under appropriate privileges.
  3. Use groupmod -n newgroup oldgroup.
  4. Run userdel -r oldsvc with the required permissions and backups.

Explanation

Correct Answer

A:

Run id -gn username to display the account's primary group name. The mechanism is: id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry.

Incorrect Answers

B:

Inspect the protected /etc/shadow database under appropriate privileges. That operation is designed for the different case: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. It does not perform the specific action required here: Run id -gn username to display the account's primary group name.

C:

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 id -gn username to display the account's primary group name.

D:

Run userdel -r oldsvc with the required permissions and backups. That operation is designed for the different case: A former service account must be deleted along with its local home directory after approved retention checks. It does not perform the specific action required here: Run id -gn username to display the account's primary group name.

Question 190

The engineer proposes this implementation: Run id -gn username to display the account's primary group name. The requirement is: A technician wants to inspect which group is the primary group for a named account. Which technical explanation best supports the proposed action?

  1. groupadd creates the group in the local group database so members and file ownership can refer to it.
  2. id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry.
  3. useradd creates the account database entry, -m creates the initial home and -s selects the login shell.
  4. userdel removes the account records and -r also removes its home and mail spool where supported.

Explanation

Correct Answer

B:

id retrieves the user's UID/GID identity details from system account sources; the primary GID is not merely a supplementary group entry. It specifically supports the proposed action of Run id -gn username to display the account's primary group name. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Create the group with groupadd appreaders., where groupadd creates the group in the local group database so members and file ownership can refer to it. It does not explain why Run id -gn username to display the account's primary group name. 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 Run id -gn username to display the account's primary group name. satisfies the stated condition.

D:

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 Run id -gn username to display the account's primary group name. 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.