On Demand → Cloud/Data

Automate Database Tasks for Azure SQL


Description

Scripting repetitive tasks in Azure SQL for regular maintenance jobs and multi-instance administration. Automation of error and resource alerts. Configuration of notifications for failures.


Prerequisites

  • Ability to use tools for running queries against a Microsoft SQL database, either on-premises on cloud-based
  • Ability to write code in the SQL language, particularly the Microsoft T-SQL dialect, at a basic level.
  • Experience creating and configuring resources using the Azure portal
  • Get started with Azure

Duration: 2 hr 47 min

Content
  • Automate Database Deployment
  • Introduction
  • 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
  • Module Assessment
  • Summary
  • Create and Manage SQL Agent Jobs
  • Introduction
  • Create a SQL Server Maintenance Plan
  • Describe Task Status Notifications
  • Knowledge Check
  • Exercise: Create a CPU Status Alert for a SQL Server
  • Summary
  • Manage Azure PaaS Tasks Using Automation
  • Introduction
  • 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
  • Module Assessment
  • Summary
Completion rules
  • All units must be completed
  • Leads to a certificate with a duration: Forever