Course Code: 19270

55316 Administering a SQL Database

Class Dates:
5 Days
Class Time:
Instructor-Led Training, Virtual Instructor-Led Training


  • Course Overview
  • This five-day instructor-led course provides students who manage SQL Server and Azure SQL databases with the knowledge and skills needed to administer a SQL server database infrastructure. The material will also be useful to individuals who develop applications that deliver content from SQL Server databases. This material updates and replaces course 20764C.

  • Audience
  • The primary audience for this course is individuals who administer and maintain SQL Server databases. These individuals perform database administration and maintenance as their primary area of responsibility, or work in environments where databases play a key role in their primary job.

    The secondary audiences for this course are individuals who develop applications that deliver content from SQL Server databases


  • At Course Completion
    Authenticate and authorize users
    Assign server and database roles
    Authorize users to access resources
    Use encryption and auditing features to protect data
    Describe recovery models and backup strategies
    Backup and Restore SQL Server databases
    Automate database management
    Configure security for the SQL Server agent
    Manage alerts and notifications
    Managing SQL Server using PowerShell
    Trace access to SQL Server
    Monitor a SQL Server infrastructure
    Troubleshoot a SQL Server infrastructure
    Import and export data

    Prerequisites Experience using applications on Windows Servers
    Experience working with SQL Server or another RDMS

Course Details

  • Module 1: SQL Server Security
  • Authenticating Connections to SQL Server
  • Authorizing Logins to Connect to databases
  • Authorization Across Servers
  • Partially Contained Databases
  • Lab 1: SQL Server Security
  • Authenticating Connections to SQL Server
  • Authorizing Connections to databases
  • Authorization across server instances
  • Authorizing Connections to databases
  • Module 2: Assigning Server and Database Roles
  • Lesson 1: Working with Server Roles
  • Lesson 2: Working with Fixed Database Roles
  • Lesson 3: User-Defined Database Roles
  • Lab 1: Assigning Server and Database Roles
  • Using Server Roles
  • Using User-defined Database Roles & Application Roles
  • Module 3: Authorizing Users to Access Resources
  • Authorizing User Access to Objects
  • Authorizing Users to Execute Code
  • Configuring Permissions at the Schema Level
  • Lab 1: Authorizing Users to Access Resources
  • Assigning Fixed and User-Defined Server Roles
  • Managing Database Roles and Users
  • Configure Permissions at the Schema Level
  • Module 4: Protecting Data with Encryption and Auditing
  • Options for auditing data access in SQL Server
  • Implementing SQL Server Audit
  • Managing SQL Server Audit
  • Protecting Data with Encryption
  • Lab 1: Using Auditing and Encryption
  • Auditing with Temporal Tables
  • Using SQL Server Audit
  • View Audit Output
  • Using Dynamic Data Masking
  • Module 5: Recovery Models and Backup Strategies
  • Understanding Backup Strategies
  • SQL Server Transaction Logs
  • Planning Backup Strategies
  • Lab 1: Understanding SQL Server Recovery Models
  • Backup Databases
  • Transaction Log Backups
  • Shrinking a database
  • Module 6: Backing Up SQL Server Databases
  • Backing Up Databases and Transaction Logs
  • Managing Database Backups
  • Advanced Database Options
  • Lab 1: Backing Up Databases
  • Backing Up Databases
  • Verifying Backups
  • Using Advanced Backup Features
  • Module 7: Restoring SQL Server Databases
  • Understanding the Restore Process
  • Restoring Databases
  • Advanced Restore Scenarios
  • Point-in-Time Recovery
  • Lab 1: Restoring SQL Server Databases
  • Determining the order of restores
  • Restoring databases
  • Restore encrypted backup
  • Point-in-Time restore
  • Module 8: Automating SQL Server Management
  • Automating SQL Server management
  • Working with SQL Server Agent
  • Managing SQL Server Agent Jobs
  • Multi-server Management
  • Lab 1: Automating SQL Server Management
  • Scripting SQL Server Agent jobs
  • Viewing job history
  • Multimaster management
  • Module 9: Configuring Security for SQL Server Agent
  • Understanding SQL Server Agent Security
  • Configuring Credentials
  • Configuring Proxy Accounts
  • Lab 1: Configuring SQL Server Agent
  • Assigning a security context to job steps
  • Create credentials
  • Create a proxy account
  • Module 10: Monitoring SQL Server with Alerts and Notifications
  • Monitoring SQL Server Errors
  • Configuring Database Mail
  • Operators, Alerts, and Notifications
  • Alerts in Azure SQL Database
  • Lab 1: Monitoring SQL Server with Alerts and Notifications
  • Working with Database Engine Error Logs
  • Configuring Database Mail
  • Configure Operators and Alerts
  • Configuring Alerts in Azure SQL Database (Optional)
  • Module 11: : Introduction to Managing SQL Server by using PowerShell
  • Getting Started with Windows PowerShell
  • Configure SQL Server using PowerShell
  • Administer and Maintain SQL Server with PowerShell
  • Managing Azure SQL Databases using PowerShell
  • Lab 1: Using PowerShell to Manage SQL Server
  • Exploring SQL Server Management Objects (SMOs)
  • Configure database and Instance features with PowerShell
  • Manage logins and backups with PowerShell
  • Create an Azure SQL Database with PowerShell
  • odule 12: Tracing Access to SQL Server with Extended Events
  • Extended Events Core Concepts
  • Working with Extended Events
  • Lab 1: Using SQL Server Extended Events
  • Create Extended Events sessions
  • Working with Extended Events sessions
  • Module 13: Monitoring SQL Server
  • Monitoring activity
  • Capturing and Managing Performance Data
  • Analyzing Collected Performance Data
  • Lab 1: Monitoring SQL Server
  • Using Performance Monitor
  • Configuring Data Collection
  • Viewing the Reports
  • Module 14: Troubleshooting SQL Server
  • Applying a Troubleshooting Methodology
  • Resolving Service-Related Issues
  • Resolving Connectivity and Login issues
  • Lab 1: Troubleshooting SQL Server
  • Troubleshooting errors
  • Troubleshooting services
  • Troubleshooting logins
  • Module 15: Importing and Exporting Data
  • Transferring Data to and from SQL Server
  • Importing and Exporting Table Data
  • Using bcp and BULK INSERT to Import Data
  • Deploying Data-Tier Applications
  • Lab 1: Importing and Exporting data
  • Disabling and Enabling Constraints
  • Using the Import and Export Wizard
  • Import with bcp and BULK INSERT
  • Working with DACPACs and BACPACs