mcAfee Secure Website
23

LPI 102-500 Bundle

Exam Code: 102-500

Exam Name LPI Level 1

Certification Provider: LPI

Corresponding Certification: LPIC-1

102-500 Training Materials $44.99

Reliable & Actual Study Materials for 102-500 Exam Success

The Latest 102-500 Exam Questions as Experienced in the Actual Test!

  • 24
    Questions & Answers

    102-500 Questions & Answers

    120 Questions & Answers

    Includes questions types found on actual exam such as drag and drop, simulation, type in, and fill in the blank.

  • 25
    102-500 Video Course

    102-500 Training Course

    126 Video Lectures

    Based on Real Life Scenarios which you will encounter in exam and learn by working with real equipment.

  • exam =30
    Study Guide

    102-500 Study Guide

    962 PDF Pages

    Study Guide developed by industry experts who have written exams in the past. They are technology-specific IT certification researchers with at least a decade of experience at Fortune 500 companies.

exam =32

LPI Level 1 (102-500) Practice Tests

Guarantee

Satisfaction Guaranteed

Pass4sure has a remarkable LPI Candidate Success record. We're confident of our products and provide no hassle product exchange. That's how confident we are!

99.3% Pass Rate
Total Cost: $194.97
Bundle Price: $149.98

Purchase Individually

  • exam =34
    Questions & Answers

    Questions & Answers

    120 Questions

    $124.99
    exam =35
  • exam =37
    102-500 Video Course

    Training Course

    126 Video Lectures

    $39.99
  • exam =36
    Study Guide

    Study Guide

    962 PDF Pages

    $29.99

LPI 102-500 Practice Test 50

Question 490

For the described Linux issue — A user who cannot operate a physical keyboard needs to enter login data with a pointing device — which response is the best match?

  1. Configure the desktop's compatible screen reader and keyboard navigation aids
  2. Enable supported large-print themes, magnification and higher contrast in accessibility settings
  3. Enable an appropriate on-screen keyboard supported by the session
  4. Configure supported slow or bounce key accessibility options and test typing behavior

Explanation

Correct Answer

C:

Use this targeted change: Enable an appropriate on-screen keyboard supported by the session. It addresses the prerequisite that An on-screen keyboard provides a graphical input alternative to physical keys. Confirm success when The user signs in using the supported virtual keyboard with their pointing device.

Incorrect Answers

A:

Although that change may be valid elsewhere, it responds to A blind operator needs to navigate desktop controls and receive spoken feedback, not to this system state. The relevant fix is Enable an appropriate on-screen keyboard supported by the session.

B:

This alternative addresses the separate case “An employee with low vision cannot read a desktop's default tiny text and icons”. The appropriate operation is Enable supported large-print themes, magnification and higher contrast in accessibility settings. The deciding requirement here is “Enable an appropriate on-screen keyboard supported by the session”.

D:

The related but distinct situation is “A user with tremor repeatedly triggers accidental double keystrokes in a Linux desktop”. The safest fitting response is Configure supported slow or bounce key accessibility options and test typing behavior. For the stated problem, “Enable an appropriate on-screen keyboard supported by the session” addresses the central condition.

Question 491

In an LPIC-1 102-500 administration task, An administrator sees password hashes in /etc/shadow and thinks /etc/passwd should contain the same hashes. Which action should be taken?

  1. Disable the relevant xinetd service entry and reload the controlling daemon
  2. Retain password hashes in the protected shadow database and keep public passwd entries separate
  3. Check file ownership and mode without displaying or copying password hashes
  4. Generate an appropriate SSH keypair and install its public key in the authorized account

Explanation

Correct Answer

B:

Implement Retain password hashes in the protected shadow database and keep public passwd entries separate. The technical justification is Shadow password storage restricts access to credential hashes beyond general account metadata, and the expected verification is Ordinary users can read account names without accessing shadow password hashes.

Incorrect Answers

A:

This alternative addresses the separate case “In an LPIC-1 102-500 administration task, An old host uses xinetd to launch a service that is no longer allowed”. The appropriate operation is Disable the relevant xinetd service entry and reload the controlling daemon. For the stated problem, “Retain password hashes in the protected shadow database and keep public passwd entries separate” addresses the central condition.

C:

The alternative fits A compliance auditor must demonstrate that normal users cannot read /etc/shadow. The reported issue instead calls for Retain password hashes in the protected shadow database and keep public passwd entries separate, as Shadow password storage restricts access to credential hashes beyond general account metadata.

D:

This option serves the scenario “A user must authenticate to an SSH host without typing a password for an approved automation task”. The safest fitting response is Generate an appropriate SSH keypair and install its public key in the authorized account. This question instead requires “Retain password hashes in the protected shadow database and keep public passwd entries separate”.

Question 492

A system operator needs to resolve the following: A service needs the current timestamp as ISO text for an audit record. Which proposed change is the most defensible?

  1. Use hwclock inspection and a controlled clock synchronization procedure
  2. Run date with TZ=UTC or explicitly request UTC output
  3. Use date with an explicit format that includes timezone information
  4. Use journalctl with an appropriate priority and since/until time filter

Explanation

Correct Answer

C:

Prioritize Use date with an explicit format that includes timezone information. The underlying distinction is The date utility formats system time and can render an unambiguous offset-bearing timestamp; use The audit line includes complete date, clock time and timezone offset as acceptance evidence.

Incorrect Answers

A:

The option would apply to “A host's RTC was changed externally and the OS must read the known UTC hardware time”. The appropriate operation is Use hwclock inspection and a controlled clock synchronization procedure. This question instead requires “Use date with an explicit format that includes timezone information”.

B:

The related but distinct situation is “In an LPIC-1 102-500 administration task, A script requires a fixed global time reference and must not depend on the user's configured TZ”. The appropriate operation is Run date with TZ=UTC or explicitly request UTC output. For the stated problem, “Use date with an explicit format that includes timezone information” addresses the central condition.

D:

This command or configuration addresses a different case: A security reviewer wants to investigate only error-priority journal entries for yesterday. Here, The date utility formats system time and can render an unambiguous offset-bearing timestamp, so the targeted action is Use date with an explicit format that includes timezone information.

Question 493

If the administrator leaves the following condition unresolved, what is the main exposure: A newly hired analyst has a Linux account but no home directory or default shell?

  1. Leaving the home directory absent can prevent profile initialization and normal user work
  2. Deleting the home as the first step can destroy retained evidence
  3. Deleting and recreating the group with a different ID can orphan shared permissions
  4. Inspecting a different user's crontab can miss critical scheduled work

Explanation

Correct Answer

A:

The most direct risk is Leaving the home directory absent can prevent profile initialization and normal user work. A suitable corrective step is Create the account with appropriate useradd home and shell options and verify its passwd entry, then verify getent passwd shows the intended shell and the user's initialized home directory exists.

Incorrect Answers

B:

It is not the most direct failure mode. The relevant mechanism is Account creation must set a login shell and home directory according to user policy, which risks Leaving the home directory absent can prevent profile initialization and normal user work.

C:

This alternative addresses the separate case “Two departments agree to rename a Unix group without changing its existing GID”. Leaving the issue can cause Deleting and recreating the group with a different ID can orphan shared permissions. For the stated problem, “Leaving the home directory absent can prevent profile initialization and normal user work” addresses the central condition.

D:

It is not the most direct failure mode. The relevant mechanism is Account creation must set a login shell and home directory according to user policy, which risks Leaving the home directory absent can prevent profile initialization and normal user work.

Question 494

A security and reliability review finds: A system administrator switches from a user account to root and wants an audit trail of delegated commands. What consequence is most material?

  1. Leaving Telnet enabled can expose credentials over insecure sessions
  2. Shared root credentials reduce traceability and expand exposure
  3. Closing random services without mapping ownership risks outages and missed exposure
  4. Deleting pathnames without checking open handles can fail to reclaim disk space

Explanation

Correct Answer

B:

Prioritize Shared root credentials reduce traceability and expand exposure. The causal mechanism is sudo supports command-level authorization and attributable privileged execution, which makes Use policy-controlled sudo rather than sharing the root password or routinely invoking su the relevant response.

Incorrect Answers

A:

The stated concern is possible elsewhere, but the facts here specifically imply Shared root credentials reduce traceability and expand exposure.

C:

That outcome fits another condition, A hardening scan finds an unfamiliar TCP listener on a production Linux host, rather than the current one.

D:

That outcome fits another condition, An administrator sees a suspicious process holding an apparently deleted log file open, rather than the current one.

Question 495

A support team reports: An administrator sees a suspicious process holding an apparently deleted log file open. Which command or configuration best addresses the requirement?

  1. Use visudo to validate edits before the new sudoers configuration takes effect
  2. Use passwd or chage policy to expire the existing password for that account
  3. Use lsof or fuser to identify the process retaining the file handle
  4. Import or validate the recipient public key and use gpg --encrypt --recipient

Explanation

Correct Answer

C:

The safest fitting response is Use lsof or fuser to identify the process retaining the file handle. This works because Unix processes can keep file descriptors open even after pathname deletion. Validate it by showing The audit identifies the responsible process and allows controlled cleanup.

Incorrect Answers

A:

Although that change may be valid elsewhere, it responds to An administrator edits /etc/sudoers directly and syntax errors block future privilege escalation, not to this system state. The relevant fix is Use lsof or fuser to identify the process retaining the file handle.

B:

It fails to address the actual requirement, An administrator sees a suspicious process holding an apparently deleted log file open. The needed change is Use lsof or fuser to identify the process retaining the file handle; verify The audit identifies the responsible process and allows controlled cleanup.

D:

This option serves the scenario “A team must encrypt a confidential file for one specific recipient using GnuPG”. The safest fitting response is Import or validate the recipient public key and use gpg --encrypt --recipient. This question instead requires “Use lsof or fuser to identify the process retaining the file handle”.

Question 496

Which explanation is most relevant when A deployment script should stop configuring a server if mkdir returns a failure status?

  1. Each subsequent shell command changes the most recently available exit status
  2. Export marks a shell variable for inheritance in the environment of children
  3. The shell communicates success and failure to callers through exit status values
  4. The shell exposes command exit codes and && short-circuits on a nonzero status

Explanation

Correct Answer

D:

This behavior is explained by The shell exposes command exit codes and && short-circuits on a nonzero status. Resolve it through Use a checked conditional or && chain so later steps run only after success and demonstrate that A simulated mkdir failure prevents the following provisioning command from running.

Incorrect Answers

A:

That statement explains another situation: A script schedules an alert if validation fails but the next command overwrites the exit status before checking it. The current observation instead depends on The shell exposes command exit codes and && short-circuits on a nonzero status.

B:

The related but distinct situation is “A worker must make a profile variable available to an application started from the same login”. The relevant Linux mechanism is Export marks a shell variable for inheritance in the environment of children. For the stated problem, “The shell exposes command exit codes and && short-circuits on a nonzero status” addresses the central condition.

C:

This option serves the scenario “A monitoring script uses exit 0 after detecting a failed prerequisite and is treated as successful by automation”. Here, The shell communicates success and failure to callers through exit status values. The present scenario is distinguished by “The shell exposes command exit codes and && short-circuits on a nonzero status”.

Question 497

A Linux maintenance review identifies: After reboot, journalctl --list-boots shows only the current boot and auditors require previous boot history. What is the likely consequence?

  1. Mistaking journal files for normal rotated text may leave disk use unchecked
  2. Unlimited log growth can exhaust /var storage and disrupt services
  3. Using runtime-only journal storage destroys evidence needed for post-reboot investigation
  4. Using unmanaged time sources weakens audit traceability and consistency

Explanation

Correct Answer

C:

The most direct risk is Using runtime-only journal storage destroys evidence needed for post-reboot investigation. A suitable corrective step is Configure persistent journald storage and ensure /var/log/journal is available, then verify After a controlled restart journalctl --list-boots includes the earlier boot.

Incorrect Answers

A:

The related but distinct situation is “A service's journal uses too much storage even though logrotate handles text logs correctly”. The main exposure is Mistaking journal files for normal rotated text may leave disk use unchecked. The deciding requirement here is “Using runtime-only journal storage destroys evidence needed for post-reboot investigation”.

B:

This option serves the scenario “A custom application's logs grow indefinitely because no rotation policy exists”. The most direct risk is Unlimited log growth can exhaust /var storage and disrupt services. This question instead requires “Using runtime-only journal storage destroys evidence needed for post-reboot investigation”.

D:

That danger is associated more closely with A newly provisioned node should use the shared organizational NTP pool instead of an arbitrary public peer. Here the primary exposure is Using runtime-only journal storage destroys evidence needed for post-reboot investigation.

Question 498

A Linux operator investigates: An operator writes backup.sh with Bash arrays but invokes it through sh on a non-Bash system. Which mechanism most directly accounts for the symptom?

  1. The shebang selects an interpreter for executable files instead of relying on caller assumptions
  2. The shell exposes command exit codes and && short-circuits on a nonzero status
  3. Export marks a shell variable for inheritance in the environment of children
  4. The shell executes the right side of OR-OR when the left command fails

Explanation

Correct Answer

A:

This behavior is explained by The shebang selects an interpreter for executable files instead of relying on caller assumptions. Resolve it through Use a valid #!/usr/bin/env bash shebang and run the script with its intended interpreter and demonstrate that Executing the script directly runs Bash-specific constructs as intended.

Incorrect Answers

B:

This would be the main explanation for A deployment script should stop configuring a server if mkdir returns a failure status. It does not account for An operator writes backup.sh with Bash arrays but invokes it through sh on a non-Bash system.

C:

The option would apply to “A worker must make a profile variable available to an application started from the same login”. The relevant Linux mechanism is Export marks a shell variable for inheritance in the environment of children. This question instead requires “The shebang selects an interpreter for executable files instead of relying on caller assumptions”.

D:

That statement explains another situation: A script must run a fallback check only when the primary check exits unsuccessfully. The current observation instead depends on The shebang selects an interpreter for executable files instead of relying on caller assumptions.

Question 499

For the described Linux issue — An operator changes PATH in one terminal but new child shells still use the old search path — which response is the best match?

  1. Export the variable before launching the application process
  2. Add /opt/tools to the analyst's exported PATH in a suitable login-shell profile
  3. Connect the commands with the shell OR-OR operator or an equivalent test of the previous exit code
  4. Export the modified PATH instead of using an unexported local shell variable

Explanation

Correct Answer

D:

The safest fitting response is Export the modified PATH instead of using an unexported local shell variable. This works because Child processes inherit exported environment variables rather than arbitrary shell variables. Validate it by showing Launching bash -c 'printf %s "$PATH"' displays the intended directory.

Incorrect Answers

A:

That option does not correct the stated dependency. In this case, Child processes inherit exported environment variables rather than arbitrary shell variables; implement Export the modified PATH instead of using an unexported local shell variable and check Launching bash -c 'printf %s "$PATH"' displays the intended directory.

B:

This command or configuration addresses a different case: A new analyst logs in through SSH but a custom tool in /opt/tools is not found by name. Here, Child processes inherit exported environment variables rather than arbitrary shell variables, so the targeted action is Export the modified PATH instead of using an unexported local shell variable.

C:

The related but distinct situation is “A script must run a fallback check only when the primary check exits unsuccessfully”. The safest fitting response is Connect the commands with the shell OR-OR operator or an equivalent test of the previous exit code. The deciding requirement here is “Export the modified PATH instead of using an unexported local shell variable”.

Question 500

In an LPIC-1 102-500 administration task, A system using systemd-resolved shows generated /etc/resolv.conf and an administrator edits it persistently. Which action should be taken?

  1. Use dig or host against the configured resolver to diagnose name lookup
  2. Configure the upstream DNS through the responsible resolver or network manager
  3. Run dig @server example.name with the intended record type
  4. Identify the active network manager and edit the correct systemd-networkd .network unit

Explanation

Correct Answer

B:

The safest fitting response is Configure the upstream DNS through the responsible resolver or network manager. This works because Generated resolver files may be rewritten by the active network-resolver service. Validate it by showing After restart the intended DNS servers remain selected and queries succeed.

Incorrect Answers

A:

This command or configuration addresses a different case: A user can reach a web service by IP but not by hostname and suspects DNS. Here, Generated resolver files may be rewritten by the active network-resolver service, so the targeted action is Configure the upstream DNS through the responsible resolver or network manager.

C:

Although that change may be valid elsewhere, it responds to A security reviewer needs to query a specific DNS server rather than whichever resolver the host currently uses, not to this system state. The relevant fix is Configure the upstream DNS through the responsible resolver or network manager.

D:

The alternative fits A host uses systemd-networkd, but an engineer repeatedly modifies NetworkManager profiles with no effect. The reported issue instead calls for Configure the upstream DNS through the responsible resolver or network manager, as Generated resolver files may be rewritten by the active network-resolver service.