Skip to content

Exam DP-700: Concise Revision Guide & Scenario Decision Matrix

Exam DP-700: Concise Revision Guide & Scenario Decision Matrix

Source


1. Fabric Foundations & OneLake

Microsoft Fabric is a unified SaaS analytics platform sharing OneLake as a single logical data lake across all compute engines.

Workload Responsibilities

WorkloadPrimary PurposeKey Artifacts
Data FactoryIngest, transform and orchestrate dataPipelines, Dataflow Gen2
Data EngineeringBuild lakehouses and Spark-based transformation workflowsLakehouses, Notebooks, Spark Jobs, Environments
Data WarehouseCreate relational analytical stores with transactional T-SQLWarehouses, SQL queries, Stored Procedures
Real-Time IntelligenceIngest, store, query and act on streaming eventsReal-Time Hub, Eventstreams, Eventhouses, KQL DBs, Activator
Data ScienceExplore data and build machine-learning solutionsExperiments, Models, MLflow Tracking
Power BIModel, visualise and deliver business insightsSemantic Models (Direct Lake), Reports, Dashboards

Core Architectural Distinctions

  • OneLake Shortcuts: Virtual pointers referencing data in external storage (ADLS Gen2, Amazon S3, Google Cloud Storage) or internal Fabric items without moving or duplicating data.
  • Workspace vs Item: A workspace is an administrative, security, and Git-integration boundary; a Lakehouse, Warehouse, Eventhouse, or Semantic Model is an item inside a workspace.
  • Data Team Collaboration:
    • Data Engineer: Ingests and transforms data via pipelines, notebooks, and lakehouses.
    • Data Scientist: Explores data with Spark/Python and builds ML models.
    • Data Analyst: Builds semantic models and reports, leveraging Direct Lake.
    • Analytics Engineer: Curates Gold-layer data and enterprise semantic definitions.

2. Data Ingestion & Orchestration

Dataflow Gen2 vs Data Pipelines vs Copy Data

FeatureCopy Data ActivityDataflow Gen2Data Pipeline
RoleHigh-performance data moverLow-code transformation workerOrchestration manager
EngineData Factory cloud computePower Query Online mashup engineControl-flow execution engine
Best ForMoving raw data largely as-is to staging/OneLakeVisual cleaning, reshaping, and merging for business usersMulti-step scheduling, loops, dependencies, retries, and failure alerts
Security / StorageDoes not store dataLands data into LH/WH/SQL DB (not long-term storage)Coordinates calls to Dataflows, Notebooks, Stored Procedures

[!TIP] Worker vs. Manager Rule: Dataflow Gen2 and Spark Notebooks perform transformation work. A Data Pipeline coordinates, schedules, parameterizes, and connects workers.

Pipeline Parameters vs. Variables

  • Parameter: Passed from outside at runtime to make the pipeline reusable (e.g., passing Month = 'March' to process a specific partition).
  • Variable: Internal state holder evaluated or updated during a specific execution run (e.g., storing a row count or status flag).

3. Apache Spark & Notebooks

Architecture in Fabric

  • Head Node / Driver: Coordinates the application execution plan and distributes tasks.
  • Worker Nodes / Executors: Execute assigned tasks and process data in parallel.
  • Spark Pool: Managed compute cluster (starter pools offer rapid sub-10s spin up; custom pools allow specific VM sizing and auto-scale).
  • Environment: Custom library definition (PyPI/Conda/Wheels) and Spark configurations attached to notebooks/workspaces.

PySpark Operations & Spark SQL Equivalents

PySpark OperationSQL EquivalentExam Context / Purpose
df.select("ColA", "ColB")SELECT ColA, ColBColumn projection
df.where("Sales > 100") / df.filter(...)WHERE Sales > 100Row filtering
df.groupBy("Region").agg(...)GROUP BY RegionAggregation
df.write.mode("overwrite").saveAsTable(...)Target table replacementFull refresh
df.write.partitionBy("Year", "Month")Folder-level physical layoutPartitioned storage

Spark SQL Catalog: Tables vs. Views

  • Local Temporary View (df.createOrReplaceTempView("view_name")): Session-scoped, ephemeral, not registered in the catalog.
  • Managed Table (df.write.saveAsTable("tbl")): Delta table registered in catalog; dropping table deletes metadata AND underlying files.
  • External Table: Metadata in catalog; dropping table removes metadata only, leaving underlying storage intact.

4. Lakehouse, Delta Lake & Medallion Architecture

Lakehouse Structure

  • Files Section: Unmanaged raw/semi-structured files (CSV, JSON, Parquet, Images).
  • Tables Section: Delta tables with metadata, ACID log (_delta_log/), and schema enforcement.
  • SQL Analytics Endpoint: Automatically provisioned Read-Only T-SQL endpoint over Lakehouse Delta tables.

Delta Optimization Matrix

FeaturePrimary PurposeWhen to Apply
Optimize WriteReduces small file generation during write transactionsEnabled by default in Microsoft Fabric
OPTIMIZECompacts existing small files into 1GB target files (bin-packing)After batch loads or frequent streaming appends
V-OrderSpecialized columnar compression and sorting for fast Fabric engine readsFrequently queried Gold tables and Power BI Direct Lake tables
VACUUMDeletes unreferenced historical parquet files outside retention windowStorage maintenance (Caution: Removes Time Travel history prior to retention period)
Liquid Clustering / PartitioningMulti-dimensional data skippingVery large tables; replaces rigid folder partitioning

Medallion Pattern Progression

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ Bronze β”‚ ────> β”‚ Silver β”‚ ────> β”‚ Gold β”‚
β”‚ Raw / Ingestion β”‚ β”‚ Cleaned/Curated β”‚ β”‚ Business-Ready β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
  • Bronze: Append-only raw landing data preserved with source lineage.
  • Silver: Validated, deduplicated, enriched, and standardized data.
  • Gold: Star schema, dimensional models, and aggregated marts optimized for reporting.

5. Fabric Data Warehouse

Warehouse vs. Lakehouse SQL Endpoint

FeatureFabric Data WarehouseLakehouse SQL Analytics Endpoint
T-SQL CapabilitiesFull Read & Write (INSERT, UPDATE, DELETE, MERGE, CTAS, TRUNCATE)Read-Only (SELECT, Views)
Primary PersonaData Warehouse Architect / SQL DeveloperData Engineer / Lakehouse Analyst
Underlying FormatDelta Lake / ParquetDelta Lake / Parquet
Cross-QueryingNative cross-database T-SQL queriesQueryable across lakehouses and warehouses

Dimensional Modeling & SCD Types

  • Surrogate Key: Warehouse-generated unique integer key decoupling dimensions from operational systems.
  • Business / Alternate Key: Original natural key from source system.
  • Loading Order: Dimensions must always be loaded before Fact tables to enable surrogate key lookups.
SCD TypeBehaviorRetention Impact
Type 0Fixed attribute; changes ignoredRetains original value permanently
Type 1Overwrite existing value in-placeNo history preserved
Type 2Insert new row with validity dates / IsCurrent flagFull historical tracking
Type 3Store previous value in an additional column (e.g. PreviousCity)Limited history (current + previous)

Key Analytical Window Functions

  • ROW_NUMBER(): Unique sequential integer for every row within a partition.
  • RANK(): Equal values receive same rank; subsequent rank skips numbers (gaps).
  • DENSE_RANK(): Equal values receive same rank; no numerical gaps.
  • NTILE(n): Splits partitioned dataset into $n$ equal ranked buckets.
  • APPROX_COUNT_DISTINCT(): High-performance approximate cardinality estimation for big data.

6. Real-Time Intelligence (RTI)

RTI Components

  • Real-Time Hub: Single catalog to discover, manage, and consume streaming data streams across the tenant.
  • Eventstream: No-code visual drag-and-drop tool to ingest, filter, transform (windowed aggregations, join, expand), and route events to Eventhouse, Lakehouse, or Activator.
  • Eventhouse / KQL Database: High-velocity columnar database optimized for append-heavy time-series telemetry and log analytics.
  • Activator: Rule and trigger engine monitoring live conditions across Power BI, Eventstreams, or KQL DBs to fire actions (Email, Teams, Power Automate, Pipeline trigger).

KQL Best Practices for DP-700

  1. Filter Early: Place | where Timestamp >= ago(1h) as the first operator to leverage indexing and reduce partition scanning.
  2. Project Narrowly: Apply | project-away or | project ColA, ColB early to minimize memory footprint.
  3. Join Optimization: Always place the smaller dataset on the left of the | join operator (SmallTable | join kind=inner (LargeTable) on Key).
  4. Materialized Views: Precompute heavy aggregations over append-heavy tables without full reprocessing.
  5. Update Policy: Attach to destination curated table to process incoming batches in near-real-time.

7. Security, Roles & Access Control

Security Evaluation Order

  1. Entra ID Authentication: Verifies identity and tenant access.
  2. Fabric Workspace / Item Access: Controls whether the user can open the workspace or specific items.
  3. Data Security: Controls which tables, rows, columns, or files the user is permitted to read.

Permission Hierarchy Rules

  • DENY Overrides GRANT: An explicit DENY takes precedence over group or role-level GRANT.
  • Item Sharing: Prefer targeted Item-level sharing (Read, ReadAll) over granting broad workspace roles to external viewers.
  • OneLake Security Roles: Apply unified RBAC across engines; users must be removed from DefaultReader for custom restricted roles to enforce restrictions.
  • SQL Security Snippets:
    • Dynamic Data Masking: ALTER COLUMN Email ADD MASKED WITH (FUNCTION = 'email()');
    • Row-Level Security: Inline table-valued predicate function bound via CREATE SECURITY POLICY.
    • Column-Level Security: DENY SELECT ON dbo.Table(SensitiveColumn) TO RoleName;

8. Monitoring & Performance

DMVs & Query Insights (Warehouse & SQL Endpoint)

Diagnostic ObjectPurpose
sys.dm_exec_connectionsLive active warehouse connections
sys.dm_exec_sessionsAuthenticated user sessions
sys.dm_exec_requestsActive executing queries
queryinsights.exec_requests_historyHistorical log of completed T-SQL queries
queryinsights.long_running_queriesQueries ranked by execution duration
queryinsights.frequently_run_queriesQueries ranked by execution frequency
queryinsights.exec_sessions_historyHistorical session connection metadata

[!IMPORTANT] To inspect other users’ active queries or terminate a runaway query with KILL <session_id>, Workspace Admin permissions are required.


9. CI/CD & Lifecycle Management

Three Pillars of Fabric Lifecycle

  1. Git Integration: Synchronizes workspace items with GitHub or Azure DevOps branches for source control, peer review, and branching.
  2. Deployment Pipelines: Promotes validated Fabric items between segregated environment workspaces (Development $\rightarrow$ Test $\rightarrow$ Production).
  3. Fabric REST APIs & CLI: Programmatic automation of workspace synchronization and stage deployments.

Clean Deployment Architecture Pattern

  • Connect only the Development workspace directly to Git feature branches.
  • Use Pull Requests into the main branch for code review and approval.
  • Use Deployment Pipelines to promote validated artifacts from Development $\rightarrow$ Test $\rightarrow$ Production.

10. Scenario Decision Matrix & High-Value Distinctions

Which Fabric Component Should You Choose?

ScenarioBest Starting Choice
Move large volumes of raw data with minimal transformationCopy Data activity (Data Factory)
Apply low-code visual transformations for business analystsDataflow Gen2
Coordinate multi-step ETL workflows with schedules, loops, and dependenciesData Pipeline
Perform complex, large-scale distributed big data transformationsSpark Notebook (PySpark/Scala)
Store raw unstructured and curated structured Delta tables with Spark supportLakehouse
Build an enterprise dimensional relational star schema with full T-SQL DMLFabric Data Warehouse
Ingest, transform, and route real-time streaming events in transitEventstream
Store and query massive high-velocity time-series and log telemetryEventhouse / KQL Database
Display real-time, auto-refreshing operational metric visual dashboardsReal-Time Dashboard
Trigger automated business actions or alerts when a live event condition is metActivator
Provide zero-copy, direct memory Power BI reporting over OneLake Delta tablesDirect Lake Semantic Model

High-Value Pairwise Comparison Sheet

Concept AConcept BCore Exam Distinction
Dataflow Gen2Data PipelineTransformation worker vs. Orchestration manager
Copy DataDataflow Gen2High-speed data movement vs. Power Query visual transformation
LakehouseWarehouseSpark/files/Delta table data lake vs. relational SQL-first ACID data warehouse
SQL Analytics EndpointWarehouseRead-only Lakehouse SQL view vs. full read/write transactional T-SQL
EventstreamEventhouseIn-flight event ingestion/routing vs. persistent high-velocity time-series storage
Pipeline ParameterPipeline VariableExternal runtime input vs. internal mutable run state
Optimize WriteOPTIMIZEReal-time small file prevention during writes vs. post-load file compaction
V-OrderPartitioningParquet-level read sorting optimization vs. physical directory/folder layout
Workspace RoleItem PermissionBroad workspace collaborative membership vs. granular single-item access
Git IntegrationDeployment PipelineSource code version control & PR sync vs. multi-environment stage promotion

11. Final 7-Day Revision Plan

DayFocus AreaCore Revision Objective
Day 1Fabric Foundations & OneLakeArticulate OneLake architecture, shortcuts, workspaces, and workload roles from memory.
Day 2Data Factory & OrchestrationMaster Copy Data vs. Dataflow Gen2 vs. Pipelines; test parameter passing and error handling.
Day 3Apache Spark & NotebooksPractice PySpark DataFrame transformations and Spark SQL catalog management (TempView vs. Managed Table).
Day 4Lakehouse & Delta LakeReview Delta log, OPTIMIZE, V-ORDER, VACUUM, time travel, and Medallion architecture.
Day 5Warehouse Modeling & T-SQLReview Star Schemas, SCD Types 0/1/2/3, loading strategies (CTAS/COPY), and analytical window functions.
Day 6Real-Time Intelligence & SecurityCompare Eventstream vs. KQL DB; drill KQL queries, Activator rules, and RLS/CLS/Masking.
Day 7Monitoring, CI/CD & Final ScenariosDrill DMVs (sys.dm_exec_*), Query Insights, Git vs. Deployment pipelines, and the 11-scenario decision matrix.