55316AC Administering a SQL Database

Course description

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

 

Audience profile

The primary audience for this course is people 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 people who develop applications that deliver content from SQL Server databases.

 

Goals

  • 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.
  • SQL Server Database Backup and Restore
  • Automate database management
  • Configure security for SQL Server Agent
  • Manage alerts and notifications
  • Administer SQL Server using PowerShell
  • SQL Server Access Tracking
  • Monitor a SQL Server infrastructure
  • Troubleshooting a SQL Server infrastructure
  • Import and export data

 

Course outline

Module 1: SQL Server Security

This module describes SQL Server security models, logins, users, partially contained databases, and cross-server authorization.

lessons

  • Authentication of connections to SQL Server
  • Authorizing logins to connect to databases
  • Authorization between servers
  • Partially contained databases

Lab 1: SQL Server Security

  • Authentication of connections to SQL Server
  • Authorization of connections to databases
  • Authorization through server instances
  • Authorization of connections to databases

After completing this module, students will be able to:

  • Basic concepts of SQL Server.
  • SQL Server connection authentication.
  • Authorization for user login to databases.
  • Partially contained databases.
  • Authorization between servers.

Module 2: Assigning Server and Database Roles

This module explains how to use server and database level roles to manage user permissions.

lessons

  • 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 database roles
  • Using User-Defined Application Roles and Database Roles

After completing this module, students will be able to:

  • Basic concepts of SQL Server.
  • SQL Server connection authentication.
  • Authorization for user login to databases.
  • Partially contained databases.
  • Authorization between servers.

Module 3: Authorization of users to access resources

This module explains how to authorize users to access server and database functions. It also describes how to manage permissions at different levels on an instance of SQL Server.

lessons

  • Authorize user access to objects
  • User authorization to run code
  • Setting permissions at the schema level


Lab 1: Authorizing users to access resources

  • Assignment of fixed and user-defined server roles
  • Database user and role management
  • Configure permissions at the schema level

After completing this module, students will be able to:

  • Authorize user access to objects.
  • Authorize users to run code.
  • Set permissions at the schema level.

Module 4: Protecting data with encryption and auditing
This module describes the options available for auditing and how to manage auditing features. It also describes how to configure and implement data encryption.

lessons

  • Options for auditing data access in SQL Server
  • Implementation of SQL Server auditing
  • Manage SQL Server auditing
  • Data protection with encryption

Lab 1: Using auditing and encryption

  • Audit with Temporary Tables
  • Using SQL Server auditing
  • View audit output
  • Using dynamic data masking

After completing this module, students will be able to:

  • Describe options for auditing access to data.
  • Implement SQL Server Audit.
  • Manage SQL Server auditing.
  • Describe and implement data encryption methods in SQL Server.
  • implement encryption

Module 5: Recovery Models and Backup Strategies
In this module, you will learn how to use the backup features available for databases and transaction logs to create backup strategies.

lessons

  • Understand backup strategies
  • SQL Server transaction logs
  • Planning backup strategies

Lab 1: Understanding SQL Server recovery models

  • Backup databases
  • Transaction log backups
  • Shrink a database

After completing this module, students will be able to:

  • Describe various backup strategies.
  • Describe how database transaction logs work.
  • Plan SQL Server backup strategies.
  • Module 6: SQL Server Database Backup
  • In this module, you will learn how to apply various backup strategies.

lessons

  • Backup of databases and transaction logs
  • Database backup management
  • Advanced database options

Lab 1: Database Backup

  • Database Backup
  • Backup Verification
  • Using advanced backup features

After completing this module, students will be able to:

  • Back up SQL Server databases and transaction logs.
  • Manage database backups.
  • Describe advanced backup options.

Module 7: SQL Server Database Restoration
In this module, you will see how to restore system and user databases and how to implement point-in-time recovery.

lessons

  • Understand the restore process
  • Database restoration
  • Advanced restore scenarios
  • Recovery from a point in time

Lab 1: Restoring SQL Server Databases

  • Determination of the order of restorations
  • Database restoration
  • Restore encrypted backup
  • Restoring a point in time

After completing this module, students will be able to:

  • Explain the restoration process.
  • Restore databases.
  • Perform advanced restore operations.
  • Perform a point-in-time recovery.

Module 8: Automating SQL Server Administration
This module describes how to use SQL Server Agent to automate jobs, how to set up security contexts for jobs, and how to implement multi-server jobs.

lessons

  • SQL Server Administration Automation
  • Working with SQL Server Agent
  • Manage SQL Server Agent jobs
  • Multi-server management

Lab 1: Automating SQL Server Administration

  • Using SQL Server Agent
  • Scripting SQL Server Agent jobs
  • Viewing job history
  • Multi-master management

After completing this module, students will be able to:

  • Describe methods to automate the administration of SQL Server.
  • Configure jobs, job step types, and schedules.
  • Manage SQL Server Agent jobs.
  • Configure master and destination servers.

Module 9: Configuring security for SQL Server Agent
This module explains how to configure SQL Server Agent to use a least privilege security environment and how to use proxy accounts and credentials to run jobs securely.

lessons

  • Understanding SQL Server Agent security
  • credential settings
  • Configuring proxy accounts

Lab 1: Configuring SQL Server Agent

  • Assigning a security context to job steps
  • create credentials
  • Create a proxy account

After completing this module, students will be able to:

  • Explain SQL Server Agent security.
  • Configure credentials.
  • Configure proxy accounts.

Module 10: SQL Server Monitoring with Alerts and Notifications
This module covers configuring database email, alerts, and notifications for an instance of SQL Server, and configuring alerts for Microsoft Azure SQL Database.

lessons

  • SQL Server Error Monitoring
  • Database Mail Configuration
  • Operators, alerts and notifications
  • Alerts in Azure SQL Database

Lab 1: Monitoring SQL Server with Alerts and Notifications

  • Working with database engine error logs
  • Database Mail Configuration
  • Configure Operators and Alerts
  • Configuration of alerts in Azure SQL Database (optional)

After completing this module, students will be able to:

  • Monitor SQL Server errors.
  • Configure the database mail.
  • Configure operators, alerts and notifications.
  • Work with alerts in Azure SQL Database.

Module 11 - Introduction to SQL Server administration by using PowerShell
This module explains how to use Windows PowerShell with Microsoft SQL Server and Azure SQL Database. It also describes how to improve efficiency and reliability by scripting tasks and jobs.

lessons

  • Getting started with Windows PowerShell
  • Configure SQL Server using PowerShell
  • Manage and maintain SQL Server with PowerShell
  • Administration of Azure SQL databases using PowerShell

Lab 1 - Using PowerShell to administer SQL Server

  • Exploring SQL Server Management Objects (SMO)
  • Configure database and instance features with PowerShell
  • Manage logins and backups with PowerShell
  • Create an Azure SQL database with PowerShell

After completing this module, students will be able to:

  • Describe the benefits of PowerShell and its fundamental concepts.
  • Configure SQL Server mediante PowerShell.
  • Manage and maintain SQL Server using PowerShell.
  • Manage an Azure SQL database using PowerShell.

Module 12: Track SQL Server Access with Extended Events
This module explains how to monitor performance metrics for SQL Server and Azure SQL Database. It also describes troubleshooting strategies and usage scenarios for working with extended events.

lessons

  • Basics of Extended Events
  • Work with extended events

Lab 1 - Using SQL Server Extended Events

  • Create extended event sessions
  • Working with extended event sessions

After completing this module, students will be able to:

  • Describe the basics of extended events.
  • Create and view extended event sessions.

Module 13: SQL Server Monitoring
This module explains how to monitor databases in order to proactively deal with potential problems. It also describes how to use the built-in tools provided to analyze instance and server activity.

lessons

  • activity monitoring
  • Capture and management of performance data
  • Analysis of collected performance data

Lab 1: Monitoring SQL Server

  • Using Performance Monitor
  • Data Collection Settings
  • view reports

After completing this module, students will be able to:

  • Monitor current activity.
  • Capture and manage performance data.
  • Analyze the collected performance data.
  • Configure the SQL Server utility.

Module 14: Troubleshooting SQL Server
This module explains how to solve common problems that can arise when working with SQL Server systems. It also describes a methodology for solving general database server problems.

lessons

  • Application of a problem solving methodology
  • Service related troubleshooting
  • Troubleshooting connectivity and login issues

Lab 1: Troubleshooting SQL Server

  • Error Troubleshooting
  • Troubleshooting Services
  • Troubleshooting login

After completing this module, students will be able to:

  • Describe a troubleshooting methodology for SQL Server.
  • Resolve service related issues.
  • Resolve login and connectivity issues.

Module 15: Import and export of data
This module explains how to use SQL Server native tools to import and export data to and from SQL Server and Azure SQL Databases.

lessons

  • Data transfer to and from SQL Server
  • Import and export of table data
  • Using bcp and BULK INSERT to import data
  • Deployment of data tier applications

Lab 1: Importing and exporting data

  • Disable and enable restrictions
  • Using the import and export wizard
  • Import with bcp and BULK INSERT
  • Working with DACPAC and BACPAC

After completing this module, students will be able to:

  • Describe tools and techniques for transferring data.
  • Import and export data from tables.
  • Use bcp and BULK INSERT to import data.
  • Use data tier applications to import and export database applications

 

Previous requirements

  • Experience using applications on Windows servers
  • Experience working with SQL Server or another RDMS

 

Language

  • English course

  • Labs: English

€695.00