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
Binary data is not text-based like JSON.
- ✗
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 allows schema flexibility with key-value pairs, fitting the semi-structured definition.
- ✗
Unstructured data
Why it's wrong here
Unstructured data has no predefined format; JSON has some structure.
Go deeper
Related to this question
About these practice questions
Courseiva writes every DA0-002 question from scratch — 986 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.