Databricks Certified Machine Learning Associate Lessons
48 lessons, one per exam-guide subdomain, in the order the guide teaches them. Every claim is cited to the official documentation.
Domain 1: Databricks Machine Learning
18 lessons · 38% of the exam
1.1MLOps best practices on Databricks: environments, foundations and CI/CD
Subdomain 1.1: Identify the best practices of an MLOps strategy
18 min read
1.2Databricks Runtime for Machine Learning: libraries, GPUs and access mode
Subdomain 1.2: Identify the advantages of using ML runtimes
17 min read
1.3How Databricks AutoML selects models and features
Subdomain 1.3: Identify how AutoML facilitates model/feature selection.
17 min read
1.4AutoML advantages: fast baselines, automated data prep and glass-box notebooks
Subdomain 1.4: Identify the advantages AutoML brings to the model development process
16 min read
1.5Unity Catalog feature tables vs the workspace feature store
Subdomain 1.5: Identify the benefits of creating feature store tables at the account level in Unity Catalog in Databricks vs at the workspace level
16 min read
1.6Create a feature table in Unity Catalog
Subdomain 1.6: Create a feature store table in Unity Catalog
20 min read
1.7Writing to feature tables with write_table: merge, overwrite and streaming
Subdomain 1.7: Write data to a feature store table
15 min read
1.8Train a model with feature store tables: FeatureLookup, create_training_set and fe.log_model
Subdomain 1.8: Train a model with features from a feature store table.
18 min read
1.9Batch scoring with feature store tables using score_batch
Subdomain 1.9: Score a model using features from a feature store table.
15 min read
1.10Online vs offline feature tables in Databricks
Subdomain 1.10: Describe the differences between online and offline feature tables
21 min read
1.11Find the best MLflow run with search_runs
Subdomain 1.11: Identify the best run using the MLflow Client API.
13 min read
1.12Manual MLflow logging: params, metrics, artifacts and models
Subdomain 1.12: Manually log metrics, artifacts, and models in an MLflow Run.
16 min read
1.13MLflow UI: experiments, runs table, run page and chart view
Subdomain 1.13: Identify information available in the MLFlow UI
16 min read
1.14Register a model in the Unity Catalog registry with MLflow
Subdomain 1.14: Register a model using the MLflow Client API in the Unity Catalog registry
19 min read
1.15Unity Catalog model registry vs workspace model registry
Subdomain 1.15: Identify benefits of registering models in the Unity Catalog registry over the workspace registry
15 min read
1.16Deploy code vs deploy models: choosing a promotion pattern on Databricks
Subdomain 1.16: Identify scenarios where promoting code is preferred over promoting models and vice versa
15 min read
1.17Set and remove tags on Unity Catalog models and model versions
Subdomain 1.17: Set or remove a tag for a model
16 min read
1.18Promote a Challenger to Champion with Unity Catalog model aliases
Subdomain 1.18: Promote a challenger model to a champion model using aliases
15 min read
Domain 2: Data Processing
9 lessons · 19% of the exam
2.1Spark DataFrame summary statistics with .summary() and dbutils.data.summarize
Subdomain 2.1: Compute summary statistics on a Spark DataFrame using .summary() or dbutils data summaries
15 min read
2.2Remove outliers from a Spark DataFrame with stddev bounds or IQR fences
Subdomain 2.2: Remove outliers from a Spark DataFrame based on standard deviation or IQR
17 min read
2.3Choosing charts for categorical and continuous features in Databricks
Subdomain 2.3: Create visualizations for categorical or continuous features
18 min read
2.4Comparing two features: Pearson correlation and contingency tables in Spark
Subdomain 2.4: Compare two categorical or two continuous features using the appropriate method
17 min read
2.5Mean vs median vs mode imputation for missing values
Subdomain 2.5: Compare and contrast imputing missing values with the mean or median or mode value
16 min read
2.6Impute missing values with the mean, median or mode in Spark and scikit-learn
Subdomain 2.6: Impute missing values with the mode, mean, or median value
17 min read
2.7One-hot encoding categorical features with OneHotEncoder
Subdomain 2.7: Use one-hot encoding for categorical features
17 min read
2.8When to use one-hot encoding: model types and data sets
Subdomain 2.8: Identify and explain the model types or data sets for which one-hot encoding is or is not appropriate.
12 min read
2.9Log scale transformation: when to use log, log1p and their inverses
Subdomain 2.9: Identify scenarios where log scale transformation is appropriate
16 min read
Domain 3: Model Development
15 lessons · 31% of the exam
3.1Algorithm Selection: Linear, Logistic and Tree-Based Models
Subdomain 3.1: Use ML foundations to select the appropriate algorithm for a given model scenario
12 min read
3.2Class imbalance: undersampling, SMOTE and class weights
Subdomain 3.2: Identify methods to mitigate data imbalance in training data
15 min read
3.3Estimators vs transformers: the fit, transform and predict contracts
Subdomain 3.3: Compare estimators and transformers
12 min read
3.4Building a leakage-safe training pipeline on Databricks
Subdomain 3.4: Develop a training pipeline
17 min read
3.5Tuning hyperparameters with Hyperopt fmin
Subdomain 3.5: Use Hyperopt's fmin operation to tune a model's hyperparameters
15 min read
3.6Grid, random and Bayesian hyperparameter search
Subdomain 3.6: Perform random or grid search or Bayesian search as a method for tuning hyperparameters.
15 min read
3.7Parallel Hyperopt tuning with SparkTrials vs Trials
Subdomain 3.7: Parallelize single node models for hyperparameter tuning
17 min read
3.8Cross-validation vs a train-validation split
Subdomain 3.8: Describe the benefits and downsides of using cross-validation over a train-validation split.
14 min read
3.9Cross-validation in model fitting with cross_val_score, cross_validate and tuning
Subdomain 3.9: Perform cross-validation as a part of model fitting.
18 min read
3.10Counting models in grid search with cross-validation
Subdomain 3.10: Identify the number of models being trained in conjunction with a grid-search and cross-validation process.
14 min read
3.11Classification metrics: F1, ROC AUC, PR-AUC and log loss
Subdomain 3.11: Use common classification metrics: F1, Log Loss, ROC/AUC, etc
19 min read
3.12Regression metrics: MSE, RMSE, MAE and R-squared
Subdomain 3.12: Use common regression metrics: RMSE, MAE, R-squared, etc.
17 min read
3.13Choosing an evaluation metric from the scenario objective
Subdomain 3.13: Choose the most appropriate metric for a given scenario objective
16 min read
3.14Exponentiating log-transformed predictions before metrics
Subdomain 3.14: Identify the need to exponentiate log-transformed variables before calculating evaluation metrics or interpreting predictions
13 min read
3.15Bias-variance tradeoff and model complexity
Subdomain 3.15: Assess the impact of model complexity and the bias variance tradeoff on model performance
14 min read
Domain 4: Model Deployment
6 lessons · 12% of the exam
4.1Batch, streaming and real-time model serving compared
Subdomain 4.1: Identify the differences and advantages of model serving approaches: batch, realtime, and streaming
17 min read
4.2Deploy a custom model to a Model Serving endpoint
Subdomain 4.2: Deploy a custom model to a model endpoint
22 min read
4.3Batch inference with pandas, pyfunc and Spark UDFs
Subdomain 4.3: Use pandas to perform batch inference
16 min read
4.4Streaming inference with Lakeflow pipelines (formerly DLT)
Subdomain 4.4: Identify how streaming inference is performed with Delta Live Tables
17 min read
4.5Query a Model Serving endpoint for realtime inference
Subdomain 4.5: Deploy and query a model for realtime inference
17 min read
4.6Traffic splitting across served models on a Model Serving endpoint
Subdomain 4.6: Split data between endpoints for realtime interference
15 min read