Question 310 of 1,000
Storage Forensics and File System AnalysishardMultiple ChoiceObjective-mapped

Quick Answer

The answer is hdparm, the Linux utility that detects a Host Protected Area by comparing the reported device size with the actual number of sectors. This works because hdparm queries the ATA command set directly, using the `-N` flag to display the HPA configuration; if the HPA is active, the tool reveals a reduced sector count, exposing the hidden area where a rootkit may reside. On the Computer Hacking Forensic Investigator CHFI exam, this tests your ability to identify anti-forensic techniques that conceal data beyond the operating system’s view, often appearing in questions about disk geometry manipulation or rootkit detection. A common trap is confusing HPA detection with tools like `fdisk` or `parted`, which only report partition tables, not the raw ATA security features. Memory tip: think “hdparm -N reveals the hidden ‘N’umber of sectors,” linking the flag directly to the concept of comparing reported versus actual size.

CHFI Storage Forensics and File System Analysis Practice Question

This CHFI practice question tests your understanding of storage forensics and file system analysis. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

During a forensic analysis of a compromised server, you discover that a rootkit has hidden itself by modifying the HPA (Host Protected Area) of the hard disk. Which tool can detect the presence of an HPA by comparing the reported size with the actual number of sectors?

Question 1hardmultiple choice
Full question →

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

hdparm

The hdparm tool in Linux can query the ATA security features, including HPA. The command `hdparm -N /dev/sda` displays the HPA settings and can reveal if an HPA is active by showing a reduced device size.

Key principle: OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • smartctl

    Why it's wrong here

    smartctl reads SMART data but does not directly report HPA.

  • dd

    Why it's wrong here

    dd is a data duplication tool, not designed to detect HPA.

  • fdisk

    Why it's wrong here

    fdisk manages partition tables but does not detect HPA at the ATA level.

  • hdparm

    Why this is correct

    hdparm can read ATA settings, including HPA and DCO, to detect hidden areas.

    Related concept

    OSPF neighbours must agree on key parameters.

Common exam traps

Common exam trap: OSPF can fail even when IP connectivity looks correct

OSPF neighbour formation depends on matching areas, timers, network type, authentication and passive-interface behaviour. Do not choose an answer only because the devices can ping.

Detailed technical explanation

How to think about this question

OSPF questions usually test the details that control adjacency and route selection. Read the neighbour state, area, router ID and interface configuration before deciding what is wrong.

KKey Concepts to Remember

  • OSPF neighbours must agree on key parameters.
  • Router ID selection can affect neighbour relationships and LSDB output.
  • OSPF cost influences the preferred path.
  • A route can appear in OSPF information but not become the installed route.

TExam Day Tips

  • Check area mismatch first when OSPF adjacency fails.
  • Review passive interfaces when a network is advertised but no neighbour forms.
  • Use show ip ospf neighbor and show ip route clues carefully.

Key takeaway

OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough.

Real-world example

How this comes up in practice

A practitioner preparing for the CHFI exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. OSPF neighbour adjacency depends on matching area, hello/dead timers, network type, and authentication — IP reachability alone is not enough. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related CHFI OSPF questions on adjacency and route selection.

Related practice questions

Related CHFI practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free CHFI practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this CHFI question test?

Storage Forensics and File System Analysis — This question tests Storage Forensics and File System Analysis — OSPF neighbours must agree on key parameters..

What is the correct answer to this question?

The correct answer is: hdparm — The hdparm tool in Linux can query the ATA security features, including HPA. The command `hdparm -N /dev/sda` displays the HPA settings and can reveal if an HPA is active by showing a reduced device size.

What should I do if I get this CHFI question wrong?

Review OSPF neighbour requirements — matching area type, hello and dead timers, network type, stub flags, and authentication. Study show ip ospf neighbor states (INIT, 2-WAY, FULL). Then practise related CHFI OSPF questions on adjacency and route selection.

What is the key concept behind this question?

OSPF neighbours must agree on key parameters.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Last reviewed: Jun 21, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This CHFI practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CHFI exam.