DP-203 Practice Question: Secure, monitor, and optimize data storage and data processing
You manage an Azure Synapse Analytics workspace. A dedicated SQL pool contains a table with a column named CustomerEmail that stores email addresses. You need to ensure that users who are not members of the DataPrivacy role see only a masked version of the email addresses when they query the table, while members of DataPrivacy see the actual values. The solution must minimize administrative effort. What should you do?
⚠ Common exam trap
Watch out — candidates often confuse dynamic data masking with column-level security or encryption, which control access rather than present masked data to unauthorized users.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Create a dynamic data masking rule on the CustomerEmail column using the email() masking function and grant UNMASK to the DataPrivacy role.
Dynamic data masking is designed to limit sensitive data exposure by masking it to non-privileged users. Applying an email() mask to the CustomerEmail column ensures that users without the UNMASK permission see a masked format, while granting UNMASK to the DataPrivacy role allows those members to see the actual values. This approach requires only a one-time configuration and no changes to queries or applications.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Enable Always Encrypted with a column encryption key and configure the DataPrivacy role as the only role with access to the key.
Why it's wrong here
Always Encrypted protects data at rest and in transit by encrypting the column, but it does not provide automatic masking for users who lack the key; those users would see ciphertext or encounter errors. It also requires application-side changes and key management, which increases administrative effort rather than minimizing it.
- ✓
Create a dynamic data masking rule on the CustomerEmail column using the email() masking function and grant UNMASK to the DataPrivacy role.
Why this is correct
Dynamic data masking applies a masking rule to the column so that non-privileged users see masked data, while users with the UNMASK permission see the actual values. This directly meets the requirement with minimal administrative effort because the masking rule and UNMASK grant are set once and apply to all queries.
- ✗
Apply a column-level security policy using GRANT SELECT ON the CustomerEmail column to the DataPrivacy role.
Why it's wrong here
Column-level security controls who can SELECT the column at all, but it does not automatically mask the data for unauthorized users; those users would receive a permission error rather than a masked value. It also requires granting or denying access per column, which does not meet the requirement to show masked data to non-privileged users.
- ✗
Implement row-level security with a predicate function that filters rows based on the user's role.
Why it's wrong here
Row-level security filters which rows a user can see, not which columns or values. It would not mask the email addresses; it would either return the full row or no row. The requirement is to show a masked version of the email addresses to certain users, not to hide entire rows.
Go deeper
Related to this question
Learn chapter
Implement Azure Stream Analytics
Key term
Azure Synapse Analytics
Azure Synapse Analytics is a cloud-based data integration, warehousing, and analytics service that brings together big data and data warehouse capabilities under one platform.
Key term
Dynamic Data Masking
Dynamic Data Masking is a security feature that automatically hides sensitive data in query results so that unauthorized users see only masked information, while authorized users see the real data.
About these practice questions
One of 509 original DP-203 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed September 2026 · checked against the official Microsoft exam blueprint
This DP-203 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the DP-203 exam.