Exam DP-700: High-Yield Study Cheatsheet
Exam DP-700: High-Yield Study Cheatsheet
Source
- Provider: Microsoft
- Platform: Microsoft Learn & Fabric Community
- Target Exam: Exam DP-700
- Content type: Quick-Reference Cheatsheet
- Date captured: 2026-08-15
- Last reviewed: 2026-08-15
🚀 1. Storage & Table Architecture Quick Matrix
| Engine / Pattern | Read/Write Support | Storage Format | Query Language | Primary Use Case |
|---|---|---|---|---|
| Fabric Lakehouse (Spark) | Read & Write | Delta Lake / Parquet | PySpark, Scala, Spark SQL | Big Data transformations, ETL/ELT, Data Science |
| Lakehouse SQL Endpoint | Read-Only | Delta Lake / Parquet | T-SQL | Ad-hoc SQL reporting, Power BI Direct Lake |
| Fabric Data Warehouse | Read & Write | Delta Lake / Parquet | Full ACID T-SQL | Enterprise Star Schema, Cross-Database queries |
| Eventhouse / KQL DB | Read & Write | Columnar Compressed | KQL (Kusto) | Real-time telemetry, IoT streaming, Log analytics |
⚡ 2. PySpark & Delta Optimization Code Snippets
# 1. Read Raw CSV with Schema Enforcementdf = spark.read.format("csv") \ .option("header", "true") \ .schema("OrderID INT, OrderDate TIMESTAMP, Amount DOUBLE, Country STRING") \ .load("Files/raw/*.csv")
# 2. Delta Table Write with Liquid Clustering (or PartitionBy)df.write.format("delta") \ .mode("append") \ .saveAsTable("silver_orders")
# 3. Delta Table Compaction & V-Orderspark.sql("OPTIMIZE silver_orders VORDER")
# 4. Remove Historical Delta Files older than 7 daysspark.sql("VACUUM silver_orders RETAIN 168 HOURS")
# 5. Broadcast Join Optimizationfrom pyspark.sql.functions import broadcastjoined_df = fact_df.join(broadcast(dim_df), on="Key", how="inner")📡 3. Real-Time Intelligence & KQL Syntax
// KQL Time-Series Windowing & Anomaly DetectionTelemetryStream| where Timestamp >= ago(24h)| make-series AvgLoad = avg(CpuLoad) default=0 on Timestamp from ago(24h) to now() step 15m by Hostname| extend (Anomalies, Score, Baseline) = series_decompose_anomalies(AvgLoad)| render anomalychart with(anomalycolumns=Anomalies)🛡️ 4. Security & Permissions Reference
- Admin: Full admin control; can manage permissions and delete workspace.
- Member: Can add contributors/viewers; can edit and execute all items.
- Contributor: Can create, edit, and execute items; cannot alter workspace roles.
- Viewer: Read-only access to item data; cannot modify code or run pipelines.
- Item Permissions:
Read: View metadata and query via SQL endpoint.ReadAll: Read all underlying OneLake raw parquet files (bypasses SQL RLS/CLS).Write: Update item definitions and write data.
📊 5. Capacity & Throttling Rules
- Smoothing Windows:
- Interactive operations = 5 minutes.
- Background batch operations = 24 hours.
- Throttling Escalation:
- Interactive Delay (10 min over limit).
- Interactive Rejection / HTTP 429 (60 min over limit).
- Background Rejection (24 hr sustained overload).
⚖️ 6. High-Yield Pairwise Distinctions
| Concept A | Concept B | Key Exam Distinction |
|---|---|---|
| Dataflow Gen2 | Data Pipeline | Transformation worker (Power Query) vs. Orchestration manager (triggers/loops/dependencies) |
| Copy Data | Dataflow Gen2 | High-speed data mover without compute overhead vs. visual low-code ETL transformation |
| Lakehouse | Warehouse | Spark-centric big data/file store vs. relational SQL-first ACID data warehouse |
| SQL Analytics Endpoint | Warehouse | Read-only Lakehouse SQL query layer vs. full read/write transactional T-SQL |
| Eventstream | Eventhouse | In-flight real-time event transformation & routing vs. high-velocity time-series storage |
| Pipeline Parameter | Pipeline Variable | External runtime input vs. internal mutable execution state |
| Optimize Write | OPTIMIZE | Write-time small file prevention vs. post-load file compaction / bin-packing |
V-Order | Partitioning | Parquet file-level read sorting & indexing vs. directory-level folder hierarchy |
| Git Integration | Deployment Pipeline | Source control synchronization with Git repo vs. multi-stage environment promotion |
🔍 7. Warehouse Monitoring DMVs & Query Insights
| Diagnostic Object | Scope & Usage |
|---|---|
sys.dm_exec_connections | Live active client connections |
sys.dm_exec_sessions | Authenticated sessions (includes login name, client program) |
sys.dm_exec_requests | Actively executing T-SQL queries |
queryinsights.exec_requests_history | Historical log of completed queries with CPU/duration metrics |
queryinsights.long_running_queries | Top queries ranked by elapsed execution time |
queryinsights.frequently_run_queries | Top queries ranked by invocation count |
📚 8. Slowly Changing Dimension (SCD) Types
| SCD Type | Mechanism | Historical Record |
|---|---|---|
| Type 0 | Fixed attribute (e.g. DateOfBirth); updates ignored | Initial value only |
| Type 1 | Overwrite existing value in-place | None (current value only) |
| Type 2 | Add new record with StartDate, EndDate, and IsCurrent flag | Full historical audit trail |
| Type 3 | Add dedicated column for previous value (e.g. PreviousCity) | Limited (current + previous only) |