Quick reference, glossary and supplements
Cheat sheets, a glossary of data and AI terms, the 12-month tracker, and supplements on data engineering, cloud, Excel, SQL, governance, interviews and capstones. Each one is also a PDF.
Excel formulas (18)
The formulas analysts use most. Ranges like A2:A100 are examples; adjust them to your sheet.
| Item | What it does | Example |
|---|---|---|
| SUMIFS | Adds values that meet one or more conditions | =SUMIFS(D:D, B:B, "North", C:C, ">=2025-01-01") |
| COUNTIFS | Counts rows that meet conditions | =COUNTIFS(B:B, "North", E:E, "Closed") |
| AVERAGEIFS | Averages values that meet conditions | =AVERAGEIFS(D:D, B:B, "South") |
| XLOOKUP | Finds a value and returns a match from another column; exact match by default | =XLOOKUP(G2, A:A, C:C, "Not found") |
| INDEX + MATCH | Lookup that works in every Excel version | =INDEX(C:C, MATCH(G2, A:A, 0)) |
| IF / IFS | Returns one value or another depending on a test | =IFS(D2>=90, "A", D2>=75, "B", TRUE, "C") |
| IFERROR | Replaces an error with a value you choose | =IFERROR(D2/E2, 0) |
| TEXTJOIN | Joins text with a separator, skipping blanks | =TEXTJOIN(", ", TRUE, A2:C2) |
| TEXTSPLIT | Splits text into cells (Microsoft 365) | =TEXTSPLIT(A2, ",") |
| LEFT / RIGHT / MID | Takes characters from text | =MID(A2, 4, 3) |
| TRIM / CLEAN | Removes extra spaces and non-printing characters | =TRIM(CLEAN(A2)) |
| DATEDIF / EOMONTH | Date difference; last day of a month | =EOMONTH(A2, 0) |
| UNIQUE / SORT / FILTER | Dynamic arrays (Microsoft 365) that spill results | =SORT(FILTER(A2:D100, D2:D100>1000), 4, -1) |
| LET | Names a value inside a formula so it is calculated once | =LET(t, SUM(D:D), D2/t) |
| PivotTable | Summarises rows by groups without formulas | Insert > PivotTable; Rows = Region, Values = Sum of Sales |
| Power Query | Repeatable import and cleaning steps | Data > Get Data; record steps, then Refresh |
| Absolute reference | $ keeps a row or column fixed when copying | =D2*$H$1 |
| Data validation | Restricts what can be typed in a cell | Data > Data Validation > List |
SQL commands (19)
Standard SQL that works in most databases. Exact function names can differ between PostgreSQL, MySQL, SQL Server and others.
| Item | What it does | Example |
|---|---|---|
| SELECT ... FROM ... WHERE | Reads rows and filters them | SELECT name, city FROM customers WHERE city = 'Pune'; |
| ORDER BY / LIMIT | Sorts and caps the rows returned | SELECT * FROM orders ORDER BY amount DESC LIMIT 10; |
| GROUP BY / HAVING | Aggregates per group; HAVING filters groups | SELECT city, COUNT(*) FROM customers GROUP BY city HAVING COUNT(*) > 50; |
| Aggregates | COUNT, SUM, AVG, MIN, MAX | SELECT AVG(amount) FROM orders; |
| INNER JOIN | Rows that match in both tables | SELECT o.id, c.name FROM orders o JOIN customers c ON c.id = o.customer_id; |
| LEFT JOIN | All rows from the left table, matches or NULL from the right | ... FROM customers c LEFT JOIN orders o ON o.customer_id = c.id |
| CASE WHEN | If-then logic inside a query | CASE WHEN amount > 1000 THEN 'High' ELSE 'Normal' END |
| COALESCE | First non-NULL value | COALESCE(phone, email, 'none') |
| Subquery | A query inside another query | WHERE amount > (SELECT AVG(amount) FROM orders) |
| CTE (WITH) | Names a step so long queries read top to bottom | WITH monthly AS (SELECT ...) SELECT * FROM monthly; |
| ROW_NUMBER / RANK | Numbers rows within a group | ROW_NUMBER() OVER (PARTITION BY city ORDER BY amount DESC) |
| Running total | Window SUM over an ordered set | SUM(amount) OVER (ORDER BY order_date) |
| LAG / LEAD | Value from the previous or next row | LAG(revenue) OVER (ORDER BY month) |
| UNION / UNION ALL | Stacks results; UNION removes duplicates | SELECT city FROM a UNION ALL SELECT city FROM b; |
| INSERT / UPDATE / DELETE | Changes data (use a WHERE on UPDATE and DELETE) | UPDATE orders SET status = 'paid' WHERE id = 42; |
| CREATE TABLE | Defines a table with types and keys | CREATE TABLE t (id INT PRIMARY KEY, name TEXT NOT NULL); |
| Index | Speeds up lookups on a column | CREATE INDEX idx_orders_customer ON orders(customer_id); |
| Transaction | Groups changes so they all succeed or all fail | BEGIN; ... COMMIT; (or ROLLBACK;) |
| Order of execution | FROM, WHERE, GROUP BY, HAVING, SELECT, ORDER BY, LIMIT | That is why a SELECT alias cannot be used in WHERE |
DAX (Power BI) (14)
Measures recalculate in the current filter context. Prefer measures over calculated columns for totals.
| Item | What it does | Example |
|---|---|---|
| Measure | A calculation evaluated for each visual's filters | Total Sales = SUM(Sales[Amount]) |
| CALCULATE | Changes the filter context of an expression | North Sales = CALCULATE([Total Sales], Region[Name] = "North") |
| FILTER | Returns a filtered table, used inside CALCULATE or iterators | CALCULATE([Total Sales], FILTER(Sales, Sales[Qty] > 5)) |
| ALL / REMOVEFILTERS | Ignores filters, for shares of total | Share = DIVIDE([Total Sales], CALCULATE([Total Sales], ALL(Region))) |
| DIVIDE | Safe division that handles divide by zero | Margin % = DIVIDE([Profit], [Total Sales]) |
| SUMX / AVERAGEX | Iterates row by row, then aggregates | Revenue = SUMX(Sales, Sales[Qty] * Sales[Price]) |
| RELATED | Brings a value from a related (one-side) table | Sales[Category] = RELATED(Product[Category]) |
| TOTALYTD | Year-to-date total (needs a date table) | Sales YTD = TOTALYTD([Total Sales], 'Date'[Date]) |
| SAMEPERIODLASTYEAR | The same dates one year earlier | Sales LY = CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date])) |
| DATEADD | Shifts dates by days, months, quarters or years | CALCULATE([Total Sales], DATEADD('Date'[Date], -1, MONTH)) |
| VAR / RETURN | Variables make measures readable and faster | VAR ly = [Sales LY] RETURN DIVIDE([Total Sales] - ly, ly) |
| Filter context | The filters a visual, slicer or row applies to a measure | The same measure shows different numbers in each matrix cell |
| Row context | The current row in a calculated column or iterator | Exists inside SUMX and calculated columns |
| Star schema | Fact table in the centre, dimension tables around it | Sales (fact) linked to Date, Product and Customer (dimensions) |
Python essentials (16)
Core Python syntax used in data work.
| Item | What it does | Example |
|---|---|---|
| Variables and types | int, float, str, bool, None | price = 499.0; city = "Pune"; paid = True |
| f-strings | Put values inside text | f"Total: {total:,.2f}" |
| List | Ordered, changeable collection | nums = [3, 1, 2]; nums.append(5) |
| Dictionary | Key-value pairs | row = {"id": 1, "city": "Pune"}; row["city"] |
| Tuple / set | Fixed sequence; unique items | point = (2, 3); ids = {1, 2, 2} # {1, 2} |
| if / elif / else | Branching | if score >= 90: grade = "A" |
| for / while | Loops | for i, x in enumerate(items): ... |
| List comprehension | Build a list in one line | [x * 2 for x in nums if x > 1] |
| Functions | Reusable code with parameters and a return value | def tax(amount, rate=0.18): return amount * rate |
| Lambda | Small unnamed function | sorted(rows, key=lambda r: r["amount"]) |
| try / except | Handle errors | try: x = int(s)
except ValueError: x = 0 |
| with open | Read or write files safely | with open("data.csv") as f: text = f.read() |
| Imports | Use libraries | import pandas as pd; from pathlib import Path |
| Classes | Bundle data and behaviour | class Order: def __init__(self, amount): self.amount = amount |
| Virtual environment | Isolated packages per project | python -m venv .venv; pip install pandas |
| Type hints | Document expected types | def total(xs: list[float]) -> float: ... |
pandas (18)
The main Python library for tables. df is a DataFrame.
| Item | What it does | Example |
|---|---|---|
| Read data | Load CSV, Excel or Parquet | df = pd.read_csv("sales.csv") |
| Inspect | First rows, column types, summary | df.head(); df.info(); df.describe() |
| Select columns | One column or several | df["city"]; df[["city", "amount"]] |
| Filter rows | Boolean conditions | df[(df.amount > 1000) & (df.city == "Pune")] |
| loc / iloc | Select by label / by position | df.loc[df.id == 5, "status"]; df.iloc[0:5, 0:3] |
| New column | Calculate from other columns | df["gst"] = df.amount * 0.18 |
| Missing values | Find, fill or drop | df.isna().sum(); df.fillna(0); df.dropna() |
| Duplicates | Find and remove | df.drop_duplicates(subset=["order_id"]) |
| Types | Convert columns | df["date"] = pd.to_datetime(df["date"]) |
| groupby | Aggregate per group | df.groupby("city")["amount"].agg(["sum", "mean"]) |
| pivot_table | Spreadsheet-style pivot | df.pivot_table(index="city", columns="month", values="amount", aggfunc="sum") |
| merge | SQL-style joins | orders.merge(customers, on="customer_id", how="left") |
| concat | Stack DataFrames | pd.concat([jan, feb], ignore_index=True) |
| sort_values | Sort rows | df.sort_values("amount", ascending=False) |
| apply / map | Apply a function to values | df["band"] = df.amount.map(lambda a: "High" if a > 1000 else "Low") |
| Dates | Parts of dates and resampling | df.date.dt.month; df.set_index("date").resample("M").sum() |
| value_counts | Frequency of each value | df.city.value_counts(normalize=True) |
| Write data | Save results | df.to_csv("out.csv", index=False); df.to_parquet("out.parquet") |
Statistics formulas (15)
Formulas behind common analyses. n is the sample size.
| Item | What it does | Example |
|---|---|---|
| Mean | Sum of values ÷ n | (10 + 20 + 30) ÷ 3 = 20 |
| Median | Middle value when sorted; robust to outliers | Median of 3, 5, 100 is 5 |
| Variance (sample) | Σ(x − mean)² ÷ (n − 1) | Spread of the values around the mean |
| Standard deviation | √variance, in the data's own units | Delivery time 30 ± 6 minutes |
| Percentile / IQR | Value below which a % of data falls; IQR = Q3 − Q1 | Outlier rule: below Q1 − 1.5×IQR or above Q3 + 1.5×IQR |
| z-score | (x − mean) ÷ standard deviation | z = 2 means two standard deviations above the mean |
| Standard error of a mean | s ÷ √n | s = 12, n = 144 gives 1.0 |
| Standard error of a proportion | √(p(1 − p) ÷ n) | p = 0.8, n = 100 gives 0.04 (4 points) |
| 95% confidence interval | Estimate ± 1.96 × standard error (large samples) | 80% ± 7.8 points on 100 cases |
| Correlation (r) | Strength of a straight-line relationship, −1 to 1 | r = 0.8 is strong; it does not prove cause |
| p-value | Chance of a result at least this extreme if there were no real effect | p < 0.05 is a common, not magic, threshold |
| t-test | Compares means of two groups | Average order value, app vs web |
| Chi-square test | Tests whether two categorical variables are related | Plan type vs churned (yes/no) |
| Conversion rate | Conversions ÷ visitors | 120 ÷ 4,000 = 3% |
| Relative lift | (new − old) ÷ old | (3.3% − 3.0%) ÷ 3.0% = 10% lift |
ML metrics (15)
How to score models. TP, FP, FN and TN are true positives, false positives, false negatives and true negatives.
| Item | What it does | Example |
|---|---|---|
| Accuracy | (TP + TN) ÷ all | Misleading when one class is rare |
| Precision | TP ÷ (TP + FP): of predicted positives, how many were right | 32 ÷ 50 = 64% |
| Recall (sensitivity) | TP ÷ (TP + FN): of actual positives, how many were found | 32 ÷ 40 = 80% |
| F1 score | 2 × precision × recall ÷ (precision + recall) | 2 × 0.64 × 0.80 ÷ 1.44 = 0.71 |
| Specificity | TN ÷ (TN + FP) | Share of genuine non-fraud correctly cleared |
| Confusion matrix | Table of TP, FP, FN, TN | Read it before any single metric |
| ROC-AUC | How well scores rank positives above negatives, 0.5 (random) to 1 | 0.85 means good ranking across thresholds |
| PR-AUC | Area under the precision-recall curve; better for rare positives | Fraud, rare defects |
| Log loss | Penalises confident wrong probabilities | Lower is better |
| MAE | Mean absolute error: average size of errors | Off by ₹120 on average |
| RMSE | Root mean squared error: punishes large errors more | RMSE ≥ MAE always |
| MAPE | Mean absolute percentage error | Avoid when actual values can be near zero |
| R-squared | Share of variance explained (can be negative on new data) | 0.72 explains 72% of the variation |
| Cross-validation | Train and test on several splits for a stable estimate | 5-fold: five train/test rounds |
| Overfitting check | Compare training and validation scores | Train 0.99, validation 0.70 means overfitting |
APIs, webhooks and MCP (18)
Terms used when connecting tools and AI assistants to data.
| Item | What it does | Example |
|---|---|---|
| API | A defined way for programs to ask another program for data or actions | The weather app calls a weather API |
| Endpoint | A URL that does one job | GET /v1/orders/{id} |
| HTTP methods | GET reads, POST creates, PUT/PATCH updates, DELETE removes | POST /v1/orders creates an order |
| Status codes | 200 OK, 201 Created, 400 bad request, 401 not logged in, 403 not allowed, 404 not found, 429 too many requests, 500 server error | Retry 429 and 5xx with backoff; fix 4xx |
| Headers | Metadata sent with a request | Authorization: Bearer <token>; Content-Type: application/json |
| JSON | The usual text format for API data | {"id": 42, "status": "paid"} |
| Query parameters | Options in the URL | /orders?status=paid&page=2 |
| Authentication | Proving who is calling: API key, OAuth token | Never put keys in code or prompts |
| OAuth 2.0 | Lets a user grant an app limited access without sharing a password | Sign in with Google, then allow read-only calendar |
| Rate limit | Maximum calls in a time window | 100 requests per minute |
| Pagination | Results returned in pages | Follow next_cursor until it is empty |
| Webhook | The other app calls your URL when something happens | Payment succeeded sends a POST to your endpoint |
| Idempotency | Repeating a request has no extra effect | Send an Idempotency-Key so a retried payment is not charged twice |
| OpenAPI | A standard document describing an API | Swagger UI reads it and shows try-it buttons |
| MCP | Model Context Protocol: an open standard for connecting AI assistants to tools and data | An MCP server lets an assistant read a database or a drive |
| Access token | A temporary credential sent with each request instead of a password | Authorization: Bearer eyJ... (expires, then refreshed) |
| MCP host / client / server | Host: the AI app the user works in; client: its connection to one server; server: the program exposing tools and data | Host: Claude Desktop; server: a Postgres MCP server |
| MCP tool / resource / prompt | Actions the model can call; data it can read; reusable prompt templates | Tool: create_ticket; resource: a policy file |
AI and LLM terms (16)
Words you will meet when building or evaluating GenAI features.
| Item | What it does | Example |
|---|---|---|
| LLM | Large language model: predicts the next token from huge amounts of text | Claude, GPT, Gemini, Llama |
| Token | A piece of text the model reads and writes (roughly ¾ of an English word) | Prices are per million tokens |
| Context window | The maximum tokens a model can consider at once | Instructions + documents + chat + answer must fit |
| Prompt / system prompt | The request; the standing instructions for every request | Role, rules, format, examples |
| Temperature | Randomness of the output; lower is more predictable | Use low values for extraction |
| Embedding | Numbers that capture meaning, used for similarity search | "refund" and "money back" land close together |
| Vector database | Stores embeddings and finds the nearest ones | pgvector, Pinecone, Chroma |
| RAG | Retrieval-augmented generation: search your documents, then answer from them | Help-centre assistant with citations |
| Chunking | Splitting documents into passages for retrieval | One help-article section per chunk |
| Hallucination | Confident output not supported by facts or sources | An invented policy clause |
| Tool use / function calling | The model asks your code to run a function | get_order_status(order_id) |
| Agent | An LLM that plans and uses tools in a loop toward a goal | Researches, drafts and files a report |
| Fine-tuning | Further training a model on your examples | Usually after prompting and RAG are tried |
| Guardrails | Checks on inputs and outputs | Block personal data, validate JSON |
| Eval | A repeatable test of AI quality on fixed cases | Pass rate on a 200-case golden set |
| Prompt injection | Text in the context that tries to override the instructions | "Ignore your rules" hidden in an email |
Git and the command line (12)
Everyday commands. Check your organisation's branching rules.
| Item | What it does | Example |
|---|---|---|
| git clone | Copy a repository to your computer | git clone https://github.com/org/repo.git |
| git status / diff | See what changed | git status; git diff |
| git add / commit | Stage and save a change with a message | git add file.py; git commit -m "Fix tax rounding" |
| git branch / switch | Work on a separate line of changes | git switch -c feature/report |
| git pull / push | Get others' changes; share yours | git pull; git push -u origin feature/report |
| git log | History of commits | git log --oneline -10 |
| Pull request | Ask for review before merging | Opened on GitHub or GitLab |
| pwd / ls / cd | Where am I; list files; change folder | cd data; ls -l |
| mkdir / cp / mv / rm | Make folder; copy; move or rename; delete (careful) | mv old.csv archive/ |
| head / tail / wc | Look at the start or end of a file; count lines | head -5 sales.csv; wc -l sales.csv |
| grep | Search text in files | grep -i "error" app.log |
| Pipes and redirects | Send output to another command or a file | grep ERROR app.log | wc -l > errors.txt |
| Term | Meaning | Example | Related |
|---|---|---|---|
| A/B test | An experiment that splits users into two groups to compare a change with the current version. | Half of users see a new checkout button; compare conversion. | Hypothesis test, p-value, sample size |
| ACID Atomicity, Consistency, Isolation, Durability | Guarantees that database transactions are reliable. | A bank transfer either fully happens or not at all. | Transaction, OLTP |
| Agent | An AI system that plans and uses tools in a loop to reach a goal. | An agent searches orders, drafts a reply and asks for approval. | Tool use, orchestration, MCP |
| Aggregation | Combining many rows into a summary such as a sum, count or average. | Total sales per region. | GROUP BY, pivot table |
| Airflow | An open-source tool for scheduling and monitoring data pipelines as DAGs. | A nightly DAG loads orders and builds a revenue table. | DAG, orchestration, ETL |
| Anomaly detection | Finding data points that are unusually different from the rest. | Flagging a sudden spike in refunds. | Outlier, z-score, monitoring |
| API Application Programming Interface | A defined way for one program to request data or actions from another. | A payment app calls the bank's API to confirm a payment. | Endpoint, REST, webhook |
| AUC Area Under the Curve | A single number summarising a ROC or precision-recall curve. | ROC-AUC of 0.85 means good ranking of positives. | ROC curve, classification |
| Avro | A row-based file format with an attached schema, common in streaming. | Kafka messages stored as Avro with a schema registry. | Parquet, schema, Kafka |
| Batch processing | Processing data in scheduled chunks rather than continuously. | Loading yesterday's orders at 2 a.m. | Streaming, ETL |
| BI Business Intelligence | Tools and practices that turn data into dashboards and reports for decisions. | A Power BI sales dashboard. | Dashboard, KPI, data warehouse |
| Bias (model) | Systematic error, including unfair differences in outcomes between groups. | A loan model that rejects one region far more often for the same risk. | Fairness, responsible AI |
| Big O notation | A way to describe how running time or memory grows with input size. | Searching a sorted list with binary search is O(log n). | DSA, complexity |
| Bootstrap | Estimating uncertainty by resampling the data with replacement many times. | A confidence interval for median order value. | Confidence interval, sampling |
| CDC Change Data Capture | Copying only the rows that changed in a source system. | Streaming new and updated orders to the warehouse. | Incremental load, ETL |
| Central limit theorem CLT | Averages of large samples are roughly normally distributed, whatever the original distribution. | Why confidence intervals for averages work. | Sampling, normal distribution |
| Chunking | Splitting documents into smaller passages for retrieval. | One help-article section per chunk. | RAG, embedding |
| Classification | Predicting a category. | Will this customer churn: yes or no? | Regression, precision, recall |
| Clustering | Grouping similar items without labels. | Customer segments from purchase behaviour. | K-means, unsupervised learning |
| Cohort analysis | Comparing groups that started at the same time. | Retention of users who signed up in January vs February. | Retention, churn |
| Confidence interval CI | A range likely to contain the true value, given the data. | Conversion 3.0% ± 0.4 points (95% CI). | Standard error, p-value |
| Confusion matrix | A table of correct and incorrect predictions by class. | TP 32, FP 18, FN 8, TN 142. | Precision, recall |
| Context engineering | Designing everything an AI sees when it answers: instructions, documents, data, memory and tools. | A support assistant gets the order record and policy, not the whole database. | Prompt engineering, RAG, context window |
| Context window | The maximum number of tokens a model can consider in one request. | Instructions, documents, chat and answer must fit. | Token, LLM |
| Correlation | How strongly two variables move together, from −1 to 1. | Ad spend and sales with r = 0.7. | Causation, regression |
| Cross-validation | Training and testing a model on several data splits for a stable score. | 5-fold cross-validation of a churn model. | Overfitting, validation set |
| CSV Comma-Separated Values | A plain-text table with one row per line. | sales.csv exported from Excel. | Parquet, JSON |
| CTE Common Table Expression | A named temporary result inside a SQL query, written with WITH. | WITH monthly AS (...) SELECT ... | Subquery, SQL |
| DAG Directed Acyclic Graph | A set of steps with dependencies and no loops, used to define pipelines. | Extract, then transform, then load. | Airflow, orchestration |
| Dashboard | A page of charts and numbers that tracks key metrics. | Daily orders, revenue and delivery time. | BI, KPI |
| Data catalog | A searchable inventory of datasets with owners and definitions. | Finding which table holds 'active customers'. | Metadata, governance, lineage |
| Data contract | An agreement on a dataset's schema, meaning and quality between producer and consumer. | The app team promises order_id is never null. | Schema, data quality |
| Data governance | Rules, roles and processes for using data correctly and safely. | Who may access salary data, and why. | Stewardship, privacy, lineage |
| Data lake | Cheap storage holding raw data in many formats. | Raw logs and files in cloud object storage. | Lakehouse, data warehouse |
| Data lineage | The record of where data came from and how it changed. | Revenue table built from orders and refunds. | Catalog, governance |
| Data mart | A subject-focused part of a warehouse for one team. | A finance mart with revenue and cost tables. | Data warehouse, star schema |
| Data observability | Monitoring data freshness, volume, schema and quality to catch problems early. | Alert when today's row count drops by half. | Data quality, monitoring |
| Data pipeline | Automated steps that move and transform data. | App database to warehouse to dashboard. | ETL, ELT, orchestration |
| Data quality | How accurate, complete, consistent, timely and valid data is. | No duplicate order IDs; prices above zero. | Validation, observability |
| Data warehouse | A database designed for analysis, holding cleaned, modelled data. | Snowflake, BigQuery, Redshift, Fabric warehouse. | Data lake, OLAP, star schema |
| DAX Data Analysis Expressions | The formula language of Power BI and Analysis Services. | Total Sales = SUM(Sales[Amount]) | Measure, filter context |
| dbt data build tool | A tool that turns SQL SELECT statements into tested, documented warehouse tables. | A model builds fact_orders with a not-null test. | ELT, data warehouse |
| Decision tree | A model that splits data by simple yes/no questions. | Is tenure under 6 months? Then high churn risk. | Random forest, gradient boosting |
| Deep learning | Machine learning with many-layered neural networks. | Image recognition, speech, LLMs. | Neural network, transformer |
| Dimension table | A table of descriptive attributes used to slice facts. | Product, Customer, Date. | Fact table, star schema |
| Docker | A tool that packages an application and its dependencies into a container. | Running the same pipeline on a laptop and a server. | Container, deployment |
| EDA Exploratory Data Analysis | First look at data to understand its shape, quality and patterns. | Histograms, missing-value counts, correlations. | Data cleaning, visualisation |
| ELT Extract, Load, Transform | Load raw data first, then transform it inside the warehouse. | Load orders raw, build models with dbt. | ETL, dbt |
| Embedding | A list of numbers that captures the meaning of text, images or other data. | 'refund' and 'money back' have similar embeddings. | Vector database, RAG |
| Ensemble | Combining several models to improve accuracy. | Random forests average many decision trees. | Bagging, boosting |
| ETL Extract, Transform, Load | Extract data, transform it, then load it into the target. | Clean CSVs in Python before loading the warehouse. | ELT, pipeline |
| Eval Evaluation | A repeatable test of how well an AI system does a job, on fixed cases with clear scoring. | Pass rate on 200 support questions. | Golden set, LLM-as-judge |
| Fact table | A table of measurable events with keys to dimensions. | Sales rows with date, product, customer and amount. | Dimension table, star schema |
| Feature | An input variable used by a model. | Days since last order. | Feature engineering, label |
| Feature engineering | Creating useful model inputs from raw data. | Turning order dates into 'orders in last 30 days'. | Feature, preprocessing |
| Fine-tuning | Further training a pre-trained model on your own examples. | Teaching a model your support tone. | LoRA, RAG, prompting |
| Forecasting | Predicting future values from past data. | Next month's demand per store. | Time series, seasonality |
| Foreign key FK | A column that refers to another table's primary key. | orders.customer_id points to customers.id. | Primary key, join |
| Gradient boosting | Builds trees one after another, each fixing the previous errors. | XGBoost or LightGBM for churn. | Decision tree, ensemble |
| Gradient descent | An optimisation method that adjusts parameters step by step to reduce error. | Training a linear regression. | Learning rate, loss function |
| Guardrails | Checks on AI inputs and outputs that block unsafe or invalid results. | Reject replies containing phone numbers. | Safety, evals, prompt injection |
| Hallucination | An AI output that sounds confident but is not supported by facts or sources. | An invented refund policy. | Grounding, RAG, evals |
| Hyperparameter | A setting chosen before training rather than learned. | Tree depth, learning rate. | Tuning, cross-validation |
| Hypothesis test | A method to judge whether data shows a real effect. | Is the new checkout better? | p-value, A/B test |
| Idempotency | Repeating an operation has the same effect as doing it once. | A retried payment request does not charge twice. | API, retry |
| Imputation | Filling missing values with estimates. | Replace a missing age with the median. | Missing data, data cleaning |
| Incremental load | Loading only new or changed data since the last run. | Orders with updated_at after the last load. | CDC, batch |
| JSON JavaScript Object Notation | A text format for structured data used by most APIs. | {"id": 42, "status": "paid"} | API, schema |
| K-means | A clustering method that groups points around k centres. | Five customer segments. | Clustering, unsupervised |
| Kafka | A platform for streaming events between systems. | Order events consumed by analytics and email services. | Streaming, event |
| KPI Key Performance Indicator | A metric that shows progress toward a goal. | Monthly active users. | Metric, dashboard, OKR |
| Label | The answer a supervised model learns to predict. | Churned: yes or no. | Feature, supervised learning |
| Lakehouse | A platform combining lake storage with warehouse features such as tables and transactions. | Delta Lake tables in Databricks or Fabric. | Data lake, data warehouse |
| Linear regression | Predicts a number as a weighted sum of inputs. | House price from size and location. | Regression, R-squared |
| LLM Large Language Model | A model trained on large text collections that generates text by predicting tokens. | Claude, GPT, Gemini, Llama. | Token, transformer |
| LLM-as-judge | Using a language model to grade another model's outputs against a rubric. | A judge checks whether answers are faithful to sources. | Eval, rubric |
| Logistic regression | A classification model that outputs a probability. | Probability that a lead converts. | Classification, sigmoid |
| MAE Mean Absolute Error | The average size of prediction errors. | Off by ₹120 on average. | RMSE, regression |
| MCP Model Context Protocol | An open standard for connecting AI assistants to tools and data sources. | An MCP server gives an assistant read access to a database. | API, tool use, agent |
| Measure (DAX) | A calculation in Power BI that responds to filters. | Sales YTD. | DAX, filter context |
| Medallion architecture | Organising lake data into bronze (raw), silver (clean) and gold (business-ready) layers. | Gold table feeds the revenue dashboard. | Lakehouse, data quality |
| Metadata | Data about data: names, types, owners, update times. | Column descriptions in a catalog. | Data catalog, lineage |
| MLOps Machine Learning Operations | Practices for deploying, monitoring and updating models in production. | Retraining a churn model monthly with checks. | Model drift, monitoring |
| Model drift | Model quality drops because data or behaviour changes over time. | A pricing model trained before a festival season. | Monitoring, retraining |
| Normalisation (database) | Organising tables to reduce duplication. | Customers in one table, orders in another. | Primary key, foreign key |
| Normalisation (scaling) | Rescaling features to a common range. | Min-max scaling to 0–1. | Standardisation, preprocessing |
| NoSQL | Databases that store data as documents, key-values, wide columns or graphs instead of tables. | MongoDB for product catalogs. | SQL, schema |
| Null | A missing or unknown value. | A customer with no phone number. | Imputation, COALESCE |
| OAuth Open Authorization | A standard that lets a user grant an app limited access without sharing a password. | Sign in with Google, then allow calendar read access. | Authentication, API |
| OLAP Online Analytical Processing | Systems designed for analysis over large data. | Warehouse queries for monthly revenue. | OLTP, data warehouse |
| OLTP Online Transaction Processing | Systems designed for many small, fast transactions. | The app database that stores each order. | OLAP, ACID |
| One-hot encoding | Turning a category into separate 0/1 columns. | City = Pune becomes is_pune = 1. | Feature engineering |
| Orchestration | Coordinating the order, timing and retries of steps in a pipeline or AI workflow. | Airflow runs extract before transform. | DAG, workflow, agent |
| Outlier | A value far from the rest of the data. | A ₹5,00,000 order among ₹500 orders. | IQR, anomaly detection |
| Overfitting | A model learns noise in training data and fails on new data. | Train accuracy 99%, test 70%. | Underfitting, regularisation |
| p-value | The chance of seeing a result at least this extreme if there were no real effect. | p = 0.03 in an A/B test. | Hypothesis test, significance |
| Parquet | A columnar file format that is compressed and fast for analytics. | Lake tables stored as Parquet. | CSV, Avro, columnar |
| Partitioning | Splitting a large table into parts, often by date, so queries read less data. | Orders partitioned by order_date. | Performance, data warehouse |
| PCA Principal Component Analysis | Reduces many correlated features to a few summary components. | Compress 50 survey questions into 5 factors. | Dimensionality reduction |
| PII Personally Identifiable Information | Data that can identify a person. | Name, phone, email, Aadhaar number. | Privacy, masking, DPDP Act |
| Pivot table | A summary table that groups and aggregates data. | Sales by region and month. | Aggregation, Excel |
| Power Query | The data import and transformation tool in Excel and Power BI. | A repeatable cleaning step for monthly files. | ETL, Excel, Power BI |
| Precision | Of the items predicted positive, the share that were truly positive. | 64% of flagged tickets were urgent. | Recall, F1 |
| Primary key PK | A column that uniquely identifies each row. | order_id. | Foreign key, normalisation |
| Prompt engineering | Writing instructions that get reliable results from a language model. | Role, goal, format, examples and rules. | Context engineering, system prompt |
| Prompt injection | Text in an AI's input that tries to override its instructions. | 'Ignore your rules' hidden in an email. | Guardrails, security |
| R-squared R² | The share of variation in the target that a regression explains. | R² = 0.72. | Regression, RMSE |
| RAG Retrieval-Augmented Generation | Searching your documents and giving the relevant passages to an LLM to answer from. | A help-centre assistant that cites articles. | Embedding, vector database, chunking |
| Random forest | An ensemble of decision trees trained on random samples. | Predicting churn with 300 trees. | Decision tree, ensemble |
| Recall | Of the truly positive items, the share the model found. | 80% of urgent tickets were caught. | Precision, F1 |
| Recommendation system | A model that suggests items a user is likely to want. | 'Customers also bought'. | Collaborative filtering |
| Regression | Predicting a number. | Next month's revenue. | Classification, MAE, RMSE |
| Regularisation | Penalising model complexity to reduce overfitting. | L1 (lasso) and L2 (ridge). | Overfitting |
| REST Representational State Transfer | A common style for web APIs using URLs and HTTP methods. | GET /orders/42. | API, endpoint |
| Retention | The share of users who keep using a product over time. | 40% of January users active in March. | Churn, cohort |
| RLS Row-Level Security | Restricting which rows a user can see. | Regional managers see only their region in Power BI. | Security, governance |
| RMSE Root Mean Squared Error | The square root of the average squared error; larger errors count more. | RMSE of ₹180. | MAE, regression |
| ROC curve Receiver Operating Characteristic | A plot of true positive rate against false positive rate across thresholds. | Used to compare classifiers. | AUC, threshold |
| Sampling | Selecting part of a population to study. | Surveying 1,000 of 50,000 customers. | Bias, confidence interval |
| SCD Slowly Changing Dimension | A way to track changes to dimension attributes over time. | Type 2 keeps old and new customer addresses with dates. | Dimension table, data warehouse |
| Schema | The structure of data: tables, columns, types and rules. | orders(id INT, amount DECIMAL). | Data contract, DDL |
| Seasonality | Patterns that repeat on a calendar cycle. | Higher sales every Diwali. | Time series, forecasting |
| Spark | A distributed engine for processing large data across many machines. | Aggregating billions of events with PySpark. | Big data, Databricks |
| SQL Structured Query Language | The standard language for querying and changing relational databases. | SELECT city, SUM(amount) FROM orders GROUP BY city; | Database, join |
| Standard deviation SD | How spread out values are around the mean. | Delivery time 30 ± 6 minutes. | Variance, z-score |
| Star schema | A data model with a central fact table linked to dimension tables. | Sales fact with Date, Product, Customer. | Fact table, dimension table |
| Statistical significance | A result unlikely to be due to chance alone, judged by a threshold. | p < 0.05. | p-value, A/B test |
| Streaming | Processing events continuously as they arrive. | Fraud checks on each card swipe. | Kafka, batch |
| Supervised learning | Learning from examples that have known answers. | Churn model trained on past churn labels. | Label, classification, regression |
| Temperature | A setting that controls how random a language model's output is. | Low for extraction, higher for brainstorming. | LLM, sampling |
| Test set | Data held back to measure final model performance. | 20% of rows never used in training. | Validation set, overfitting |
| Time series | Data recorded in time order. | Daily orders for two years. | Forecasting, seasonality |
| Token | A unit of text a language model reads or writes, roughly ¾ of an English word. | Prices are quoted per million tokens. | Context window, LLM |
| Tool use Function calling | A model asks your code to run a defined function and uses the result. | get_order_status(order_id). | Agent, MCP |
| Transformer | The neural network design behind modern LLMs, based on attention. | GPT, Claude and Gemini are transformers. | LLM, attention |
| Underfitting | A model too simple to capture the pattern. | A straight line through curved data. | Overfitting |
| Unsupervised learning | Finding structure in data without labels. | Customer clustering. | Clustering, PCA |
| Validation set | Data used to tune a model before the final test. | Choosing tree depth on validation scores. | Test set, cross-validation |
| Vector database | A database that stores embeddings and finds the most similar ones quickly. | pgvector, Pinecone, Chroma. | Embedding, RAG |
| Webhook | An HTTP call an app sends to your URL when an event happens. | Payment succeeded posts to your server. | API, event |
| Window function | A SQL function that calculates across related rows without collapsing them. | ROW_NUMBER() OVER (PARTITION BY city ORDER BY amount DESC). | SQL, ranking |
| XLOOKUP | An Excel function that looks up a value and returns a matching result. | =XLOOKUP(G2, A:A, C:C). | INDEX MATCH, VLOOKUP |
| z-score | How many standard deviations a value is from the mean. | z = 2.5 suggests an unusual value. | Standard deviation, outlier |
A1 Data Engineering Fundamentals
A1.1 What data engineering is and the roles
What is it?
Data engineering builds and runs the systems that move, store and prepare data so analysts, data scientists and AI applications can use it reliably.
Why is it important?
Without reliable pipelines, dashboards show wrong numbers and models train on stale data. Engineers own that reliability.
Where is it used in industry?
Banks, retailers, SaaS companies and AI product teams all employ data engineers to feed their reporting, ML and AI features.
How does it work?
- Sources (apps, databases, APIs, files) produce raw data.
- Ingestion copies it into a landing zone.
- Transformation cleans and models it.
- Serving gives analysts and models trusted tables.
Practical example
A sales app writes orders to a database; a nightly pipeline copies them to a warehouse and builds a daily revenue table that the Power BI dashboard reads.
Tool or software
Any SQL client and Python
Hands-on exercise
Draw the path of one order from the app to the Power BI dashboard, naming each step and the owner.
Common mistakes
Treating a data engineer as a 'report builder'. Their work is the reliability and repeatability of the flow.
Interview question
What is the difference between a data analyst, a data scientist and a data engineer?
Official and further reading
A1.2 Data types and file formats: CSV, JSON, XML, Parquet, Avro, ORC
What is it?
A file format is the way data is written to disk. Row formats (CSV, JSON, Avro) store records one after another; column formats (Parquet, ORC) store each column together.
Why is it important?
Column formats read faster and smaller for analytics, and compression cuts storage cost. Choosing the wrong format is a common cause of slow, expensive pipelines.
Where is it used in industry?
Data lakes and warehouses commonly store Parquet; Kafka pipelines often use Avro with a schema registry.
How does it work?
- CSV: plain text, no types, easy to read.
- JSON: nested, flexible, larger.
- Parquet and ORC: columnar, typed, compressed, best for analytics.
- Avro: row format with a schema, common for streams.
- Compression (Snappy, gzip, zstd) trades CPU for size.
Practical example
A 2 GB CSV of transactions becomes about 250 MB as Parquet, and a query summing one column reads only that column.
Tool or software
pandas, DuckDB
Hands-on exercise
Convert a CSV of 1 million rows to Parquet and compare file size and the time to sum one column.
Common mistakes
Storing everything as CSV because it is familiar, then wondering why queries are slow.
Interview question
Why is Parquet better than CSV for analytics?
Official and further reading
A1.3 Ingestion: batch, streaming, API, file, database and CDC
What is it?
Ingestion is the step that brings data from sources into your platform. Batch loads chunks on a schedule; streaming sends events as they happen; CDC (change data capture) reads database changes from the transaction log.
Why is it important?
The ingestion method decides freshness, cost and risk of missed or duplicated records.
Where is it used in industry?
Fraud teams use streaming; finance reporting usually uses daily batch; inventory systems often use CDC from the operational database.
How does it work?
- Batch: scheduled pull of new or changed rows (often by an updated_at column).
- Streaming: events published to a topic and consumed continuously.
- API: paginated pulls with rate limits and tokens.
- CDC: reads inserts, updates and deletes from the database log.
Practical example
An API returns orders in pages of 100; the pipeline stores the last updated timestamp and asks only for newer orders next run.
Tool or software
Python requests, Airbyte (open source connectors), Debezium for CDC
Hands-on exercise
Write a script that pulls a paginated public API and stores only new records using a stored cursor.
Common mistakes
Pulling the whole table every night when only changes are needed.
Interview question
What is the difference between batch and streaming ingestion?
Official and further reading
A1.4 ETL versus ELT
What is it?
ETL extracts, transforms outside the target, then loads. ELT extracts and loads raw data first, then transforms it inside the warehouse.
Why is it important?
ELT is common on cloud warehouses that have cheap, fast compute, and keeps raw data for re-processing. ETL still fits when data must be cleaned or masked before it lands.
Where is it used in industry?
Most modern analytics teams use ELT with dbt; regulated teams may use ETL to remove personal data before loading.
How does it work?
- ETL: transform in a separate engine, then load clean tables.
- ELT: load raw tables first (for example in a raw schema), then SQL models build the clean layers.
- Keep the raw data so models can be rebuilt.
Practical example
Raw Shopify orders load into a raw schema; a dbt model builds a cleaned orders table and a daily revenue table.
Tool or software
dbt, SQL
Hands-on exercise
Describe for one business report whether you would use ETL or ELT and why, in five sentences.
Common mistakes
Transforming in place and losing the raw data needed to fix mistakes later.
Interview question
When would you choose ETL over ELT?
Official and further reading
A1.5 Pipeline reliability: idempotency, retries, incremental loads
What is it?
An idempotent pipeline gives the same result when run twice. Incremental loads process only new or changed data. Retries repeat a failed step with a wait between attempts.
Why is it important?
Pipelines fail and are re-run. Without idempotency, a re-run creates duplicate sales and wrong totals.
Where is it used in industry?
Every production pipeline in finance, e-commerce and logistics must survive reruns and partial failures.
How does it work?
- Use MERGE or upsert keyed on a business key instead of plain INSERT.
- Load into a staging table, validate, then swap or merge.
- Store a run ID and watermark so reruns know where they stopped.
- Retry transient errors (timeouts) with exponential backoff; fail fast on bad data.
Practical example
A nightly job merges orders on order_id; running it twice still leaves one row per order.
Tool or software
SQL MERGE or INSERT ... ON CONFLICT (PostgreSQL)
Hands-on exercise
Write a MERGE that upserts 1,000 orders twice and prove the row count is unchanged.
Common mistakes
Using INSERT for a daily load, so reruns duplicate rows.
Interview question
What does idempotent mean for a data pipeline?
Official and further reading
A1.6 Data modelling: conceptual, logical, physical; star and snowflake schemas
What is it?
Conceptual models name the business entities; logical models add attributes and keys; physical models are the actual tables. A star schema has one fact table of measures and dimension tables describing them.
Why is it important?
A clear model makes queries simple and consistent, so two teams get the same revenue number.
Where is it used in industry?
Almost every BI platform (Power BI, Tableau, Looker) works best on a star schema.
How does it work?
- Fact table: sales lines with amount, quantity and foreign keys.
- Dimension tables: customer, product, date, store.
- Snowflake schema normalises dimensions further (more joins, less duplication).
Practical example
fact_sales(order_line_id, date_key, customer_key, product_key, amount) joined to dim_customer, dim_product, dim_date.
Tool or software
SQL, Power BI model view
Hands-on exercise
Design a star schema for a coffee-shop chain with sales, products, stores and dates; list the grain of the fact table.
Common mistakes
Mixing grains in one fact table (order-level and line-level measures together).
Interview question
What is the grain of a fact table and why does it matter?
Official and further reading
A1.7 Slowly Changing Dimensions (SCD) types 1, 2 and 3
What is it?
A slowly changing dimension is an attribute that changes over time, such as a customer's city. Type 1 overwrites it; Type 2 keeps history with valid-from and valid-to dates; Type 3 keeps one previous value.
Why is it important?
Reports about past periods must use the value that was true then. Type 2 makes that possible.
Where is it used in industry?
Customer, employee and product history in banks, HR systems and retailers depend on SCD Type 2.
How does it work?
- Type 1: update the row; history is lost.
- Type 2: close the old row (valid_to) and insert a new row with a new surrogate key.
- Type 3: add a column for the previous value.
Practical example
A customer moves from Pune to Bengaluru on 1 Jan; the old row ends on 31 Dec and the new row starts on 1 Jan, so last year's sales still show Pune.
Tool or software
SQL
Hands-on exercise
Write a Type 2 update for one customer change and show the two rows.
Common mistakes
Using Type 1 for attributes that reports need historically.
Interview question
What is the difference between SCD Type 1 and Type 2?
Official and further reading
A2 Data Warehousing, Lakes and Lakehouses
A2.1 Data warehouse, data mart, data lake and lakehouse
What is it?
A data warehouse stores cleaned, structured data for reporting. A data mart is a warehouse slice for one department. A data lake stores raw files of any type cheaply. A lakehouse adds warehouse features (tables, ACID transactions, SQL) on top of lake storage.
Why is it important?
Choosing the right storage decides cost, speed and who can use the data.
Where is it used in industry?
Retailers and banks typically run a warehouse (Snowflake, BigQuery, Redshift); AI teams often use a lake or lakehouse for unstructured data.
How does it work?
- Warehouse: schema on write, optimised for SQL.
- Lake: schema on read, cheap object storage (S3, Azure Blob, Google Cloud Storage).
- Lakehouse: table formats (Delta Lake, Apache Iceberg) give transactions on lake files.
Practical example
Raw clickstream JSON sits in the lake; cleaned sessions go to the warehouse for BI.
Tool or software
BigQuery, Snowflake, Databricks (concepts)
Hands-on exercise
Write a one-page comparison of warehouse, lake and lakehouse for a company with 3 TB of logs and a BI team.
Common mistakes
Putting raw logs in the warehouse without cost controls.
Interview question
What is the difference between a data lake and a data warehouse?
Official and further reading
A2.2 Medallion architecture: bronze, silver and gold
What is it?
Medallion architecture organises a lakehouse or warehouse in three layers: bronze (raw, as received), silver (cleaned and conformed), gold (business-ready tables and metrics).
Why is it important?
Each layer has one job, so bugs are found and fixed in one place, and analysts use only trusted gold tables.
Where is it used in industry?
Used widely on Databricks, Microsoft Fabric and by dbt-based teams.
How does it work?
- Bronze: append raw data with load time and source.
- Silver: deduplicate, fix types, apply keys and quality rules.
- Gold: aggregates and star schemas for dashboards and models.
Practical example
bronze.orders (raw JSON) -> silver.orders (typed, deduplicated) -> gold.daily_revenue (used by Power BI).
Tool or software
dbt, Databricks, Fabric (concepts)
Hands-on exercise
Sketch the three layers for an invoices dataset and name one quality check at each layer.
Common mistakes
Letting analysts query bronze tables that are not validated.
Interview question
Explain the medallion architecture.
Official and further reading
A3 Orchestration and Pipelines
A3.1 Apache Airflow: DAGs, tasks, scheduling and retries
What is it?
Airflow runs workflows as DAGs (directed acyclic graphs): tasks with dependencies, scheduled and retried, with logs and a web UI.
Why is it important?
Pipelines have many steps that must run in order and recover from failure. Orchestrators make that visible and repeatable.
Where is it used in industry?
Common in data platforms at banks, media and e-commerce companies.
How does it work?
- Define a DAG in Python with a schedule.
- Each task is an operator (Python, SQL, Bash, cloud service).
- Dependencies are set with >> (for example extract >> transform >> load).
- Retries and alerts are set per task.
Practical example
A DAG runs at 02:00: extract orders, run dbt models, run data-quality tests, and alert the team if a test fails.
Tool or software
Apache Airflow
Hands-on exercise
Install Airflow locally with Docker and build a three-task DAG that prints dates and fails on purpose once.
Common mistakes
Putting heavy data processing inside the orchestrator instead of calling a warehouse or Spark.
Interview question
What is a DAG and why are retries set per task?
Official and further reading
A3.2 dbt: models, tests, documentation and lineage
What is it?
dbt (data build tool) lets analysts write SQL SELECT statements as models; dbt builds them in the warehouse in order, runs tests (not null, unique, relationships) and generates documentation and lineage graphs.
Why is it important?
dbt brings software practices (version control, tests, docs) to SQL transformations.
Where is it used in industry?
Standard in analytics engineering teams; listed in many data analyst and analytics engineer job descriptions.
How does it work?
- models/*.sql: each file is a table or view.
- ref('model') sets dependencies.
- schema.yml defines tests and descriptions.
- dbt run builds, dbt test checks, dbt docs generate the site.
Practical example
stg_orders.sql cleans raw orders; fct_orders.sql joins to customers; a test asserts order_id is unique.
Tool or software
dbt Core (open source) with DuckDB or PostgreSQL
Hands-on exercise
Build two dbt models over a sample orders table and add three tests.
Common mistakes
Writing one giant model instead of layers (staging, intermediate, marts).
Interview question
What do dbt tests check?
Official and further reading
A3.3 Apache Spark and PySpark (big data processing)
What is it?
Spark processes large datasets in parallel across a cluster. PySpark is its Python API using DataFrames.
Why is it important?
Single machines run out of memory on large data; Spark splits the work and combines results.
Where is it used in industry?
Used for large transformations in telecom, retail and AI feature pipelines.
How does it work?
- DataFrames are distributed tables; transformations are lazy until an action (write, show).
- Partitioning splits data for parallel work; shuffles (joins, groupBy) move data between machines and are the costly step.
Practical example
from pyspark.sql import functions as F; df.groupBy('city').agg(F.sum('amount')).write.parquet(...)
Tool or software
PySpark (local mode), Databricks Community Edition
Hands-on exercise
Run a groupBy on a 10-million-row file locally in PySpark and explain where the shuffle happens.
Common mistakes
Calling collect() on big data, which pulls everything to the driver.
Interview question
What is a shuffle in Spark and why is it expensive?
Official and further reading
A3.4 Streaming with Apache Kafka
What is it?
Kafka is a distributed log: producers write events to topics; consumers read them, at their own pace, from partitions.
Why is it important?
Real-time features (fraud alerts, stock levels, live dashboards) need events processed as they arrive.
Where is it used in industry?
Used by banks, logistics and large e-commerce platforms.
How does it work?
- Topic: a named stream; partitions give parallelism.
- Producer writes; consumer group reads and tracks offsets.
- Retention keeps events for replay.
Practical example
Order events go to topic orders; a consumer updates the live inventory table.
Tool or software
Kafka (local Docker), Python kafka client
Hands-on exercise
Produce 100 events and consume them in a script; then restart the consumer and show it resumes from its offset.
Common mistakes
Assuming message order across partitions, or not handling duplicate events.
Interview question
What is a Kafka partition used for?
Official and further reading
A4 Data Quality, Observability and Governance Basics
A4.1 Data quality dimensions and rules
What is it?
Data quality is measured on accuracy, completeness, consistency, validity, uniqueness and timeliness. Rules turn these into checks that run on every load.
Why is it important?
Bad data makes reports wrong; checks catch it before people see it.
Where is it used in industry?
Mandatory in finance, healthcare and regulated reporting.
How does it work?
- Completeness: no missing mandatory fields.
- Uniqueness: one row per business key.
- Validity: values in range and in allowed lists.
- Timeliness: data arrives on schedule.
- Reconciliation: totals match the source.
Practical example
Test: order_amount >= 0; test: customer_id exists in customers; test: daily row count within 20% of last week.
Tool or software
SQL checks, dbt tests, Great Expectations (open source)
Hands-on exercise
Write ten SQL checks for a sales table and run them against a sample with planted errors.
Common mistakes
Checking quality only at the end of the pipeline, after bad data has spread.
Interview question
Name the six dimensions of data quality and give an example of each.
Official and further reading
A4.2 Data observability and pipeline monitoring
What is it?
Data observability tracks freshness, volume, schema changes and distribution of data, and alerts when something looks wrong.
Why is it important?
Pipelines can succeed technically and still load empty or wrong data. Observability catches that.
Where is it used in industry?
Data platform teams use freshness and volume alerts on critical tables.
How does it work?
- Freshness: last update time against an agreed SLA.
- Volume: row count compared to history.
- Schema: alerts when a column is added, removed or changes type.
- Alerts go to the owner with a link to the failed run.
Practical example
The orders table has no new rows by 08:00; an alert opens an incident for the data owner.
Tool or software
Airflow alerts, dbt source freshness
Hands-on exercise
Set a freshness check on a sample table and trigger it by stopping the load.
Common mistakes
Only monitoring whether the job ran, not whether the data is right.
Interview question
What is data freshness and how would you monitor it?
Official and further reading
A4.3 Data catalogues, lineage and classification
What is it?
A data catalogue lists datasets with owners and descriptions. Lineage shows where data came from and where it goes. Classification labels data as public, internal, confidential or restricted.
Why is it important?
People can find trusted data, and impact of a change is known before it breaks reports.
Where is it used in industry?
Enterprises use catalogues such as Microsoft Purview, Collibra and Atlan.
How does it work?
- Register each table with owner, description and tags.
- Lineage graphs come from dbt or the catalogue.
- Classification drives access and retention rules.
Practical example
A table tagged PII restricted to HR analysts; lineage shows it feeds a payroll dashboard.
Tool or software
dbt docs (lineage), Microsoft Purview (overview)
Hands-on exercise
Document one dbt project with descriptions and a lineage graph screenshot.
Common mistakes
Having no owner for a dataset, so nobody fixes it.
Interview question
What is data lineage and why does it matter?
Official and further reading
A9 Cloud Fundamentals for Data
A9.1 Cloud basics: IaaS, PaaS, SaaS, regions and identity
What is it?
Cloud computing rents compute, storage and services over the internet. IaaS gives virtual machines; PaaS gives managed platforms; SaaS gives finished applications. Regions and availability zones decide where data lives. Identity and access management (IAM) decides who can do what.
Why is it important?
Data platforms run in the cloud; wrong permissions or regions cause security and compliance failures.
Where is it used in industry?
Almost every data role uses cloud storage, compute and IAM daily.
How does it work?
- Choose a region close to users and matching data residency rules.
- Give services the least privilege they need (roles, not shared keys).
- Use managed services to reduce operations work.
Practical example
A data pipeline runs as a service role that can read one bucket and write to one warehouse schema, nothing else.
Tool or software
AWS, Azure and Google Cloud consoles
Hands-on exercise
Draw the IAM roles for a pipeline that reads files from storage and writes to a warehouse.
Common mistakes
Using a root or owner account for daily work, or storing keys in code.
Interview question
What is least privilege and why does it matter for data pipelines?
Official and further reading
A9.2 Data services on AWS, Azure and Google Cloud (mapping)
What is it?
The three big clouds offer similar data services under different names. Knowing the mapping lets you move between them.
Why is it important?
Customers use different clouds; FDEs and data engineers must read any of them.
Where is it used in industry?
Enterprise job descriptions name one or more of these clouds.
How does it work?
- Object storage: AWS S3, Azure Blob Storage, Google Cloud Storage.
- Serverless ETL: AWS Glue, Azure Data Factory, Google Cloud Dataflow.
- Warehouse: Amazon Redshift, Azure Synapse, Google BigQuery.
- Streaming: Amazon Kinesis or MSK, Azure Event Hubs, Google Pub/Sub.
- Analytics platform: Databricks on all three, Microsoft Fabric on Azure, Snowflake on all three.
Practical example
The same medallion pipeline runs on S3 + Glue + Redshift or on Blob + Data Factory + Synapse.
Tool or software
Cloud consoles and CLIs
Hands-on exercise
Make a table with the service names for storage, ETL, warehouse, streaming and orchestration on each cloud.
Common mistakes
Assuming a service works the same in every cloud; limits and pricing differ.
Interview question
Which cloud data services would you use for a batch warehouse on Azure?
Official and further reading
A9.3 Cloud cost optimisation for data platforms
What is it?
Cost optimisation keeps cloud spend proportional to value: right-sized compute, auto-suspend, partitioning, storage tiers and budgets.
Why is it important?
Warehouses and Spark clusters left running cost thousands of rupees or dollars a month for nothing.
Where is it used in industry?
Cloud cost is a daily concern for data platform teams and FDE customers.
How does it work?
- Set budgets and alerts on day one.
- Auto-suspend idle warehouses and clusters.
- Partition and cluster big tables; avoid SELECT * on huge tables.
- Move cold data to cheaper storage tiers.
Practical example
A warehouse set to auto-suspend after 5 minutes cuts a monthly bill by most of the idle time.
Tool or software
Cloud cost dashboards
Hands-on exercise
Estimate the monthly cost of a pipeline that runs hourly for 2 hours and propose three cost cuts.
Common mistakes
Leaving dev clusters running overnight.
Interview question
How would you reduce a warehouse bill that doubled this month?
Official and further reading
A10 Microsoft Fabric and Databricks (Modern Data Platforms)
A10.1 Microsoft Fabric: lakehouse, warehouse, dataflows, semantic models
What is it?
Microsoft Fabric is an all-in-one analytics platform: OneLake storage, lakehouses and warehouses, pipelines, dataflows, notebooks and Power BI semantic models in one place.
Why is it important?
Many Power BI users now build their models on Fabric; knowing its parts helps with Power BI roles.
Where is it used in industry?
Used by Microsoft-centric enterprises and Power BI consultancies.
How does it work?
- OneLake: one logical data lake for the organisation.
- Lakehouse: Delta tables with SQL and Spark access.
- Warehouse: SQL warehouse.
- Semantic model: the Power BI dataset used by reports.
- Deployment pipelines move content from dev to test to prod.
Practical example
A sales lakehouse feeds a semantic model; the Power BI report connects in Direct Lake mode.
Tool or software
Microsoft Fabric trial (free trial, check current terms)
Hands-on exercise
Create a Fabric trial lakehouse, load a CSV and build a semantic model.
Common mistakes
Assuming trial limits apply in production; check licences and capacity.
Interview question
What is a semantic model in Power BI?
Official and further reading
A10.2 Databricks: notebooks, Delta Lake, Spark jobs and Unity Catalog
What is it?
Databricks is a managed Spark platform with notebooks, Delta Lake tables (ACID transactions on files), jobs and Unity Catalog for governance.
Why is it important?
Large AI and data teams standardise on Databricks.
Where is it used in industry?
Common in finance, healthcare and AI product companies.
How does it work?
- Notebooks run PySpark and SQL.
- Delta tables support MERGE, time travel and schema evolution.
- Unity Catalog controls access and lineage.
Practical example
A MERGE into a Delta silver table keeps the table current from a daily file drop.
Tool or software
Databricks Free Edition (check current availability)
Hands-on exercise
Create a Delta table from a CSV and run a MERGE.
Common mistakes
Skipping access controls on shared catalogs.
Interview question
Why is Delta Lake useful for pipelines that need reruns?
Official and further reading
A11 Containers, Deployment and Operations
A11.1 Docker fundamentals for data work
What is it?
Docker packages an app and its dependencies into an image that runs the same everywhere. A container is a running image.
Why is it important?
Pipelines and notebooks must run the same on a laptop, in CI and in the cloud.
Where is it used in industry?
Standard in data engineering and AI deployment.
How does it work?
- Dockerfile lists the build steps.
- docker build creates an image; docker run starts a container.
- docker compose starts several services (database, Airflow, app) together.
Practical example
A Dockerfile installs Python and dependencies, copies the pipeline code and runs it on a schedule.
Tool or software
Docker Desktop (check current licence terms for your use)
Hands-on exercise
Containerise a small Python script that reads a CSV and writes Parquet.
Common mistakes
Baking secrets into the image.
Interview question
What is the difference between an image and a container?
Official and further reading
A11.2 Kubernetes basics for data platforms
What is it?
Kubernetes runs containers across a cluster: deployments keep a number of pods running, services route traffic, and jobs run tasks to completion.
Why is it important?
Large data and AI platforms run on Kubernetes; engineers need to read manifests and debug pods.
Where is it used in industry?
Used by large enterprises on EKS, AKS and GKE.
How does it work?
- Pod: one or more containers.
- Deployment: keeps N replicas.
- Service: stable network address.
- Job and CronJob: run batch work.
Practical example
A CronJob runs the nightly pipeline container at 02:00 on the cluster.
Tool or software
kubectl and a local cluster (kind)
Hands-on exercise
Deploy a CronJob that prints the date and check its logs.
Common mistakes
Running stateful databases without understanding storage.
Interview question
What is a Kubernetes CronJob used for?
Official and further reading
A11.3 CI/CD for data pipelines and dbt projects
What is it?
CI/CD runs tests and deploys changes automatically: on each pull request tests run, and on merge the pipeline deploys to the target environment.
Why is it important?
Data changes break reports; automated tests catch them before production.
Where is it used in industry?
Standard for analytics engineering and data platform teams.
How does it work?
- GitHub Actions workflow: lint, dbt build on a test schema, dbt test.
- Deploy on merge to main.
- Store secrets in the CI secret store, never in code.
Practical example
A pull request runs dbt build against a test schema; merge deploys to production.
Tool or software
GitHub Actions
Hands-on exercise
Write a workflow that runs dbt test on each pull request.
Common mistakes
Testing only in production.
Interview question
How would you add tests for a dbt project in CI?
Official and further reading
A12 Data Architecture and System Design Basics
A12.1 Data architecture: sources, ingestion, storage, serving and governance
What is it?
A data architecture diagram shows each source, pipeline, store, consumer and control (security, quality, cost).
Why is it important?
Architects agree the design with stakeholders before building; diagrams make the design reviewable.
Where is it used in industry?
Architects and FDEs present these diagrams to customers.
How does it work?
- Draw sources on the left and consumers on the right.
- Label every pipeline with its frequency and owner.
- Mark where data is classified and where quality checks run.
Practical example
A retail architecture: POS and web data -> Kafka -> lakehouse bronze/silver/gold -> dashboards and an ML feature store.
Tool or software
draw.io, Excalidraw, Mermaid
Hands-on exercise
Draw the data architecture for a clinic's appointments and billing, with one quality check at each layer.
Common mistakes
Drawing tools without showing data ownership and security.
Interview question
How would you present a data architecture to a CTO?
Official and further reading
A12.2 System design fundamentals for data and AI systems
What is it?
System design picks components and trade-offs for scale, latency, reliability and cost. The usual steps: clarify requirements, estimate load, design the flow, choose storage, plan failure handling.
Why is it important?
Interviews for data engineers and FDE roles use system design questions heavily.
Where is it used in industry?
Common in technical rounds at data platform and AI companies.
How does it work?
- Clarify users, data volume, freshness and latency.
- Estimate rows per day and storage per year.
- Choose batch or streaming; choose storage by access pattern.
- Plan retries, monitoring and backfills.
Practical example
Design a daily pipeline for 50 million events: batch versus streaming, storage format, partitioning by date, retries and backfills.
Tool or software
Whiteboard or document
Hands-on exercise
Write a one-page design for a real-time fraud feature pipeline with trade-offs.
Common mistakes
Jumping into tools before agreeing requirements.
Interview question
How do you design a pipeline that must handle reprocessing of last year's data?
Official and further reading
A13 Hands-on Cloud Lab (Module 10)
A13.1 Lab: load, query and share data in a cloud warehouse
What is it?
A guided lab that takes one CSV file from your laptop to a cloud warehouse, queries it with SQL and connects a dashboard, then cleans everything up.
Why is it important?
Reading about cloud services is not the same as using them. One small end-to-end lab builds the confidence interviewers look for.
Where is it used in industry?
Every cloud data team does this daily: land a file, model it, query it and serve it to a dashboard.
How does it work?
- Create a free account or sandbox. Google BigQuery offers a sandbox without a payment card; Azure and AWS have free tiers. Check the current limits before you start.
- Create a dataset (BigQuery) or database (Azure SQL, Amazon Redshift Serverless or Athena) in one region.
- Upload a public CSV (for example a sales or taxi trips sample) and let the tool detect the schema; fix any wrong column types.
- Write three queries: total by month, top 10 by revenue, and a window-function ranking. Save one as a view.
- Connect Looker Studio, Power BI or Metabase to the view and build one chart.
- Delete the dataset, tables and any storage buckets; confirm the billing page shows no running services.
Practical example
A 50,000-row orders CSV becomes a BigQuery table; a view gives revenue by month; Looker Studio shows a line chart; the dataset is deleted at the end.
Tool or software
Google BigQuery sandbox, Looker Studio; or Azure SQL / Amazon Athena with Power BI
Hands-on exercise
Complete the six steps, take a screenshot of each, and write a five-line README with the cost (should be zero) and what you would change for production.
Common mistakes
Leaving resources running after a lab, or uploading real customer data to a personal account.
Interview question
Walk me through how you would land a CSV in a cloud warehouse and make it available to a dashboard.
Official and further reading
A13.2 Cost guardrails for cloud labs and small projects
What is it?
Settings and habits that stop a learning project from creating an unexpected bill.
Why is it important?
Cloud services charge by use; a forgotten cluster or an unbounded query can cost real money.
Where is it used in industry?
Teams set budgets and alerts on every account; learners should do the same on day one.
How does it work?
- Set a budget (for example ₹500) with email alerts at 50%, 80% and 100%.
- Prefer serverless and sandbox options that cost nothing when idle.
- In warehouses, select only needed columns and filter on partitioned dates to scan less data.
- Tag every resource with project and owner; delete by tag at the end.
- Review the billing page weekly while learning.
Practical example
A learner sets a ₹500 budget alert, queries only three columns from a partitioned table and deletes the project after the capstone.
Tool or software
Cloud billing budgets and alerts; BigQuery query validator (shows bytes before running)
Hands-on exercise
Set up a budget alert on your cloud account and screenshot it; run one query and note the bytes scanned before and after selecting fewer columns.
Common mistakes
Using SELECT * on large tables, or assuming free tiers never charge.
Interview question
How would you keep cloud costs under control for a new data project?
Official and further reading
B1 Excel Automation and Missing Excel Skills (course Module 1 gaps)
B1.1 Flash Fill, Text to Columns and standardising data
What is it?
Flash Fill detects a pattern from examples and fills the rest; Text to Columns splits one column into several using a delimiter or fixed width.
Why is it important?
Analysts spend much of their time cleaning data; these tools remove hours of manual work.
Where is it used in industry?
Used in finance, HR and operations reporting to clean exports from systems.
How does it work?
- Type the result for the first row, then press Ctrl+E (Flash Fill).
- Data > Text to Columns splits by comma, space or fixed width.
- Standardise case with PROPER, UPPER, LOWER and TRIM.
Practical example
Full names 'Asha Rao' split into first and last name; phone numbers standardised to +91 format.
Tool or software
Microsoft Excel (Windows or Microsoft 365 web)
Hands-on exercise
Clean a list of 200 customer names and phone numbers; document each step.
Common mistakes
Using Flash Fill on data with mixed patterns without checking the result.
Interview question
How would you split a column of 'City, State' values in Excel?
Official and further reading
B1.2 Excel macros and VBA: recording and writing automation
What is it?
A macro is a recorded or written set of steps. VBA (Visual Basic for Applications) is the language behind macros in Excel.
Why is it important?
Repetitive monthly reports can run in seconds instead of hours, and a macro can be checked and reused.
Where is it used in industry?
Common in finance, operations and back-office teams.
How does it work?
- Developer tab > Record Macro, perform the steps, stop recording.
- Alt+F11 opens the VBA editor to read or write code.
- Save macro-enabled files as .xlsm and sign or review macros from unknown sources.
Practical example
A macro formats a monthly sales sheet, removes blank rows and saves it as a PDF.
Tool or software
Microsoft Excel VBA editor
Hands-on exercise
Record a macro that formats a table and then edit its code to add a loop over three sheets.
Common mistakes
Recording macros without reading the code; hard-coded cell addresses break when data moves.
Interview question
What is the risk of running macros from an unknown file?
Official and further reading
B1.3 Office Scripts and AI-assisted Excel formulas
What is it?
Office Scripts are TypeScript automations for Excel on the web. AI tools can draft formulas, but each formula must be checked.
Why is it important?
Office Scripts run in Microsoft 365 without desktop macros, and can be triggered by Power Automate.
Where is it used in industry?
Used in Microsoft 365 teams to automate reports that refresh on a schedule.
How does it work?
- Automate > New Script in Excel on the web.
- Scripts can be run by Power Automate on a schedule.
- AI-written formulas are tested on a sample before use.
Practical example
A script creates a summary sheet each Monday; Power Automate runs it and emails the file.
Tool or software
Excel on the web, Power Automate
Hands-on exercise
Write an Office Script that adds a totals row and run it.
Common mistakes
Trusting an AI formula without checking edge cases such as blanks and errors.
Interview question
What is an Office Script and how does it differ from VBA?
Official and further reading
B1.4 Excel business projects from the prompt (not yet in the course)
What is it?
Projects: customer complaint analysis, financial performance tracker, employee productivity dashboard, customer segmentation and sales performance dashboard.
Why is it important?
Portfolio projects show the skills to employers, with real business questions.
Where is it used in industry?
Analyst roles in every industry.
How does it work?
- Brief: business question, data, deliverable, metric.
- Clean, model, analyse, visualise, recommend.
- Write a one-page summary for a manager.
Practical example
Complaint analysis: count complaints by category and month, flag repeat customers, recommend two fixes with expected impact.
Tool or software
Excel
Hands-on exercise
Complete the complaint analysis brief with a sample dataset you create.
Common mistakes
Dashboards with no question or recommendation.
Interview question
How would you analyse customer complaints for a telecom company?
Official and further reading
B2 SQL Extras for Analysts and Data Engineers (course Module 2 gaps)
B2.1 Recursive CTEs and hierarchies
What is it?
A recursive CTE repeats a query until no new rows appear, used for hierarchies such as organisation charts or bill-of-materials.
Why is it important?
Hierarchical data appears in HR, product and supply chain systems.
Where is it used in industry?
Org charts, category trees and supply chains.
How does it work?
- WITH RECURSIVE tree AS (anchor UNION ALL recursive step).
- The recursive step joins the CTE to the table again.
- Always include a stop condition to avoid endless loops.
Practical example
WITH RECURSIVE reports AS (SELECT id, manager_id, 1 AS level FROM staff WHERE manager_id IS NULL UNION ALL SELECT s.id, s.manager_id, r.level+1 FROM staff s JOIN reports r ON s.manager_id = r.id) SELECT * FROM reports;
Tool or software
PostgreSQL
Hands-on exercise
Build the reporting-level query for a staff table of 20 people.
Common mistakes
Forgetting the stop condition.
Interview question
How would you find everyone who reports to a manager at any depth?
Official and further reading
B2.2 Percentiles, medians and distribution queries
What is it?
Percentiles show the value below which a given share of rows fall. PERCENTILE_CONT interpolates; PERCENTILE_DISC picks an actual value.
Why is it important?
Medians and percentiles describe skewed business data (order values, delivery times) better than averages.
Where is it used in industry?
Used for SLA reporting and pricing analysis.
How does it work?
- PERCENTILE_CONT(0.5) WITHIN GROUP (ORDER BY amount) is the median in PostgreSQL.
- Check the database's exact syntax; platforms differ.
Practical example
The 90th percentile of delivery time per city, to report SLA breaches.
Tool or software
PostgreSQL
Hands-on exercise
Compute median and 90th percentile order value per region on a sample of 10,000 orders.
Common mistakes
Using AVG for skewed data without checking the median.
Interview question
Why report the median rather than the mean for delivery times?
Official and further reading
B2.3 Business SQL: cohort, funnel, churn, CLV and retention
What is it?
Cohort analysis groups customers by first purchase month and tracks their activity over time. Funnel analysis counts users at each step. Churn is the share lost in a period. CLV (customer lifetime value) estimates profit per customer over time.
Why is it important?
These are the core metrics in e-commerce, SaaS, banking and telecom analytics.
Where is it used in industry?
Used by growth, marketing and customer success teams.
How does it work?
- Cohort: first_month per customer, then count active customers by months since first purchase.
- Funnel: count distinct users per step, then divide.
- Churn: customers active last period and not this period, divided by active last period.
- CLV (simple): average order value x purchase frequency x expected years.
Practical example
Cohort retention table: rows are first-purchase months, columns are months since first purchase, values are the share still buying.
Tool or software
PostgreSQL, sample e-commerce data
Hands-on exercise
Build a cohort table for 12 months of sample orders and explain the drop after month 1.
Common mistakes
Counting orders instead of distinct customers.
Interview question
How do you calculate monthly churn with SQL?
Official and further reading
B2.4 Incremental loading and data-quality SQL
What is it?
Incremental loading processes only new or changed rows using a watermark. Data-quality SQL tests check duplicates, nulls and orphans.
Why is it important?
Full reloads become too slow and expensive as data grows.
Where is it used in industry?
Standard in data warehouse loading.
How does it work?
- Store the last loaded timestamp.
- Select rows with updated_at greater than the watermark.
- Check: SELECT key, COUNT(*) FROM t GROUP BY key HAVING COUNT(*) > 1.
Practical example
Load only orders updated since yesterday, then run a duplicate check on order_id.
Tool or software
PostgreSQL
Hands-on exercise
Build an incremental load with a watermark table and two quality checks.
Common mistakes
Using a watermark based on load time instead of source update time.
Interview question
How do you load only new data into a warehouse table?
Official and further reading
B2.5 Database platforms: SQL Server, BigQuery, Snowflake and Databricks SQL
What is it?
The same SQL idea works on several platforms; each has its own functions, pricing and performance features.
Why is it important?
Job descriptions name platforms; you should know the differences in syntax, pricing model and tuning.
Where is it used in industry?
Enterprises use SQL Server; cloud analytics teams use BigQuery, Snowflake or Databricks SQL.
How does it work?
- SQL Server: T-SQL, SSMS, indexes and columnstore.
- BigQuery: pay per bytes scanned; partition and cluster tables.
- Snowflake: virtual warehouses, pay per compute time.
- Databricks SQL: SQL over Delta tables.
Practical example
The same daily revenue query runs on BigQuery with partitioned tables to cut scan cost.
Tool or software
BigQuery sandbox (check current terms), Snowflake trial (check terms)
Hands-on exercise
Run one query on two platforms and compare how they are priced and tuned.
Common mistakes
Writing SELECT * on pay-per-scan platforms.
Interview question
How does BigQuery pricing change how you write queries?
Official and further reading
B3 Business Problem-Solving and Analytics Consulting (course Module 16 gap)
B3.1 Business KPIs, models and process mapping
What is it?
A KPI is a measured result tied to a goal. A business model explains how money is made; process mapping shows each step of a workflow.
Why is it important?
Analysts who know the business choose the right metric and find the real problem.
Where is it used in industry?
Consultants and analysts in banking, retail and healthcare start here.
How does it work?
- Start from the goal, then the KPI, then the driver metrics.
- Map the process step by step with owners and times.
- Mark the bottleneck and the cost of delay.
Practical example
Loan approval takes 9 days; mapping shows 5 days in document collection. The KPI is time to approval; the driver is documents received on day 1.
Tool or software
Miro or draw.io for process maps
Hands-on exercise
Map one process you know, with three KPIs and one bottleneck.
Common mistakes
Choosing vanity metrics.
Interview question
What is the difference between a KPI and a driver metric?
Official and further reading
B3.2 Problem discovery: stakeholder interviews, Five Whys and fishbone analysis
What is it?
Stakeholder interviews collect pain points. Five Whys asks why repeatedly to reach a root cause. A fishbone diagram groups causes into categories (people, process, tools, data).
Why is it important?
Solving the symptom wastes money; the root cause is what to fix.
Where is it used in industry?
Used in operations, quality and consulting projects.
How does it work?
- Interview 5 to 8 people across roles.
- Write a problem statement: who, what, impact, how often.
- Five Whys: ask why until the cause is a process or system you can change.
- Fishbone: list causes under each category.
Practical example
Problem: late deliveries. Why 1: stock is out. Why 2: forecast is wrong. Why 3: sales data is a week late. Root cause: weekly data load.
Tool or software
Whiteboard, Miro
Hands-on exercise
Run a Five Whys on a problem from your work and write the root cause.
Common mistakes
Stopping at the first answer.
Interview question
How would you find the root cause of rising returns?
Official and further reading
B3.3 Hypotheses, analytical questions and recommendations
What is it?
A hypothesis is a testable statement. Analysis answers a question with data; a recommendation says what to do and what result to expect.
Why is it important?
Recommendations that are not tied to a question and a measure are ignored.
Where is it used in industry?
Consultants and analysts present recommendations to executives.
How does it work?
- Write the question, then the hypothesis, then the data needed.
- Test it with the data; state what would prove it wrong.
- Recommend an action with an owner and a measure.
Practical example
Hypothesis: a reminder email reduces missed appointments by 15%. Test with an A/B split over four weeks.
Tool or software
Excel, SQL, Python
Hands-on exercise
Write three hypotheses for a shop's falling sales and the data test for each.
Common mistakes
Recommendations without expected impact.
Interview question
How do you turn an analysis into a recommendation?
Official and further reading
B4 Requirements, Communication and Delivery
B4.1 Requirements, user stories, acceptance criteria and PRDs
What is it?
Requirements say what the solution must do. User stories describe value from the user's view. Acceptance criteria say how to test it. A PRD (product requirements document) gathers these.
Why is it important?
Clear requirements stop rework and disputes with stakeholders.
Where is it used in industry?
Product, analytics and BI teams write these every week.
How does it work?
- Story: As a [role], I want [need], so that [benefit].
- Acceptance: Given [context], when [action], then [result].
- Non-functional requirements: speed, security, accuracy, availability.
Practical example
As an operations manager, I want a daily late-order list, so that I can call customers before 10:00. Given an order is late by 2 hours, then it appears on the list by 08:00.
Tool or software
Jira, Confluence
Hands-on exercise
Write five user stories with acceptance criteria for a dashboard.
Common mistakes
Stories without testable criteria.
Interview question
What is an acceptance criterion?
Official and further reading
B4.2 Communicating insights and data storytelling
What is it?
Data storytelling states the main message first, shows the evidence in one chart, and ends with the decision needed.
Why is it important?
Executives decide from short, clear messages. Long reports go unread.
Where is it used in industry?
Analysts, FDEs and consultants present to leaders weekly.
How does it work?
- Start with the answer.
- One chart per message.
- Name the decision, the owner and the date.
Practical example
Slide: Churn rose 4 points in March, driven by two plans. Decision: fix onboarding for those plans by May.
Tool or software
PowerPoint, Power BI
Hands-on exercise
Turn a 10-slide report into a 3-slide summary with a decision.
Common mistakes
Showing every chart on the dashboard.
Interview question
How would you present bad news to a manager?
Official and further reading
B4.3 Agile and project delivery for analytics teams
What is it?
Agile delivers in short cycles with a backlog, sprints and reviews. Kanban shows flow on a board. Delivery management tracks scope, risk and dependencies.
Why is it important?
Analytics work is often unclear at the start; short cycles show progress and adjust scope.
Where is it used in industry?
Used by data and product teams across industries.
How does it work?
- Backlog ordered by value.
- Sprint of 1 to 2 weeks with a goal.
- Review with stakeholders; retrospect and improve.
Practical example
A two-week sprint delivers the first version of a sales dashboard; the review finds two new metrics to add.
Tool or software
Jira, Trello
Hands-on exercise
Plan a four-week analytics project in four sprints with goals.
Common mistakes
Planning without stakeholder reviews.
Interview question
How do you run an analytics project in sprints?
Official and further reading
B5 Data Governance, Privacy and Responsible AI (course Module 15 gap)
B5.1 Data ownership, stewardship and retention
What is it?
An owner decides who may use a dataset; a steward keeps it accurate. Retention sets how long data is kept.
Why is it important?
Clear ownership makes fixes happen; retention limits risk and cost.
Where is it used in industry?
Required in banking, insurance and health data.
How does it work?
- Each dataset has one owner and one steward.
- Retention period written in policy.
- Deletion runs on schedule.
Practical example
Customer call recordings kept 90 days, then deleted by a scheduled job with a log.
Tool or software
Catalogue tools (see A4.3)
Hands-on exercise
Write a data ownership sheet for five tables in a sales system.
Common mistakes
No owner for shared tables.
Interview question
Who should own customer data in a bank?
Official and further reading
B5.2 Privacy: GDPR and India's Digital Personal Data Protection Act
What is it?
Privacy laws set rules for collecting, using, storing and deleting personal data. GDPR applies to EU residents' data; India's DPDP Act 2023 covers digital personal data in India.
Why is it important?
Breaches and fines follow poor privacy design. Analysts must minimise and protect personal data.
Where is it used in industry?
Every customer-data project in India or Europe.
How does it work?
- Collect only what is needed (data minimisation).
- Record consent and purpose.
- Give people access, correction and deletion rights where the law requires.
- Report breaches as the law requires.
Practical example
A marketing dataset removes phone numbers not needed for the campaign and keeps a consent flag for each contact.
Tool or software
Data inventory sheet
Hands-on exercise
Review a sample dataset and list the personal fields, purpose and retention for each.
Common mistakes
Copying production personal data into test files.
Interview question
What is data minimisation?
Official and further reading
B5.3 Data masking, row-level security and access control
What is it?
Masking hides sensitive values (for example showing the last four digits). Row-level security limits which rows a user sees.
Why is it important?
Analysts need data without exposing personal details.
Where is it used in industry?
Used in banks, HR and healthcare analytics.
How does it work?
- Mask in queries or in the database.
- Power BI and database RLS filter rows by user.
- Audit who accessed sensitive tables.
Practical example
A regional manager sees only their region's rows in the Power BI report through RLS.
Tool or software
Power BI RLS, PostgreSQL row-level security
Hands-on exercise
Set up a row filter for two regions and test it with two users.
Common mistakes
Relying on report-level hiding instead of security at the data layer.
Interview question
How do you stop an analyst from seeing salary data they should not see?
Official and further reading
B5.4 Responsible AI, threat modelling and incident response
What is it?
Responsible AI covers fairness, transparency, human oversight and security. Threat modelling lists assets, threats and controls. Incident response plans how to act when something goes wrong.
Why is it important?
AI systems can leak data, be manipulated (prompt injection) or treat groups unfairly.
Where is it used in industry?
Required for AI products in regulated sectors.
How does it work?
- Check model performance by group.
- Threat model: data, prompts, tools, outputs.
- Plan detection, containment, fix and communication for incidents.
Practical example
A chatbot leaks an internal price list through prompt injection; the incident plan disables the tool, rotates keys and updates guardrails.
Tool or software
OWASP Top 10 for LLM Applications
Hands-on exercise
Write a threat model for an AI chatbot with five threats and controls.
Common mistakes
Treating guardrails as a complete solution.
Interview question
How would you test an AI assistant for prompt injection?
Official and further reading
B6 Production Python for Automation (course Module 6 gaps)
B6.1 Automation: email, scheduled scripts and report generation
What is it?
Automation scripts run on a schedule, read files or APIs, produce reports and send them to people.
Why is it important?
Manual reports waste time and are error-prone.
Where is it used in industry?
Common in every analytics team.
How does it work?
- Use a scheduler (cron, Task Scheduler, Airflow).
- Send email with smtplib or a provider API; never store passwords in code.
- Log each run and alert on failure.
Practical example
A script runs at 07:00, builds the daily sales PDF and emails it to managers.
Tool or software
Python, smtplib, cron
Hands-on exercise
Automate a daily CSV summary and log each run.
Common mistakes
Hard-coded passwords.
Interview question
How would you schedule a Python report and handle failures?
Official and further reading
B6.2 Logging, type hints, packaging and code organisation
What is it?
Logging records what a program does. Type hints document expected types and let tools catch mistakes. Packaging makes code installable.
Why is it important?
Production code must be readable, observable and reusable.
Where is it used in industry?
Expected in data engineering and software roles.
How does it work?
- logging.basicConfig with levels (INFO, WARNING, ERROR).
- def total(values: list[float]) -> float.
- pyproject.toml defines the package.
Practical example
A pipeline module logs row counts and fails with a clear message on bad input.
Tool or software
Python logging, mypy (check docs)
Hands-on exercise
Add logging and type hints to one of your scripts and run mypy.
Common mistakes
Logging secrets.
Interview question
What should a production log include?
Official and further reading
B7 Recommendation Systems (course Module 7 gap)
B7.1 Recommendation systems: collaborative and content-based
What is it?
Recommenders suggest items. Collaborative filtering uses patterns across users; content-based filtering uses item features; hybrid systems combine both.
Why is it important?
Recommendations drive sales and engagement in e-commerce, streaming and banking.
Where is it used in industry?
Retail, media and fintech product teams.
How does it work?
- Build a user-item matrix.
- Measure similarity between users or items.
- Evaluate with precision at k and hit rate on held-out interactions.
Practical example
Users who bought the same two products get a suggestion of a third product bought by most of them.
Tool or software
scikit-learn, pandas, Surprise library (open source)
Hands-on exercise
Build an item-based recommender on a sample ratings file and report precision at 5.
Common mistakes
Recommending items the user already owns.
Interview question
How would you recommend products to a new user with no history?
Official and further reading
B7.2 Regression metrics reference: MAE, MSE, RMSE and R-squared
What is it?
MAE is the average absolute error; MSE the average squared error; RMSE its square root, in the same units as the target; R-squared the share of variation explained.
Why is it important?
Choosing the right error metric matches the business cost of mistakes.
Where is it used in industry?
Forecasting and pricing teams.
How does it work?
- MAE is robust to outliers; RMSE punishes large errors.
- R-squared can mislead when models are very flexible.
Practical example
A delivery-time model has RMSE 2.5 days: typical error is about two and a half days.
Tool or software
scikit-learn metrics
Hands-on exercise
Compute MAE, RMSE and R-squared for a regression and explain each to a manager.
Common mistakes
Using R-squared alone to judge a model.
Interview question
When would you prefer MAE over RMSE?
Official and further reading
B8 APIs, OpenAPI, OAuth and Integration Depth (Module 13 gaps)
B8.1 OpenAPI and Swagger: describing APIs
What is it?
OpenAPI is a standard file (YAML or JSON) that describes an API's endpoints, parameters and responses. Swagger UI shows it as interactive documentation.
Why is it important?
Integrators and AI tools read OpenAPI files to call APIs correctly.
Where is it used in industry?
Every API-first company publishes OpenAPI specs.
How does it work?
- Paths and methods.
- Parameters and request bodies.
- Responses and schemas.
- Security schemes.
Practical example
An OpenAPI file describes GET /orders?status=open and its response schema.
Tool or software
Swagger Editor
Hands-on exercise
Write an OpenAPI description for two endpoints of your own app.
Common mistakes
Specs that are not kept in sync with the code.
Interview question
What is OpenAPI used for?
Official and further reading
B8.2 OAuth 2.0 in depth and secure tokens
What is it?
OAuth 2.0 lets an app act for a user without the user's password. The app gets an access token with limited scopes; the user approves the access.
Why is it important?
Integrations with Google, Microsoft, Slack and CRMs use OAuth. Mistakes leak data.
Where is it used in industry?
Every SaaS integration.
How does it work?
- Authorisation code flow with PKCE for apps.
- Scopes limit what the token can do.
- Tokens expire; refresh tokens renew them.
- Never put tokens in URLs or logs.
Practical example
A Slack bot asks for chat:write scope only; the token is stored in a secrets manager.
Tool or software
Postman OAuth helper
Hands-on exercise
Get an OAuth token from a sandbox provider and call one endpoint with it.
Common mistakes
Using long-lived tokens in code.
Interview question
What is the difference between authentication and authorisation in OAuth?
Official and further reading
B8.3 MCP security and business integration examples
What is it?
MCP servers expose tools to AI clients. Security needs scoped permissions, user consent for sensitive tools, and logs. Integration examples cover CRM, ERP, Jira, Slack and Notion.
Why is it important?
A badly scoped MCP tool can change business data.
Where is it used in industry?
AI-enabled business tools in every sector.
How does it work?
- Expose read tools first; add write tools with approval.
- Scope each tool to one system and user role.
- Log every tool call.
Practical example
An MCP server lets the assistant read Jira tickets but needs approval to close them.
Tool or software
MCP documentation (official)
Hands-on exercise
Design an MCP tool list for a support team with read and write tools marked.
Common mistakes
Giving an AI client admin tokens.
Interview question
How would you secure an MCP server that writes to a CRM?
Official and further reading
B9 Linux and the Command Line (Part C gap)
B9.1 Linux and terminal essentials for data work
What is it?
Linux is the server operating system most data platforms run on. The command line lets you manage files, processes and services.
Why is it important?
Cloud servers, containers and CI runners are Linux; you need the terminal to debug them.
Where is it used in industry?
Data engineering and DevOps roles.
How does it work?
- Navigate: pwd, ls, cd, find, grep.
- Files: cat, head, tail -f, cp, mv, chmod.
- Processes: ps, top, kill.
- Pipes and redirection: |, >, >>.
Practical example
tail -f pipeline.log | grep ERROR shows errors live as the pipeline runs.
Tool or software
Any Linux or WSL terminal
Hands-on exercise
Find all ERROR lines in a log file from the last 1,000 lines and count them.
Common mistakes
Running commands from unknown sources.
Interview question
How would you find which process is using port 8080?
Official and further reading
B10 Technical Documentation and Production Troubleshooting (Part C gap)
B10.1 Technical documentation and runbooks
What is it?
Documentation explains what a system does, how to run it and how to fix it. A runbook is a step-by-step guide for common incidents.
Why is it important?
Handover and on-call work fail without documentation.
Where is it used in industry?
Required in every production team.
How does it work?
- README: purpose, setup, run, owners.
- Data dictionary: tables, columns, meanings.
- Runbook: symptom, check, fix, escalation.
Practical example
A runbook for 'dashboard shows yesterday's numbers': check the pipeline run, re-run the failed task, notify the owner.
Tool or software
Markdown, Confluence
Hands-on exercise
Write a runbook for one failure in your project.
Common mistakes
Documentation written once and never updated.
Interview question
What should a runbook contain?
Official and further reading
B10.2 Production troubleshooting for data pipelines and AI apps
What is it?
Troubleshooting finds why a live system fails: check what changed, read logs, reproduce, fix, verify and review.
Why is it important?
Stakeholders judge data teams on how fast and calmly they recover.
Where is it used in industry?
On-call data engineers and FDEs.
How does it work?
- Confirm impact and mitigate first (rerun, roll back, switch source).
- Check recent changes, logs and upstream freshness.
- Fix the root cause and add a test or alert.
- Write a short post-incident review.
Practical example
A dashboard is wrong: an upstream schema change renamed a column; the fix maps the new name and a schema-change alert is added.
Tool or software
Airflow logs, dbt docs, cloud logs
Hands-on exercise
Inject a broken schema change in a sample pipeline and write the incident note.
Common mistakes
Fixing without finding the cause.
Interview question
A pipeline failed at 3 am. What do you do first?
Official and further reading
B11 OLTP vs OLAP in Depth (Module 2 gap)
B11.1 OLTP and OLAP: two kinds of database work
What is it?
OLTP (online transaction processing) systems record many small, fast changes; OLAP (online analytical processing) systems answer big questions over lots of history.
Why is it important?
Running heavy reports on the app database slows the app for customers; designing an analytics model like an app database makes reports slow and complex.
Where is it used in industry?
Every product company has both: the app's database (OLTP) and a warehouse or lakehouse for reporting (OLAP).
How does it work?
- OLTP: many users, single-row reads and writes in milliseconds, normalised tables, row storage, strict transactions (ACID). Examples: PostgreSQL, MySQL, SQL Server for an app.
- OLAP: fewer users, queries over millions of rows, denormalised star schemas, columnar storage, data refreshed in batches or streams. Examples: BigQuery, Snowflake, Redshift, Fabric, Databricks SQL.
- Data moves from OLTP to OLAP through ETL or ELT pipelines, often with change data capture.
- Some databases handle both (HTAP), but most teams still separate the workloads.
Practical example
A food-delivery app writes each order to PostgreSQL (OLTP). Every night the orders flow into BigQuery (OLAP), where a star schema answers 'revenue by city by week' in seconds.
Tool or software
PostgreSQL or MySQL for OLTP; BigQuery, Snowflake or DuckDB for OLAP practice
Hands-on exercise
Take an orders schema in third normal form and redesign it as a star schema with one fact table and three dimensions. List which queries get simpler.
Common mistakes
Running month-end reports directly on the production database during business hours.
Interview question
What is the difference between OLTP and OLAP, and why do companies separate them?
Official and further reading
B12 Power BI in Depth (Module 3 gaps)
B12.1 Copilot in Power BI
What is it?
Copilot is Microsoft's AI assistant inside Power BI. It can suggest report pages, summarise visuals in plain language and help write DAX from a description.
Why is it important?
It speeds up first drafts, but its output must be checked like any junior analyst's work.
Where is it used in industry?
Used by BI teams to draft report pages and narrative summaries for business users.
How does it work?
- Copilot needs a paid Fabric or Premium capacity and an admin setting to be enabled; check current licensing in Microsoft's documentation.
- Prepare the model first: clear table and column names, descriptions and a proper date table make answers better.
- Ask for a report page or a summary of the current visuals in plain language.
- Review every visual, filter and number; edit or delete what is wrong.
Practical example
A sales manager asks Copilot to 'create a page showing revenue by region and month with the top 5 products'. The analyst checks totals against a known measure before publishing.
Tool or software
Power BI Service or Desktop with Copilot enabled on a Fabric capacity
Hands-on exercise
If you have access, ask Copilot for one report page and list every change you had to make. If not, write the same request as a specification and build it yourself.
Common mistakes
Publishing AI-generated visuals without checking filters, totals and date ranges.
Interview question
How would you use Copilot in Power BI responsibly?
Official and further reading
B12.2 Deployment pipelines: development, test and production
What is it?
Deployment pipelines move Power BI content through stages (development, test, production) so changes are checked before users see them.
Why is it important?
Editing the live report directly risks breaking dashboards that leaders use every day.
Where is it used in industry?
Enterprise BI teams use stages with different data sources and reviewers.
How does it work?
- Create a pipeline in the Power BI Service and assign a workspace to each stage (requires a Premium or Fabric capacity; check current requirements).
- Build in development, deploy to test and review with users, then deploy to production.
- Use deployment rules to point each stage at the right data source or parameter.
- Compare stages before deploying to see what changed.
Practical example
A finance dashboard is changed in development, checked by two finance users in test against last month's closed numbers, then deployed to production.
Tool or software
Power BI Service deployment pipelines; Git integration in Fabric for version control
Hands-on exercise
Write the deployment checklist you would use before promoting a report to production.
Common mistakes
Testing against different data than production uses, so issues appear only after release.
Interview question
How do you release changes to a widely used Power BI report safely?
Official and further reading
B12.3 Incremental refresh
What is it?
Incremental refresh reloads only recent data (for example the last 10 days) and keeps older history, instead of reloading the whole table every time.
Why is it important?
Full refreshes of large tables are slow and can hit time limits; incremental refresh makes them fast and reliable.
Where is it used in industry?
Used on large fact tables such as transactions, events and logs.
How does it work?
- Create two parameters named RangeStart and RangeEnd (Date/Time type) in Power Query.
- Filter the date column using these parameters so the source can return only that range.
- Define the policy on the table: how much history to store and how much to refresh.
- Publish; the service partitions the table and refreshes only the recent partitions.
- Check that the filter folds to the source query, or refresh will still read everything.
Practical example
A 5-year transactions table stores 5 years and refreshes the last 7 days each night, cutting refresh time from 40 minutes to 3.
Tool or software
Power BI Desktop (Power Query parameters) and Power BI Service
Hands-on exercise
Set up RangeStart and RangeEnd on a sample table and write down the policy you would choose for a daily sales table.
Common mistakes
Filtering on a column that does not fold to the source, so the full table is still read.
Interview question
When and how would you use incremental refresh in Power BI?
Official and further reading
B12.4 Industry dashboards: HR, finance, marketing and operations
What is it?
Each business function tracks a standard set of measures. Knowing them lets you design a useful dashboard on the first attempt.
Why is it important?
Interview case studies and real projects usually ask for one of these four dashboards.
Where is it used in industry?
Every company with a BI team builds these four dashboards.
How does it work?
- HR: headcount, hires, attrition rate (leavers ÷ average headcount), time to hire, absenteeism, diversity mix, attrition by tenure band.
- Finance: revenue, gross margin %, operating expenses vs budget, EBITDA, cash flow, days sales outstanding, variance to forecast.
- Marketing: spend by channel, leads, cost per lead, conversion rate by funnel stage, customer acquisition cost, return on ad spend, campaign ROI.
- Operations: orders, on-time delivery %, average fulfilment time, backlog, defect or return rate, capacity utilisation, cost per order.
- Design for each: one headline row of 4–6 KPIs with targets, trends over time, one breakdown, and a drill-through to detail.
Practical example
An operations dashboard shows on-time delivery at 91% against a 95% target, a weekly trend, a breakdown by city that reveals one late warehouse, and a drill-through to late orders.
Tool or software
Power BI or Tableau with a star schema per function
Hands-on exercise
Pick one of the four functions and sketch the dashboard: KPIs with formulas, targets, charts and filters.
Common mistakes
Showing every available metric instead of the few that drive decisions.
Interview question
Which KPIs would you put on an HR attrition dashboard, and how would you calculate them?
Official and further reading
B13 AI for Data Analysis, Hands-on (Module 5 gaps)
B13.1 Anomaly detection with AI and Python
What is it?
Anomaly detection finds values that break the usual pattern, such as a sudden drop in orders or a spike in refunds.
Why is it important?
Catching problems early saves money; checking every chart by eye does not scale.
Where is it used in industry?
Payments (fraud), e-commerce (sales drops), operations (sensor faults) and product analytics (broken tracking).
How does it work?
- Start simple: compare each day with a rolling average and flag values more than 3 standard deviations away (rolling z-score).
- Account for seasonality: compare with the same weekday last week or use a model with weekly seasonality.
- For many variables, try an Isolation Forest (scikit-learn).
- In Power BI, line charts have a built-in Find anomalies option that explains possible drivers.
- Review flagged points with the business before alerting; tune thresholds to avoid alert fatigue.
Practical example
Daily refunds average 120 with a standard deviation of 15; a day with 190 has z ≈ 4.7 and is flagged; the cause is a delayed delivery partner in one city.
Tool or software
pandas rolling().mean()/std(); scikit-learn IsolationForest; Power BI Find anomalies
Hands-on exercise
On a daily metric, compute a 28-day rolling z-score in pandas, flag |z| > 3, and explain the top three flags.
Common mistakes
Alerting on every small spike, or ignoring weekly seasonality and flagging every Monday.
Interview question
How would you detect unusual drops in daily orders automatically?
Official and further reading
B13.2 Forecasting with Excel, Power BI and Python
What is it?
Forecasting predicts future values, such as next quarter's sales, from past data.
Why is it important?
Plans for stock, staffing and budgets depend on forecasts; a simple, honest forecast with a range beats a precise-looking guess.
Where is it used in industry?
Retail demand, call-centre staffing, revenue planning and inventory.
How does it work?
- Plot the history and look for trend and seasonality.
- Excel: FORECAST.ETS and the Forecast Sheet give a seasonal forecast with a confidence range.
- Power BI: the Analytics pane adds a forecast to line charts.
- Python: statsmodels (Holt-Winters, SARIMA) or Prophet for trend, seasonality and holidays.
- Hold out the last few periods, compare forecast with actual, and report MAPE or MAE before using the forecast.
Practical example
Monthly sales for 3 years are forecast for the next 6 months with Holt-Winters; on the 6-month holdout the MAPE is 7%, so the plan uses the forecast with a ±10% range.
Tool or software
Excel FORECAST.ETS; Power BI forecast; Python statsmodels or Prophet
Hands-on exercise
Forecast 6 months of a public monthly series in Excel and in Python, and compare MAPE on a holdout.
Common mistakes
Reporting a single number without a range, or testing on the data used to fit the model.
Interview question
How would you forecast next quarter's demand, and how would you know if the forecast is good?
Official and further reading
B13.3 AI-generated DAX, and how to check it
What is it?
Using ChatGPT, Claude, Gemini or Copilot to write DAX measures from a plain-language description.
Why is it important?
It saves time on syntax, but DAX depends on your model and filter context, so plausible-looking measures can be wrong.
Where is it used in industry?
BI developers use AI to draft measures, then test them.
How does it work?
- Give the AI your table and column names, relationships and the exact definition you need.
- Ask for the measure with VAR/RETURN and a short explanation.
- Test in a matrix against values you can calculate by hand (one month, one region).
- Check totals and blank handling; use DIVIDE for ratios.
- Keep the final measure documented in the model.
Practical example
Prompt: 'Tables Sales[Amount], Sales[OrderDate] linked to 'Date'[Date]. Write a DAX measure for sales growth vs the same month last year, returning blank if last year is blank.' Then check one month by hand.
Tool or software
ChatGPT, Claude, Gemini or Copilot; Power BI Desktop for testing
Hands-on exercise
Ask an AI for three measures (YTD, last-year growth, share of total), test each against hand calculations, and note any fixes.
Common mistakes
Pasting AI-generated DAX without testing it under different filters.
Interview question
How do you verify a DAX measure that an AI wrote for you?
Official and further reading
B13.4 Choosing AI tools for analysis: Julius AI, NotebookLM, Perplexity and general assistants
What is it?
A comparison of popular AI tools for analysis work, so you pick the right one for the job.
Why is it important?
Each tool is good at different things; using the wrong one wastes time or gives unreliable answers.
Where is it used in industry?
Analysts, researchers and consultants use these for data questions, reading documents and web research.
How does it work?
- Julius AI: upload a spreadsheet or CSV and ask questions; it writes and runs code to make tables and charts. Good for quick exploratory analysis.
- NotebookLM (Google): add your own documents and ask questions answered only from them, with citations. Good for reports, policies and research papers.
- Perplexity: answers questions by searching the web, with source links. Good for market and competitor research; check the sources.
- ChatGPT, Claude and Gemini: general assistants that also analyse uploaded files and write code. Good for mixed tasks.
- For every tool: do not upload confidential or personal data unless your company has approved it, and verify numbers against the source.
Practical example
An analyst uses Julius AI to explore a sales CSV, NotebookLM to summarise three internal research reports, and Perplexity to check competitor pricing news, citing every source.
Tool or software
Julius AI, NotebookLM, Perplexity, ChatGPT, Claude, Gemini (features and plans change; check each site)
Hands-on exercise
Run the same question on one dataset or document in two tools and compare accuracy, citations and time taken.
Common mistakes
Trusting answers without checking sources, or uploading private data to an unapproved tool.
Interview question
Which AI tool would you use to analyse a CSV, to read a set of PDFs, and to research a market, and why?
Official and further reading
B14 Business Statistics Cases (Module 6 gap)
B14.1 Worked case: revenue forecasting for a business plan
What is it?
Using simple statistics to turn past revenue into a forecast with a range that a business can plan with.
Why is it important?
Finance and leadership decisions need a forecast with honest uncertainty, not a single hopeful number.
Where is it used in industry?
Annual plans, investor updates and budget reviews.
How does it work?
- Collect 24–36 months of revenue; remove one-off events or mark them.
- Split revenue into drivers: customers × orders per customer × average order value.
- Estimate each driver's trend and seasonality (month-of-year index).
- Combine into a base case, then build a low and a high case from the historical variation (for example ±1 standard deviation of monthly growth).
- Check the method by forecasting last year from the year before and measuring MAPE.
Practical example
Average monthly growth was 2.0% with a standard deviation of 1.5 points; the plan uses 2.0% (base), 0.5% (low) and 3.5% (high), so monthly revenue of ₹1.2 crore today becomes about ₹1.27 crore (low), ₹1.52 crore (base) or ₹1.81 crore (high) in 12 months (1.2 × 1.005¹², 1.2 × 1.02¹², 1.2 × 1.035¹²).
Tool or software
Excel or Google Sheets; Python pandas for the backtest
Hands-on exercise
Build a driver-based forecast for a public company's quarterly revenue with base, low and high cases, and backtest one year.
Common mistakes
Forecasting total revenue directly without understanding which driver moves it.
Interview question
How would you forecast next year's revenue for a subscription business?
Official and further reading
B14.2 Worked case: risk analysis with expected value and simulation
What is it?
Quantifying risk by combining how likely something is with how much it would cost, and simulating many possible outcomes.
Why is it important?
Turns vague worries into numbers that can be compared and prioritised.
Where is it used in industry?
Credit risk in lending, supply risk in operations, project risk and insurance.
How does it work?
- List risks; estimate probability and impact for each.
- Expected loss = probability × impact; rank risks by expected loss.
- Where inputs are uncertain, use a range and run a Monte Carlo simulation (thousands of random draws).
- Report the average and a bad-case percentile (for example the 95th) of the simulated loss.
- Revisit estimates as real data arrives.
Practical example
A supplier delay has a 10% chance and ₹20 lakh impact (expected loss ₹2 lakh); a data breach has a 1% chance and ₹5 crore impact (expected loss ₹5 lakh), so the breach is the higher priority.
Tool or software
Excel RAND() with Data Tables; Python NumPy for simulation
Hands-on exercise
Simulate 10,000 outcomes for a project with three uncertain cost items and report the mean and 95th percentile total cost.
Common mistakes
Ranking risks by impact only and ignoring probability, or presenting simulated numbers as certain.
Interview question
How would you compare and prioritise business risks with numbers?
Official and further reading
12-month roadmap and tracker
Months 1–2 Foundation
Study: Excel (module 1), SQL basics (module 2), basic statistics, business analytics basics. About 10 hours a week.
- Excel cleaning and lookups done
- SQL SELECT, joins and GROUP BY practised
- Descriptive statistics on one dataset
Milestone: A cleaned dataset with a 5-metric summary
Assessment: Timed SQL test and an Excel cleaning exercise
Months 3–4 Business intelligence
Study: Power BI (module 3), star schema and DAX, dashboard design. About 10 hours a week.
- Star schema built
- CALCULATE and time-intelligence measures written
- Row-level security set up
Milestone: A published dashboard with row-level security
Assessment: Dashboard review against a rubric
Months 5–6 Programming and data
Study: Python (module 6), pandas, visualisation, Git and GitHub. About 12 hours a week.
- pandas cleaning and groupby
- Charts for an EDA
- Project pushed to GitHub with a README
Milestone: A Python EDA on a public dataset in GitHub
Assessment: Code review with tests
Months 7–8 Machine learning and statistics
Study: Statistics (module 7), supervised learning, evaluation, a churn model. About 12 hours a week.
- Hypothesis test and A/B test analysis
- Train, validate and test split
- Precision, recall and ROC-AUC reported
Milestone: A churn model with a business recommendation
Assessment: Model evaluation and explanation
Months 9–10 Data engineering and cloud
Study: Warehouse concepts, ETL and ELT, dbt, Airflow, one cloud (Supplement A). About 12 hours a week.
- Bronze, silver and gold layers
- dbt tests passing
- Airflow DAG with retries
Milestone: A three-layer pipeline with tests
Assessment: Pipeline review and a failure drill
Month 11 GenAI, agents and MCP
Study: LLM APIs, RAG, agents, MCP (modules 5 and 8). About 12 hours a week.
- RAG over your own documents
- Answers cite sources
- An eval set of 30+ questions
Milestone: A RAG assistant with citations and an evaluation
Assessment: Evaluation report
Month 12 Portfolio and interviews
Study: Two capstones published, resume, LinkedIn, mock interviews, readiness check (C9). About 15 hours a week.
- Two projects live with write-ups
- Resume and LinkedIn updated
- Three mock interviews done
Milestone: Three mock interviews and two published projects
Assessment: Interview rubric
C1 Data Engineering and Analytics Interview Questions
| Item | Answer |
|---|---|
| ETL vs ELT | ETL transforms before loading; ELT loads raw data and transforms inside the warehouse. ELT suits cloud warehouses and keeps raw data for rebuilds. Choose ETL when data must be masked before it lands. |
| What is idempotency? | A pipeline is idempotent if running it twice leaves the same result. Use MERGE on a business key, staging tables and run IDs. |
| Batch vs streaming? | Batch processes data in scheduled chunks with simpler tooling. Streaming processes events continuously for low latency, at higher complexity. Choose by the freshness the business needs. |
| Star vs snowflake schema? | A star schema has denormalised dimensions and simple joins, which is fast for BI. A snowflake normalises dimensions, saving space and adding joins. |
| What is a surrogate key and why use it? | A system-generated key for a dimension row, so history (SCD Type 2) and source key changes do not break facts. |
| How do you handle late-arriving data? | Reprocess the affected window (backfill), use watermarks that allow a lag, and make loads idempotent. |
| What does a dbt test check? | Built-in tests check not null, unique, accepted values and relationships; custom tests are SQL queries that should return zero rows. |
| What is Airflow used for? | Scheduling and monitoring workflows as DAGs with dependencies, retries and alerts. It does not process large data itself. |
| Spark shuffle and partitions? | A shuffle moves data between machines during joins and groupBy; reduce it with good partitioning, broadcast small tables and avoid skew. |
| Warehouse vs lakehouse? | A warehouse is optimised for SQL on structured data; a lakehouse adds open table formats on cheap storage for both files and SQL. |
| How do you test a data pipeline? | Unit tests for transformations, data tests for quality, contract tests for source schemas, and a staging run compared with production totals. |
| What is CDC? | Change data capture reads inserts, updates and deletes from a database log, so downstream systems stay current without full reloads. |
C2 Seven Business Scenario Interviews (with answer frameworks)
| Item | Answer |
|---|---|
| Sales declined by 20%. How would you investigate? | Clarify the period and the scope. Check data quality first (did the data load fully?). Split the decline by region, product, channel, customer segment and price. Compare with last year and with marketing and stock events. Form two or three hypotheses, test each, and recommend actions with expected impact. |
| Customer churn increased. What would you analyse? | Define churn precisely. Build cohorts and see which cohorts churn. Compare churned and retained customers on usage, support tickets, price changes and product fit. Check onboarding funnel drop-offs. Recommend an experiment, not a guess. |
| A dashboard is slow. How would you optimise it? | Find the slow visuals and queries. Reduce the data model (remove unused columns, aggregate at the right grain), use summary tables or incremental refresh, simplify DAX or SQL, check relationships and cardinality, and cache where the platform allows. |
| A data pipeline failed. How would you troubleshoot? | Confirm impact and mitigate (re-run or stop downstream). Read the first error, check upstream freshness and schema changes, reproduce on a sample, fix the root cause, add a test or alert, and write a short review. |
| An AI assistant gives incorrect answers. How would you investigate? | Log the exact prompt, retrieved context and model version. Check whether the right documents were retrieved. Compare answers with a labelled test set. Separate retrieval failures from generation failures. Add failing cases to the evaluation set and fix the cause. |
| An enterprise customer wants to automate a manual workflow. How would you design it? | Map the current process and the exceptions. Pick the high-volume, low-risk steps to automate first. Design the flow with systems, data, approvals for risky actions, logging and fallbacks. Pilot with success metrics, then scale. |
| A stakeholder asks for a dashboard but cannot define requirements. How would you proceed? | Ask about the decision the dashboard supports, who uses it and how often. Sketch two or three mock screens, get feedback, agree the first five metrics and a definition for each, then build a first version in a short cycle. |
C3 Behavioural Interviews and STAR Answers
| Item | Answer |
|---|---|
| Tell me about yourself | Two minutes: current role, one relevant project with a result, the skills you want to use in this role, and why this company. |
| Explain a difficult project | Situation (context and stakes), Task (your role), Action (what you did, with trade-offs), Result (measured outcome), Learning. |
| Describe a problem you solved | Pick a problem with data or a process change. Show how you found the root cause and what changed afterwards. |
| Explain a conflict with a stakeholder | Show that you understood their goal, aligned on data and the decision, and kept the relationship. |
| Describe a failed project | Own the failure, explain what you missed, what it cost, and what you do differently now. |
| How do you prioritise work? | Value, urgency, effort and risk; agree priorities with the owner; say no to low-value requests with a reason. |
| How do you explain technical concepts to non-technical stakeholders? | Start with the business question, use one visual, use plain words, check understanding, and give the decision needed. |
C4 Eight Capstone Project Briefs and Portfolio Checklist
| Item | Answer |
|---|---|
| Project 1: Business analytics dashboard | Excel cleaning, SQL analysis, Power BI dashboard, KPI reporting and recommendations. Deliverables: dataset, cleaning log, SQL file, PBIX, one-page summary. |
| Project 2: Customer churn prediction | Python, pandas, statistics, a classification model, evaluation with precision, recall and ROC-AUC, and a business interpretation with a retention plan. |
| Project 3: End-to-end data engineering pipeline | Extract from an API, load raw files, transform with dbt or SQL into bronze, silver and gold layers, orchestrate with Airflow or a scheduler, and run data-quality checks. Deliverables: repository, architecture diagram, run instructions, quality report. |
| Project 4: AI-powered data analyst | Upload a CSV or Excel, ask questions in natural language, generate and validate SQL or Python, create charts and a business summary. Validation: compare generated results with a manual check. |
| Project 5: Enterprise RAG knowledge assistant | Ingest documents, chunk, embed, store in a vector index, retrieve, answer with citations, evaluate faithfulness and recall on a labelled question set. |
| Project 6: AI agent for business operations | Design the agent, add tool calls to two business APIs, orchestrate steps, add human approval for risky actions, and monitor each run. |
| Project 7: MCP-powered business assistant | An MCP server with read tools for a database and one business app, scoped permissions, logs, and an AI client that uses it. |
| Project 8: Industry-specific capstone (choose one) | Real estate lead and customer analytics; education analytics and an AI learning assistant; financial document processing and analytics; customer service intelligence; e-commerce customer intelligence. Each needs: business problem, users, data sources, requirements, architecture, data flow diagram, implementation steps, tests, metrics, limitations, future work, GitHub repository, demo video and documentation. |
| Portfolio checklist (all projects) | GitHub repository with README, requirements file, tests, sample data (or a public dataset link), screenshots, a 3-minute demo video, a one-page business summary and a limitations section. |
C5 AI Agents: LangGraph, CrewAI, AutoGen and Agent Evaluation
| Item | Answer |
|---|---|
| LangGraph: stateful agents as graphs | Nodes are steps, edges decide the next step, and state is saved between steps. Use it when you need control, retries and human approval. Official docs: docs.langchain.com (LangGraph overview). |
| CrewAI: role-based agent teams | Agents have roles, goals and tasks; a crew runs them in sequence or with a manager. Good for quick prototypes. Official docs: docs.crewai.com. |
| AutoGen concepts | Conversational multi-agent framework where agents message each other. Understand the concept even if you use another framework. Check the official project for the current version. |
| Agent evaluation and monitoring | Measure task completion rate, tool success rate, accuracy, latency and cost per task; keep traces of each run; run a regression test set after every change; test for security (prompt injection and tool misuse). |
C6 Context Engineering, Model Choice and AI Analytics Checklist
| Item | Answer |
|---|---|
| Context engineering | Choose what goes into each model call: instructions, relevant retrieved passages, short history and tool results. Keep it small and relevant, label each part, and log what was sent. |
| Choosing and comparing models | Compare OpenAI, Anthropic Claude and Google Gemini on your own test set for quality, latency, context length, data terms and cost. Pricing and model names change, so check the official pricing page on the day you decide. |
| AI analytics checklist | Define the question. Check the data quality. Ask the AI for a method, then verify the numbers yourself on a sample. Document the prompt and the output. Note limitations and personal data handling before sharing. |
C7 Tools and Learning Resources Directory (categories from the prompt)
| Item | Answer |
|---|---|
| How to use this directory | Each entry needs: purpose, beginner explanation, official site, official docs, official tutorial, free or paid status, the course module it supports, learning order and an exercise. Check the official pages before you rely on prices or features; record the date you checked. |
| Categories | 1 Excel and spreadsheets; 2 SQL and databases; 3 Power BI and BI platforms; 4 Python and coding environments; 5 Statistics and mathematics; 6 Machine learning; 7 Data engineering; 8 Cloud platforms; 9 Generative AI; 10 RAG and vector databases; 11 AI agents; 12 MCP and API development; 13 No-code automation; 14 Git and development; 15 Product and project management; 16 Portfolio and interview preparation. |
| Tool evaluation sheet (for AI and no-code tools) | What it does; why use it; who should use it; main features; free, freemium or paid features and limits; strengths; weaknesses; alternatives; practical example; official documentation; exercise. |
C8 Realistic 12-Month Roadmap (beginner)
| Item | Answer |
|---|---|
| Months 1 to 2: Foundation | Excel (module 1), SQL basics (module 2), basic statistics (module 7 start), business analytics basics. About 10 hours a week. Milestone: a cleaned dataset with a 5-metric summary. Assessment: a timed SQL test and an Excel cleaning exercise. |
| Months 3 to 4: Business intelligence | Power BI (module 3), star schema and DAX, dashboard design. About 10 hours a week. Milestone: a published dashboard with row-level security. Assessment: dashboard review against a rubric. |
| Months 5 to 6: Programming and data | Python (module 6), pandas, visualisation, Git and GitHub. About 12 hours a week. Milestone: a Python EDA on a public dataset in GitHub. Assessment: code review with tests. |
| Months 7 to 8: Machine learning and statistics | Statistics (module 7), supervised learning, evaluation, a churn model. About 12 hours a week. Milestone: a churn model with a business recommendation. Assessment: model evaluation and explanation. |
| Months 9 to 10: Data engineering and cloud | Warehouse concepts, ETL and ELT, dbt, Airflow, one cloud (see Supplement A). About 12 hours a week. Milestone: a three-layer pipeline with tests. Assessment: pipeline review and a failure drill. |
| Months 11: GenAI, agents and MCP | LLM APIs, RAG, agents, MCP (modules 5 and 8). About 12 hours a week. Milestone: a RAG assistant with citations and an evaluation. Assessment: evaluation report. |
| Month 12: Portfolio and interviews | Two capstone projects published, resume, LinkedIn, mock interviews and the readiness check (C9). About 15 hours a week. Milestone: three mock interviews and two published projects. Assessment: interview rubric. |
| What employers generally expect | Working projects with code and data, clear documentation, measured results, the ability to explain trade-offs and a steady learning record. The programme makes no promise of employment or any salary. |
C9 Career Readiness Check
| Item | Answer |
|---|---|
| Self-check (answer yes or no) | I can write SQL joins, window functions and cohorts from memory. I can build a dashboard with a star schema and DAX measures. I can clean data and explain every step. I can explain a model's metrics to a non-technical person. I have two published projects with READMEs. I can describe an ETL pipeline and its tests. I can explain RAG and a basic agent. I can explain privacy basics for personal data. |
| Scoring | Ten or more yes: ready to apply for analyst roles with a portfolio. Seven to nine: complete the missing topics in the matching supplement and build one more project. Fewer than seven: return to the foundation months of the roadmap. |
C10 Cheat Sheets and Glossary (index)
| Item | Answer |
|---|---|
| Cheat sheets (now built: PDF 14, Quick Reference and Cheat Sheets) | Excel formulas; SQL commands (SELECT, joins, window functions, CTEs); DAX (CALCULATE, filter context, time intelligence); Python syntax and pandas commands; statistics formulas; ML metrics (precision, recall, F1, ROC-AUC, MAE, RMSE, R-squared); API terms (endpoint, method, status code, header, token); MCP terms (host, client, server, tool, resource, prompt); common AI terms (token, context window, embedding, RAG, agent). |
| Glossary (now built: PDF 15, Data Science and AI Glossary) | Each entry: term, simple definition, real example, related terms, and acronym in full. It covers the terms in Supplements A and B and the course. |
C11 AI and No-Code Tools Laboratory: tutorials by category and setup (PDF 10)
| Item | Answer |
|---|---|
| How to use this lab | Each category below names the SkillNavora tutorial that teaches it in full, with steps, templates, a project and a PDF. Do the setup checklist first, then one tutorial per week. |
| Setup checklist (do once) | A Google account (Sheets, Looker Studio, Colab, NotebookLM); a Microsoft account (Excel, Power BI Desktop on Windows); a GitHub account; a free ChatGPT, Claude or Gemini account; a password manager; a separate email folder for tool sign-ups. Do not use real company or customer data in personal accounts. |
| Automation (no-code) | Zapier: complete tutorial (zapier-tutorial.html). Make: complete tutorial (make-tutorial.html). n8n: complete tutorial (in the Data Science & AI handbook, Tools track). Start with a form → sheet → email automation. |
| App and website builders | Lovable: complete tutorial (lovable-tutorial.html). Replit: complete tutorial (replit-tutorial.html). AI Builder Tools course for Claude, ChatGPT and Codex, Gemini and Lovable (ai-builder-tools.html). |
| Web automation and browser agents | Web Automation: webhooks, triggers and Playwright MCP (web-automation.html). Browser Automation & AI Agents (browser-automation.html). |
| AI assistants and research | AI Models and Platforms guide (ai-models-guide.html) for Grok, ChatGPT, Claude, Gemini and Lovable. Supplement B, section B13.4 compares Julius AI, NotebookLM and Perplexity for analysis. |
| Design | Figma: complete tutorial (Data Science & AI handbook, Tools track). |
| BI and dashboards | Power BI track (8 lessons) and Supplement B, section B12; Tableau track. |
| Notebooks and code | Python track (Google Colab or Jupyter); Git and GitHub lessons; Supplement B, section B9 for the command line. |
| Agents and MCP | Agents track; Agent Orchestration & Monitoring (agent-orchestration.html); How AI Agents Work guide (ai-agents-guide.html). |
| Evaluate any new tool | Use the tool evaluation sheet in section C7: purpose, cost, data privacy, integrations, learning curve, export options and a one-hour trial task. |
C12 Capstone Workbook Templates (PDF 11)
| Item | Answer |
|---|---|
| 1. Project charter | Title · Business question (one sentence) · Who will use the answer · Decision it supports · Success measure (number and target) · Data sources and owners · Scope in / out · Risks and assumptions · Timeline (weeks) · Ethics and privacy check. |
| 2. Data dictionary | For each table: name, grain (one row = ?), source, refresh. For each column: name, type, meaning, allowed values or range, % missing, example value, owner. |
| 3. Data quality log | Check · Rule · Rows failing · Action taken · Date. Examples: duplicate order IDs, negative prices, missing dates, out-of-range ages. |
| 4. Analysis log | Date · Question · Method (query, chart, model) · Result · What it means · Next step. Keep it as you work; it becomes your write-up. |
| 5. Model card (ML projects) | Purpose · Training data and period · Features · Model and settings · Metrics on test data (with baseline) · Fairness checks by group · Known limits · How to monitor. |
| 6. Results summary (one page) | Headline answer in one sentence · 3 key findings with numbers · Recommendation and expected impact · Caveats · Next steps · Link to dashboard or notebook. |
| 7. Presentation outline (7 slides) | 1 Question and why it matters · 2 Data and approach · 3–5 Findings (one per slide, chart + takeaway title) · 6 Recommendation and impact · 7 Limits and next steps. |
| 8. Portfolio README | Project title and one-line result · Problem · Data (with source and licence) · Tools · Method · Results with a chart · How to run it · What I would do next · Contact. |