Digital Forensics MCQs for the NSCT

By the NSCT Exam Editorial Team · Updated 2026-11-24 · Facts checked against official sources on 2026-11-24

Digital forensics is the scientific collection, preservation, examination and reporting of digital evidence so that the evidence can stand up in court or in a disciplinary inquiry. The core skills are handling evidence in the right order, keeping an unbroken chain of custody, and making verified forensic images. It is topic 12 of the 16 in the Cyber Security area, which carries 5% of the NSCT according to HEC's Areas of Competencies. Candidates averaged 47.2% accuracy in this area in 2026, per the HEC NSCT report and APP.

This page follows NIST SP 800-86 (Guide to Integrating Forensic Techniques into Incident Response), RFC 3227 on evidence collection, and Stallings. Hashing comes from Cryptography Basics.

Evidence handling

NIST SP 800-86 defines four phases:

Phase What happens
Collection Identify sources, then acquire the data while preserving its integrity
Examination Process the data: filter, decompress, carve and extract what is relevant
Analysis Correlate the findings and draw conclusions, such as who did what and when
Reporting Explain the tools, methods, findings and limits

Collect the most short-lived data first. RFC 3227's order of volatility, from most to least volatile, is:

  1. CPU registers and cache
  2. Routing table, ARP cache, process table, kernel statistics and memory (RAM)
  3. Temporary file systems
  4. Disk
  5. Remote logging and monitoring data
  6. Physical configuration and network topology
  7. Archival media

So on a running machine you capture RAM before imaging the disk. This matters most when full-disk encryption is unlocked, because powering off loses the keys. Seized phones go into a Faraday bag so that no remote wipe or incoming data can change them.

Exam angle: "what to collect first" questions are always about volatility, never about which source looks most important.

Chain of custody

The chain of custody is the documented history of the evidence: who collected it, every hand-over, where it was stored, and why each person had it. Each entry needs a name, date, time, purpose and signature.

Time From To Note
09:00 Scene Officer A Seized, bagged, tagged, photographed
09:30 Officer A Driver B Signed
11:00 Driver B Lab reception Signed by B only
13:00 Reception Analyst C Signed by C

The two hours between 11:00 and 13:00 have no named custodian. That gap lets the defence argue the drive could have been altered, even if its hash still matches. Locard's exchange principle (every contact leaves a trace) explains why investigators themselves must avoid touching original evidence.

Exam angle: a gap or unsigned transfer weakens admissibility; a matching hash alone does not cure poor custody records.

Imaging

A forensic image is a bit-stream copy of every sector, including deleted files, file slack and unallocated space. It is made through a write blocker so that the source is never modified. Formats include raw (dd) and E01, which adds case metadata, CRCs and compression.

The image is hashed at acquisition and re-verified before analysis. We ran this check in Python on sample bytes:

import hashlib
img = bytes(range(256)) * 4
copy = bytearray(img); copy[0] ^= 0x80   # one bit changed
print(hashlib.sha256(img).hexdigest() == hashlib.sha256(bytes(copy)).hexdigest())
# False

A single flipped bit produces a completely different SHA-256 digest. MD5 (128 bits) and SHA-1 (160 bits) still detect accidental changes, but both have practical collision attacks, so SHA-256 is the current choice.

Useful numbers: a 500,107,862,016-byte drive has 976,773,168 sectors of 512 bytes. A 10,000-byte file on 4,096-byte clusters uses 3 clusters and leaves 2,288 bytes of slack. Examiners also carve files by signature: FF D8 FF is JPEG, 25 50 44 46 is "%PDF" and 50 4B 03 04 is ZIP (including .docx).

Exam angle: analysis is always done on a verified working copy, never on the original.

Common traps

Worked examples

1. Understanding. Which RFC 3227 source is less volatile than disk but more volatile than archival media? Answer: remote logging and monitoring data, and also physical configuration and network topology. Both sit between disk and archival media in the list.

2. Application. An image is split into 4 GiB (2^32-byte) segments. How many segments does a 256,060,514,304-byte drive need? Answer: 256,060,514,304 ÷ 4,294,967,296 ≈ 59.6, which rounds up to 60, because the last partial segment still needs its own file.

3. Analysis. A Windows file shows Modified 5 May and Created 20 June of the same year, and a USB device was first connected on 20 June. What happened? Answer: the file was most likely copied onto the system from the USB drive on 20 June. Copying sets a new Created time but keeps the original Modified time, and the matching USB date supports it.

Practise

The quiz below has 100 questions on digital forensics, filterable by tier and difficulty.

Practise: 100 questions

Interactive quiz loading. The first 10 questions are shown below.

  1. What are the four phases of the forensic process in NIST SP 800-86, in order?

    1. Collection, Examination, Analysis, Reporting
    2. Collection, Analysis, Examination, Presentation
    3. Preparation, Detection, Analysis, Lessons learned
    4. Identification, Containment, Eradication, Recovery
    Show answer

    Answer: A. Collection, Examination, Analysis, Reporting

    NIST SP 800-86 defines Collection (identify and acquire data while preserving integrity), Examination (process and extract relevant data), Analysis (draw conclusions) and Reporting (present the findings). Containment, eradication and recovery belong to incident response in SP 800-61.

  2. What is the chain of custody?

    1. The order in which volatile data is collected
    2. The list of hash algorithms used on an image
    3. The chain of routers a packet passed through
    4. A documented record of everyone who handled the evidence, when, where and why, from seizure to court
    Show answer

    Answer: D. A documented record of everyone who handled the evidence, when, where and why, from seizure to court

    The chain of custody proves that the evidence presented is the same item that was seized and that nobody could have altered it unnoticed. Every transfer is logged with names, dates, times, purpose and signatures. Gaps give the defence grounds to challenge admissibility.

  3. What is the purpose of a write blocker during disk acquisition?

    1. To speed up copying by blocking slow sectors
    2. To let the examiner read the suspect drive while preventing any writes to it
    3. To encrypt the forensic image as it is created
    4. To erase the destination drive before imaging
    Show answer

    Answer: B. To let the examiner read the suspect drive while preventing any writes to it

    Simply connecting a drive to a running OS can change it, through mounting, journal replay or last-access times. A hardware or software write blocker passes read commands and blocks write commands, so the original evidence stays unchanged.

  4. How does a bit-stream (physical) image differ from a normal file copy?

    1. It copies every sector, including deleted files, slack and unallocated space
    2. It compresses files to save space
    3. It copies only the files the user can see
    4. It copies only the operating system files
    Show answer

    Answer: A. It copies every sector, including deleted files, slack and unallocated space

    A bit-stream image duplicates the whole medium sector by sector, so deleted data, file slack and unallocated space are preserved for analysis. A logical copy only copies active files through the file system and loses that hidden evidence.

  5. Why do examiners compute a cryptographic hash of an evidence image at acquisition time?

    1. To encrypt the image so that only the court can read it
    2. To recover deleted files from the image
    3. To compress the image for storage
    4. To prove later that the image has not changed, by recomputing and comparing the hash
    Show answer

    Answer: D. To prove later that the image has not changed, by recomputing and comparing the hash

    A hash such as SHA-256 is a fingerprint of the exact bytes. If the hash recomputed before analysis or in court matches the acquisition hash, the image is bit-for-bit identical. Any change, even one bit, produces a different hash.

  6. Which principle states that every contact between a person and a scene leaves a trace?

    1. The principle of least privilege
    2. Kerckhoffs's principle
    3. The order of volatility
    4. Locard's exchange principle
    Show answer

    Answer: D. Locard's exchange principle

    Edmond Locard's exchange principle comes from traditional forensics and applies digitally too: an intruder leaves logs, registry entries and file artefacts, and takes data away. Kerckhoffs's principle is about cryptography: a system should stay secure even if everything except the key is public.

  7. According to the order of volatility in RFC 3227, which evidence should normally be collected first?

    1. Main memory (RAM)
    2. Data on the hard disk
    3. CPU registers and cache
    4. Archival backup media
    Show answer

    Answer: C. CPU registers and cache

    RFC 3227 orders evidence from most to least volatile: registers and cache; routing table, ARP cache, process table, kernel statistics and memory; temporary file systems; disk; remote logging data; physical configuration and topology; archival media. Collect the most short-lived first.

  8. In file system forensics, what is file slack?

    1. The unused space between the end of a file and the end of the last cluster allocated to it
    2. The time difference between a file's creation and modification
    3. A file that has been deleted but not yet overwritten
    4. Space on the disk that no partition uses
    Show answer

    Answer: A. The unused space between the end of a file and the end of the last cluster allocated to it

    Files occupy whole clusters, so the last cluster is usually only partly filled. The leftover bytes, the slack, can still hold fragments of older data. Unpartitioned space and unallocated space are different areas that are also examined.

  9. What is file carving?

    1. Encrypting individual files inside an image
    2. Recovering files from raw data by searching for known headers and footers, without file system metadata
    3. Removing malware from infected files
    4. Cutting a disk image into fixed-size segments for storage
    Show answer

    Answer: B. Recovering files from raw data by searching for known headers and footers, without file system metadata

    Carving scans raw bytes, often unallocated space, for file signatures such as FF D8 FF for JPEG, and extracts the data between header and footer. It works even when directory entries are gone, though fragmented files are hard to carve.

  10. In forensic timelines, what does 'MAC times' usually stand for?

    1. Message Authentication Codes of log entries
    2. Media Access Control addresses of devices
    3. Memory Acquisition and Capture times
    4. Modified, Accessed and Changed (or Created) timestamps of a file
    Show answer

    Answer: D. Modified, Accessed and Changed (or Created) timestamps of a file

    MAC times are a file's Modified, Accessed and Changed timestamps. On Unix 'C' is the inode change time (metadata changed), while on Windows NTFS it usually means Created, and NTFS also has an entry-modified time. Texts differ here, so check which file system a question assumes.

FAQs

What is the difference between digital forensics and incident response?

Incident response (NIST SP 800-61) aims to contain an attack and restore service quickly. Digital forensics (NIST SP 800-86) aims to collect and analyse evidence carefully enough to support legal or disciplinary action. They overlap: responders should preserve evidence while containing an attack. The next topic, incident response, covers the response side.

Why use SHA-256 instead of MD5 for evidence?

Both detect accidental changes. MD5 has practical collision attacks, so an adversary can create two different files with the same MD5 hash. SHA-256 has no known practical collisions, so it gives a stronger integrity claim in court. Many tools record both for compatibility with older case files.

What is a write blocker, and is software enough?

A write blocker lets the examiner read a drive while blocking any write command. Hardware blockers sit between the drive and the workstation and are the usual choice for court work. Software blockers, such as mounting read-only, can work but depend on the OS behaving correctly, so they need careful validation.

How is this topic tested in the NSCT?

HEC's report groups questions into understanding, application and analysis tiers. For this topic, expect definitions (chain of custody, slack space), ordering and calculation questions (order of volatility, timelines, image sizes) and scenario analysis such as hash mismatches. The practice quiz covers all three tiers.

Next step

Continue to Incident Response & Management MCQs, the next topic in the official order. Revisit the Cyber Security MCQs hub or test yourself in an NSCT mock test.