Free

Enable Dynamic Data Masking using Azure SQL Database

In this hands-on lab, learners are introduced to the skills required to secure the Azure SQL. Exercises in this lab teach users how to enable dynamic data masking using a logical server and query editor while learning the Azure concepts. The topics covered in this lab are crucial for learners to be effective in Azure administrator roles in IT.

0
45
M
Time
Beginner
difficulty
1
ceu/cpe

Course Content

No items found.
No items found.
Course Description

Azure is a dynamic and continually evolving environment. In the Azure SQL database, Dynamic data masking restricts illegal access to delicate data by allowing clients to choose how much of the delicate data to share with minimum influence on the application layer. It’s a policy-based security characteristic that protects the delicate data.

In this challenge, learners will create an Azure SQL Database and enable dynamic data masking to protect the database. For example, with the help of DDM, Azure administrators can protect personally identifiable information (PII) data, so that a developer can query the production database for troubleshooting goals without disrupting compliance regulations. The other guided, advanced, and expert challenges in this series are:

  • Configure Geo-Replication for Your Database.
  • Can you Enable Always Encrypted Using SQL Server?
  • Can you Configure an Autoscale Alert on a VM Scale Set?

Understand the Scenario

In this virtual lab, you are an Azure administrator for a company that is migrating its primary web app from its on-premises datacenter to Azure. Your job responsibility is to create and deploy a new Azure SQL Database and enable dynamic data masking to protect sensitive columns, as a proof of concept. To accomplish this task, you have to deploy the database, then enable and test the configuration. Learners will use an Azure resource group that initially contains no resources. They will create the necessary resources to complete the challenge.

Create an Azure SQL Database

Azure SQL Database is the smart, scalable, cloud database that gives the most comprehensive SQL Server engine adaptability. In this first section of the lab, you will create an Azure SQL Database named db12234483 on a new logical server named sql12234483 within the East US region. After this, for Compute + storage, you will use Standard S0 with 10 DTUs and 250 GB. For the proof of concept, you will use the Sample named AdventureWorksLT as the Data Source. Next, learners will write a query to create a user named user1 in the database and add another statement to add the user to the db_datareader role. Finally, you will run and save the query file as user1.sql and verify that the EmailAddress column is fully visible to the user and save the query as query.sql in the folder of your choice.

Enable dynamic data masking

Dynamic data masking (DDM) strives at real-time data masking of production data. DDM transforms the data stream so that the data requester does not get delicate data access, while no physical modifications to the initial production data occur. In this section of the lab, you will:

  • Use the Dynamic Data Masking blade, to add a mask and add the Email Masking field format for the EmailAddress column in the SaleLT.Customer table.
  • Use the Query editor blade for the new database to log in as user1 and test a query to select all the rows from the SalesLT. Customer table and verify that the EmailAddress column is now masked to the user.
  • Use the Dynamic Data Masking blade to modify the Masking field format to Custom string for the EmailAddress column in the SaleLT.Customer table so that the first two and last four characters are visible and that the characters XXX@XXX are in the middle.

Finally, you will check that the dynamic data masking is enabled using an email mask, verified, and the mask has been modified to use a custom mask.

Test dynamic data masking

Dynamic data masking is a policy-based security characteristic that protects the delicate data in the outcome set of a query over selected database fields. In contrast, the data in the database is not altered. In this section of the lab, you will:

  • Use the Query editor blade for the new database to log in as user1 and test a query to select all the rows from the SalesLT.Customer table. Verify that the custom mask is masking the EmailAddress column to the user.
  • Login as admin testuser and test a query to verify that the EmailAddress column is visible to the admin user.
  • Use the Dynamic Data Masking blade to exclude user1 from masking and use the Query editor blade for the new database to log in as user1 and test a query to verify that the EmailAddress column is now visible to the user.

Lab Summary Conclusion

After completing the “Enable Dynamic Data Masking using Azure SQL Database” virtual lab, you will have accomplished the following:

  • Created an Azure SQL Database.
  • Enabled dynamic data masking.

This course is part of a Career Path:
No items found.

Instructed by

No items found.
Provider
Cybrary Logo
Certification Body
Certificate of Completion

Complete this entire course to earn a Enable Dynamic Data Masking using Azure SQL Database Certificate of Completion

Coming mid-July
Cybrary Reimagined.
Level up with structured, role-aligned career paths.
ALL NEW!
Cybrary Reimagined.
Celebrate Cybersecurity Awareness Month with our buy 2, get 1 offer!
Level up with structured, role-aligned career paths.
Valid until October 31. Elevate your skills today!
Start Now

Heading

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

This is some text inside of a div block.
Share

Purpose Statement

Cybrary Career Paths are comprehensive training programs designed to prepare you for the most in-demand roles in the cybersecurity workforce. Each path follows a Learn, Practice, Prove model and includes different activity types aligned to key topics within the path’s security domain. As you progress through the path, your progress will be measured in real time using Experience Points (XP) that serve as a comprehensive capability score for each topic. Upon completing all of the requirements for a path, you will be rewarded with a shareable digital badge via Credly.
This is some text inside of a div block.
This is some text inside of a div block.
M
Time
This is some text inside of a div block.
difficulty
This is some text inside of a div block.
ceu/cpe

Overview

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Frequently Asked Questions
No items found.
What Will I Learn?
Foundations
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Defensive Security
Focused on trying to find the bad guys. Topics such as threat intelligence, threat hunting, network monitoring, incident response. Defensive security is a reactive measure taken once a vulnerability is found through prevention, detection, and response.
Engineering and Operations
Focused on building and operating information systems.
Governance, Risk, and Compliance
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Leadership and Management
Focused on program design and oversight. Covers project and program management.
Offensive Security
Focused on validating security controls by trying to break them (i.e. penetration testing or ethical hacking). Topics such as Kali Linux, metasploit, scanning, and privilege escalation. Offensive security seeks out the problem or vulnerability through ethical hacking and finds a solution to disable the operation.
Offensive Security
Focused on the core IT competencies that cybersecurity professionals need to succeed in any career path.
Path Outline

Heading 1

Heading 2

Heading 3

Heading 4

Heading 5
Heading 6

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Block quote

Ordered list

  1. Item 1
  2. Item 2
  3. Item 3

Unordered list

  • Item A
  • Item B
  • Item C

Text link

Bold text

Emphasis

Superscript

Subscript

Course Outline

No items found.
No items found.
No items found.

What Our Learners Are Saying

Join 3 million+ users, including 96% of Fortune 1000 companies who use our platform to upskill their teams. See what the buzz is about - start learning for free!

No items found.