SkillHack

How to become an AI Data Engineer

Step by step and free: 11 phases, 88 topics and 306 graded practice questions.

Practise this roadmap free

What is an AI Data Engineer?

An AI data engineer builds the pipelines that turn raw sources into the data AI systems train on, retrieve from and are evaluated against. They ingest documents, databases and event streams, parse and clean unstructured content, chunk and embed it into vector and hybrid indexes, and assemble deduplicated, leak-free training and evaluation sets. They work with ML, applied AI and platform teams, and own data quality, lineage, privacy and cost.

Who this roadmap is for

Data engineers and analytics engineers who already write production SQL and Python and want to move into AI work, or backend engineers who already run ETL jobs. You should know a warehouse or lakehouse and an orchestrator. It is not for people who want to train models or write prompts; the focus is the data that feeds them.

What you will be able to do

You will be able to design batch and streaming pipelines that survive backfills and schema changes, parse PDFs and scanned documents into clean records, run versioned embedding and permission-aware indexing pipelines, build training and evaluation sets without leakage or contamination, and monitor data quality, PII, licensing and cost across an AI data platform.

The AI Data Engineer roadmap

AI Data Engineer

  1. Phase 1 Programming and data foundations

  2. Phase 2 Storage, tables and vector stores

  3. Phase 3 Building data pipelines

  4. Phase 4 Unstructured data and documents

  5. Phase 5 Embedding and indexing pipelines

  6. Phase 6 Training and evaluation data

  7. Phase 7 Managing datasets over time

  8. Phase 8 Data quality and observability

  9. Phase 9 Privacy, security and governance

  10. Phase 10 Cost and performance

  11. Phase 11 Data for AI applications

All topics, in order

Mark each topic Learning, Done or Skip, and sign in to save your place to your account. Done is your own word, not passing: a topic is passed when you score 50 or more on its questions. This order is the study plan.

  1. Phase 1 · Programming and data foundations

    1. AI basics: what it is and how to ask it

      An AI assistant predicts likely words; it does not look facts up or know when it is wrong. That makes it strong at working with material you give it and weak as a source of facts. Learn to ask clearly, hand it the right material, check what comes back, and own what you send.

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    2. AI basics: using it safely at work

      Using AI well at work is mostly judgment: which tool is safe for which material, which actions need your OK first, how to test a helper before trusting it, and how to split a big job into checkable steps. These habits matter more than any one tool.

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    3. What an AI data engineer does

      An AI data engineer builds the paths that carry data into AI systems: documents into search indexes, records into training and evaluation sets. The craft is classic data engineering (reliable, tested, affordable pipelines) plus new questions: is this text clean enough to embed, may we train on it, does the test set leak into training. Many failures that look like model problems start in the data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Python for data engineering

      Data engineering in Python means moving and transforming data that rarely fits in memory. Fluency in chunked and streaming processing, generators, and out-of-core or columnar engines (DuckDB, Polars, Spark) is what lets a job scale with the data instead of with the machine.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    5. SQL and query design

      SQL is the lingua franca of data engineering. Beyond basic SELECTs you need joins, aggregation, and window functions, plus a feel for query cost: what makes the engine scan a whole table versus prune it - because the same answer can cost seconds or hours.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    6. Data formats: CSV, JSON, Parquet, Avro and Arrow

      Row formats such as CSV and JSON Lines are easy to write and read anywhere, but carry no reliable types and make every query read every field. Columnar Parquet stores each column with its type and statistics, so engines read only the columns and row groups a query needs. Avro suits streams that need a schema on every record; Arrow is the in-memory layout engines share. Default to Parquet for analytical and training data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Testing data code

      Transform logic deserves the same tests as application code. Small hand-built input tables with known expected outputs catch broken joins, wrong filters and edge cases (nulls, duplicates, empty days) in seconds. Run new code on a sample before the full dataset, and keep the tests in CI so a refactor cannot quietly change results.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Reproducible pipeline environments

      A pipeline is only trustworthy if it runs the same everywhere. Pinned dependencies, containers, explicit configuration, and orchestration turn 'works on my machine' into a job the scheduler runs identically at 3am. Reproducibility is the foundation reliability is built on.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions

    Chapter 1 lab

    Instruct a coding agent to turn a crashing notebook into a nightly job

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  2. Phase 2 · Storage, tables and vector stores

    1. Object storage fundamentals

      Object stores such as S3, Cloud Storage and Azure Blob hold whole objects under keys, not a real file system. A rename is a copy, listing millions of keys is slow and billed, and tiny objects cost more to manage per byte. Lifecycle rules move or delete objects by age. Design key layouts and file sizes around how jobs will read them.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Data modeling for AI and ML

      Every table needs a stated grain (what one row means) and a key that enforces it. Analytics favours facts and dimensions; model training favours one wide row per example, with every feature as of a point in time. Write down the grain and keys before building, because most double counts and join bugs come from a table whose grain nobody stated.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Warehouse, lake and lakehouse

      Governed SQL for BI and raw file access for ML used to force two systems and two copies. The lakehouse pattern puts open table formats on object storage so one governed copy serves transactional SQL and direct file reads at once. Choosing storage is choosing which workloads share a source of truth.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    4. Table maintenance: compaction, snapshots and time travel

      Open table formats write a new snapshot on every commit. That gives time travel and safe rollback, but small files and old snapshots pile up. Compaction rewrites small files into large ones; snapshot expiry deletes old versions and the files only they use. Set retention to cover your longest-running reader and your rollback needs, because expired snapshots cannot come back.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Partitioning and file layout

      At billions of rows, query cost is dominated by how much data the engine has to scan, and partition layout decides that. Partitioning on the dominant filter (usually date) lets the engine prune away everything irrelevant. Layout should mirror the read pattern, not the write pattern.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    6. Catalogs and metadata

      A catalog records which tables exist, where their files live, their schema and current snapshot, and who owns them. Engines use it to find tables and commit to them safely; people use it to find data and know whom to ask. A table outside the catalog is invisible to governance and easy to duplicate.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Vector stores and indexes for RAG

      Retrieval over millions of embeddings under a tight latency budget rules out exact search. Approximate nearest-neighbour indexes trade a small, measurable recall loss for enormous speed, and recall can be tuned. Picking an index is picking which resource (accuracy, latency, or memory) you spend.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    8. Choosing a vector store

      A vector extension in the database you already run keeps vectors beside the rows they describe, with transactions, joins and one backup. Dedicated vector databases and search engines add scale, filtered approximate search and hybrid ranking, at the cost of another system to keep in sync. Decide on corpus size, filters, update rate and who will operate it, then test with your own data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Updating and deleting in a vector index

      Most vector indexes are built for fast reads, not frequent change. An update is often a delete plus an insert, a delete is often a mark that still occupies the index, and heavy churn slowly hurts recall until the index is optimised or rebuilt. Give every chunk a stable id so upserts replace rather than duplicate, and watch the count of deleted entries.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 2 lab

    Write the instruction for an agent that tunes a vector index

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  3. Phase 3 · Building data pipelines

    1. Orchestration and scheduling

      An orchestrator runs tasks in dependency order on a schedule or trigger, retries failures and records every run. Keep tasks small, idempotent and parameterised by the data interval they process, so one failed day can be rerun alone. The orchestrator coordinates; heavy computation belongs in the engines it calls, not in the scheduler's own workers.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. Batch vs streaming ingestion

      Whether data should arrive in scheduled batches or as a continuous stream is set by how fresh the consumer needs it, not by what is easiest to run. Real-time decisions demand streaming; daily reports are happy with batch. Getting this wrong either wastes money or ships stale numbers into a live decision.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    3. Change data capture from databases

      Change data capture reads a database's transaction log to stream every insert, update and delete in commit order. Unlike polling an updated_at column, it sees deletes and every intermediate change, and adds little load to the source. It still needs a consistent initial snapshot, ordered handling per key and a plan for schema changes.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Streaming fundamentals: event time, windows and delivery

      Events carry the time they happened, which differs from when they arrive. Windowed results should group by event time, and a watermark tells the engine how long to wait for late events before closing a window. Delivery is usually at least once, so exactly-once results come from idempotent writes or transactional sinks, not from the network.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Distributed processing with Spark and Ray

      Spark and Ray split work across machines, but the shuffle (moving rows so equal keys meet) is where time and money go, and one hot key can leave a single task running long after the rest finish. Before going distributed, check whether one large machine with a columnar engine can handle the data. Many jobs under a few hundred gigabytes fit.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Ingesting from APIs and SaaS tools

      Pulling from APIs means respecting rate limits, paging through results reliably and loading only what changed. Use the source's incremental cursor or updated-since filter, save the cursor only after the data is safely written, and back off on 429 responses. Land raw responses first, so a parsing bug can be fixed without calling the API again.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Idempotent and resumable pipelines

      Pipelines fail halfway, so every load must be safe to re-run without double-counting or gaps. The trick is idempotency: design each unit of work so running it twice yields the same result as running it once, usually by overwriting a partition rather than appending to it.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    8. Backfills and reprocessing

      A backfill reprocesses history after a bug fix or a new column. Plan its scope, write results beside the live table or into new partitions, throttle it so daily jobs are not starved, and compare old and new outputs before switching readers over. Consumers should hear about it before their numbers change.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Schema evolution and data contracts

      Upstream schemas change without warning, and a pipeline that keeps running on changed data is more dangerous than one that stops. Data contracts pin the shape, types, and units you accept and fail loudly at the boundary, turning a silent corruption into a caught error.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    10. Transformations as code

      Transformations written as versioned SQL or Python models, each declaring its inputs, get dependency order, tests and code review almost for free. A change goes through a pull request, runs against a sample or staging copy, and ships with its tests. Hand-run scripts and logic buried in dashboards cannot be reviewed, rerun or traced.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

    Chapter 3 lab

    Write the instruction for an agent that audits a pipeline's re-run safety

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  4. Phase 4 · Unstructured data and documents

    1. Sourcing unstructured data

      Unstructured data arrives from exports, SaaS connectors, shared drives, ticket systems and crawls. Land every file unchanged with its source, original path or URL, owner, fetch time and content hash before parsing anything. That record lets you reprocess when parsers improve, honour deletions and answer where a sentence came from.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Crawling the web responsibly

      A responsible crawler identifies itself, follows robots.txt, limits its request rate per site and respects terms of use and paywalls. robots.txt is a request about crawling, not a licence to use the content: permission to train on or republish it is a separate question. Recrawl on a schedule that matches how often pages change, and keep the fetch date.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Parsing PDFs and office documents

      A PDF stores glyphs at positions, not paragraphs, so extraction has to rebuild reading order, and multi-column pages, headers and footnotes are where it goes wrong. Office files carry headings and lists worth keeping. Parsers often fail silently, returning empty or scrambled text with no error, so check output length and read samples for every source.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    4. OCR and scanned documents

      Scanned pages and photos have no text layer, so the text must come from OCR, which returns words with confidence scores and makes typical mistakes: 0 for O, broken lines, lost table structure. Detect which files need OCR rather than running it on everything, keep the confidence scores, and sample low-confidence pages for review.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Extracting tables, layout and figures

      Tables, figures and layout carry meaning that flat text loses: a number means nothing without its row and column headers. Extract tables as structured rows or markdown with headers, keep captions with their figures, and record the page and position of each element so an answer can be traced back to the page.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Cleaning and normalising text

      Text from many sources arrives in mixed encodings, with odd Unicode, repeated whitespace, menus and cookie banners. Normalise encoding and Unicode form, strip boilerplate, detect the language, and drop or route what you cannot use. Version the cleaning rules and test them on samples, because an over-eager rule silently deletes real content.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Extracting structured records with LLMs

      A model can turn invoices, contracts or tickets into structured records, but its output is a prediction, not a lookup. Give it a schema, validate every record against types and business rules, keep the source text for each field, and measure accuracy on a hand-labelled sample before trusting the pipeline. At scale, batch endpoints and smaller models cut cost sharply.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    8. Images, audio and video data

      Images, audio and video are large binary objects best kept in object storage, with a table holding their metadata, derived text (captions, transcripts, OCR) and the model versions that produced it. Derived text must stay linked to its media and time codes, and must be regenerated when the media or the model changes.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Carrying permissions and source metadata

      Every document should carry its source, owner, version, URL and access list from ingestion all the way to each chunk in an index. Without them you cannot limit results to what a user may see, honour a deletion, cite a source or find stale copies. Metadata dropped during parsing is very expensive to add back later.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  5. Phase 5 · Embedding and indexing pipelines

    1. Embeddings for data engineers

      An embedding model turns text into a fixed-length vector so that similar meanings land close together. Models differ in dimensions, maximum input length, languages and price, and vectors from different models cannot be compared. Choose by testing candidate models on your own queries and documents, not on a public leaderboard alone.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Chunking and preprocessing for embeddings

      Retrieval can only ever return the chunks you created, so how you split documents caps how good RAG can be. Cutting on semantic boundaries with a little overlap keeps each chunk a self-contained unit; slicing at fixed offsets severs answers in half. The boundary matters more than the size.

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    3. Enriching chunks with context

      A chunk cut from the middle of a document often loses what it is about: the product, the year, the section. Adding the document title, section path or a short generated summary to each chunk before embedding helps retrieval find it. Keep the added context separate from the original text, so citations quote the source and not the summary.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Building and versioning embedding pipelines

      Embeddings from different models live in different vector spaces, so distances between them are meaningless. An index must be single-version, which means adopting a new embedding model requires re-embedding the whole corpus, not mixing old and new vectors in one store.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    5. Embedding at scale

      Embedding millions of chunks is a throughput and cost problem. Batch requests, stay under rate limits with backoff, make the job resumable by chunk id, and skip unchanged text by hashing it. Estimate the cost per million tokens before starting, and use batch endpoints or a self-hosted model when results are not needed right away.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Incremental indexing and freshness

      An index is only as fresh as its update path. Detect changed documents by content hash or source change feeds, re-chunk and re-embed only those, and make deletions reach the index as reliably as additions. Track the lag from a source change to it being searchable: stale or deleted content in answers is a trust and compliance problem.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Keyword and hybrid indexes

      Vector search finds meaning; keyword search (BM25) finds exact terms such as product codes, names and error strings. Many systems keep both and merge the results. That means two indexes that must hold the same documents with the same ids and permissions, updated together, or their results disagree in confusing ways.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    8. Permission-aware indexes

      Retrieval must never return a chunk the asking user could not open in the source system. Store access lists with each chunk and filter at query time, or keep separate indexes per tenant when isolation must be absolute. Permissions change, so sync them as carefully as content, and test with users who should see nothing.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Testing retrieval data

      Before and after any change to parsing, chunking, embedding or indexing, run a fixed set of real queries with known relevant documents and measure recall at k. A drop shows the data change hurt retrieval before users notice. Keep the query set current with real traffic, and read the failures, not just the score.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  6. Phase 6 · Training and evaluation data

    1. Training, fine-tuning and evaluation datasets

      Training data teaches a model, fine-tuning data shapes its behaviour for a task, and evaluation data measures it. Training data tolerates some noise at volume; fine-tuning data must be consistent because every example counts; evaluation data must be trustworthy, representative and never seen in training. Treat them as separate products with their own owners and checks.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Preparing fine-tuning data

      Fine-tuning data is a set of example conversations or prompt and response pairs in the provider's format, usually JSON Lines. Quality beats quantity: a few hundred consistent, correct examples covering the real variety of inputs often beat thousands of noisy ones. Validate the format, remove duplicates and contradictions, and hold examples back for evaluation.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Deduplication: exact and near-duplicate

      Duplicates waste compute, push a model to memorise and repeat text, and inflate evaluation scores when copies land in both training and test sets. Exact duplicates fall to hashing normalised text; near duplicates, such as the same page with a new date, need fuzzy methods like MinHash with locality-sensitive hashing. Define what counts as a duplicate and inspect what was removed.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    4. Quality filtering

      Filters remove text that is too short, too repetitive, in the wrong language or scored low by a quality classifier. Every filter also removes some good data, and it can remove some groups of writers or topics far more than others. Measure what each filter drops on a labelled sample, and keep the removed set where people can inspect it.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Splits without leakage

      A test set means something only if nothing from it influenced training. Random row splits leak when the same user, document, patient or near-duplicate appears on both sides, or when a model trained on later data is tested on earlier data. Split by group or by time to match how the model will meet new data in use.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    6. Decontaminating evaluation sets

      When evaluation questions or their answers appear in training data, scores rise without any real gain in skill. Check training corpora for overlap with every evaluation set using n-gram or near-duplicate matching, remove the matches, and record that the check ran. For public benchmarks, assume web-scraped data may already contain them.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Labelling and annotation pipelines

      Labels are only as good as the guidelines and checks around them. Write guidelines with worked edge cases, measure agreement between labellers on shared items, seed known gold items to catch drift, and send disagreements to an expert. A label set nobody has checked for agreement is an opinion, not ground truth.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    8. Preference and feedback data

      Preference data records which of two responses people prefer, or ratings and thumbs from live use, and it feeds tuning methods such as DPO and reward models. Human signals are noisy and biased: raters often favour longer answers, and users who leave feedback are not typical users. Record who rated and under what instructions, and check agreement before training on it.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    9. Synthetic data and its checks

      Generated data can fill gaps such as rare cases, new formats or privacy-sensitive fields, but it repeats the generator's habits and errors. Check it for correctness, diversity and duplicates, keep it labelled as synthetic, and confirm on real held-out data that it actually helps. Never evaluate on synthetic data alone.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    10. Feature pipelines and train/serve skew

      A model tested well offline but failing in production often has one cause: a feature computed one way in training and another way at serving. A feature store removes the skew by giving both paths a single shared definition, so offline and online values cannot diverge.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions

    Chapter 6 lab

    Write the instruction for a feature skew audit agent

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  7. Phase 7 · Managing datasets over time

    1. Dataset versioning

      Any model or index should be traceable to the exact data that built it. Snapshot or tag datasets when they are used for training, store that version with the model, and never overwrite a version in place. Then a bad result can be reproduced, compared and rolled back.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Documenting datasets

      A datasheet records why a dataset exists, where it came from, how it was collected and cleaned, what it leaves out and what it should not be used for. Writing one forces questions about consent, coverage and bias before training, and it is what auditors and future teammates will ask for. Keep it versioned with the data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Data mixtures and sampling

      A training set is a mix of sources, and the mix shapes the model as much as any single source does. Weight sources on purpose, upsample rare but important cases without repeating them so often they are memorised, and record the final proportions. Change the mix one variable at a time and evaluate each change.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Feeding training jobs

      GPUs are expensive to leave idle, so training data must be read fast and in a good order. Store data in large shards, shuffle across shards as well as within them, stream from object storage with prefetching, and make loading resumable so a restart neither repeats nor skips examples.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Logging AI traffic as data

      Prompts, outputs, retrieved context and user feedback from production are the best source of new evaluation and training data. Log them with ids that link each step, sample when volume is high, redact personal data at capture time, and honour the consent and retention terms users were given. Logs collected without that care often cannot be used later.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Building eval sets from production

      An evaluation set built only from imagined cases misses what users actually ask. Sample real traffic, stratify it by intent, language and difficulty, label the expected outcomes, and add every production failure as a new case. Refresh the set on a schedule and version it, so scores stay comparable over time.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  8. Phase 8 · Data quality and observability

    1. Validation and conservation checks

      The most common data bug is silent row loss, and the cheapest guard is a conservation check: rows and key totals in should match rows and totals out across a transform. Assertions that run on every load catch a broken join the moment it happens instead of a quarter later.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    2. Handling missing and dirty data

      Before filling or dropping a missing value you must know why it is missing. If the gap is random, simple imputation is fine; if it correlates with the outcome, any fill or drop launders real signal into bias. The mechanism, not the statistic, chooses the remedy.

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    3. Freshness and data SLAs

      Freshness is how old the newest data is when someone uses it. Agree a target with each consumer (a fraud model may need minutes, a weekly report a day), measure the real lag continuously, and alert when the target is missed. A pipeline that succeeds late still breaks its consumer.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Monitoring pipelines and data

      A pipeline can succeed while delivering wrong data, so monitor the data itself: row volumes against expected ranges, schema changes, null and duplicate rates, and the distributions of key fields. Start with volume and freshness on the most important tables, because those two catch most breakages cheaply.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Data incidents and on-call

      When bad data ships, contain it first: pause the pipeline or quarantine the bad partition, then tell the teams and models that consumed it. Fix the cause, backfill, verify, and write a short blameless postmortem naming the check that would have caught it. Page people only for alerts that need action now.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Quality checks for text data

      Text pipelines fail in ways row checks miss: a parser returns empty pages, OCR returns gibberish, a site redesign fills every chunk with menus. Track per-source distributions of length, language, character mix and duplicate rate, and read a few documents from every new source or parser version.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Detecting data drift

      When an input distribution shifts, it is as likely to be a pipeline bug as a real-world change, and labels usually lag too far to tell you which. Drift monitoring is an early warning: its job is to prompt an investigation, not to trigger an automatic retrain on data you have not yet trusted.

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions

    Chapter 8 lab

    Write the instruction for a drift-alert triage agent

    A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.

    Start the lab
  9. Phase 9 · Privacy, security and governance

    1. PII handling and data minimization

      The privacy-preserving default is to not hold what you do not need. Pulling only the fields a task requires and redacting PII in free text shrinks exposure at the source, something access control on an over-broad copy can never do. Minimization is a design-time decision, not a later cleanup.

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    2. Finding and redacting PII at scale

      Personal data hides in free text: names, emails, phone numbers, ids and addresses inside tickets, chats and documents. Pattern rules catch structured ids; entity models catch names but miss some. Measure a detector's recall on a labelled sample, choose redaction or reversible tokenisation by whether anyone needs the value back, and redact before data reaches indexes or training sets.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    3. Data rules for AI: GDPR and the EU AI Act

      Under the GDPR, personal data needs a lawful basis and a stated purpose, people can ask for access and erasure, and data should not be kept longer than needed. The EU AI Act adds data governance and record-keeping duties for high-risk systems. Know which rules apply to each dataset, and check dates and guidance against official sources, because they change.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Data lineage and access control

      When a sensitive column leaks, containing it means knowing every downstream table, dashboard, and model that consumed it. Column-level lineage records that map precisely, and policy enforced at the source stops the field spreading in the first place. Search and polling only approximate the map, leaving gaps.

      Reading

      Test yourself on this topic

      5 graded questions · scored out of 100 with feedback · free

      Start the 5 questions
    5. Encryption, secrets and network boundaries

      Encrypt data at rest and in transit by default, and keep keys in a key management service. Keep credentials out of code, notebooks and logs by using a secret store and short-lived credentials. Reach data stores and model APIs over private network paths where you can, so a leaked key alone is not enough to read data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Poisoned and untrusted sources

      Anyone who can write to a source you ingest can try to change what your model learns or retrieves: false facts, hidden instructions aimed at an AI reader, poisoned training examples. Rank sources by trust, keep provenance on every chunk and example, scan for hidden text and instructions, and be able to remove everything from one source quickly.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Data ownership and stewardship

      Every dataset needs a named owner who answers for its quality, approves access and decides when it is retired. Without one, access requests stall or get waved through, broken data has nobody to fix it, and old copies live forever. Record the owner in the catalog and review ownership when people change teams.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  10. Phase 10 · Cost and performance

    1. Cost and latency of data infrastructure

      Reprocessing all history on every run is the most common source of a runaway data bill. Incremental processing makes each run's work proportional to new data, usually preserving freshness at a fraction of the cost. Match the work to what changed rather than buying cheaper hardware for a wasteful job.

      Reading

      Test yourself on this topic

      4 graded questions · scored out of 100 with feedback · free

      Start the 4 questions
    2. Tuning slow jobs and queries

      Before buying more compute, read the query plan or job profile. Most slow jobs scan too much (no partition pruning), shuffle too much, spill to disk for lack of memory, or wait on one skewed task. Fix the biggest cost the plan shows, measure again, and repeat.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Storage cost: tiers, compression and retention

      Storage looks cheap per gigabyte but grows forever unless something deletes it. Compress with columnar formats, move cold data to cheaper tiers (minding retrieval fees and minimum storage periods), expire snapshots and intermediate tables, and set retention per dataset from its purpose and legal duties.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Compute cost of embedding and LLM processing

      Embedding and LLM processing bills scale with tokens. Estimate the cost per document before running a whole corpus, cut tokens by stripping boilerplate and skipping unchanged content, use batch endpoints for work that can wait, and compare a smaller or self-hosted model on a quality sample. Cache results keyed by content and model version.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Planning for data growth

      Data volume, index size and spend grow with users and sources, often faster than expected. Track growth per dataset, project it forward, and know where the limits sit: index memory, warehouse quotas, API rate limits, budgets. Plan the next step (sharding, tiering, a bigger plan) before you hit a limit, not during an outage.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
  11. Phase 11 · Data for AI applications

    1. Serving data at low latency

      AI features often need data inside a request: a customer's recent orders, a feature vector, a document's latest version. Serve it from an online store or cache built for key lookups, not by querying the warehouse at request time. Decide how stale each value may be, and compute the online copy the same way as the offline one.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    2. Giving agents safe access to data

      An agent with database access will eventually run a query nobody intended. Give it narrow tools over curated views, read-only credentials scoped to the task, row and time limits, and a log of every call. Treat what it reads as untrusted, because retrieved text can carry instructions.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    3. Text-to-SQL on your data

      Models write better SQL when they see a small, well-described schema: curated views with clear names, column descriptions, known join paths and example queries. Run generated queries read-only with timeouts and row limits, check them before execution, and test answers against questions with known results.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    4. Entity resolution

      The same customer, company or product appears under different spellings, ids and formats across systems. Entity resolution normalises fields, generates candidate pairs cheaply (blocking), scores each pair and merges above a threshold. Measure precision and recall on labelled pairs, because a wrong merge mixes two people's data.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    5. Knowledge graphs for AI

      A knowledge graph stores entities and their relationships explicitly, which helps questions that hop across connections, such as who manages the team that owns this service. Building one means extracting entities and relations, resolving duplicates and keeping it current, which is costly. Use one when relationship questions matter and plain retrieval keeps failing them.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    6. Designing an AI data platform

      An AI data platform is best built one use case at a time. Start from one product need, trace the data it requires from source to model or index, and build the thinnest reliable path: ingestion, storage, processing, quality checks and access control. Reuse shared pieces where they exist, and add components only when a second use case needs them.

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions
    7. Changing a platform without breaking consumers

      Tables, schemas and indexes have consumers you may not know about. Before changing or retiring one, find them with lineage and access logs, announce the change with a date, run old and new side by side and compare outputs. Remove the old path only after consumers have moved.

      Reading

      Test yourself on this topic

      3 graded questions · scored out of 100 with feedback · free

      Start the 3 questions

Practise the AI Data Engineer roadmap

306 questions, each graded on the server out of 100. Free · no card.

All career paths