DA0-002 Data Concepts and Environments Practice Question
A data engineer needs to store logs from web servers that have varying fields. The logs are in JSON format. Which data type describes this JSON data?
⚠ Common exam trap
Test-takers frequently confuse 'structured' with any data that has a format, but JSON's lack of a fixed schema and varying fields disqualifies it from being structured data, which requires a rigid, predefined schema like a relational database table.
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
✓
Semi-structured data
JSON data with varying fields is classified as semi-structured data because it has organizational properties (key-value pairs, nested structures) but does not conform to a rigid schema like a relational table. The logs from web servers may have different fields per record, which is a hallmark of semi-structured data, as it allows flexibility while still being self-describing.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Binary data
Why it's wrong here
JSON is text encoded with named keys, not a raw byte stream, so binary data misdescribes it; binary applies to formats such as images, executables or serialised blobs. It is tempting because JSON files are ultimately stored as bytes on disk, and binary would be the correct type for an opaque payload that must be parsed by an application.
- ✗
Structured data
Why it's wrong here
JSON logs with varying fields are semi-structured data because they lack a fixed schema, whereas structured data requires a rigid, predefined schema such as a relational table with consistent columns. This option is tempting because JSON is often used in structured APIs, but here the variability of fields across logs violates the fixed-schema requirement that defines structured data. Structured data would be correct only if every log entry contained identical fields in a consistent order.
- ✓
Semi-structured data
Why this is correct
JSON logs have no fixed schema, yet carry tags and hierarchy, which defines semi-structured data. Unlike structured data in rigid relational tables, it permits varying fields per record while remaining machine-parseable, matching the web server logs described.
- ✗
Unstructured data
Why it's wrong here
JSON with varying fields still carries named keys and values, so it is semi-structured; unstructured data has no predefined schema at all, such as raw text or images. It is tempting because JSON is not a rigid relational table, and unstructured would be correct for free-form log lines with no consistent field structure.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DA0-002 question from scratch — 1,004 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This DA0-002 practice question is part of Courseiva's free CompTIA 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 DA0-002 exam.