Courseiva
Host-Based AnalysiseasyMultiple ChoiceObjective-mapped

200-201 Host-Based Analysis Practice Question

When performing file analysis, which method is most reliable for determining the actual file type regardless of its extension?

⚠ Common exam trap

Cisco often tests the concept that file extensions are user-modifiable metadata and thus unreliable, while magic bytes provide a content-based verification that is independent of the filename.

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

Examining the file's magic bytes

Magic bytes (or file signatures) are unique byte sequences at the beginning of a file that identify its format regardless of the file extension. This method is reliable because it examines the actual binary content, such as the 'PK' header for ZIP files or '‰PNG' for PNG images, rather than relying on user-assigned metadata that can be easily changed.

Answer analysis

Option-by-option breakdown

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

  • Opening the file in a text editor

    Why it's wrong here

    Opening may corrupt or be unsafe, and not all file types are text-readable.

  • Checking the file extension

    Why it's wrong here

    Extensions can be easily changed and are not reliable.

  • Examining the file's magic bytes

    Why this is correct

    Magic bytes are consistent and reliable for file type identification.

  • Checking the file size

    Why it's wrong here

    File size is not indicative of file type.

About these practice questions

This 200-201 question is part of Courseiva's 979-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This 200-201 practice question is part of Courseiva's free Cisco 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 200-201 exam.