Question 690
During validation, this problem was found: The operator disables X access control globally with xhost + to permit remote graphics. The original goal was: A user needs to forward X11 application display traffic securely over an authenticated SSH session. Which targeted correction best resolves it?
- Run the signature verification and validate signer-key trust separately.
- Use approved SSH X11 forwarding rather than unrestricted X server access.
- Sign the file and verify the signer's public-key trust and fingerprint.
- Regenerate unique host keys for cloned systems and distribute trusted fingerprints.
Explanation
Correct Answer
B:Use approved SSH X11 forwarding rather than unrestricted X server access. It directly addresses the observed symptom: The operator disables X access control globally with xhost + to permit remote graphics. The relevant mechanism is SSH X11 forwarding transports X11 display traffic over the SSH channel instead of granting open network X access.
Incorrect Answers
A:This fix is aimed at The user checks only a matching filename without verifying the signature bytes or key identity. and would be relevant if A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. The incident instead states The operator disables X access control globally with xhost + to permit remote graphics. and needs Use approved SSH X11 forwarding rather than unrestricted X server access.
C:This fix is aimed at The team encrypts the file but provides no signature or trustworthy signer identity. and would be relevant if An operator needs to send a signed file that proves who authored it without encrypting the contents. The incident instead states The operator disables X access control globally with xhost + to permit remote graphics. and needs Use approved SSH X11 forwarding rather than unrestricted X server access.
D:This fix is aimed at Several cloned servers share identical host private keys from their original image. and would be relevant if A newly provisioned SSH server needs a unique host identity that clients can validate. The incident instead states The operator disables X access control globally with xhost + to permit remote graphics. and needs Use approved SSH X11 forwarding rather than unrestricted X server access.
Question 691
A Linux administrator faces this requirement: A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. Which specific action is the best direct solution?
- Start or use ssh-agent and load the key with ssh-add.
- Publish the previously prepared or newly generated GnuPG revocation certificate to relevant key channels.
- Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.
- Use ssh -L localport:targethost:targetport user@jump-host with correct endpoint reachability.
Explanation
Correct Answer
C:Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. The mechanism is: SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation.
Incorrect Answers
A:Start or use ssh-agent and load the key with ssh-add. That operation is designed for the different case: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. It does not perform the specific action required here: Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.
B:Publish the previously prepared or newly generated GnuPG revocation certificate to relevant key channels. That operation is designed for the different case: A security operator must revoke a GnuPG key that has been compromised so collaborators stop trusting it. It does not perform the specific action required here: Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.
D:Use ssh -L localport:targethost:targetport user@jump-host with correct endpoint reachability. That operation is designed for the different case: An administrator must securely forward a local TCP service through an SSH connection without exposing the service publicly. It does not perform the specific action required here: Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.
Question 692
The engineer proposes this implementation: Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. The requirement is: A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. Which technical explanation best supports the proposed action?
- Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender.
- ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase.
- Local SSH port forwarding accepts local connections and transports them within the encrypted SSH tunnel.
- SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation.
Explanation
Correct Answer
D:SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation. It specifically supports the proposed action of Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. for the requirement described.
Incorrect Answers
A:This explains another Linux operation, namely Run gpg --verify signature.sig downloaded-file with the signer public key properly imported., where Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender. It does not explain why Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. satisfies the stated condition.
B:This explains another Linux operation, namely Start or use ssh-agent and load the key with ssh-add., where ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase. It does not explain why Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. satisfies the stated condition.
C:This explains another Linux operation, namely Use ssh -L localport:targethost:targetport user@jump-host with correct endpoint reachability., where Local SSH port forwarding accepts local connections and transports them within the encrypted SSH tunnel. It does not explain why Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. satisfies the stated condition.
Question 693
The action Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. was applied for this goal: A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. Which observation provides the most direct acceptance evidence?
- A separately authenticated admin confirms the fingerprint and the updated host entry matches it.
- SSH login succeeds using the intended key and does not require password authentication for the test account.
- ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
- Connecting to the chosen local port reaches the intended remote service through the authenticated jump host.
Explanation
Correct Answer
A:A separately authenticated admin confirms the fingerprint and the updated host entry matches it. This checks the effect of Independently verify the new host-key fingerprint before replacing the stored known_hosts entry. against the stated operational goal.
Incorrect Answers
B:That observation checks An administrator must use SSH public-key authentication to log into a host without sending a reusable password. In this scenario it does not demonstrate Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.; the relevant evidence must establish A separately authenticated admin confirms the fingerprint and the updated host entry matches it.
C:That observation checks A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. In this scenario it does not demonstrate Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.; the relevant evidence must establish A separately authenticated admin confirms the fingerprint and the updated host entry matches it.
D:That observation checks An administrator must securely forward a local TCP service through an SSH connection without exposing the service publicly. In this scenario it does not demonstrate Independently verify the new host-key fingerprint before replacing the stored known_hosts entry.; the relevant evidence must establish A separately authenticated admin confirms the fingerprint and the updated host entry matches it.
Question 694
A team is validating its implementation of this requirement: A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. Which observed mistake most specifically identifies that the intended securing data with encryption behavior has NOT been met?
- The private key is copied to the server's authorized_keys file instead of its public half.
- The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings.
- The key is deleted locally but still appears valid to external collaborators.
- The team opens the remote database port to the entire Internet to gain temporary access.
Explanation
Correct Answer
B:The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. This shows the requested behavior is absent, so the deployment needs the correction: Verify the host identity and update only the affected known_hosts record.
Incorrect Answers
A:That symptom concerns An administrator must use SSH public-key authentication to log into a host without sending a reusable password. This concerns a separate requirement, not the one being tested. The relevant failure is The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. The current requirement calls for a different check.
C:That symptom concerns A security operator must revoke a GnuPG key that has been compromised so collaborators stop trusting it. This concerns a separate requirement, not the one being tested. The relevant failure is The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. The current requirement calls for a different check.
D:That symptom concerns An administrator must securely forward a local TCP service through an SSH connection without exposing the service publicly. This concerns a separate requirement, not the one being tested. The relevant failure is The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. The current requirement calls for a different check.
Question 695
During validation, this problem was found: The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. The original goal was: A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. Which targeted correction best resolves it?
- Use approved SSH X11 forwarding rather than unrestricted X server access.
- Sign the file and verify the signer's public-key trust and fingerprint.
- Verify the host identity and update only the affected known_hosts record.
- Distribute a revocation certificate and replace the affected identity with a new key.
Explanation
Correct Answer
C:Verify the host identity and update only the affected known_hosts record. It directly addresses the observed symptom: The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. The relevant mechanism is SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation.
Incorrect Answers
A:This fix is aimed at The operator disables X access control globally with xhost + to permit remote graphics. and would be relevant if A user needs to forward X11 application display traffic securely over an authenticated SSH session. The incident instead states The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. and needs Verify the host identity and update only the affected known_hosts record.
B:This fix is aimed at The team encrypts the file but provides no signature or trustworthy signer identity. and would be relevant if An operator needs to send a signed file that proves who authored it without encrypting the contents. The incident instead states The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. and needs Verify the host identity and update only the affected known_hosts record.
D:This fix is aimed at The key is deleted locally but still appears valid to external collaborators. and would be relevant if A security operator must revoke a GnuPG key that has been compromised so collaborators stop trusting it. The incident instead states The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. and needs Verify the host identity and update only the affected known_hosts record.
Question 696
A Linux administrator faces this requirement: A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. Which specific action is the best direct solution?
- Run gpg --encrypt --recipient recipient@example report after validating the recipient's public key.
- Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.
- Start or use ssh-agent and load the key with ssh-add.
- Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.
Explanation
Correct Answer
D:Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. The mechanism is: Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender.
Incorrect Answers
A:Run gpg --encrypt --recipient recipient@example report after validating the recipient's public key. That operation is designed for the different case: A team must encrypt a report so only the intended recipient's private key can decrypt it. It does not perform the specific action required here: Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.
B:Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. That operation is designed for the different case: An operator needs to send a signed file that proves who authored it without encrypting the contents. It does not perform the specific action required here: Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.
C:Start or use ssh-agent and load the key with ssh-add. That operation is designed for the different case: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. It does not perform the specific action required here: Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.
Question 697
The engineer proposes this implementation: Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. The requirement is: A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. Which technical explanation best supports the proposed action?
- Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender.
- Public-key encryption targets the recipient's public key; the corresponding private key unlocks the ciphertext.
- SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation.
- SSH X11 forwarding transports X11 display traffic over the SSH channel instead of granting open network X access.
Explanation
Correct Answer
A:Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender. It specifically supports the proposed action of Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. for the requirement described.
Incorrect Answers
B:This explains another Linux operation, namely Run gpg --encrypt --recipient recipient@example report after validating the recipient's public key., where Public-key encryption targets the recipient's public key; the corresponding private key unlocks the ciphertext. It does not explain why Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. satisfies the stated condition.
C:This explains another Linux operation, namely Independently verify the new host-key fingerprint before replacing the stored known_hosts entry., where SSH host-key checking detects possible impersonation; a legitimate rebuild still requires out-of-band key confirmation. It does not explain why Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. satisfies the stated condition.
D:This explains another Linux operation, namely Use ssh -X or -Y only where trust and policy justify the X11 forwarding mode., where SSH X11 forwarding transports X11 display traffic over the SSH channel instead of granting open network X access. It does not explain why Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. satisfies the stated condition.
Question 698
The action Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. was applied for this goal: A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. Which observation provides the most direct acceptance evidence?
- A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
- An unchanged file verifies while an altered file fails and the signer's key fingerprint is independently checked.
- A separately authenticated admin confirms the fingerprint and the updated host entry matches it.
- gpg --verify with the correct public key accepts unchanged content and fails after tampering.
Explanation
Correct Answer
B:An unchanged file verifies while an altered file fails and the signer's key fingerprint is independently checked. This checks the effect of Run gpg --verify signature.sig downloaded-file with the signer public key properly imported. against the stated operational goal.
Incorrect Answers
A:That observation checks A newly provisioned SSH server needs a unique host identity that clients can validate. In this scenario it does not demonstrate Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.; the relevant evidence must establish An unchanged file verifies while an altered file fails and the signer's key fingerprint is independently checked.
C:That observation checks A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. In this scenario it does not demonstrate Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.; the relevant evidence must establish An unchanged file verifies while an altered file fails and the signer's key fingerprint is independently checked.
D:That observation checks An operator needs to send a signed file that proves who authored it without encrypting the contents. In this scenario it does not demonstrate Run gpg --verify signature.sig downloaded-file with the signer public key properly imported.; the relevant evidence must establish An unchanged file verifies while an altered file fails and the signer's key fingerprint is independently checked.
Question 699
A team is validating its implementation of this requirement: A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. Which observed mistake most specifically identifies that the intended securing data with encryption behavior has NOT been met?
- The operator disables X access control globally with xhost + to permit remote graphics.
- The user removes the key passphrase to avoid repeated prompts, weakening private-key protection.
- The user checks only a matching filename without verifying the signature bytes or key identity.
- The team opens the remote database port to the entire Internet to gain temporary access.
Explanation
Correct Answer
C:The user checks only a matching filename without verifying the signature bytes or key identity. This shows the requested behavior is absent, so the deployment needs the correction: Run the signature verification and validate signer-key trust separately.
Incorrect Answers
A:That symptom concerns A user needs to forward X11 application display traffic securely over an authenticated SSH session. This concerns a separate requirement, not the one being tested. The relevant failure is The user checks only a matching filename without verifying the signature bytes or key identity. The current requirement calls for a different check.
B:That symptom concerns A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. This concerns a separate requirement, not the one being tested. The relevant failure is The user checks only a matching filename without verifying the signature bytes or key identity. The current requirement calls for a different check.
D:That symptom concerns An administrator must securely forward a local TCP service through an SSH connection without exposing the service publicly. This concerns a separate requirement, not the one being tested. The relevant failure is The user checks only a matching filename without verifying the signature bytes or key identity. The current requirement calls for a different check.
Question 700
During validation, this problem was found: The user checks only a matching filename without verifying the signature bytes or key identity. The original goal was: A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. Which targeted correction best resolves it?
- Distribute a revocation certificate and replace the affected identity with a new key.
- Configure SSH local port forwarding and restrict remote listeners appropriately.
- Sign the file and verify the signer's public-key trust and fingerprint.
- Run the signature verification and validate signer-key trust separately.
Explanation
Correct Answer
D:Run the signature verification and validate signer-key trust separately. It directly addresses the observed symptom: The user checks only a matching filename without verifying the signature bytes or key identity. The relevant mechanism is Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender.
Incorrect Answers
A:This fix is aimed at The key is deleted locally but still appears valid to external collaborators. and would be relevant if A security operator must revoke a GnuPG key that has been compromised so collaborators stop trusting it. The incident instead states The user checks only a matching filename without verifying the signature bytes or key identity. and needs Run the signature verification and validate signer-key trust separately.
B:This fix is aimed at The team opens the remote database port to the entire Internet to gain temporary access. and would be relevant if An administrator must securely forward a local TCP service through an SSH connection without exposing the service publicly. The incident instead states The user checks only a matching filename without verifying the signature bytes or key identity. and needs Run the signature verification and validate signer-key trust separately.
C:This fix is aimed at The team encrypts the file but provides no signature or trustworthy signer identity. and would be relevant if An operator needs to send a signed file that proves who authored it without encrypting the contents. The incident instead states The user checks only a matching filename without verifying the signature bytes or key identity. and needs Run the signature verification and validate signer-key trust separately.
LPI Level 1 (102-500) Practice Tests