All exams← All Azure Data Fundamentals (DP-900) notes

Core data concepts: Azure Data Fundamentals (DP-900) revision notes

Revision notes

What is data?

Data is any collection of facts a business stores and processes. It can be structured (fits neatly into rows and columns), semi-structured (has some organisation but no fixed schema, like JSON or XML) or unstructured (no defined format, like images, video or free text).

Structured data

This lives in tables with a fixed schema - every row has the same columns, and each column has a set data type. Relational databases (SQL Server, Azure SQL Database) are the classic home for this. Good for data with clear relationships, enforced by primary and foreign keys.

Semi-structured data

Think JSON, XML, key-value pairs, or graph data. It has tags or markers that separate elements, but no rigid table shape. Azure Cosmos DB is the go-to service here, along with Table Storage. Common mistake: assuming semi-structured means unorganised - it still has internal structure, just a flexible one.

Unstructured data

Images, video, audio, PDFs, free-text documents. Stored as blobs (Azure Blob Storage) or files. No inherent schema, so you need extra tools (like Azure AI services) to extract meaning from it.

Data workloads

DP-900 splits workloads into three types.

  • Transactional (OLTP) - fast, frequent, small read/write operations, e.g. an online shop taking orders. Needs low latency and high concurrency.
  • Analytical (OLAP) - large-scale queries over historical data for reporting and trends, e.g. a data warehouse. Reads are large, writes are batch-loaded.
  • Batch vs streaming - batch processes data in scheduled chunks (e.g. nightly ETL); streaming processes data continuously in near real time (e.g. IoT telemetry via Azure Stream Analytics or Event Hubs).

Data roles

Know the three core roles Microsoft tests.

  • Database Administrator (DBA) - designs, implements and maintains databases; manages security, backups and performance.
  • Data Engineer - builds and manages the data pipelines that move and transform data (ETL/ELT).
  • Data Analyst - explores and visualises data to enable business decisions, often using Power BI.

Common mistakes

  • Confusing OLTP with OLAP - OLTP is operational (day-to-day transactions), OLAP is analytical (reporting on history).
  • Thinking semi-structured data has zero structure - it does, just not a fixed relational schema.
  • Mixing up the DBA and Data Engineer roles - DBA owns the database itself, Data Engineer owns the pipeline.
  • Forgetting that batch processing is not the same as real-time streaming - exam questions often give a scenario and ask you to pick the right processing type.

Key facts

Flashcards

What are the three main types of data?
Structured, semi-structured and unstructured.
tap to reveal
What defines structured data?
It fits a fixed schema of rows and columns, typically in a relational database.
tap to reveal
What defines semi-structured data?
It has tags or markers giving some organisation (like JSON or XML) but no fixed table schema.
tap to reveal
What defines unstructured data?
No inherent schema at all - e.g. images, video, audio, free-text documents.
tap to reveal
Which Azure service is the classic home for semi-structured data?
Azure Cosmos DB.
tap to reveal
Which Azure service is typically used to store unstructured data?
Azure Blob Storage.
tap to reveal
What does OLTP stand for and what is it used for?
Online Transaction Processing - fast, frequent, small read/write operations for day-to-day business transactions.
tap to reveal
What does OLAP stand for and what is it used for?
Online Analytical Processing - large-scale queries over historical data for reporting and analytics.
tap to reveal
What is the difference between batch and streaming processing?
Batch processes data in scheduled chunks; streaming processes data continuously in near real time.
tap to reveal
What does a Database Administrator (DBA) do?
Designs, implements and maintains databases, including security, backups and performance.
tap to reveal
What does a Data Engineer do?
Builds and manages the data pipelines (ETL/ELT) that move and transform data.
tap to reveal
What does a Data Analyst do?
Explores, models and visualises data to enable business decisions, often using Power BI.
tap to reveal
Name two Azure services used for real-time streaming data.
Azure Stream Analytics and Azure Event Hubs.
tap to reveal
Common mistake: is semi-structured data unorganised?
No - it still has internal structure via tags/markers, just not a fixed relational schema.
tap to reveal
Is a nightly ETL job an example of batch or streaming processing?
Batch processing - it runs on a schedule rather than continuously.
tap to reveal
Practice questions

Core data concepts: 5 practice questions

Q1. Which term describes data that is organised into rows and columns with a fixed schema, such as a table of customer orders?
  • A.  Structured data
  • B.  Unstructured data
  • C.  Metadata
  • D.  Semi-structured data
Show answer & explanation
✓ Answer: A. Structured data
Structured data follows a predefined schema of rows and columns, like a relational database table. Semi-structured data (such as JSON) has some organisation but no fixed schema, and unstructured data (such as images) has no inherent structure at all.
Q2. A retailer stores product reviews as JSON documents where each review can have different optional fields (e.g. some include a photo URL, others don't). What category of data is this?
  • A.  Semi-structured data
  • B.  Relational data
  • C.  Structured data
  • D.  Unstructured data
Show answer & explanation
✓ Answer: A. Semi-structured data
JSON documents carry self-describing tags or keys that give some structure, but the schema can vary between records, which is the definition of semi-structured data. Relational data requires a fixed, uniform schema across all rows.
Q3. Which of the following is the best example of unstructured data?
  • A.  A folder of scanned PDF invoices
  • B.  A relational table of employee records
  • C.  A CSV file of sales transactions
  • D.  An XML file describing product attributes
Show answer & explanation
✓ Answer: A. A folder of scanned PDF invoices
Scanned PDF invoices (or images, video, audio) have no predefined data model or tags describing their content, making them unstructured. CSV and XML both carry explicit structure or tags, and relational tables enforce a strict schema.
Q4. In a relational database, what is the purpose of a primary key?
  • A.  It uniquely identifies each row in a table
  • B.  It defines the data type of a column
  • C.  It compresses the table to save storage
  • D.  It links two tables together across a foreign key relationship
Show answer & explanation
✓ Answer: A. It uniquely identifies each row in a table
A primary key uniquely identifies every row in a table, ensuring no two rows are identical on that column (or columns). Foreign keys, not primary keys, are what create relationships between tables.
Q5. A column in a table named CustomerID references the primary key of a Customers table. What is this column called?
  • A.  A candidate key
  • B.  A composite key
  • C.  An index key
  • D.  A foreign key
Show answer & explanation
✓ Answer: D. A foreign key
A foreign key is a column (or set of columns) in one table that references the primary key of another table, enforcing referential integrity between the two. A composite key, by contrast, is a primary key made up of more than one column.
Test yourself
See the Azure Data Fundamentals (DP-900) page

More Azure Data Fundamentals (DP-900) topics