Vault™ > DP-300T00: Administering Microsoft Azure SQL Solutions

Access to the Vault™ requires an active Microsoft Live Subscription.

Login Buy Subscription

DP-300T00: Administering Microsoft Azure SQL Solutions

By Tyler Farmer
4 Days
Live Class Recording
March 12, 2024
Courseware

Courseware is available for this class. Click here to view in a new tab/window.

Course Description

This course provides students with the knowledge and skills to administer a SQL Server database infrastructure for cloud, on-premises and hybrid relational databases and who work with the Microsoft PaaS relational database offerings. Additionally, it will be of use to individuals who develop applications that deliver content from SQL-based relational databases.

Course Outline

Prepare to maintain SQL databases on Azure

Explore the role of a database administrator on Azure. Describe SQL Server-based offerings on Azure.

Lessons

  • Describe Microsoft Intelligent Data Platform roles
  • Understand SQL Server in an Azure virtual machine
  • Design Azure SQL Database for cloud-native applications
  • Explore Azure SQL Database Managed Instance

Exercise

  • None

 

Deploy IaaS solutions with Azure SQL

Configure virtual machine sizing, storage, and networking options to ensure adequate performance for your database workloads. Choose and configure appropriate high availability options.

Lessons

  • Explain IaaS options to deploy SQL Server in Azure
  • Understand hybrid scenarios
  • Explore performance and security
  • Explain high availability and disaster recovery options

Exercise

  • Provision a SQL Server on an Azure Virtual Machine

 

Deploy PaaS solutions with Azure SQL

Provision and deploy Azure SQL Database and Azure SQL managed instance. Select the appropriate options when performing a migration to the SQL PaaS platform.

Lessons

  • Explain PaaS options for deploying SQL Server in Azure
  • Explore single SQL database
  • Deploy SQL database elastic pool
  • Understand SQL database hyperscale
  • Examine SQL managed instance
  • Describe SQL Edge

Exercise

  • Deploy an Azure SQL Database

 

Evaluate strategies for migrating to Azure SQL

Describe database migration options and tools on Azure. Understand how compatibility level affects database behavior. Describe Azure private and public preview options.

Lessons

  • Understand compatibility level
  • Understand Azure preview features
  • Describe Azure database migration options

Exercise

  • None

 

Migrate SQL Server workloads to Azure SQL Database

You will explore different migration tools and migrate SQL Server databases to Azure SQL Database.

Lessons

  • Choose the right Azure SQL Database feature
  • Use Azure SQL migration extension to migrate to Azure SQL Database
  • Explore Data Migration Assistant to migrate to Azure SQL Database
  • Migrate to Azure SQL Database using BACPAC
  • Use an online method to migrate to Azure SQL Database
  • Move data to Azure SQL Database

Exercise

  • Migrate a SQL Server database to Azure SQL Database

 

Migrate SQL Server workloads to Azure SQL Managed Instance

You'll explore different migration tools and migrate SQL Server databases to Azure SQL Managed Instance.

Lessons

  • Evaluate migration scenarios
  • Use Log Replay Service (LRS) to migrate
  • Migrate using Managed Instance link
  • Migrate using Managed Instance link

Exercise

  • Migrate a SQL Server database to Azure SQL Managed Instance

 

Configure database authentication and authorization

Contrast authentication using Microsoft Entra ID, Windows Active Directory, and SQL Server authentication. Implement various security principals and configure permissions.

Lessons

  • Describe Active Directory and Microsoft Entra ID
  • Describe authentication and identities
  • Describe Security Principals
  • Describe database and object permissions
  • Identify authentication and authorization failures

Exercise

  • Authorize Access to Azure SQL Database with Microsoft Entra ID

 

Protect data in-transit and at rest

Explore encryption options available within Azure SQL, including firewall rules, Always Encrypted, and Transport Layer Security. Understand how SQL Injection works.

Lessons

  • Explore Transparent Data Encryption
  • Configure server and database firewall rules
  • Explain object encryption and secure enclaves
  • Enable encrypted connections
  • Describe SQL injection
  • Understand Azure Key Vault

Exercise

  • Configure a server-based firewall rule using the Azure portal

 

Implement compliance controls for sensitive data

Explore data classification capabilities and degrees of confidentiality. Implement security options to maintain private data safe, including Azure SQL auditing, Microsoft Defender for SQL, row-level security, Dynamic Data Masking and Azure SQL Database Ledger.

Lessons

  • Explore data classification
  • Explore server and database audit
  • Implement Dynamic Data Masking
  • Implement Row Level security
  • Understand Microsoft Defender for SQL
  • Explore Azure SQL Database Ledger
  • Implement Azure Purview

Exercise

  • Enable Microsoft Defender for SQL and Data Classification

 

Describe performance monitoring

Compare Azure, and on-premises tools for monitoring and measuring performance. Determine critical metrics. Understand the purpose of a baseline for comparative analysis. Configure extended event sessions for tracing activitie.

Lessons

  • Describe performance monitoring tools
  • Describe critical performance metrics
  • Establish baseline metrics
  • Explore extended events
  • Describe Azure SQL Insights
  • Explore Query Performance Insight

Exercise

  • Isolate problems with monitoring

 

Configure SQL Server resources for optimal performance

Choose the appropriate size and storage options for your Azure SQL databases. Configure server resources such as tempdb. Understand the usage of Resource Governor.

Lessons

  • Explain how to optimize Azure storage for SQL Server virtual machines
  • Describe virtual machine resizing
  • Optimize database storage
  • Control SQL Server resources

Exercise

  • None

 

Configure databases for optimal performance

Implement tasks for both IaaS and PaaS to maintain indexes, and statistics. Explore the automatic tuning features of Azure SQL Database. Control database-level configuration options. Explore Intelligent Query Processing.

Lessons

  • Explore database maintenance checks
  • Describe database scoped configuration options
  • Describe automatic tuning
  • Describe intelligent query processing

Exercise

  • Detect and correct fragmentation issues

 

Explore query performance optimization

Read and understand various forms of execution plans. Compare estimated vs actual plans. Learn how and why plans are generated. Understand the purpose and benefits of the Query Store.

Lessons

  • Understand query plans
  • Explain estimated and actual query plans
  • Describe dynamic management views and functions
  • Explore Query Store
  • Identify problematic query plans
  • Describe blocking and locking

Exercise

  • Identify and resolve blocking issues

 

Evaluate performance improvements

Evaluate possible changes to indexes. Determine the impact of changes to queries and indexes. Explore Query Store hints.

Lessons

  • Describe wait statistics
  • Tune and maintain indexes
  • Understand query hints

Exercise

  • Isolate problem areas in poorly performing queries

 

Explore performance-based design

Explore normalization for relational databases. Investigate the impact of proper datatype usage. Compare types of indexes.

Lessons

  • Describe normalization
  • Choose appropriate data types
  • Choose appropriate data types

Exercise

  • Identify database design issues

 

Automate deployment of database resources

Explore multiple deployment models available on Azure. Use Azure Resource Manager (ARM) templates and Bicep files for deploying Azure SQL resources. Understand how to use PowerShell and Azure CLI for automation purposes.

Lessons

  • Describe deployment models in Azure
  • Automate deployment by using Azure Resource Manager templates and Bicep
  • Automate deployment by using PowerShell
  • Automate deployment by using Azure CLI

Exercise

  • Deploy an Azure SQL Database using an Azure Resource Manager template

 

Create and manage SQL Agent jobs

Explore SQL automation for scheduled tasks, and automatic alerts for SQL Server and Azure SQL Managed Instance.

Lessons

  • Create a SQL Server maintenance plan
  • Describe task status notifications

Exercise

  • Create a CPU status alert for a SQL Server

 

Manage Azure PaaS tasks using automation

Explore automation for Azure SQL platform. Configure elastic jobs, explore Azure Automation, and evaluate different strategies for monitoring automation tasks.

Lessons

  • Explore Elastic jobs
  • Understand Azure Automation
  • Build an automation runbook
  • Automate database workflows by using Logic Apps
  • Monitor automated tasks

Exercise

  • Deploy an automation runbook to automatically rebuild indexes

 

Describe high availability and disaster recovery strategies

Plan an appropriate high availability and disaster recovery strategy based on recovery time objective and recovery point objective. Choose the best solution for IaaS or PaaS deployments or hybrid workloads.

Lessons

  • Describe recovery time objective and recovery point objective
  • Explore high availability and disaster recovery options
  • Describe Azure high availability and disaster recovery features for Azure Virtual Machines
  • Describe high availability and disaster recovery options for PaaS deployments
  • Explore an IaaS high availability and disaster recovery solution
  • Describe hybrid solutions

Exercise

  • None

 

Explore IaaS and PaaS solutions for high availability and disaster recovery

Deploy Windows Server Failover Cluster and availability groups in Azure and hybrid environments. Configure temporal tables, geo-replication, and auto-failover groups.

Lessons

  • Describe failover clusters in Windows Server
  • Configure Always-on availability groups
  • Describe temporal tables in Azure SQL Database
  • Describe active geo-replication for Azure SQL Database
  • Explore auto-failover groups for Azure SQL Database and Azure SQL Managed Instance

Exercise

  • Configure geo replication for Azure SQL Database

 

Back up and restore databases

Plan and implement policy for recovering data if user errors occur or the technology fails. Explore various options for how and where to back up and restore databases.

Lessons

  • Back up and restore SQL Server running on Azure virtual machines
  • Back up a SQL Server virtual machine
  • Back up and restore a database using Azure SQL Database

Exercise

  • Backup to URL
Course Content
Introductions
Introductions
Overview of Azure
Overview of Azure
Discussion of Azure Networking
Discussion of Azure Networking
Discussion of Azure Storage
Discussion of Azure Storage
Discussion of Azure Virtual Machines
Discussion of Azure Virtual Machines
Discussion of Azure Service Models
Discussion of Azure Service Models
Section 1: Introduction to Azure Database Administration
Module 1 - Prepare to Maintain SQL Databases on Azure
Module 2 - SQL Server on Azure Virtual Machine
Module 3 - Azure SQL Platform (PaaS)
Module 3A - Azure SQL Platform (PaaS) - Azure SQL Database
Module 3B - Azure SQL Platform (PaaS) - Azure SQL Managed Instance
Section 2: Plan and Implement Data Platform Resources
Module 1 - Deploy IaaS Solutions With Azure SQL (Azure SQL VM)
Module 1 - Deploy IaaS Solutions With Azure SQL (Azure SQL VM) (Continuation after lunch)
Module 2 - Deploy PaaS Solutions With Azure SQL
Review Questions from Day 1
Review Questions from Day 1
Talk about SQL VM Costs
Talk about SQL VM Costs
Section 2: Plan and Implement Data Platform Resources
Module 3 - Evaluate Strategies for Migrating to Azure SQL
Module 4 - Migrate SQL Workloads to Azure SQL
Module 5 - Migrate SQL Workloads to Azure SQL Managed Instance
Section 3: Implement a Secure Environment for a Database Service
Module 1 - Configure Database Authentication and Authorization
Demo of lab 4
Module 2 - Protect Data In-Transit and at Rest
Module 3 - Implement Compliance Controls for Sensitive Data
Module 4 - Data Classifications
Section 4: Monitor and Optimize Operational Resources in Azure SQL
Module 1 - Describe Performance Monitoring
Module 2 - Configure SQL Server Resources for Optimal Performance & Hard Drives
Module 3 - Configure Databases for Optimal Performance
Discussion of Azure Networking and SQL Database connections
Discussion of Azure Networking and SQL Database connections
Section 5: Optimize Query Performance in Azure SQL
Module 1 - Explore Query Performance Optimization
Module 1 - Explore Query Performance Optimization (Continuation after break)
More on Blocking and Isolation Levels
Module 2 - Explore Performance-Based Design
Demo & Instructions Lab 08 09 and 10
Additional Discussion on Permissions
Additional Discussion on Permissions
Section 6: Automate Database Tasks for Azure SQL
Module 1 - Automate Deployment of Database Resources (Demo & Instructions)
Module 2 - Create and Manage SQL Agent Jobs
Side Discussion on Azure Enrollments, Subscriptions, Azure Policy and Cost Management
Side Discussion on Azure Enrollments, Subscriptions, Azure Policy and Cost Management
Section 6: Automate Database Tasks for Azure SQL
Module 3 - Manage Azure PaaS Tasks by Using Automation
General Discussion on Automation
Section 7: Planning and Implementing High Availability and Disaster Recovery
Class Discussion on HA/DR
Module 1 - Describe High Availability and Disaster Recovery Strategies
Module 2 - Explore IaaS and PaaS Solutions for High Availability and Disaster Recovery
Module 3 - Back Up and Restore Databases