SK0-004 · Question #149
Multiple users report that an application attempting to open a file retrieved from a server reports that the file is corrupted. Which of the following applications can be used on the server to…
The correct answer is A. Checksum. A checksum utility generates a hash value from a file's contents that can be compared against a known-good value to detect corruption or unauthorized modification.
Question
Multiple users report that an application attempting to open a file retrieved from a server reports that the file is corrupted. Which of the following applications can be used on the server to verify file integrity?
Options
- AChecksum
- BPort scanner
- CCipher
- DAnti-malware
How the community answered
(52 responses)- A94% (49)
- C4% (2)
- D2% (1)
Why each option
A checksum utility generates a hash value from a file's contents that can be compared against a known-good value to detect corruption or unauthorized modification.
A checksum tool such as MD5, SHA-1, or SHA-256 computes a fixed-length hash of a file's binary contents and compares it to a previously recorded baseline hash. Any difference between the two values confirms the file was altered or corrupted during storage or transfer. This is the standard server-side method for verifying file integrity before distribution.
A port scanner probes TCP/UDP ports to discover running network services and has no capability to inspect or hash file contents.
A cipher is a cryptographic algorithm used for encrypting or decrypting data, not for detecting file corruption or generating integrity hashes.
Anti-malware software scans files for known malicious code signatures but does not perform hash-based file integrity verification against a clean baseline.
Concept tested: File integrity verification using checksum hashing
Source: https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-filehash
Topics
Community Discussion
No community discussion yet for this question.