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

Course
This is some text inside of a div block.

Enable Dynamic Data Masking using Azure SQL Database

Course

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.

Path Releasing Q2 2025
Full access included with 
Insider Pro
 and 
Teams

0

H

45

M
Time

Beginner

i
This is some text inside of a div block.
Experience Level

1

i

This is some text inside of a div block.
CEU's

1

Enrollees

Heading

H

Heading

M
Time

Heading

i
This is some text inside of a div block.
Experience Level

Heading

i

This is some text inside of a div block.
CEU's

Heading

Enrollees

Learners at 96% of Fortune 1000 companies trust Cybrary

About this course

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.

Read More

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.

Train Your Team

Cybrary’s expert-led cybersecurity courses help your team remediate skill gaps and get up-to-date on certifications. Utilize Cybrary to stay ahead of emerging threats and provide team members with clarity on how to learn, grow, and advance their careers within your organization.

Included in a Path

No items found.
Learn

Learn core concepts and get hands-on with key skills.

Practice

Exercise your problem-solving and creative thinking skills with security-centric puzzles

Prove

Assess your knowledge and skills to identify areas for improvement and measure your growth

Get Hands-on Learning

Put your skills to the test in virtual labs, challenges, and simulated environments.

Measure Your Progress

Track your skills development from lesson to lesson using the Cybrary Skills Tracker.

Connect with the Community

Connect with peers and mentors through our supportive community of cybersecurity professionals.

Success from Our Learners

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Cybrary really helped me get up to speed and acquire a baseline level of technical knowledge. It offers a far more comprehensive approach than just learning from a book. It actually shows you how to apply cybersecurity processes in a hands-on way"

Don Gates

Principal Systems Engineer/SAIC

"Cybrary’s SOC Analyst career path was the difference maker, and was instrumental in me landing my new job. I was able to show the employer that I had the right knowledge and the hands-on skills to execute the role."

Cory

Cybersecurity analyst/

"I was able to earn my CISSP certification within 60 days of signing up for Cybrary Insider Pro and got hired as a Security Analyst conducting security assessments and penetration testing within 120 days. This certainly wouldn’t have been possible without the support of the Cybrary mentor community."

Mike

Security Engineer and Pentester/

"Becoming a Cybrary Insider Pro was a total game changer. Cybrary was instrumental in helping me break into cybersecurity, despite having no prior IT experience or security-related degree. Their career paths gave me clear direction, the instructors had real-world experience, and the virtual labs let me gain hands-on skills I could confidently put on my resume and speak to in interviews."

Cassandra

Information Security Analyst/Cisco Systems

"I was able to earn both my Security+ and CySA+ in two months. I give all the credit to Cybrary. I’m also proud to announce I recently accepted a job as a Cyber Systems Engineer at BDO... I always try to debunk the idea that you can't get a job without experience or a degree."

Casey

Cyber Systems Engineer/BDO

"Cybrary has helped me improve my hands-on skills and pass my toughest certification exams, enabling me to achieve 13 advanced certifications and successfully launch my own business. I love the practice tests for certification exams, especially, and appreciate the wide-ranging training options that let me find the best fit for my goals"

Angel

Founder,/ IntellChromatics.