55353AC Administering a SQL Database Infrastructure

€695.00
| /

Course Description

This instructor-led course provides students who administer and maintain SQL Server databases with the knowledge and skills to manage a SQL Server database infrastructure. Additionally, it will be useful for people who develop applications that deliver content from SQL Server databases.

Audience profile

The primary audience for this course is people who administer and maintain SQL Server databases. These people 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 SQL Server database content.

Goals

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


Course outline

Module 1: SQL Server Security

Protecting data within your Microsoft SQL Server databases is essential and requires a working knowledge of SQL Server security issues and features. 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: User Authentication

  • Create logins
  • Create database users
  • Fix app login issues
  • Configure security for restored databases

After completing this module, students will be able to:

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

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 role; Instead of assigning permissions on a user-by-user basis, you can grant permissions to a role and then make users role members. Microsoft SQL Server includes support for security roles defined at the server level and the database level.

Lessons

  • Work with server roles
  • Work with fixed database roles
  • Assigning user-defined database roles

Lab 1: Assigning Server and Database Roles

  • Server role assignment
  • Fixed database role assignment
  • Assigning user-defined database roles
  • Security verification

After completing this module, students will be able to:

  • Describe and use server roles to manage security at the server level.
  • Describe and use fixed database roles.
  • Use custom database roles and application roles to manage security at the database level.

Module 3: Authorization of users to access resources

In the previous modules, you have seen how Microsoft SQL Server security is organized and how permission sets can be assigned at the server and database level by using fixed server roles, user-defined server roles, Fixed database and application roles. The final step in authorizing users to access SQL Server resources is authorizing users and roles to access server and database objects. In this module, you will see how these object permissions are managed. In addition to access permissions to database objects, SQL Server provides the ability to determine which users can execute code, such as functions and stored procedures. In many cases, these permissions and the permissions on database objects are best configured at the schema level rather than at the individual object level. Schema-based permission grants can simplify your security architecture. You will explore granting permissions at the schema level in the final lesson of this module.

Lessons

  • Describe and use server roles to manage security at the server level.
  • Describe and use fixed database roles.
  • Use custom database roles and application roles to manage security at the database level.

Lab 1: Authorize users to access resources

  • Describe and use server roles to manage security at the server level.
  • Describe and use fixed database roles.
  • Use custom database roles and application roles to manage security at the database level.

After completing this module, students will be able to:

  • Describe and use server roles to manage security at the server level.
  • Describe and use fixed database roles.
  • Use custom database roles and application roles to manage security at the database level.

Module 4: Data Protection with Encryption and Auditing

When configuring the security of your Microsoft SQL Server systems, you must ensure that you meet all of your organization's compliance requirements for data protection. Organizations often need to adhere to industry-specific compliance policies, which require auditing of all data access. To address this requirement, SQL Server provides a variety of options for implementing auditing. Another common compliance requirement is data encryption to protect against unauthorized access in the event that access to database files is compromised. SQL Server supports this requirement by providing transparent data encryption (TDE). To reduce the risk of information leakage by users with administrative access to a database, columns containing sensitive data, such as credit card numbers or national identity numbers, can be encrypted using the Always Encrypted feature. This module describes the options available for auditing in SQL Server, how to use and manage the SQL Server auditing feature, and how to implement encryption.

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

Lab 1: Using auditing and encryption

  • Work with SQL Server auditing
  • Encrypt a column as always encrypted
  • Encrypt a database using TDE

After completing this module, students will be able to:

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

Module 5: Recovery Models and Backup Strategies

One of the most important aspects of a database administrator's role is ensuring that the organization's data is reliably backed up so that if a failure occurs, you can recover the data. Even though the computer industry has known about the need for reliable backup strategies for decades, and has discussed this at length, unfortunate stories related to data loss are still common. Another problem is that even when implemented strategies work as designed, the results still do not meet an organization's operational requirements. In this module, you will consider how to create a strategy that is aligned with the needs of the organization, based on the backup models available and the role of transaction logs in maintaining database consistency.

Lessons

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

Lab 1: Understanding SQL Server Recovery Models

  • Plan a backup strategy
  • Configure database recovery models

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 the previous module, you learned how to plan a backup strategy for a SQL Server system. Now you can learn how to perform SQL Server backups, including full and differential database backups, transaction log backups, and partial backups. In this module, you will learn how to apply various backup strategies.

Lessons

  • Database and transaction log backup
  • Database Backup Management
  • Advanced database options

Lab 1: Database Backup

  • Database Backup
  • Backing up databases, differentials, and transaction logs
  • Making a partial backup

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: Restoring SQL Server Databases

In the previous module, you learned how to create backup copies of Microsoft SQL Server databases. A backup strategy can involve many different types of backups, so it is essential that you can restore them effectively. You will often restore a database in an urgent situation. However, you must ensure that you have a clear plan on how to proceed and successfully recover the database to the required state. A good plan and understanding of the restoration process can help prevent the situation from getting worse. Some database restores are related to system failures. In these cases, you will want to return the system as close as possible to the state it was in before the failure. However, some failures are related to human error and you may want to recover the system to a point before that error. SQL Server's point-in-time recovery features can help you achieve this. Because they are typically much larger, user databases are more likely to be affected by system failures than system databases. However, system databases can be affected by failures and special care must be taken when recovering them. In particular, you must understand how to recover each database on the system because you cannot use the same process for all databases on the system. In this module, you will see how to restore the system and user databases and how to implement point-in-time recovery. You must understand how to recover each database on the system because you cannot use the same process for all databases on the system. In this module, you will see how to restore the system and user databases and how to implement point-in-time recovery. You must understand how to recover each database on the system because you cannot use the same process for all databases on the system. In this module, you will see how to restore the system and user databases and how to implement point-in-time recovery.

Lessons

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

Lab 1: Restoring SQL Server Databases

  • Restore a database backup
  • Restricting backups of databases, differentials, and transaction logs
  • Carrying out a restoration in parts

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

The tools provided by Microsoft SQL Server make administration easier compared to other database engines. However, even when tasks are easy to perform, it is common to have to repeat a task many times. Effective database administrators learn to automate repetitive tasks. This can help avoid situations where an administrator forgets to execute a task at the required time. Perhaps most importantly, automating tasks helps ensure that they are performed consistently every time they are run. This module describes how to use SQL Server Agent to automate jobs, how to configure security contexts for jobs, and how to implement multi-server jobs.

Lessons

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

Lab 1: Automating SQL Server Administration

  • Create a SQL Server Agent job
  • Try a job
  • schedule a job
  • Configure master and target servers

After completing this module, students will be able to:

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

Module 9: Security Configuration for SQL Server Agent

Other modules in this course have demonstrated the need to minimize the permissions granted to users, following the “least privilege” principle. This means that users only have the permissions they need to perform their tasks. The same logic applies to granting permissions to SQL Server Agent. Although it is easy to run all jobs in the context of the SQL Server Agent service account and configure that account as an administrative account, this would result in a poor security environment. It is important to understand how to create a least privilege security environment for jobs running on SQL Server Agent.

Lessons

  • Understanding SQL Server Agent Security
  • Credential settings
  • Proxy Account Settings

Lab 1: Security Configuration for SQL Server Agent

  • Analysis of problems in SQL Server Agent
  • Setting up a credential
  • Setting up a proxy account
  • Configuring and testing a job's security context

After completing this module, students will be able to:

  • Explain the security of SQL Server Agent.
  • Configure credentials.
  • Set up proxy accounts

Module 10: Monitoring SQL Server with Alerts and Notifications

A key aspect of proactively managing Microsoft SQL Server is making sure you are aware of problems and events occurring on the server, as they occur. SQL Server logs a lot of information about problems. You can set it to automatically alert you when these problems occur, using alerts and notifications. The most common way that SQL Server database administrators receive details of events of interest is through an email message. 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

  • Database Mail Configuration
  • Operator configuration
  • Alert and notification settings
  • Test alerts and notifications

After completing this module, students will be able to:

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

Module 11: Introduction to SQL Server Administration Using PowerShell

This module discusses how to use Windows PowerShell with Microsoft SQL Server. Companies have to constantly increase the efficiency and reliability of maintaining their IT infrastructure; With PowerShell, you can improve this efficiency and reliability by creating scripts to perform tasks. PowerShell scripts can be tested and applied multiple times to multiple servers, saving your organization time and money.

Lessons

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

Lab 1: Using PowerShell to Manage SQL Server

  • Getting started with PowerShell
  • Using PowerShell to change SQL Server settings

After completing this module, students will be able to:

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

Module 12: Tracking SQL Server Access with Extended Events

Monitoring performance metrics provides a great way to evaluate the overall performance of a database solution. However, there are times when you need to perform a more detailed analysis of the activity occurring within a Microsoft SQL Server instance to troubleshoot problems and identify ways to optimize workload performance. SQL Server Extended Events is a lightweight and flexible event management system built into the Microsoft SQL Server database engine. This module focuses on the architectural concepts, troubleshooting strategies, and usage scenarios for Extended Events.

Lessons

  • Extended Event Basics
  • Work with extended events

Lab 1: Extended Events
Using the System_Health Extended Events Session
Tracking Page Splits Using Extended Events

After completing this module, students will be able to:

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

Module 13: SQL Server Monitoring

The Microsoft SQL Server database engine can run for long periods of time without requiring administrative attention. However, by periodically monitoring the activity that occurs on the database server, you can troubleshoot potential problems 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 should become familiar with what each of the tools does and how to use them. It's easy to get overwhelmed by the volume of output that monitoring tools can provide, so you also need to learn techniques for analyzing your output.

Lessons

  • Activity monitoring
  • Capture and manage performance data
  • Analysis of collected performance data
  • SQL Server Utility

Lab 1: Monitoring SQL Server

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

After completing this module, students will be able to:

Activity monitoring

  • Capture and manage performance data
  • Analyze collected performance data
  • Use the SQL Server Utility

Module 14: Troubleshooting SQL Server

Database administrators working with Microsoft SQL Server must take on the important role of troubleshooting when problems arise, especially if users of business-critical applications that depend on SQL Server databases are unable to work. It is important to have a solid methodology for solving problems in general and to be familiar with the most common problems that can arise when working with SQL Server systems.

Lessons

  • A troubleshooting methodology for SQL Server
  • Troubleshooting service issues
  • Troubleshooting connectivity and login issues

Lab 1: Common Problem Solving

  • 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

After completing this module, students will be able to:

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

Module 15: Import and export of data

Although users running application programs directly enter a large amount of data that resides on a Microsoft SQL Server system, there is often a need to move data in other locations, to and from SQL Server. SQL Server provides a set of tools that you can use to transfer data in and out. Some of these tools, such as the bcp (Bulk Copy Program) utility and SQL Server Integration Services, are external to the database engine. Other tools, such as the BULK INSERT statement and the OPENROWSET function, are implemented in the database engine. With SQL Server, you can also create data-tier applications that package all tables, views, and instance objects associated with a user database into a single deployment unit. In this module, you will explore these tools and techniques so you can import and export data to and from SQL Server.

Lessons

  • Data transfer to and from SQL Server
  • Import and export table data
  • Using bcp and BULK INSERT to import data
  • Deploy and update data tier application

Lab 1: Data Import and Export

  • Import and Excel data with 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

After completing this module, students will be able to:

  • Import and Excel data with 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


    Previous requirements

    In addition to their professional experience, students who take this training must already have the following technical knowledge:
    • Basic knowledge of the Microsoft Windows operating system and its main functionality.
    • Working knowledge of Transact-SQL.
    • Working knowledge of relational databases.
    • Some experience with database design.


    Language

    • English course

    • Labs: English

    Information related to training

    Soporte siempre a tu lado

    Training support: Always by your side

    Formación presencial y telepresencial

    Do you need another training modality?

    bonificaciones

    Bonuses for companies