cert
cert-1
cert-2

Pass LPI 102-500 Exam in First Attempt Guaranteed!

Get 100% Latest Exam Questions, Accurate & Verified Answers to Pass the Actual Exam!
30 Days Free Updates, Instant Download!

cert-5
cert-6
102-500 Exam - Verified By Experts
102-500 Premium Bundle
$29.98

102-500 Premium Bundle

$79.99
$109.97
  • Premium File 120 Questions & Answers. Last update: Nov 13, 2026
  • Training Course 126 Video Lectures
  • Study Guide 962 Pages
 
$109.97
$79.99
accept 15 downloads in last 7 days
block-screenshots
Purchase LPI 102-500 Exam Training Products Individually
LPI 102-500 Premium File
Premium File 120 Q&A
$76.99$69.99
LPI 102-500 Video Training Course
Training Course 126 Lectures
$21.99 $19.99
LPI 102-500 PDF Study Guide
Study Guide 962 Pages
$21.99 $19.99
LPI 102-500 Practice Test 70

Question 690

An operations handoff identifies this problem: A technician encrypts a backup using a colleague's public key and cannot decrypt it locally, then claims public keys perform decryption. Which TWO complementary steps provide the best corrective action and its most direct diagnostic verification? Select TWO answers.

  1. Use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys.
  2. Assume adding a GPG signature automatically encrypts the file and that anyone possessing a public key can decrypt its ciphertext.
  3. Identify the listening service and any associated systemd .socket activation unit, then disable or mask unnecessary network entry points according to policy.
  4. Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status.
  5. Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.

Explanation

Correct Answers

A:

Recommended administrative action: Use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys. Linux principle: Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data.

D:

Most direct verification evidence: Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status. Linux principle: Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data.

Incorrect Answers

B:

This shortcut is unsafe for the present Linux issue: Assume adding a GPG signature automatically encrypts the file and that anyone possessing a public key can decrypt its ciphertext. Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data.

C:

That option would identify the listening service and any associated systemd .socket activation unit, then disable or mask unnecessary network entry points according to policy, but it addresses a different concern. Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data.

E:

This alternative addresses SSH port forwarding and X11 tunnel purpose, not the specific issue of GnuPG signing versus encryption and key revocation: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.

Question 691

A team maintaining a Linux host reports: An operator needs to access a service bound to 127.0.0.1 on a remote server but opens the internal database port to the entire public network. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Inventory files with SUID or SGID bits using a suitable `find` permission predicate, investigate ownership and remove unnecessary privilege through approved change control.
  2. Use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys.
  3. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  4. Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions.

Explanation

Correct Answer

D:

Recommended administrative action: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. 0.0.1 on a remote server but opens the internal database port to the entire public network.

Incorrect Answers

A:

This alternative addresses Auditing privileged SUID and SGID executables, not the specific issue of SSH port forwarding and X11 tunnel purpose: Inventory files with SUID or SGID bits using a suitable `find` permission predicate, investigate ownership and remove unnecessary privilege through approved change control. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

B:

That option would use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

C:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It cannot establish a safe correction. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Question 692

While verifying a Linux change request, an engineer finds: An operator needs to access a service bound to 127.0.0.1 on a remote server but opens the internal database port to the entire public network. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  2. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.
  3. A service can bind locally or on external interfaces regardless of the operator's assumptions; local listener inventory and external reachability provide complementary evidence.
  4. Public keys can authorize remote login while the private key remains secret; agent software can hold usable key identities without copying secrets to remote hosts.

Explanation

Correct Answer

B:

Relevant Linux operating principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. 0.0.1 on a remote server but opens the internal database port to the entire public network.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

C:

This alternative addresses Discovering exposed sockets and services, not the specific issue of SSH port forwarding and X11 tunnel purpose: A service can bind locally or on external interfaces regardless of the operator's assumptions; local listener inventory and external reachability provide complementary evidence. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

D:

This alternative addresses SSH user keys, authorized_keys and agent handling, not the specific issue of SSH port forwarding and X11 tunnel purpose: Public keys can authorize remote login while the private key remains secret; agent software can hold usable key identities without copying secrets to remote hosts. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Question 693

A Linux administrator investigates the following system incident: An operator needs to access a service bound to 127.0.0.1 on a remote server but opens the internal database port to the entire public network. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.
  2. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  3. Compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry.
  4. Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status.

Explanation

Correct Answer

A:

Most direct verification evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. 0.0.1 on a remote server but opens the internal database port to the entire public network.

Incorrect Answers

B:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It cannot establish a safe correction. 0.0.1 on a remote server but opens the internal database port to the entire public network.

C:

That option would compare server host key fingerprint to an approved inventory, inspect /etc/ssh/ssh_host_* files and examine the user's known_hosts entry, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

D:

That option would inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Question 694

On a production Linux workstation or server, a technician observes: An operator needs to access a service bound to 127.0.0.1 on a remote server but opens the internal database port to the entire public network. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  2. The unwanted port no longer accepts connections after reboot while approved system services remain available.
  3. Clients recognize the correct unique server identity and unexpected key changes trigger investigation rather than silent acceptance.
  4. The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Explanation

Correct Answer

D:

Observable acceptance criterion: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly. 0.0.1 on a remote server but opens the internal database port to the entire public network.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It cannot establish a safe correction. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

B:

This alternative addresses Disabling unnecessary systemd and socket-activated services, not the specific issue of SSH port forwarding and X11 tunnel purpose: The unwanted port no longer accepts connections after reboot while approved system services remain available. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

C:

This alternative addresses SSH server host keys and client trust decisions, not the specific issue of SSH port forwarding and X11 tunnel purpose: Clients recognize the correct unique server identity and unexpected key changes trigger investigation rather than silent acceptance. 0.0.1 on a remote server but opens the internal database port to the entire public network. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Question 695

During an LPIC-1 practice lab, the operator encounters this condition: An operator needs to access a service bound to 127.0.0.1 on a remote server but opens the internal database port to the entire public network. Which misleading assumption MOST directly contributes to this failure and should be rejected? Select ONE best answer.

  1. Assume executable files cannot gain extra privilege from mode bits and that a standard ls without permission details is sufficient for a SUID audit.
  2. Assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts.
  3. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  4. Assume `systemctl stop old.service` always removes every socket-activated listener and that hiding an application shortcut disables its daemon.

Explanation

Correct Answer

C:

Reject this specific misconception: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It incorrectly assumes behavior that conflicts with the observed Linux conditions.

Incorrect Answers

A:

That option would assume executable files cannot gain extra privilege from mode bits and that a standard ls without permission details is sufficient for a SUID audit, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

B:

That option would assume any text written to /etc/hosts.deny automatically filters every new TCP listener on modern Linux hosts, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

D:

That option would assume `systemctl stop old.service` always removes every socket-activated listener and that hiding an application shortcut disables its daemon, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Question 696

A helpdesk escalation describes this Linux behavior: An administrator enables SSH X11 forwarding and assumes it is identical to a generic local TCP port tunnel to an unrelated web service. Which administrative step is the MOST appropriate way to resolve this issue? Select ONE best answer.

  1. Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions.
  2. Verify host-key fingerprints through a trusted channel and provision distinct server host keys for each machine, updating client trust only after authorized verification.
  3. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  4. Use `who`, `w` and `last` to distinguish active from historical logins and apply appropriate shell or PAM resource limits with ulimit and policy.

Explanation

Correct Answer

A:

Recommended administrative action: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions.

Incorrect Answers

B:

That option would verify host-key fingerprints through a trusted channel and provision distinct server host keys for each machine, updating client trust only after authorized verification, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

C:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It cannot establish a safe correction. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

D:

That option would use `who`, `w` and `last` to distinguish active from historical logins and apply appropriate shell or PAM resource limits with ulimit and policy, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Question 697

An operations handoff identifies this problem: An administrator enables SSH X11 forwarding and assumes it is identical to a generic local TCP port tunnel to an unrelated web service. Which Linux behavior or technical principle BEST explains why the issue occurs? Select ONE best answer.

  1. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.
  2. /etc/shadow exists to separate sensitive hashed password and aging data from the broadly readable identity fields of /etc/passwd.
  3. Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data.
  4. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.

Explanation

Correct Answer

A:

Relevant Linux operating principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Incorrect Answers

B:

This alternative addresses Shadow password file permissions and hash protection, not the specific issue of SSH port forwarding and X11 tunnel purpose: /etc/shadow exists to separate sensitive hashed password and aging data from the broadly readable identity fields of /etc/passwd. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

C:

This alternative addresses GnuPG signing versus encryption and key revocation, not the specific issue of SSH port forwarding and X11 tunnel purpose: Encryption protects content for holders of the corresponding decryption key, whereas a digital signature demonstrates origin and integrity without concealing the data. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

D:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Question 698

A team maintaining a Linux host reports: An administrator enables SSH X11 forwarding and assumes it is identical to a generic local TCP port tunnel to an unrelated web service. Which evidence or command result MOST directly tests the suspected root cause? Select ONE best answer.

  1. Inspect `stat /etc/shadow`, attempt an unprivileged read, verify accounts through supported tools and review any unauthorized disclosure impact.
  2. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  3. Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status.
  4. Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.

Explanation

Correct Answer

D:

Most direct verification evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.

Incorrect Answers

A:

That option would inspect `stat /etc/shadow`, attempt an unprivileged read, verify accounts through supported tools and review any unauthorized disclosure impact, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

B:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. It cannot establish a safe correction. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

C:

This alternative addresses GnuPG signing versus encryption and key revocation, not the specific issue of SSH port forwarding and X11 tunnel purpose: Inspect GPG encryption recipients, signature verification results, trusted fingerprints and revocation certificate or key status.

Question 699

While verifying a Linux change request, an engineer finds: An administrator enables SSH X11 forwarding and assumes it is identical to a generic local TCP port tunnel to an unrelated web service. Which observed outcome BEST confirms a successful and properly scoped correction? Select ONE best answer.

  1. The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.
  2. The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users.
  3. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  4. Authorized users authenticate with their own protected private keys and the remote host contains no copied private credential.

Explanation

Correct Answer

A:

Observable acceptance criterion: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Incorrect Answers

B:

This alternative addresses Login history, active sessions and process limits, not the specific issue of SSH port forwarding and X11 tunnel purpose: The audit identifies accurate session ownership and resource-heavy workloads obey documented per-account limits without affecting unrelated users. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

C:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

D:

This alternative addresses SSH user keys, authorized_keys and agent handling, not the specific issue of SSH port forwarding and X11 tunnel purpose: Authorized users authenticate with their own protected private keys and the remote host contains no copied private credential. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model. Appropriate response: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Root-cause evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Independent acceptance: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.

Question 700

A Linux administrator investigates the following system incident: An administrator enables SSH X11 forwarding and assumes it is identical to a generic local TCP port tunnel to an unrelated web service. Which THREE elements together give the appropriate corrective action, direct diagnostic evidence and observable acceptance result? Select THREE answers.

  1. Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L.
  2. Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls.
  3. Run carefully scoped `find` checks for -perm -4000 and -perm -2000, review file ownership, ACLs, package provenance and intended use.
  4. Use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys.
  5. The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly.
  6. Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions.

Explanation

Correct Answers

B:

Most direct verification evidence: Inspect SSH `-L` or `-X` options, effective local bind addresses, target service reachability and both endpoint access controls. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

E:

Observable acceptance criterion: The authorized client reaches only the intended remote service or graphical display without exposing the server's internal listening port publicly. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

F:

Recommended administrative action: Choose supported SSH local or remote port forwarding for a specified TCP endpoint, or SSH X11 forwarding for graphical applications, with approved bind and host-key restrictions. Linux principle: SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

Incorrect Answers

A:

This shortcut is unsafe for the present Linux issue: Expose the internal service to every interface as a substitute for an SSH tunnel and assume -X forwards arbitrary TCP services exactly like -L. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

C:

That option would run carefully scoped `find` checks for -perm -4000 and -perm -2000, review file ownership, ACLs, package provenance and intended use, but it addresses a different concern. SSH tunnels securely carry selected traffic over an authenticated SSH connection; local `-L` forwards TCP endpoints, while `-X` supports the separate X11 application model.

D:

This alternative addresses GnuPG signing versus encryption and key revocation, not the specific issue of SSH port forwarding and X11 tunnel purpose: Use GPG public-key encryption for confidentiality, private-key signatures for authenticity and proper revocation or verification for compromised or expired keys.

LPI Level 1 (102-500) Practice Tests