Exams / DP-900 / D1 Describe core data concepts
Describe ways to represent data
- Describe the features of structured data
- Describe the features of semi-structured data
- Describe the features of unstructured data
Structured, semi-structured, unstructured
Every DP-900 question in this chapter is really asking the same thing in different words: does the data follow one fixed schema, a flexible/partial schema, or no schema at all?
| Type | Schema | Typical shape | Examples |
|---|---|---|---|
| Structured | Fixed — every record has the same fields | Tabular: rows (entity instances) + columns (attributes) | A SQL table, a CSV export |
| Semi-structured | Flexible — some organization, but fields can vary between records | Named fields, often nested, no fixed relational table | JSON, XML, graph data (nodes/edges) |
| Unstructured | None | No identifiable fields at all | Documents, images, audio/video, binary files |
Microsoft Learn states the structured/semi-structured boundary directly:
"Structured data is data that adheres to a fixed schema, so all of the data has the same fields or properties."
"Semi-structured data is information that has some structure, but which allows for some variation between entity instances."
"For example, documents, images, audio and video data, and binary files might not have a specific structure. This kind of data is referred to as unstructured data."
Organizations increasingly also store vector data (embeddings): a numerical representation of text or images used by AI applications to find semantically similar content — a fourth category the exam may mention alongside the three classic ones.
Structured data: entities, rows, columns
Structured data's schema is most commonly tabular:
"Most commonly, the schema for structured data entities is tabular - in other words, the data is represented in one or more tables that consist of rows to represent each instance of a data entity, and columns to represent attributes of the entity."
| Term | Meaning |
|---|---|
| Entity | A thing being recorded (a customer, a product, a sales order) |
| Attribute | A characteristic of the entity (name, address, price) |
| Row | One instance of the entity |
| Column | One attribute, shared by every row |
Because the schema is fixed, adding a new attribute means adding a new column to the whole table — every existing row gets that column too (with a null/empty value if the data isn't known), rather than only the rows you have data for.
Semi-structured data: JSON and nested structures
JSON (JavaScript Object Notation) is the module's running example of semi-structured data: named fields and values that can nest, and whose set of fields can differ from one record to the next.
"Each customer document includes address and contact information, but the specific fields vary between customers."
JSON syntax, read literally:
"JSON objects always start with { and end with }." · "Properties can be nested inside each other." · "Property values can be arrays."
So in a JSON document:
- A value in
{ }is an object (nested object, if it sits inside another object). - A value in
[ ]is an array (nested array, if it sits inside another object), and it can hold multiple objects (e.g. several social-media handles for one customer).
XML is the same idea with nested, named tags instead of {}/[]; the exam treats it the same way — self-describing, no fixed relational schema, so it's semi-structured.
Relational vs. non-relational databases
"Relational databases are commonly used to store and query structured data. The data is stored in tables that represent entities, such as customers, products, or sales orders."
Keys let relational tables reference each other (e.g. a customer's primary key referenced from an address or order table), which is what enables normalization — storing each fact once instead of repeating it in every record.
"Nonrelational databases are data management systems that don't apply a relational schema to the data."
Non-relational (NoSQL) systems trade the one fixed schema for flexibility: each record/entity can describe its own set of fields, which is why two entities in the same collection can legitimately have different attributes.
"There are four common types of nonrelational database commonly in use."
| Non-relational type | Defining trait |
|---|---|
| Key-value | "each record consists of a unique key and an associated value, which can be in any format" |
| Document | "a specific form of key-value database in which the value is a JSON document" |
| Column-family | "store tabular data comprising rows and columns, but you can divide the columns into groups known as column-families" |
| Graph | "store entities as nodes with links to define relationships between them" |
Exam traps
- "Document" as an answer choice means a semi-structured JSON-style record, not a table — don't confuse it with "structured".
- A table/table pair linked by a key (e.g. two customer tables sharing
CustomerID) is still structured data, even though there are two tables — structured just means fixed schema, not "a single table". - Non-relational ≠ "no schema at all": it means no single fixed relational schema is enforced; individual records are still organized (self-describing), which is why it's grouped with semi-structured data rather than unstructured.
- In JSON,
{}: object,[]→ array — this alone answers "is X a nested object or a nested array" questions. - Adding an attribute to structured data = adding a column to the whole table (every row), never a selective, per-record addition — that per-record flexibility is a non-relational/semi-structured trait instead.
- Graph data (e.g. social network users/followers as nodes and edges) is classified as semi-structured in this module's three-way taxonomy, alongside JSON and key-value data, because it has organization but no fixed relational schema.