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 20

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.

Question 191

The action Run id -gn username to display the account's primary group name. was applied for this goal: A technician wants to inspect which group is the primary group for a named account. 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. id developer shows docker and the user's previous supplementary group memberships.
  3. The reported primary group corresponds to the GID in getent passwd for that account.
  4. getent passwd oldsvc returns no entry and the approved home path no longer exists.

Explanation

Correct Answer

C:

The reported primary group corresponds to the GID in getent passwd for that account. This checks the effect of Run id -gn username to display the account's primary group name. against the stated operational goal.

Incorrect Answers

A:

That observation checks A daemon needs a low-privilege local system identity that normally should not be used for interactive login. In this scenario it does not demonstrate Run id -gn username to display the account's primary group name.; the relevant evidence must establish The reported primary group corresponds to the GID in getent passwd for that account.

B:

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 Run id -gn username to display the account's primary group name.; the relevant evidence must establish The reported primary group corresponds to the GID in getent passwd for that account.

D:

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 Run id -gn username to display the account's primary group name.; the relevant evidence must establish The reported primary group corresponds to the GID in getent passwd for that account.

Question 192

A team is validating its implementation of this requirement: A technician wants to inspect which group is the primary group for a named 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. SSH key login still succeeds despite a locked password hash.
  2. The administrator changed the SHELL variable manually but login still launches the prior shell.
  3. Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder.
  4. A grep of supplementary memberships was mistaken for the account's primary group.

Explanation

Correct Answer

D:

A grep of supplementary memberships was mistaken for the account's primary group. This shows the requested behavior is absent, so the deployment needs the correction: Check id -gn and the primary GID resolution instead of supplementary group listings alone.

Incorrect Answers

A:

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 A grep of supplementary memberships was mistaken for the account's primary group. 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 A grep of supplementary memberships was mistaken for the account's primary group. The current requirement calls for a different check.

C:

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 grep of supplementary memberships was mistaken for the account's primary group. The current requirement calls for a different check.

Question 193

During validation, this problem was found: A grep of supplementary memberships was mistaken for the account's primary group. The original goal was: A technician wants to inspect which group is the primary group for a named account. Which targeted correction best resolves it?

  1. Check id -gn and the primary GID resolution instead of supplementary group listings alone.
  2. Set a valid nologin shell and tighten the service account's privileges.
  3. Apply chage to the target account and confirm the shadow aging fields.
  4. Use usermod -aG and confirm all intended memberships with id or groups.

Explanation

Correct Answer

A:

Check id -gn and the primary GID resolution instead of supplementary group listings alone. It directly addresses the observed symptom: A grep of supplementary memberships was mistaken for the account's primary group. The relevant 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:

This fix is aimed at A privileged interactive shell was assigned to the daemon account unnecessarily. and would be relevant if A daemon needs a low-privilege local system identity that normally should not be used for interactive login. The incident instead states A grep of supplementary memberships was mistaken for the account's primary group. and needs Check id -gn and the primary GID resolution instead of supplementary group listings alone.

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 A grep of supplementary memberships was mistaken for the account's primary group. and needs Check id -gn and the primary GID resolution instead of supplementary group listings alone.

D:

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 A grep of supplementary memberships was mistaken for the account's primary group. and needs Check id -gn and the primary GID resolution instead of supplementary group listings alone.

Question 194

A Linux administrator faces this requirement: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. Which specific action is the best direct solution?

  1. Use groupmod -n newgroup oldgroup.
  2. Inspect the protected /etc/shadow database under appropriate privileges.
  3. Create the group with groupadd appreaders.
  4. Run userdel -r oldsvc with the required permissions and backups.

Explanation

Correct Answer

B:

Inspect the protected /etc/shadow database under appropriate privileges. The mechanism is: /etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd.

Incorrect Answers

A:

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: Inspect the protected /etc/shadow database under appropriate privileges.

C:

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: Inspect the protected /etc/shadow database under appropriate privileges.

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: Inspect the protected /etc/shadow database under appropriate privileges.

Question 195

The engineer proposes this implementation: Inspect the protected /etc/shadow database under appropriate privileges. The requirement is: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. 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. A system-account UID allocation and non-login shell reduce interactive access when no shell is needed.
  3. /etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd.
  4. The -a append modifier preserves the user's existing supplementary groups when -G changes membership.

Explanation

Correct Answer

C:

/etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd. It specifically supports the proposed action of Inspect the protected /etc/shadow database under appropriate privileges. 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 Inspect the protected /etc/shadow database under appropriate privileges. satisfies the stated condition.

B:

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 Inspect the protected /etc/shadow database under appropriate privileges. satisfies the stated condition.

D:

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 Inspect the protected /etc/shadow database under appropriate privileges. satisfies the stated condition.

Question 196

The action Inspect the protected /etc/shadow database under appropriate privileges. was applied for this goal: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. Which observation provides the most direct acceptance evidence?

  1. getent passwd employee shows the home and /bin/bash, and the home contains approved skeleton files.
  2. A centrally managed user absent from /etc/passwd can still be resolved by getent passwd.
  3. getent group newgroup reports the original GID and the old name is no longer found.
  4. The hash and aging fields are accessible only with appropriate privileges; /etc/passwd stores an x placeholder.

Explanation

Correct Answer

D:

The hash and aging fields are accessible only with appropriate privileges; /etc/passwd stores an x placeholder. This checks the effect of Inspect the protected /etc/shadow database under appropriate privileges. against the stated operational goal.

Incorrect Answers

A:

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 Inspect the protected /etc/shadow database under appropriate privileges.; the relevant evidence must establish The hash and aging fields are accessible only with appropriate privileges; /etc/passwd stores an x placeholder.

B:

That observation checks An administrator needs to look up a user's account record using the configured NSS sources, not just local /etc/passwd. In this scenario it does not demonstrate Inspect the protected /etc/shadow database under appropriate privileges.; the relevant evidence must establish The hash and aging fields are accessible only with appropriate privileges; /etc/passwd stores an x placeholder.

C:

That observation checks The operations team renamed a local Unix group without changing its existing numeric GID. In this scenario it does not demonstrate Inspect the protected /etc/shadow database under appropriate privileges.; the relevant evidence must establish The hash and aging fields are accessible only with appropriate privileges; /etc/passwd stores an x placeholder.

Question 197

A team is validating its implementation of this requirement: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. Which observed mistake most specifically identifies that the intended manage user and group accounts and related system files behavior has NOT been met?

  1. Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder.
  2. The directory has group ownership set to a non-existent group name.
  3. A privileged interactive shell was assigned to the daemon account unnecessarily.
  4. A plain usermod -G docker developer replaced the entire supplementary group list.

Explanation

Correct Answer

A:

Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. This shows the requested behavior is absent, so the deployment needs the correction: Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.

Incorrect Answers

B:

That symptom concerns A local application needs a dedicated group before administrators can assign its log readers. This concerns a separate requirement, not the one being tested. The relevant failure is Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. 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 Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. The current requirement calls for a different check.

D:

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 Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. The current requirement calls for a different check.

Question 198

During validation, this problem was found: Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. The original goal was: An administrator needs to identify which file stores local password hashes rather than account names and shell paths. Which targeted correction best resolves it?

  1. Create the correct group first, then assign ownership and intended membership.
  2. Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.
  3. Query the NSS database through getent and verify name-service configuration.
  4. Remove the approved residual home after ensuring it does not contain retained data.

Explanation

Correct Answer

B:

Use /etc/shadow and appropriate account management tools rather than hand-editing password fields. It directly addresses the observed symptom: Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. The relevant mechanism is /etc/shadow stores password hash and aging fields, separate from the world-readable account metadata in /etc/passwd.

Incorrect Answers

A:

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 Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. and needs Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.

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 Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. and needs Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.

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 Passwords were treated as hashes in /etc/passwd even though its password field is a placeholder. and needs Use /etc/shadow and appropriate account management tools rather than hand-editing password fields.

Question 199

A Linux administrator faces this requirement: A server must run a housekeeping command at 02:30 every morning under a specific user's identity. Which specific action is the best direct solution?

  1. Use a dedicated systemd service with appropriate dependencies and enable it for the desired boot target.
  2. Create a .timer unit with an OnCalendar expression and a matching .service unit, then enable/start the timer.
  3. Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e.
  4. Use atrm with the job ID found by atq.

Explanation

Correct Answer

C:

Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. The mechanism is: Cron fields specify minute hour day-of-month month day-of-week; user crontabs execute as their owner.

Incorrect Answers

A:

Use a dedicated systemd service with appropriate dependencies and enable it for the desired boot target. That operation is designed for the different case: A startup script must run after boot without putting an @reboot entry into individual user crontabs. It does not perform the specific action required here: Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e.

B:

Create a .timer unit with an OnCalendar expression and a matching .service unit, then enable/start the timer. That operation is designed for the different case: A systemd-managed job must run every fifteen minutes with service activation separate from scheduling. It does not perform the specific action required here: Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e.

D:

Use atrm with the job ID found by atq. That operation is designed for the different case: An operations engineer needs to delete a queued one-off at job that has not executed yet. It does not perform the specific action required here: Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e.

Question 200

The engineer proposes this implementation: Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. The requirement is: A server must run a housekeeping command at 02:30 every morning under a specific user's identity. Which technical explanation best supports the proposed action?

  1. at.allow takes precedence as an allowlist when present; at.deny serves a different default policy role.
  2. A systemd timer schedules activation of its service unit; simply enabling the service does not set a recurring schedule.
  3. list-timers displays scheduled timer units with NEXT and LAST columns, including inactive timers with --all.
  4. Cron fields specify minute hour day-of-month month day-of-week; user crontabs execute as their owner.

Explanation

Correct Answer

D:

Cron fields specify minute hour day-of-month month day-of-week; user crontabs execute as their owner. It specifically supports the proposed action of Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. for the requirement described.

Incorrect Answers

A:

This explains another Linux operation, namely Apply /etc/at.allow with an explicit list of authorized users where available., where at.allow takes precedence as an allowlist when present; at.deny serves a different default policy role. It does not explain why Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. satisfies the stated condition.

B:

This explains another Linux operation, namely Create a .timer unit with an OnCalendar expression and a matching .service unit, then enable/start the timer., where A systemd timer schedules activation of its service unit; simply enabling the service does not set a recurring schedule. It does not explain why Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. satisfies the stated condition.

C:

This explains another Linux operation, namely Run systemctl list-timers --all., where list-timers displays scheduled timer units with NEXT and LAST columns, including inactive timers with --all. It does not explain why Install a user crontab entry 30 2 * * * /path/housekeeping through crontab -e. 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.