ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 284 - XK0-005 discussion

Report
Export

Which of the following should be used to verify the integrity of a file?

A.
sha256sum
Answers
A.
sha256sum
B.
fsck
Answers
B.
fsck
C.
gpg ---d
Answers
C.
gpg ---d
D.
hashcat
Answers
D.
hashcat
Suggested answer: A

Explanation:

The best tool to use to verify the integrity of a file is

A) sha256sum. This tool will compute and display the SHA-256 hash of a file, which is a 64-digit hexadecimal number that uniquely identifies the file's content. By comparing the hash of a downloaded file with the hash provided by the file owner or source, you can confirm that the file has not been altered or corrupted during the transfer. The other tools are either not relevant or not suitable for this task. For example:

B) fsck is a tool for checking and repairing the file system, but it does not verify the integrity of individual files.

C) gpg -d is a tool for decrypting files that have been encrypted with GnuPG, but it does not verify the integrity of unencrypted files.

D) hashcat is a tool for cracking passwords or hashes, but it does not verify the integrity of files.

asked 02/10/2024
John Reynolds
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first