Microsoft - DP-700 Study Guide

    3: Monitor and optimize an analytics solution

    This chapter covers the operational side of a Microsoft Fabric analytics solution: detecting failures and slowdowns across pipelines, Dataflows Gen2, notebooks, Eventhouses, Eventstreams, T-SQL, and OneLake shortcuts, then tuning the underlying engines so they meet service levels. It walks through monitoring surfaces (Monitor hub, capacity metrics app, Spark UI, KQL diagnostic logs, semantic model refresh history), error patterns with their fixes, and the optimization levers available on each Fabric item.

    Learning Objectives

    By the end of this chapter, you will be able to:

    • Monitor data ingestion across pipelines, Dataflows Gen2, and Eventstreams, identify and resolve Eventstream errors, and optimize query performance across the SQL, KQL, and Spark surfaces.
    • Monitor data transformation activities and identify and resolve T-SQL errors raised by the Warehouse and the SQL analytics endpoint.
    • Monitor semantic model refresh, including Direct Lake fallback signals, and identify and resolve OneLake shortcut errors.
    • Configure alerts on Fabric items and capacity signals using Activator, and optimize a Lakehouse table.
    • Identify and resolve pipeline errors and optimize a pipeline for throughput and cost.
    • Identify and resolve Dataflow Gen2 errors and optimize a data warehouse.
    • Identify and resolve notebook errors and optimize Eventstreams and Eventhouses.
    • Identify and resolve Eventhouse errors and optimize Spark performance.

    Executive Summary

    • Fabric exposes a single Monitor hub for run history, plus item-specific monitoring (Dataflow refresh history, Pipeline runs, Spark UI, Eventstream live metrics, KQL diagnostic logs) and one capacity metrics app for cross-workspace usage.
    • Most ingestion and transformation failures cluster into a small set of recurring root causes: schema drift, authentication or scope mismatches, throttling, file or partition skew, and OneLake shortcut authorization failures.
    • Lakehouse, Warehouse, Eventhouse, and Spark each have their own optimization model: OPTIMIZE plus VACUUM plus V-Order for Delta; statistics plus result-set caching plus partitioning for Warehouse; caching and retention policies plus materialized views for Eventhouse; AQE plus broadcast joins plus partition pruning for Spark.
    • Activator is the alerting surface across Eventstreams, semantic models, and Fabric items; it pairs with the capacity metrics app and Purview audit logs to give an end-to-end operational picture.

    Assumptions

    • Reader is comfortable reading Spark UI, Power Query diagnostics, and KQL.
    • Naming and term usage follows previous chapters; terms already defined (workspace, capacity, V-Order, Delta, Eventstream, Eventhouse, Direct Lake, mirroring, OneLake shortcut, watermark, MERGE, Lakehouse, Warehouse, semantic model, Dataflows Gen2) are reused without redefinition.
    • All capacity examples use F-series SKUs; trial capacities are noted only where their behavior differs.

    Sections in this chapter

    1. Free
    2. Free with account
    3. Free with account
    4. Free with account
    5. Free with account
    6. Free with account
    7. Free with account
    8. Free with account
    9. Free with account