A company's application emits event logs whose set of fields changes from request to request. The logs are in JSON format that expresses hierarchy with tags or keys but has no strict fixed schema per column. Which type of data is this?

1 / 1
Select an answer
CorrectD

Explanation

Choosing the data type of JSON that has tags but no fixed schema.

  • 1expresses hierarchy with tags or keysThere are tags/keys that delimit elements = not fully unstructured
  • 2has no strict fixed schema per columnNo fixed schema like a table = semi-structured data
AIncorrect

Structured data

Structured data is in a tabular form with a fixed type per column (CSV or a relational database table).

This question concerns JSON with no fixed schema and not a strict table structure, so it is incorrect.

BIncorrect

Unstructured data

Unstructured data is data with no defined structure, such as images, video, or free-form text.

This question concerns JSON whose elements are delimited by tags/keys and has some structure, so it is incorrect.

CIncorrect

Labeled data

Labeled data is a distinction for training based on whether each data item has a correct answer (label) attached.

This question asks about the structural type of the data (structured/semi-structured/unstructured), which is a different perspective from whether labels are present, so it is incorrect.

DCorrect

Semi-structured data

Correct. Semi-structured data expresses hierarchy and elements with tags or keys but has no strict fixed schema like a table. JSON and XML are typical examples, sitting between structured and unstructured data.

Key Takeaway

Remember how to identify the correct answer, 'semi-structured data.'
Semi-structured: has hierarchy via tags/keys but no fixed schema (JSON, XML). It sits between structured and unstructured.
Structured: a table with a fixed type per column (CSV/RDB).
Unstructured: no structure (images/video/free text).
If it is 'JSON/XML with tags but a loose schema,' it is semi-structured.