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 17

Question 160

A support engineer has remediated: A laptop has an active Wi-Fi connection but should prevent automatic connection to an untrusted network. What is the decisive acceptance check?

  1. A reconnect retains the intended resolver and DNS queries succeed
  2. A reconnect receives the exact approved static information without DHCP changes
  3. A controlled protocol test illustrates the intended connection and datagram behavior
  4. A reconnect test selects only the approved corporate SSID automatically

Explanation

Correct Answer

D:

The best evidence is A reconnect test selects only the approved corporate SSID automatically. It indicates that Adjust the saved NetworkManager autoconnect policy for the unwanted profile took effect under the constraint that Connection profiles can be enabled for manual use without autojoining untrusted SSIDs.

Incorrect Answers

A:

The option would apply to “A technician edits /etc/resolv.conf directly but NetworkManager replaces it on reconnect”. Verify that A reconnect retains the intended resolver and DNS queries succeed. This question instead requires “A reconnect test selects only the approved corporate SSID automatically”.

B:

The related but distinct situation is “A DHCP-enabled workstation needs to switch to a managed static IPv4 address”. The best evidence is A reconnect receives the exact approved static information without DHCP changes. For the stated problem, “A reconnect test selects only the approved corporate SSID automatically” addresses the central condition.

C:

This option serves the scenario “A security review confuses TCP's reliable ordered stream with UDP's datagram semantics”. Expect A controlled protocol test illustrates the intended connection and datagram behavior. The present scenario is distinguished by “A reconnect test selects only the approved corporate SSID automatically”.

Question 161

Which failure mode is specifically associated with: A support team needs to inspect one user's groups but /etc/group alone seems to omit the primary group?

  1. Assuming absent local entries mean absent accounts can cause duplicate identities
  2. Putting the job only in .bashrc can start it unpredictably or never run
  3. Mixing primary and supplementary group options can remove necessary access
  4. Reading only supplementary /etc/group entries can misreport effective group membership

Explanation

Correct Answer

D:

Leaving the issue can cause Reading only supplementary /etc/group entries can misreport effective group membership. The underlying condition is The primary GID is stored in the passwd record and can be resolved through group databases; the mitigation is Use id or getent with the relevant user and account databases.

Incorrect Answers

A:

That outcome fits another condition, A Linux host uses directory-based account resolution and /etc/passwd does not list a known user, rather than the current one.

B:

This option serves the scenario “An automated task must run at system startup even if no user logs into a shell”. Leaving the issue can cause Putting the job only in .bashrc can start it unpredictably or never run. This question instead requires “Reading only supplementary /etc/group entries can misreport effective group membership”.

C:

The case is most directly exposed to Reading only supplementary /etc/group entries can misreport effective group membership; the alternative describes a different operational risk.

Question 162

In an LPIC-1 102-500 administration task, A nightly cleanup loop processes filenames containing spaces by iterating over unquoted command substitution. Which action should be taken?

  1. Quote the expansion and use a suitable test such as [ -n "$path" ]
  2. Read filenames safely with an appropriate loop and quote expanded path variables
  3. Run env and compare the output with shell variables reported by set
  4. Use a for loop over the explicitly listed names and quote each expanded argument

Explanation

Correct Answer

B:

Implement Read filenames safely with an appropriate loop and quote expanded path variables. The technical justification is Unquoted expansion performs word splitting and can corrupt filenames with whitespace, and the expected verification is A test fixture with spaced filenames is handled without splitting or deleting the wrong path.

Incorrect Answers

A:

Although that change may be valid elsewhere, it responds to A scripted conditional needs to distinguish an empty variable from a nonempty path safely, not to this system state. The relevant fix is Read filenames safely with an appropriate loop and quote expanded path variables.

C:

This command or configuration addresses a different case: An administrator needs to inspect only exported variables passed to spawned processes. Here, Unquoted expansion performs word splitting and can corrupt filenames with whitespace, so the targeted action is Read filenames safely with an appropriate loop and quote expanded path variables.

D:

This command or configuration addresses a different case: A loop should enumerate eight fixed service names and run one health check per service. Here, Unquoted expansion performs word splitting and can corrupt filenames with whitespace, so the targeted action is Read filenames safely with an appropriate loop and quote expanded path variables.

Question 163

In an LPIC-1 102-500 administration task, A terminated contractor should no longer log in while the home directory is retained for legal review. Which action should be taken?

  1. Create an appropriately scoped system account with a dedicated UID and restricted shell
  2. Lock the account with a supported user management command and preserve retained files
  3. Use id or getent with the relevant user and account databases
  4. Use tzselect to identify the desired timezone and configure it with a supported persistent mechanism

Explanation

Correct Answer

B:

Prioritize Lock the account with a supported user management command and preserve retained files. The underlying distinction is Disabling authentication can be separated from deleting files needed by investigators; use A controlled login fails while the retained home remains available to the authorized reviewer as acceptance evidence.

Incorrect Answers

A:

That option does not correct the stated dependency. In this case, Disabling authentication can be separated from deleting files needed by investigators; implement Lock the account with a supported user management command and preserve retained files and check A controlled login fails while the retained home remains available to the authorized reviewer.

C:

The related but distinct situation is “A support team needs to inspect one user's groups but /etc/group alone seems to omit the primary group”. The appropriate operation is Use id or getent with the relevant user and account databases. The deciding requirement here is “Lock the account with a supported user management command and preserve retained files”.

D:

This option serves the scenario “An administrator must choose a timezone interactively on an unfamiliar host”. The appropriate operation is Use tzselect to identify the desired timezone and configure it with a supported persistent mechanism. This question instead requires “Lock the account with a supported user management command and preserve retained files”.

Question 164

A Linux operator investigates: A server logs show a large time offset but ntpq reports no selected peer. Which mechanism most directly accounts for the symptom?

  1. Time synchronization requires a reachable usable reference and a healthy time daemon
  2. ntpd cannot maintain a reference without an eligible synchronized upstream peer
  3. A UTC RTC removes local daylight-saving ambiguity during system startup
  4. Local mail aliases redirect a recipient without modifying the sender's mail command

Explanation

Correct Answer

B:

This behavior is explained by ntpd cannot maintain a reference without an eligible synchronized upstream peer. Resolve it through Check the NTP configuration, reachability and peer selection before changing the clock manually and demonstrate that ntpq -p identifies an accepted peer and subsequent offsets fall within tolerance.

Incorrect Answers

A:

The option would apply to “A VM's clock drifts despite a running NTP daemon because it cannot reach its upstream reference”. The relevant Linux mechanism is Time synchronization requires a reachable usable reference and a healthy time daemon. This question instead requires “ntpd cannot maintain a reference without an eligible synchronized upstream peer”.

C:

This option serves the scenario “An incident report shows Linux time jumping after daylight saving changes when hardware clock is kept in local time”. The relevant Linux mechanism is A UTC RTC removes local daylight-saving ambiguity during system startup. The present scenario is distinguished by “ntpd cannot maintain a reference without an eligible synchronized upstream peer”.

D:

This alternative addresses the separate case “A Linux server must deliver mail addressed to root to an on-call administrator”. This behavior is explained by Local mail aliases redirect a recipient without modifying the sender's mail command. The deciding requirement here is “ntpd cannot maintain a reference without an eligible synchronized upstream peer”.

Question 165

After adjusting the configuration for An SSH client rejects a host after a DNS migration because the stored known_hosts entry no longer matches, which evidence should confirm the repair?

  1. A verified new fingerprint is recorded and the intended SSH connection completes
  2. The verified fingerprint matches the approved replacement and SSH reconnects safely
  3. The affected user is prompted to set a new valid password at the next login
  4. A refreshed key lookup recognizes the revocation and rejects use of the compromised key

Explanation

Correct Answer

A:

Verify that A verified new fingerprint is recorded and the intended SSH connection completes. That test is specific to the described fault and the correction, Verify the replacement host identity and update only the corresponding known_hosts record safely.

Incorrect Answers

B:

This option serves the scenario “A server is reinstalled and clients receive a changed SSH host-key warning”. The best evidence is The verified fingerprint matches the approved replacement and SSH reconnects safely. This question instead requires “A verified new fingerprint is recorded and the intended SSH connection completes”.

C:

This would test another scenario: A user account must force a password reset on next login after credential rotation. Here the acceptance evidence is A verified new fingerprint is recorded and the intended SSH connection completes.

D:

The required verification is A verified new fingerprint is recorded and the intended SSH connection completes, not a result meant for A developer wants to revoke an exposed GnuPG certificate and communicate the revocation.

Question 166

For the described Linux issue — An application listens on UDP 123 and a colleague wrongly associates it with SSH — which response is the best match?

  1. Identify TCP 443 as the normal HTTPS listener and TCP 80 as conventional HTTP
  2. Configure IPv6 addresses through the active host network configuration service
  3. Identify TCP as connection-oriented reliable transport and UDP as connectionless datagrams
  4. Identify UDP 123 as the conventional NTP protocol service port

Explanation

Correct Answer

D:

Prioritize Identify UDP 123 as the conventional NTP protocol service port. The underlying distinction is Well-known service assignments distinguish NTP clock synchronization from SSH login; use The approved time client reaches the NTP server on UDP 123 as acceptance evidence.

Incorrect Answers

A:

It fails to address the actual requirement, An application listens on UDP 123 and a colleague wrongly associates it with SSH. The needed change is Identify UDP 123 as the conventional NTP protocol service port; verify The approved time client reaches the NTP server on UDP 123.

B:

This command or configuration addresses a different case: A server must be assigned a persistent IPv6 address but its only configuration is an ip -6 addr add command. Here, Well-known service assignments distinguish NTP clock synchronization from SSH login, so the targeted action is Identify UDP 123 as the conventional NTP protocol service port.

C:

This command or configuration addresses a different case: A security review confuses TCP's reliable ordered stream with UDP's datagram semantics. Here, Well-known service assignments distinguish NTP clock synchronization from SSH login, so the targeted action is Identify UDP 123 as the conventional NTP protocol service port.

Question 167

After adjusting the configuration for A newly hired analyst has a Linux account but no home directory or default shell, which evidence should confirm the repair?

  1. getent passwd shows the intended shell and the user's initialized home directory exists
  2. Login, home ownership and affected scheduled scripts all refer to the new identity as intended
  3. timedatectl and date show the intended offset and a consistent instant
  4. The deprovisioning record addresses the user's processes and preserved files safely

Explanation

Correct Answer

A:

Verify that getent passwd shows the intended shell and the user's initialized home directory exists. That test is specific to the described fault and the correction, Create the account with appropriate useradd home and shell options and verify its passwd entry.

Incorrect Answers

B:

This would test another scenario: A local user is renamed while their previous username remains in automated scripts. Here the acceptance evidence is getent passwd shows the intended shell and the user's initialized home directory exists.

C:

The related but distinct situation is “A server in Karachi reports UTC on local console but should display local Pakistan time without changing UTC storage”. Expect timedatectl and date show the intended offset and a consistent instant. The deciding requirement here is “getent passwd shows the intended shell and the user's initialized home directory exists”.

D:

This option serves the scenario “A user account is deleted but its running processes and file ownership remain on shared storage”. The best evidence is The deprovisioning record addresses the user's processes and preserved files safely. This question instead requires “getent passwd shows the intended shell and the user's initialized home directory exists”.

Question 168

After adjusting the configuration for A compliance auditor must demonstrate that normal users cannot read /etc/shadow, which evidence should confirm the repair?

  1. The permitted client connects and the disallowed client is rejected on the test system
  2. The recipient decrypts the resulting ciphertext and an unrelated key cannot
  3. Ordinary users can read account names without accessing shadow password hashes
  4. An unprivileged read fails and the authorized account database still operates

Explanation

Correct Answer

D:

The conclusive result is An unprivileged read fails and the authorized account database still operates. That directly verifies Check file ownership and mode without displaying or copying password hashes, which is needed because Shadow files contain sensitive authentication data and require restricted permissions.

Incorrect Answers

A:

The option would apply to “A historical LPIC-1 exercise uses TCP wrappers to allow one client and deny another”. The conclusive result is The permitted client connects and the disallowed client is rejected on the test system. This question instead requires “An unprivileged read fails and the authorized account database still operates”.

B:

That observation may validate A team must encrypt a confidential file for one specific recipient using GnuPG, but it does not establish that An unprivileged read fails and the authorized account database still operates for the current case.

C:

This option serves the scenario “An administrator sees password hashes in /etc/shadow and thinks /etc/passwd should contain the same hashes”. Verify that Ordinary users can read account names without accessing shadow password hashes. The present scenario is distinguished by “An unprivileged read fails and the authorized account database still operates”.

Question 169

After adjusting the configuration for An interactive Bash alias is available locally but missing in a noninteractive cron task, which evidence should confirm the repair?

  1. The started application can read the expected variable through its process environment
  2. The controlled test writes failures to the error log and keeps normal output clean
  3. The scheduled task succeeds when commands use controlled paths and environment
  4. Controlled login and interactive tests show the required PATH in both intended contexts

Explanation

Correct Answer

C:

Expect The scheduled task succeeds when commands use controlled paths and environment. This demonstrates the actual control, Use an explicit executable path or script logic rather than relying on interactive aliases, rather than merely the absence of an error message.

Incorrect Answers

A:

The related but distinct situation is “A worker must make a profile variable available to an application started from the same login”. The conclusive result is The started application can read the expected variable through its process environment. The deciding requirement here is “The scheduled task succeeds when commands use controlled paths and environment”.

B:

The proposed check does not prove the intended behavior. A directly relevant test must show The scheduled task succeeds when commands use controlled paths and environment.

D:

The option would apply to “A user appends a directory to ~/.bashrc but a fresh login shell still has a different environment”. Expect Controlled login and interactive tests show the required PATH in both intended contexts. The present scenario is distinguished by “The scheduled task succeeds when commands use controlled paths and environment”.

Question 170

A system shows this behavior: An administrator needs to inspect only exported variables passed to spawned processes. What underlying mechanism matters most?

  1. Each subsequent shell command changes the most recently available exit status
  2. Sourcing executes shell commands in the current environment rather than a separate process
  3. env displays the process environment whereas set can include shell-local variables
  4. Child processes inherit exported environment variables rather than arbitrary shell variables

Explanation

Correct Answer

C:

The governing principle is env displays the process environment whereas set can include shell-local variables. The corresponding action is Run env and compare the output with shell variables reported by set, with confirmation that A deliberately unexported test variable is absent from env output.

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 env displays the process environment whereas set can include shell-local variables.

B:

That statement explains another situation: A Bash function in a profile must be available to the current shell without logging out. The current observation instead depends on env displays the process environment whereas set can include shell-local variables.

D:

The related but distinct situation is “An operator changes PATH in one terminal but new child shells still use the old search path”. The decisive distinction is Child processes inherit exported environment variables rather than arbitrary shell variables. For the stated problem, “env displays the process environment whereas set can include shell-local variables” addresses the central condition.