nerdexam
CompTIA

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.

Security and disaster recovery

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)
  • A
    94% (49)
  • C
    4% (2)
  • D
    2% (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.

AChecksumCorrect

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.

BPort scanner

A port scanner probes TCP/UDP ports to discover running network services and has no capability to inspect or hash file contents.

CCipher

A cipher is a cryptographic algorithm used for encrypting or decrypting data, not for detecting file corruption or generating integrity hashes.

DAnti-malware

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

#file integrity#checksum#data corruption#verification

Community Discussion

No community discussion yet for this question.

Full SK0-004 Practice