Question 660
The action Generate or verify the server's SSH host key material and protect the private host key file. was applied for this goal: A newly provisioned SSH server needs a unique host identity that clients can validate. Which observation provides the most direct acceptance evidence?
- gpg --verify with the correct public key accepts unchanged content and fails after tampering.
- ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
- SSH login succeeds using the intended key and does not require password authentication for the test account.
- A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
Explanation
Correct Answer
D:A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint. This checks the effect of Generate or verify the server's SSH host key material and protect the private host key file. against the stated operational goal.
Incorrect Answers
A: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 Generate or verify the server's SSH host key material and protect the private host key file.; the relevant evidence must establish A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
B: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 Generate or verify the server's SSH host key material and protect the private host key file.; the relevant evidence must establish A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
C: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 Generate or verify the server's SSH host key material and protect the private host key file.; the relevant evidence must establish A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
Question 661
During validation, this problem was found: Several cloned servers share identical host private keys from their original image. The original goal was: A newly provisioned SSH server needs a unique host identity that clients can validate. Which targeted correction best resolves it?
- Regenerate unique host keys for cloned systems and distribute trusted fingerprints.
- 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.
- Store the public key on the server and keep the private key protected on the client.
Explanation
Correct Answer
A:Regenerate unique host keys for cloned systems and distribute trusted fingerprints. It directly addresses the observed symptom: Several cloned servers share identical host private keys from their original image. The relevant mechanism is Host keys identify the server to clients; these differ from users' authentication key pairs.
Incorrect Answers
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 Several cloned servers share identical host private keys from their original image. and needs Regenerate unique host keys for cloned systems and distribute trusted fingerprints.
C:This fix is aimed at The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. and would be relevant if A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. The incident instead states Several cloned servers share identical host private keys from their original image. and needs Regenerate unique host keys for cloned systems and distribute trusted fingerprints.
D:This fix is aimed at The private key is copied to the server's authorized_keys file instead of its public half. and would be relevant if An administrator must use SSH public-key authentication to log into a host without sending a reusable password. The incident instead states Several cloned servers share identical host private keys from their original image. and needs Regenerate unique host keys for cloned systems and distribute trusted fingerprints.
Question 662
A Linux administrator faces this requirement: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. Which specific action is the best direct solution?
- Generate or verify the server's SSH host key material and protect the private host key file.
- 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.
- Create an SSH key pair and install the public key in the target user's ~/.ssh/authorized_keys.
Explanation
Correct Answer
B:Start or use ssh-agent and load the key with ssh-add. The mechanism is: ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase.
Incorrect Answers
A:Generate or verify the server's SSH host key material and protect the private host key file. That operation is designed for the different case: A newly provisioned SSH server needs a unique host identity that clients can validate. It does not perform the specific action required here: Start or use ssh-agent and load the key with ssh-add.
C: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: Start or use ssh-agent and load the key with ssh-add.
D:Create an SSH key pair and install the public key in the target user's ~/.ssh/authorized_keys. That operation is designed for the different case: An administrator must use SSH public-key authentication to log into a host without sending a reusable password. It does not perform the specific action required here: Start or use ssh-agent and load the key with ssh-add.
Question 663
The engineer proposes this implementation: Start or use ssh-agent and load the key with ssh-add. The requirement is: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. Which technical explanation best supports the proposed action?
- A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality.
- Host keys identify the server to clients; these differ from users' authentication key pairs.
- ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase.
- Verification checks signature integrity and the key identity; a successful cryptographic check alone does not guarantee the public key belongs to the claimed sender.
Explanation
Correct Answer
C:ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase. It specifically supports the proposed action of Start or use ssh-agent and load the key with ssh-add. for the requirement described.
Incorrect Answers
A:This explains another Linux operation, namely Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification., where A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality. It does not explain why Start or use ssh-agent and load the key with ssh-add. satisfies the stated condition.
B:This explains another Linux operation, namely Generate or verify the server's SSH host key material and protect the private host key file., where Host keys identify the server to clients; these differ from users' authentication key pairs. It does not explain why Start or use ssh-agent and load the key with ssh-add. satisfies the stated condition.
D: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 Start or use ssh-agent and load the key with ssh-add. satisfies the stated condition.
Question 664
The action Start or use ssh-agent and load the key with ssh-add. was applied for this goal: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. Which observation provides the most direct acceptance evidence?
- Connecting to the chosen local port reaches the intended remote service through the authenticated jump host.
- gpg --verify with the correct public key accepts unchanged content and fails after tampering.
- A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
- ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
Explanation
Correct Answer
D:ssh-add -l lists the intended identity and repeat SSH authentication uses the agent. This checks the effect of Start or use ssh-agent and load the key with ssh-add. against the stated operational goal.
Incorrect Answers
A: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 Start or use ssh-agent and load the key with ssh-add.; the relevant evidence must establish ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
B: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 Start or use ssh-agent and load the key with ssh-add.; the relevant evidence must establish ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
C:That observation checks A newly provisioned SSH server needs a unique host identity that clients can validate. In this scenario it does not demonstrate Start or use ssh-agent and load the key with ssh-add.; the relevant evidence must establish ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
Question 665
During validation, this problem was found: The user removes the key passphrase to avoid repeated prompts, weakening private-key protection. The original goal was: A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. Which targeted correction best resolves it?
- Load the protected key into ssh-agent and keep its passphrase intact.
- 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.
- Use the verified recipient public key and test authorized decryption.
Explanation
Correct Answer
A:Load the protected key into ssh-agent and keep its passphrase intact. It directly addresses the observed symptom: The user removes the key passphrase to avoid repeated prompts, weakening private-key protection. The relevant mechanism is ssh-agent holds unlocked private-key operations in a process for authorized session use rather than editing the key to remove its passphrase.
Incorrect Answers
B:This fix is aimed at The user disables StrictHostKeyChecking permanently to bypass all mismatch warnings. and would be relevant if A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. The incident instead states The user removes the key passphrase to avoid repeated prompts, weakening private-key protection. and needs Load the protected key into ssh-agent and keep its passphrase intact.
C: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 removes the key passphrase to avoid repeated prompts, weakening private-key protection. and needs Load the protected key into ssh-agent and keep its passphrase intact.
D:This fix is aimed at A sender encrypts only to their own key and the recipient cannot decrypt the report. and would be relevant if A team must encrypt a report so only the intended recipient's private key can decrypt it. The incident instead states The user removes the key passphrase to avoid repeated prompts, weakening private-key protection. and needs Load the protected key into ssh-agent and keep its passphrase intact.
Question 666
A Linux administrator faces this requirement: An operator needs to send a signed file that proves who authored it without encrypting the contents. Which specific action is the best direct solution?
- Start or use ssh-agent and load the key with ssh-add.
- Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.
- Create an SSH key pair and install the public key in the target user's ~/.ssh/authorized_keys.
- Run gpg --encrypt --recipient recipient@example report after validating the recipient's public key.
Explanation
Correct Answer
B:Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. The mechanism is: A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality.
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: Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.
C:Create an SSH key pair and install the public key in the target user's ~/.ssh/authorized_keys. That operation is designed for the different case: An administrator must use SSH public-key authentication to log into a host without sending a reusable password. It does not perform the specific action required here: Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.
D: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: Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.
Question 667
The engineer proposes this implementation: Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. The requirement is: An operator needs to send a signed file that proves who authored it without encrypting the contents. 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.
- The SSH client proves possession of the private key while the server checks the authorized public key.
- A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality.
- Local SSH port forwarding accepts local connections and transports them within the encrypted SSH tunnel.
Explanation
Correct Answer
C:A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality. It specifically supports the proposed action of Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. 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 Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. satisfies the stated condition.
B:This explains another Linux operation, namely Create an SSH key pair and install the public key in the target user's ~/.ssh/authorized_keys., where The SSH client proves possession of the private key while the server checks the authorized public key. It does not explain why Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. satisfies the stated condition.
D: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 Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. satisfies the stated condition.
Question 668
The action Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. was applied for this goal: An operator needs to send a signed file that proves who authored it without encrypting the contents. Which observation provides the most direct acceptance evidence?
- The recipient decrypts the report using their secret key while an unrelated key cannot.
- ssh-add -l lists the intended identity and repeat SSH authentication uses the agent.
- A trusted client accepts the known host public-key fingerprint and detects a changed fingerprint.
- gpg --verify with the correct public key accepts unchanged content and fails after tampering.
Explanation
Correct Answer
D:gpg --verify with the correct public key accepts unchanged content and fails after tampering. This checks the effect of Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification. against the stated operational goal.
Incorrect Answers
A:That observation checks A team must encrypt a report so only the intended recipient's private key can decrypt it. In this scenario it does not demonstrate Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.; the relevant evidence must establish gpg --verify with the correct public key accepts unchanged content and fails after tampering.
B: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 Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.; the relevant evidence must establish gpg --verify with the correct public key accepts unchanged content and fails after tampering.
C:That observation checks A newly provisioned SSH server needs a unique host identity that clients can validate. In this scenario it does not demonstrate Create a detached GnuPG signature with gpg --detach-sign document and distribute the signature for verification.; the relevant evidence must establish gpg --verify with the correct public key accepts unchanged content and fails after tampering.
Question 669
A team is validating its implementation of this requirement: An operator needs to send a signed file that proves who authored it without encrypting the contents. Which observed mistake most specifically identifies that the intended securing data with encryption behavior has NOT been met?
- The team encrypts the file but provides no signature or trustworthy signer identity.
- 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 user disables StrictHostKeyChecking permanently to bypass all mismatch warnings.
Explanation
Correct Answer
A:The team encrypts the file but provides no signature or trustworthy signer identity. This shows the requested behavior is absent, so the deployment needs the correction: Sign the file and verify the signer's public-key trust and fingerprint.
Incorrect Answers
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 team encrypts the file but provides no signature or trustworthy signer identity. The current requirement calls for a different check.
C:That symptom concerns A GnuPG message recipient needs to verify that a detached signature matches the exact downloaded file. This concerns a separate requirement, not the one being tested. The relevant failure is The team encrypts the file but provides no signature or trustworthy signer identity. The current requirement calls for a different check.
D:That symptom concerns A client sees a changed SSH host-key fingerprint after a server rebuild and must not silently trust it. This concerns a separate requirement, not the one being tested. The relevant failure is The team encrypts the file but provides no signature or trustworthy signer identity. The current requirement calls for a different check.
Question 670
During validation, this problem was found: The team encrypts the file but provides no signature or trustworthy signer identity. The original goal was: An operator needs to send a signed file that proves who authored it without encrypting the contents. 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.
- Load the protected key into ssh-agent and keep its passphrase intact.
- Store the public key on the server and keep the private key protected on the client.
Explanation
Correct Answer
B:Sign the file and verify the signer's public-key trust and fingerprint. It directly addresses the observed symptom: The team encrypts the file but provides no signature or trustworthy signer identity. The relevant mechanism is A digital signature binds content integrity to a signing key, unlike encryption which mainly protects confidentiality.
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 team encrypts the file but provides no signature or trustworthy signer identity. and needs Sign the file and verify the signer's public-key trust and fingerprint.
C:This fix is aimed at The user removes the key passphrase to avoid repeated prompts, weakening private-key protection. and would be relevant if A desktop user wants an SSH passphrase-protected private key cached for a session without saving the passphrase in clear text. The incident instead states The team encrypts the file but provides no signature or trustworthy signer identity. and needs Sign the file and verify the signer's public-key trust and fingerprint.
D:This fix is aimed at The private key is copied to the server's authorized_keys file instead of its public half. and would be relevant if An administrator must use SSH public-key authentication to log into a host without sending a reusable password. The incident instead states The team encrypts the file but provides no signature or trustworthy signer identity. and needs Sign the file and verify the signer's public-key trust and fingerprint.
LPI Level 1 (102-500) Practice Tests