Sign in
Home/EC-Council/Computer Hacking Forensic Investigator (CHFI)/Free questions

Computer Hacking Forensic Investigator (CHFI) — Free Practice Questions

10 free sample questions from a bank of 537, with the correct answers and explanations. No signup required — start practising right now.

1A suspect is accused of violating the acceptable use of computing resources, as he has visited adult websites and downloaded images. The investigator wants to demonstrate that the suspect did indeed visit these sites. However, the suspect has cleared the search history and emptied the cookie cache. Moreover, he has removed any images he might have downloaded. What can the investigator do to prove the violation?
  • Image the disk and try to recover deleted files
  • Seek the help of co-workers who are eye-witnesses
  • Check the Windows registry for connection data (you may or may not recover)
  • Approach the website's administrator for evidence
Answer: A

The short version

A — A recovers cleared history through forensic imaging. disk imaging plus deleted file recovery preserves admissible evidence. Imaging the disk creates a bit-for-bit forensic copy that preserves unallocated space and slack where cleared history, emptied cookies, and deleted images still reside until overwritten.

Key concepts in this question

  • Forensic imaging: A write-blocked image preserves every sector including deleted content, letting analysis occur on a copy while the original stays admissible.
  • File carving: Recovery tools scan unallocated clusters for known headers and reassemble images and cache fragments even after recycle and history clearing.
  • Volatility of alternatives: Registry and witness testimony are incomplete after cleanup, while disk remnants persist until overwritten, making imaging the most probative step.

Why A is correct

Imaging the disk creates a bit-for-bit forensic copy that preserves unallocated space and slack where cleared history, emptied cookies, and deleted images still reside until overwritten. Forensic carving tools can then recover those artifacts without altering the original media, maintaining chain of custody for acceptable-use violation proof.

Why the others are wrong

  • B. relies on coworker eyewitnesses who rarely observe screen-level browsing continuously and whose testimony lacks technical artifact corroboration.
  • C. checks registry connection data that may or may not persist and does not prove specific adult-site visits or image downloads.
  • D. depends on a third-party site administrator who may not retain logs, may not cooperate quickly, and cannot prove local download actions.

312-49 exam tip

When history is cleared, think image first and carve unallocated space before chasing volatile hints.

2You have been asked to investigate the possibility of computer fraud in the finance department of a company. It is suspected that a staff member has been committing finance fraud by printing cheques that have not been authorized. You have exhaustively searched all data files on a bitmap image of the target computer, but have found no evidence. You suspect the files may not have been saved. What should you examine next in this case?
  • The registry
  • The swap file
  • The recycle bin
  • The metadata
Answer: B

The short version

B — B examines the swap file for unsaved fraud data. unsaved cheque data survives in the swap file and pagefile. When files were never saved, bitmap image searches of allocated files miss the content, but the operating system may have paged application memory containing cheque drafts to the swap or pagefile.

Key concepts in this question

  • Swap and pagefile: The swap file holds overflow RAM pages, so unsaved editor and print spool content can persist there after the app closes.
  • Bitmap limits: A bitmap of saved files excludes volatile memory and paging areas, explaining why exhaustive file search found nothing.
  • Fraud artifact location: Unauthorized cheque drafts often exist briefly in print buffers, making paging and spool areas higher yield than registry keys.

Why B is correct

When files were never saved, bitmap image searches of allocated files miss the content, but the operating system may have paged application memory containing cheque drafts to the swap or pagefile. Examining that paging area can reveal strings from unsaved documents that were held only in RAM. Registry, recycle bin, and metadata describe configuration or saved objects rather than transient memory contents, so the settled key follows memory-paging forensic logic.

Why the others are wrong

  • A. examines the registry, which stores configuration and recent-use hints but not the full body of an unsaved cheque file.
  • C. checks the recycle bin, which only holds deleted saved files and is empty when the suspect never saved.
  • D. reviews metadata, which describes saved files and cannot reconstruct content that was never written to disk.

312-49 exam tip

If saved-file search is empty, pivot to RAM remnants such as swap, pagefile, and hibernation data.

3Which of the following are small pieces of data sent from a website and stored on the user’s computer by the user’s web browser to track, validate, and maintain specific user information?
  • Temporary Files
  • Open files
  • Cookies
  • Web Browser Cache
Answer: C

The short version

C — C names cookies as browser tracking storage. cookies are small browser-stored tracking values. Cookies are small name-value pieces sent by a website and retained by the browser to track, validate, and maintain user state across requests.

Key concepts in this question

  • Cookie purpose: Cookies carry session identifiers, preferences, and validation tokens that let sites recognize returning users.
  • Browser management: Browsers store, scope by domain and expiry, and resend cookies, which is the tracking behaviour described in the stem.
  • Cache distinction: Cache stores copies of pages and assets for speed, while cookies store structured user-specific state, a functional split examiners test.

Why C is correct

Cookies are small name-value pieces sent by a website and retained by the browser to track, validate, and maintain user state across requests. They persist per site and are returned automatically on later visits, enabling session handling and personalization. Temporary files, open handles, and cache hold broader content but lack the per-site tracking semantics, so the settled key follows web-state definitions.

Why the others are wrong

  • A. describes temporary files, which are general scratch copies, not scoped per-site tracking values with validation semantics.
  • B. describes open files, which are active handles, not persistent browser-retained tracking data.
  • D. describes web cache, which accelerates loads by storing resources but does not by itself maintain per-user tracking state.

312-49 exam tip

Link cookie directly to track, validate, and maintain user info for quick recall.

4Depending upon the jurisdictional areas, different laws apply to different incidents. Which of the following law is related to fraud and related activity in connection with computers?
  • 18 USC §1029
  • 18 USC §1030
  • 18 USC §1361
  • 18 USC §1371
Answer: B

The short version

B — B cites the federal computer fraud statute correctly. Title 18 Section 1030 covers fraud and related computer activity. Section 1030 of Title 18 addresses fraud and related activity in connection with computers, including unauthorized access and damage to protected systems.

Key concepts in this question

  • Section 1030 scope: This section criminalizes exceeding authorized access and causing damage, matching computer fraud scenarios.
  • Jurisdictional matching: Different sections map to different harms, so exam questions test precise association of fact pattern to statute number.
  • Nearby sections: Sections 1029, 1361, and 1371 address access-device fraud, government property, and related property offenses rather than computer fraud.

Why B is correct

Section 1030 of Title 18 addresses fraud and related activity in connection with computers, including unauthorized access and damage to protected systems. It is the statute investigators and prosecutors reference for computer intrusion and computer fraud matters in the United States. The nearby sections cover different offenses such as counterfeit access devices or property damage, so the settled key follows jurisdictional mapping taught for forensics.

Why the others are wrong

  • A. cites Section 1029, which targets counterfeit and unauthorized access devices rather than general computer fraud.
  • C. cites Section 1361, which addresses injury to government property, not computer intrusion.
  • D. cites Section 1371, which is not the computer fraud provision and does not match the stem description.

312-49 exam tip

Memorize 1030 as computer fraud and 1029 as access-device fraud to split the pair.

5Data is striped at a byte level across multiple drives, and parity information is distributed among all member drives. What RAID level is represented here?
Computer Hacking Forensic Investigator (CHFI) question 5
  • RAID Level 0
  • RAID Level 5
  • RAID Level 3
  • RAID Level 1
Answer: B

The short version

B — B identifies RAID 5 striping with distributed parity. byte-level striping with distributed parity defines RAID 5. The stem describes striping at byte level across member drives with parity spread over all members rather than on a dedicated disk.

Key concepts in this question

  • Striping granularity: Byte-level striping splits data into small units across disks, affecting throughput and rebuild behaviour.
  • Distributed parity: Spreading parity avoids a single parity bottleneck and allows survival of any single member failure.
  • Level contrasts: Levels 0, 1, and 3 each differ on redundancy placement, making parity location the decisive discriminator.

Why B is correct

The stem describes striping at byte level across member drives with parity spread over all members rather than on a dedicated disk. That distributed-parity layout is the hallmark of RAID 5, which balances performance and single-disk fault tolerance. Level 0 has no parity, Level 1 mirrors, and Level 3 uses byte striping with a dedicated parity disk, so the settled key follows RAID taxonomy.

Why the others are wrong

  • A. names RAID 0, which stripes without any parity and offers no fault tolerance.
  • C. names RAID 3, which uses byte striping but keeps parity on a dedicated disk rather than distributing it.
  • D. names RAID 1, which mirrors identical copies instead of striping with parity.

312-49 exam tip

Hear distributed parity and pick RAID 5, hear dedicated parity with byte stripes and pick RAID 3.

6Charles has accidentally deleted an important file while working on his Mac computer. He wants to recover the deleted file as it contains some of his crucial business secrets. Which of the following tool will help Charles?
  • Xplico
  • Colasoft’s Capsa
  • FileSalvage
  • DriveSpy
Answer: C

The short version

C — C selects the Mac file recovery tool correctly. FileSalvage is the Mac-oriented deleted-file recovery utility. FileSalvage is marketed and tested as a Mac OS data recovery utility for undeleting files from HFS and APFS volumes, matching the accidentally deleted file on a Mac scenario.

Key concepts in this question

  • Platform fit: Mac deletion recovery needs a tool that understands Mac file systems and resource forks, which FileSalvage targets.
  • Tool domains: Network and packet tools analyze traffic, not deleted Mac files, so domain mismatch eliminates them.
  • Recovery urgency: Continued writes risk overwriting freed blocks, so selecting the correct undelete tool quickly improves success odds.

Why C is correct

FileSalvage is marketed and tested as a Mac OS data recovery utility for undeleting files from HFS and APFS volumes, matching the accidentally deleted file on a Mac scenario. Xplico focuses on network forensics, Capsa on packet capture, and DriveSpy on DOS-level disk analysis, none of which is the purpose-built Mac undelete path. The settled key therefore follows tool-to-platform mapping.

Why the others are wrong

  • A. names Xplico, which reconstructs network sessions and files from captures, not Mac deleted-file recovery.
  • B. names Capsa, which is a network analyzer for packets and flows, not a Mac undelete utility.
  • D. names DriveSpy, which is a DOS forensic disk tool, not a Mac file salvage product.

312-49 exam tip

Pair Mac undelete with FileSalvage and network rebuild with Xplico to avoid swapping domains.

7Jason discovered a file named $RIYG6VR.doc in the C:\$Recycle.Bin\<USER SID>\ while analyzing a hard disk image for the deleted data. What inferences can he make from the file name?
  • It is a doc file deleted in seventh sequential order
  • RIYG6VR.doc is the name of the doc file deleted from the system
  • It is file deleted from R drive
  • It is a deleted doc file
Answer: D

The short version

D — D reads the renamed recycle artifact correctly. dollar-R filename marks a renamed deleted file in Recycle Bin. Windows renames deleted files inside the per-user Recycle Bin to dollar-R plus random characters while preserving the original extension, so dollar RIYG6VR dot doc signals a deleted Word document whose original name is stored in the paired dollar-I file.

Key concepts in this question

  • Dollar R role: Dollar-R files hold the deleted content under an obfuscated name to avoid collisions inside the bin.
  • Dollar I pairing: A matching dollar-I file records original path, size, and deletion time, letting examiners restore attribution.
  • SID path: The path under Recycle Bin plus user SID confirms a per-user deleted store rather than a live document folder.

Why D is correct

Windows renames deleted files inside the per-user Recycle Bin to dollar-R plus random characters while preserving the original extension, so dollar RIYG6VR dot doc signals a deleted Word document whose original name is stored in the paired dollar-I file. The random suffix is not a sequence number, drive letter, or original name. The settled key therefore follows Recycle Bin renaming behaviour.

Why the others are wrong

  • A. reads the suffix as seventh sequential order, but the characters are random collision-avoidance values, not a counter.
  • B. treats RIYG6VR dot doc as the original name, but the original name lives in dollar-I metadata, not in the renamed content file.
  • C. reads R as R drive, but the leading R denotes recycled content, not a drive letter.

312-49 exam tip

See dollar-R and think renamed deleted content, then look for its dollar-I metadata twin.

8Which of the following attacks allows an attacker to access restricted directories, including application source code, configuration and critical system files, and to execute commands outside of the web server’s root directory?
  • Parameter/form tampering
  • Unvalidated input
  • Directory traversal
  • Security misconfiguration
Answer: C

The short version

C — C names directory traversal for restricted path access. directory traversal escapes web root to reach restricted files. Directory traversal injects dot-dot slash sequences to climb out of the web root and address files such as source, configuration, and system paths, and on some stacks it enables command execution outside the intended directory.

Key concepts in this question

  • Traversal payload: Sequences that resolve to parent directories let attackers normalize to sensitive absolute paths.
  • Impact scope: Successful traversal exposes code and secrets and can pivot to execution when handlers pass paths to interpreters.
  • Category nesting: Traversal is a specific form of input abuse focused on path resolution, narrower than generic unvalidated input.

Why C is correct

Directory traversal injects dot-dot slash sequences to climb out of the web root and address files such as source, configuration, and system paths, and on some stacks it enables command execution outside the intended directory. Parameter tampering and unvalidated input are broader categories, while misconfiguration is a hygiene gap, but only traversal names the path-escape mechanism described. The settled key therefore follows attack-pattern definitions.

Why the others are wrong

  • A. names parameter tampering, which alters field values but does not by itself denote parent-path escape to system files.
  • B. names unvalidated input, which is the broad weakness class, not the specific directory-escape technique in the stem.
  • D. names security misconfiguration, which covers defaults and hardening gaps rather than crafted path payloads.

312-49 exam tip

Hear dot-dot slash plus restricted directories and choose traversal immediately.

9Annie is searching for certain deleted files on a system running Windows XP OS. Where will she find the files if they were not completely deleted from the system?
  • C: $Recycled.Bin
  • C: \$Recycle.Bin
  • C:\RECYCLER
  • C:\$RECYCLER
Answer: B

The short version

B — B gives the settled recycle location for the stem. settled key places non-fully deleted XP-era files under dollar Recycle Bin path variant. The settled key selects the dollar Recycle Bin path form for files that remain recoverable after deletion in the tested Windows XP-era context.

Key concepts in this question

  • Deletion staging: Deleted files linger in a protected bin with renamed content until purged, creating a recovery window.
  • Path versioning: Windows changed recycle folder names across versions, so exam rows test exact legacy versus modern spellings.
  • Recovery priority: Checking the bin before carving unallocated space saves time when deletion was not yet finalized.

Why B is correct

The settled key selects the dollar Recycle Bin path form for files that remain recoverable after deletion in the tested Windows XP-era context. That location holds renamed content plus metadata until emptying or overwriting, which is why the question directs a search there before assuming destruction. Other path spellings mix newer and legacy folder names that do not match the settled key for this bank row, so the explanation upholds the already decided mapping.

Why the others are wrong

  • A. uses a variant spelling that does not match the settled key for this row and mixes legacy naming.
  • C. uses the RECYCLER legacy form that the settled key does not select for this particular row.
  • D. uses another spelling variant that differs from the decided answer path for this item.

312-49 exam tip

For recycle-location questions memorize the exact settled spelling rather than reasoning from modern paths.

10Which of the following files stores information about a local Google Drive installation such as User email ID, Local Sync Root Path, and Client version installed?
  • filecache.db
  • config.db
  • sigstore.db
  • Sync_config.db
Answer: D

The short version

D — D names the Drive local config database correctly. Sync_config dot db holds local Drive identity and sync settings. Sync_config dot db is the SQLite store where Google Drive desktop keeps the user email identity, local sync root path, and installed client version alongside sync preferences.

Key concepts in this question

  • Identity artifact: Email ID ties the local install to a specific account, crucial for attribution in multi-user hosts.
  • Sync root: Local Sync Root Path shows which folder mirrors cloud content, guiding targeted collection.
  • Version pinning: Client version helps explain feature and schema differences across Drive builds during analysis.

Why D is correct

Sync_config dot db is the SQLite store where Google Drive desktop keeps the user email identity, local sync root path, and installed client version alongside sync preferences. Filecache, config, and sigstore names suggest caching or signatures but do not hold that identity-plus-path bundle in the tested mapping. The settled key therefore follows artifact-to-path knowledge for Drive forensics.

Why the others are wrong

  • A. names filecache dot db, which suggests cached blobs rather than account identity and sync root configuration.
  • B. names config dot db, which is too generic and is not the settled Drive sync identity store for this row.
  • C. names sigstore dot db, which suggests signatures rather than Drive account and path settings.

312-49 exam tip

Link Drive email plus sync path to Sync_config dot db for fast artifact recall.

Want the full bank of 537 questions for Computer Hacking Forensic Investigator (CHFI)? See all practice exams.