In this lab, we run through a range of common activities needed to properly configure an Azure SQL Database. These tasks are common steps and will help students prepare for Microsoft Certification Labs as well as build comfort in day-to-day operations.
Successfully complete this lab by achieving the following learning objectives:
- Configure SQL DB and SQL Server
In this first step, we need to create a SQL Database instance in the
West USregion with Basic 5D and 2GB. Enable sample data for later steps in the lab. Next, open up the firewall and add the client IP address.
- Configure Security
Review TDE to ensure that it’s enabled. Then enable auditing at the SQL Server level. Configure auditing with storage and log analytics. Finally, we need to enable a default Dynamic Data Mask in the Sales LT database, Customer table, Phone column.
- Update for Performance
Create geo-replication in the
Central USregion. To do this, we need to create an additional SQL Server in the
- Configure a Backup Policy
Configure a backup policy in SQL Server that will inlcude weekly backups held for two years and monthly backups held for seven years. Notice that the backup save will fail at this point. In order to complete this step, we need to increase the Central and West US databases from Basic to Standard D10. Once we complete that, we can finish the backup policy task.