Administering a SQL Database Infrastructure
- Codice corso: 20764C
- Durata corso: 5gg
Introduzione
This five-day instructor-led course provides students who administer and maintain SQL Server databases with the knowledge and skills to administer a SQL server database infrastructure. Additionally, it will be of use to individuals who develop applications that deliver content from SQL Server databases.
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.
Obiettivi del corso
After completing this course, students will be able to:
Authenticate and authorize users
Assign server and database roles
Authorize users to access resources
Protect data with encryption and auditing
Describe recovery models and backup strategies
Backup SQL Server databases
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
Prerequisiti
In addition to their professional experience, students who attend this training should already have the following technical knowledge:
Basic knowledge of the Microsoft Windows operating system and its core functionality
Working knowledge of Transact-SQL
Working knowledge of relational databases
Some experience with database design
Struttura del Corso
MODULE 1: SQL Server Security
This module describes SQL Server security models, logins, users, partially contained databases, and cross-server authorization.
Lessons
After completing this module, you will be able to:
SQL Server basic concepts
SQL Server connection authentication
User login authorization to databases
Partially contained databases
Authorization across servers
Create Logins
Create Database Users
Correct Application Login Issues
Configure Security for Restored Databases
Lab : Authenticating Users
MODULE 2: Assigning Server and Database Roles
Using roles simplifies the management of user permissions. With roles, you can control authenticated users’ access to system resources based on each user’s job function—rather than assigning permissions user-by-user, you can grant permissions to a role, then make users members of roles. Microsoft SQL Server includes support for security roles defined at server level and at database level.
Lessons
After completing this module, you will be able to:
Describe and use server roles to manage Server-Level Security
Describe and use Fixed Database Roles
Use custom database roles and application roles to manage database-level security
Verifying Security
Lab : Assigning server and database roles
MODULE 3: Authorizing Users to Access Resources
In this module, you will see how these object permissions are managed. In addition to access permissions on database objects, SQL Server provides the ability to determine which users are allowed to execute code, such as stored procedures and functions. In many cases, these permissions and the permissions on the database objects are best configured at the schema level rather than at the level of the individual object. Schema-based permission grants can simplify your security architecture. You will explore the granting of permissions at the schema level in the final lesson of this module.
Lessons
After completing this module, you will be able to:
Authorize User Access to Objects
Authorize Users to Execute Code
Configure Permissions at the Schema Level
Lab : Authorizing users to access resources
MODULE 4: Protecting Data with Encryption and Auditing
This module describes the available options for auditing in SQL Server, how to use and manage the SQL Server Audit feature, and how to implement encryption.
Lessons
After completing this module, you will be able to:
Describe the options for auditing data access.
Implement SQL Server Audit.
Manage SQL Server Audit.
Describe and implement methods of encrypting data in SQL Server.
Implement encryption
Encrypt a Column as Always Encrypted
Encrypt a Database using TDE
Lab : Using Auditing and Encryption
MODULE 5: Recovery Models and Backup Strategies
In this module, you will consider how to create a strategy that is aligned with organizational needs, based on the available backup models, and the role of the transaction logs in maintaining database consistency.
Lessons
After completing this module, you will be able to:
Describe various Backup Strategies
Describe how Database Transaction Logs function
Plan SQL Server backup strategies
Configure Database Recovery Models
Lab : Understanding SQL Server recovery models
MODULE 6: Backing Up SQL Server Databases
In this module, you will learn how to apply various backup strategies.
Lessons
After completing this module, you will be able to:
Perform backups of SQL Server Databases and Transaction Logs
Manage Database Backups
Perform Database, Differential, and Transaction Log Backups
Perform a Partial Backup
Lab : Backing Up Databases
MODULE 7: Restoring SQL Server 2016 Databases
In this module, you will see how to restore user and system databases and how to implement point-in-time recovery.
Lessons
After completing this module, you will be able to:
Explain the Restore Process
Restore Databases Backup
Perform Advanced Restore Operations
Restring Database, Differential, and Transaction Log Backups
Perform a Point-In-Time Recovery
Performing a Piecemeal Restore
Lab : Restoring SQL Server Databases
MODULE 8: Automating SQL Server Management
This module describes how to use SQL Server Agent to automate jobs, how to configure security contexts for jobs, and how to implement multiserver jobs.
Lessons
After completing this module, you will be able to:
Describe methods for automating SQL Server Management
Configure jobs, job step types, and schedules
Manage SQL Server Agent jobs (Test and schedule a Job)
Configure Master And Target Servers
Multi-server Management
Lab : Automating SQL Server Management
MODULE 9: Configuring Security for SQL Server Agent
Other modules in this course have demonstrated the need to minimize the permissions that are granted to users, following the principle of “least privilege.” This means that users have only the permissions that they need to perform their tasks. The same logic applies to the granting of permissions to SQL Server Agent. Although it is easy to execute all jobs in the context of the SQL Server Agent service account, and to configure that account as an administrative account, a poor security environment would result from doing this. It is important to understand how to create a minimal privilege security environment for jobs that run in SQL Server Agent.
Lessons
After completing this module, you will be able to:
Explain SQL Server Agent security
Analyze Problems in SQL Server Agent
Configure credentials.
Configure Proxy Accounts
Configuring and testing the Security Context of a Job
Lab : Configuring Security for SQL Server Agent
MODULE 10: Monitoring SQL Server with Alerts and Notifications
This module covers the configuration of Database Mail, alerts, and notifications for a SQL Server instance, and the configuration of alerts for Microsoft Azure SQL Database.
Lessons
After completing this module, you will be able to:
Monitor SQL Server Errors
Configure Database Mail
Configure operators, Alerts, and Notifications
Work with Alerts in Azure SQL Database
Lab : Monitoring SQL Server with Alerts and Notifications
MODULE 11: Introduction to Managing SQL Server by using PowerShell
This module looks at how to use Windows PowerShell with Microsoft SQL Server. Businesses are constantly having to increase the efficiency and reliability of maintaining their IT infrastructure; with PowerShell, you can improve this efficiency and reliability by creating scripts to carry out tasks. PowerShell scripts can be tested and applied multiple times to multiple servers, saving your organization both time and money.
Lessons
After completing this module, you will be able to:
Describe the benefits of PowerShell and its fundamental concepts
Configure SQL Server by using PowerShell
Administer and maintain SQL Server by using PowerShell
Manage an Azure SQL Database by using PowerShell
Lab : Using PowerShell to Manage SQL Server
MODULE 12: Tracing Access to SQL Server with Extended events
This module focuses on the architectural concepts, troubleshooting strategies and usage scenarios of Extended Events.
Lessons
After completing this module, you will be able to:
Describe Extended Events core concepts
Create and query Extended Events sessions
Lab : Extended Events
MODULE 13: Monitoring SQL Server
The Microsoft SQL Server Database Engine can run for long periods without the need for administrative attention. However, if you regularly monitor the activity that occurs on the database server, you can deal with potential issues before they arise. SQL Server provides a number of tools that you can use to monitor current activity and record details of previous activity. You need to become familiar with what each of the tools does and how to use them. It is easy to become overwhelmed by the volume of output that monitoring tools can provide, so you also need to learn techniques for analyzing their output.
Lessons
After completing this module, you will be able to:
Monitor current activity
Capture and manage performance data
Analyze collected performance data
Configure SQL Server Utility
Lab : Monitoring SQL Server
MODULE 14: Troubleshooting SQL Server
Database administrators working with Microsoft SQL Server need to adopt the important role of troubleshooter when issues arise—particularly if users of business-critical applications that rely on SQL Server databases are being prevented from working. It is important to have a solid methodology for resolving issues in general, and to be familiar with the most common issues that can arise when working with SQL Server systems.
Lessons
After completing this module, you will be able to:
Describe a troubleshooting methodology for SQL Server
Resolve service-related issues.
Resolve login and connectivity issues
Troubleshoot and Resolve a SQL Login Issue
Troubleshoot and Resolve a Service Issue
Troubleshoot and Resolve a Windows Login Issue
Troubleshoot and Resolve a Job Execution Issue
Troubleshoot and Resolve a Performance Issue
Lab : Troubleshooting Common Issues
MODULE 15: Importing and Exporting Data
In this module, you will explore these tools and techniques so that you can import and export data to and from SQL Server.
Lessons
After completing this module, you will be able to:
Describe tools and techniques for transferring data
Import and export Table Data
Use bcp and BULK INSERT to import data
Use data-tier applications to import and export database applications
Import and Excel Data Using the Import Wizard
Import a Delimited Text File Using bcp
Import a Delimited Text File using BULK INSERT
Create and Test an SSIS Package to Extract Data
Deploy a Data-Tier Application
Lab : Importing and Exporting Data