Lpic 1 Linux Administrator · Free Practice Question Medium
Question 22
- A Colin's private key
- B Sarah's public key
- C Colin's public key
- D Sarah's private key
Reveal correct answer
Correct answer: B
A. Colin's private key is used for signing messages or files to prove their authenticity, not for encrypting files. Encrypting a file with Colin's private key would mean that only Colin could decrypt it, which is not the desired outcome in this scenario.
B. Sarah's public key should be used to encrypt the file because only Sarah's corresponding private key can decrypt it. This ensures that only Sarah, with access to her private key, can read the encrypted file, providing the desired level of security for the transmission.
C. Colin's public key is used for encrypting messages or files that only Colin can decrypt with his private key. Encrypting a file with Colin's public key would not achieve the goal of securely sending the file to Sarah for her eyes only.
D. Sarah's private key is used for decrypting messages or files that have been encrypted with her public key. Using Sarah's private key for encryption would mean that anyone with access to her public key could decrypt the file, compromising the security of the transmission.
Discussion
Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.
