CertSafari

    Databricks Certified Associate Developer for Apache Spark Lessons

    32 lessons, one per exam-guide subdomain, in the order the guide teaches them. Every claim is cited to the official documentation.

    Domain 1: Apache Spark Architecture and Components

    7 lessons · 20% of the exam

    1. 1.1Spark advantages and challenges: unified engine, memory, lineage, limits

      Subdomain 1.1: Identify the advantages and challenges of implementing Spark.

      16 min read

    2. 1.2Spark cluster architecture: driver, executors, cores and memory

      Subdomain 1.2: Identify the role of core components of Apache SparkTM's Architecture, including cluster, driver node, worker nodes/executors, CPU cores, and memory.

      15 min read

    3. 1.3Spark DataFrames, Datasets, SparkSession and caching

      Subdomain 1.3: Describe the architecture of Apache SparkTM, including DataFrame and Dataset concepts, SparkSession lifecycle, caching, storage levels, and garbage collection.

      18 min read

    4. 1.4Spark execution hierarchy: application, job, stage, task

      Subdomain 1.4: Explain the Apache SparkTM Architecture execution hierarchy.

      13 min read

    5. 1.5Spark partitions, shuffles and spark.sql.shuffle.partitions

      Subdomain 1.5: Configure Spark partitioning in distributed data processing, including shuffles and partitions

      17 min read

    6. 1.6Transformations, actions and lazy evaluation in Spark

      Subdomain 1.6: Describe the execution patterns of the Apache SparkTM engine, including actions, transformations, and lazy evaluation.

      17 min read

    7. 1.7Spark modules: Core, Spark SQL, pandas API, Structured Streaming and MLlib

      Subdomain 1.7: Identify the features of the Apache Spark Modules, including Core, Spark SQL, DataFrames, Pandas API on Spark, Structured Streaming, and MLib.

      16 min read

    Domain 2: Using Spark SQL

    4 lessons · 20% of the exam

    1. 2.1Reading and writing Spark DataFrames: files, JDBC and partitioned overwrite

      Subdomain 2.1: Utilize common data sources such as JDBC, files, etc., to efficiently read from and write to Spark DataFrames using Spark SQL, including overwriting and partitioning by column.

      20 min read

    2. 2.2Querying files directly with Spark SQL and choosing save modes

      Subdomain 2.2: Execute SQL queries directly on files, including ORC Files, JSON Files, CSV Files, Text Files, and Delta Files, and understand the different save modes for outputting data in Spark SQL.

      17 min read

    3. 2.3Persistent tables in Spark: saveAsTable, partitionBy, bucketBy and sortBy

      Subdomain 2.3: Save data to persistent tables while applying sorting and partitioning to optimize data retrieval.

      16 min read

    4. 2.4Temporary views in Spark SQL: createOrReplaceTempView and global_temp

      Subdomain 2.4: Register DataFrames as temporary views in Spark SQL, allowing them to be queried with SQL syntax.

      14 min read

    Domain 3: Developing Apache SparkTM DataFrame/DataSet API Applications

    10 lessons · 30% of the exam

    1. 3.1Adding, renaming, dropping, filtering, splitting and exploding DataFrame columns

      Subdomain 3.1: Manipulate columns, rows, and table structures by adding, dropping, splitting, renaming column names, applying filters, and exploding arrays.

      21 min read

    2. 3.2Deduplicating and validating Spark DataFrames

      Subdomain 3.2: Perform data deduplication and validation operations on DataFrames.

      18 min read

    3. 3.3DataFrame aggregations: count, mean, approx_count_distinct and summary

      Subdomain 3.3: Perform aggregate operations on DataFrames such as count, approximate count distinct, and mean, summary.

      14 min read

    4. 3.4Converting Unix epoch seconds, date strings and DATE values in Spark

      Subdomain 3.4: Manipulate and utilize Date data type, such as Unix epoch to date string, and extract date component.

      2 pages · 20 min read

    5. 3.5Joining and unioning Spark DataFrames

      Subdomain 3.5: Combine DataFrames with operations such as Inner join, left join, broadcast join, multiple keys, cross join, union, and union all.

      18 min read

    6. 3.6Reading and writing Spark DataFrames with explicit schemas

      Subdomain 3.6: Manage input and output operations by writing, overwriting, and reading DataFrames with schemas.

      17 min read

    7. 3.7Sorting, schema inspection and collecting DataFrame rows in PySpark

      Subdomain 3.7: Perform operations on DataFrames such as sorting, iterating, printing schema, and conversion between DataFrame and sequence/list formats.

      18 min read

    8. 3.8Python UDFs in PySpark: create, register and invoke

      Subdomain 3.8: Create and invoke user-defined functions with or without stateful operators, including StateStores.

      2 pages · 22 min read

    9. 3.9Broadcast variables and accumulators in Spark

      Subdomain 3.9: Describe different types of variables in Spark, including broadcast variables and accumulators.

      14 min read

    10. 3.10Broadcast joins in Spark: broadcast(), hints and autoBroadcastJoinThreshold

      Subdomain 3.10: Describe the purpose and implementation of broadcast joins

      15 min read

    Domain 4: Troubleshooting and Tuning Apache Spark DataFrame API Applications

    3 lessons · 10% of the exam

    1. 4.1Spark partition tuning: repartition, coalesce, shuffles and data skew

      Subdomain 4.1: Implement performance tuning strategies & optimize cluster utilization, including partitioning, repartitioning, coalescing, identifying data skew, and reducing shuffling

      17 min read

    2. 4.2Adaptive Query Execution (AQE) in Spark

      Subdomain 4.2: Describe Adaptive Query Execution (AQE) and its benefits.

      18 min read

    3. 4.3Spark driver and executor logs: diagnosing out-of-memory errors and idle clusters

      Subdomain 4.3: Perform logging and monitoring of Spark applications - publish, customize, and analyze Driver logs and Executor logs to diagnose out-of-memory errors, cluster underutilization, etc.

      20 min read

    Domain 5: Structured Streaming

    4 lessons · 10% of the exam

    1. 5.1Structured Streaming engine: micro-batches, triggers, checkpoints and exactly-once

      Subdomain 5.1: Explain the Structured Streaming engine in Spark, including its functions, programming model, micro-batch processing, exactly-once semantics, and fault tolerance mechanisms.

      16 min read

    2. 5.2Writing streaming DataFrames: readStream, writeStream, output modes and sinks

      Subdomain 5.2: Create and write Streaming DataFrames and Streaming Datasets, including the basic output modes and output sinks.

      18 min read

    3. 5.3Streaming selection, windows and aggregations in Spark

      Subdomain 5.3: Perform basic operations on Streaming DataFrames and Streaming Datasets, such as selection, projection, window and aggregation.

      17 min read

    4. 5.4Streaming deduplication with dropDuplicates and watermarks

      Subdomain 5.4: Perform Streaming Deduplication in Structured Streaming, both with and without watermark usage.

      16 min read

    Domain 6: Using Spark Connect to deploy applications

    2 lessons · 5% of the exam

    1. 6.1Spark Connect: thin-client architecture and deferred analysis

      Subdomain 6.1: Describe the features of Spark Connect.

      19 min read

    2. 6.2Spark deploy modes: client, cluster and local

      Subdomain 6.2: Describe the different deployment mode types (Client, Cluster, Local) in the Apache SparkTM environment.

      14 min read

    Domain 7: Using Pandas API on Spark

    2 lessons · 5% of the exam

    1. 7.1Pandas API on Spark: advantages and limits

      Subdomain 7.1: Explain the advantages of using Pandas API on Spark.

      14 min read

    2. 7.2Pandas UDFs in PySpark: create and invoke pandas_udf

      Subdomain 7.2: Create and invoke Pandas UDF.

      17 min read