πŸ”’ Guided

Pre-launch preview. Authorised access only.

Incorrect code

Guided by A Guide to Cloud
Explore AB-900 AI-901
Guided DP-300 Domain 1
Domain 1 β€” Module 3 of 5 60%
3 of 28 overall

DP-300 Study Guide

Domain 1: Plan and Implement Data Platform Resources

  • Choose Your Azure SQL Platform Free
  • Deploy and Configure Azure SQL Free
  • Scale, Performance, and Compression Free
  • Migration Planning: Online vs Offline Free
  • Execute and Troubleshoot Migrations Free

Domain 2: Implement a Secure Environment

  • Entra Authentication for Azure SQL
  • Security Principals, Permissions, and T-SQL
  • Encryption: TDE, Always Encrypted, and VBS Enclaves
  • Network Security: Firewalls, Private Links, and Endpoints
  • Data Classification and Auditing
  • Data Masking, Ledger, and Row-Level Security

Domain 3: Monitor, Configure, and Optimize Database Resources

  • Performance Baselines and Monitoring Tools
  • Database Watcher and Extended Events
  • Query Store: Configure and Monitor
  • Blocking, DMVs, and Execution Plans
  • Index and Query Optimization
  • Database Maintenance: Indexes, Statistics, and Integrity
  • Automatic Tuning and Performance Settings

Domain 4: Configure and Manage Automation of Tasks

  • Automation Landscape: What Runs Where
  • SQL Server Agent Jobs
  • Deploy with ARM, Bicep, PowerShell, and CLI
  • Elastic Jobs and Azure Automation

Domain 5: Plan and Configure an HA/DR Environment

  • HA/DR Strategy: RPO, RTO, and Architecture
  • Backup and Restore: Strategy and Native Tools
  • Point-in-Time Restore, LTR, and Cloud Backup
  • Geo-Replication and Failover Groups
  • Always On: Availability Groups and FCIs
  • Log Shipping and HA/DR Operations

DP-300 Study Guide

Domain 1: Plan and Implement Data Platform Resources

  • Choose Your Azure SQL Platform Free
  • Deploy and Configure Azure SQL Free
  • Scale, Performance, and Compression Free
  • Migration Planning: Online vs Offline Free
  • Execute and Troubleshoot Migrations Free

Domain 2: Implement a Secure Environment

  • Entra Authentication for Azure SQL
  • Security Principals, Permissions, and T-SQL
  • Encryption: TDE, Always Encrypted, and VBS Enclaves
  • Network Security: Firewalls, Private Links, and Endpoints
  • Data Classification and Auditing
  • Data Masking, Ledger, and Row-Level Security

Domain 3: Monitor, Configure, and Optimize Database Resources

  • Performance Baselines and Monitoring Tools
  • Database Watcher and Extended Events
  • Query Store: Configure and Monitor
  • Blocking, DMVs, and Execution Plans
  • Index and Query Optimization
  • Database Maintenance: Indexes, Statistics, and Integrity
  • Automatic Tuning and Performance Settings

Domain 4: Configure and Manage Automation of Tasks

  • Automation Landscape: What Runs Where
  • SQL Server Agent Jobs
  • Deploy with ARM, Bicep, PowerShell, and CLI
  • Elastic Jobs and Azure Automation

Domain 5: Plan and Configure an HA/DR Environment

  • HA/DR Strategy: RPO, RTO, and Architecture
  • Backup and Restore: Strategy and Native Tools
  • Point-in-Time Restore, LTR, and Cloud Backup
  • Geo-Replication and Failover Groups
  • Always On: Availability Groups and FCIs
  • Log Shipping and HA/DR Operations
Domain 1: Plan and Implement Data Platform Resources Free ⏱ ~14 min read

Scale, Performance, and Compression

Configure Azure SQL Database, Managed Instance, and SQL on VMs for scale and performance. Learn table partitioning implementation and data compression techniques.

Scaling Azure SQL

β˜• Simple explanation

Think of scaling like adjusting the lanes on a motorway.

Scaling up (vertical) is widening each lane β€” more power per lane. You upgrade your database to a bigger tier with more CPU, memory, and I/O.

Scaling out (horizontal) is adding more lanes β€” more capacity through parallelism. You add read replicas, elastic pools, or shard your data across multiple databases.

Azure SQL Database makes this easy β€” you can scale up with a single slider. SQL on VMs means resizing the entire virtual machine. Each platform has its own scaling levers.

Scaling strategies differ across the three Azure SQL platforms. The exam tests your ability to choose the right scaling approach for each platform and configure it correctly.

  • Azure SQL Database: Scale compute (vCores/DTUs) and storage independently. Supports serverless auto-scaling, elastic pools for shared resources, read replicas, and Hyperscale for near-instant scale-out.
  • Azure SQL Managed Instance: Scale by changing the service tier (General Purpose or Business Critical) and vCore count. Scaling operations may take time. Instance pools share resources across MIs.
  • SQL Server on Azure VMs: Scale by resizing the VM (more CPUs, memory). Requires a VM restart for most changes. Storage scaling involves adding or resizing disks.

Scaling Azure SQL Database

Priya at ScaleWave uses these levers every week:

Service tiers

TierUse CaseKey Features
General PurposeMost workloadsRemote storage, up to 128 vCores
Business CriticalLow-latency, high IOPSLocal SSD, built-in read replica
HyperscaleVery large databases (up to 100 TB)Near-instant scale, up to 4 read replicas, fast backup/restore

Compute models

ModelHow It WorksBest For
ProvisionedFixed vCores, always runningPredictable workloads, consistent performance
ServerlessAuto-scales between min/max vCores, auto-pausesIntermittent use, dev/test, unpredictable traffic

Scaling operations

  • Scale up/down: Change vCore count or tier. Brief connectivity blip during switchover.
  • Elastic pools: Multiple databases share a pool of resources. Set min/max per database.
  • Read replicas: Offload read queries to up to 4 replicas (Hyperscale) or 1 built-in replica (Business Critical).

Priya’s move: ScaleWave’s traffic spikes during product launches. She uses serverless for dev databases (auto-pause saves money) and provisioned Business Critical for production (consistent latency).

Scaling Azure SQL Managed Instance

Kenji scales MI differently:

  • vCores: 4 to 128 vCores (General Purpose) or 4 to 128 (Business Critical)
  • Storage: Up to 16 TB (auto-grows in General Purpose)
  • Tier change: General Purpose ↔ Business Critical. Scaling operations can take minutes to hours.
  • Instance pools: Multiple MIs share underlying resources β€” cost savings for smaller instances
πŸ’‘ MI scaling gotcha

Scaling a Managed Instance (changing vCores or tier) triggers an operation that involves moving the instance to new hardware. This can take 30 minutes or longer. Plan scaling operations during maintenance windows, not during peak hours.

The exam may present a scenario where an admin needs to scale MI quickly β€” the correct answer acknowledges that MI scaling is NOT instant.

Scaling SQL Server on Azure VMs

Kenji also manages SQL VMs for the legacy reporting system:

  • VM resize: Change VM series/size for more CPU, memory, I/O. Requires VM restart.
  • Storage: Add Premium SSD or Ultra Disk. Separate data, log, and tempdb to different disks.
  • Memory: Configure max server memory to leave room for the OS.
  • tempdb: Place on local SSD (ephemeral disk) for best performance β€” but data is lost on VM restart.
VM ConsiderationRecommendation
VM seriesMemory-optimised (E-series) or storage-optimised (L-series) for SQL
Data filesPremium SSD P30+ or Ultra Disk, striped with Storage Spaces
Log filesSeparate Premium SSD, NOT on same disk as data
tempdbLocal/ephemeral SSD for best IOPS (if data loss is acceptable on restart)
Read cachingEnable read caching on data disks; disable on log disks

Table partitioning

When Kenji’s biggest tables hit hundreds of millions of rows, queries slow down. Partitioning helps.

How partitioning works

  1. Partition function β€” defines the boundaries (how to split)
  2. Partition scheme β€” maps partitions to filegroups (where to store)
  3. Partitioned table β€” uses the scheme for physical storage
-- Example: Partition orders by year
CREATE PARTITION FUNCTION pfOrderDate (DATE)
AS RANGE RIGHT FOR VALUES ('2023-01-01', '2024-01-01', '2025-01-01');

CREATE PARTITION SCHEME psOrderDate
AS PARTITION pfOrderDate ALL TO ([PRIMARY]);

CREATE TABLE Orders (
    OrderID INT,
    OrderDate DATE,
    Amount DECIMAL(10,2)
) ON psOrderDate(OrderDate);

Partitioning benefits

  • Query performance: Partition elimination skips irrelevant partitions
  • Maintenance: Rebuild indexes on one partition, not the whole table
  • Data lifecycle: Use partition switching to archive old data instantly (metadata-only operation)

RANGE LEFT vs RANGE RIGHT

TypeBoundary Value Belongs To
RANGE LEFTLeft partition (boundary value is the MAX of the left partition)
RANGE RIGHTRight partition (boundary value is the MIN of the right partition)

Most date-based partitions use RANGE RIGHT β€” the boundary date starts a new partition.

Data compression

Compression reduces storage and improves I/O performance (less data to read from disk):

Compression TypeHow It WorksSavingsOverhead
Row compressionFixed-length data stored as variable-length15-25%Minimal CPU
Page compressionRow compression + prefix/dictionary compression50-80%Moderate CPU
Columnstore compressionColumn-oriented storage + batch processing80-95%Designed for analytics
-- Enable page compression on an existing table
ALTER TABLE Orders REBUILD WITH (DATA_COMPRESSION = PAGE);

-- Enable compression on a specific partition
ALTER TABLE Orders REBUILD PARTITION = 3 WITH (DATA_COMPRESSION = PAGE);

Tomas’s learning moment: Sam explains: β€œRow compression is free performance β€” almost no CPU overhead, good savings. Page compression squeezes harder but uses more CPU. Use page compression on cold data (archives, history). Use row compression on hot tables with frequent updates.”

πŸ’‘ Exam tip: compression and partitioning together

You can apply different compression levels to different partitions. This is a common exam scenario:

  • Hot partitions (current year): Row compression or none
  • Warm partitions (last year): Page compression
  • Cold partitions (archives): Page compression or columnstore (if the table is read-only)
Question

What's the difference between serverless and provisioned compute in Azure SQL Database?

Click or press Enter to reveal answer

Answer

Provisioned: fixed vCores, always running, predictable cost. Serverless: auto-scales between min/max vCores, auto-pauses when idle, pay only for compute used.

Click to flip back

Question

Why should SQL VM tempdb be placed on the local/ephemeral SSD?

Click or press Enter to reveal answer

Answer

The local SSD provides the highest IOPS and lowest latency. Since tempdb is rebuilt on every SQL Server restart anyway, data loss on the ephemeral disk is acceptable.

Click to flip back

Question

What are the three components of table partitioning in SQL Server?

Click or press Enter to reveal answer

Answer

1) Partition function (defines boundaries), 2) Partition scheme (maps partitions to filegroups), 3) Partitioned table (uses the scheme). Function β†’ Scheme β†’ Table.

Click to flip back

Question

Row compression vs page compression: which saves more space?

Click or press Enter to reveal answer

Answer

Page compression saves more (50-80%) because it adds prefix and dictionary compression on top of row compression. But it uses more CPU. Row compression saves 15-25% with minimal CPU overhead.

Click to flip back

Knowledge Check

Priya has a development database that's only used during business hours (8 AM – 6 PM). What compute model should she choose to minimise costs?

Knowledge Check

Kenji has a 500-million-row Orders table partitioned by OrderDate. He wants to archive 2022 data with maximum compression and minimal impact on current queries. What should he do?

🎬 Video coming soon

Next up: Migration Planning: Online vs Offline β€” evaluate migration requirements and choose between online and offline strategies.

← Previous

Deploy and Configure Azure SQL

Next β†’

Migration Planning: Online vs Offline

Guided

I learn, I simplify, I share.

A Guide to Cloud YouTube Feedback

© 2026 Sutheesh. All rights reserved.

Guided is an independent study resource and is not affiliated with, endorsed by, or officially connected to Microsoft. Microsoft, Azure, and related trademarks are property of Microsoft Corporation. Always verify information against Microsoft Learn.