Hiding sensitive column values behind a dynamic mask
Dynamic data masking (DDM) obscures sensitive data in query results for non-privileged users while leaving the underlying data in storage unchanged. It is applied at the column level on tables in a SQL analytics endpoint or Warehouse in Microsoft Fabric, using built-in masking functions to control how much of the data is exposed.
1 · Learn the must-know
- DDM works on Fabric Warehouse tables and SQL analytics endpoint tables (Lakehouse), configured via T-SQL (ADD MASKED WITH) or through the Fabric portal UI on the column.
- Available masking functions include default() (fully masks based on data type), email() (masks email format, e.g. [email protected]), random() (numeric range masking), and partial() (custom prefix/padding/suffix exposure).
- Masking is enforced at query time only: it does not encrypt data at rest, and users with sufficient permission (e.g., UNMASK permission or admin/workspace roles) can bypass the mask and see plaintext.
- By default, workspace admins and members with elevated roles can see unmasked data unless explicitly restricted; masking is not a substitute for proper access control or encryption.
- Masking rules are simple obfuscation and can potentially be inferred/bypassed via inference attacks (e.g., brute-forcing ranges or using WHERE clauses), so it should be combined with other security layers like row-level security and object-level permissions.
- DDM policies must be created/altered via T-SQL or the portal by users with ALTER ANY MASK permission, and grants/revokes of UNMASK permission control who sees the real values.
2 · Check your understanding
Check this objectiveFree · always available
A data engineer needs to mask a 16-digit credit card number column in a Fabric Warehouse table so that all digits are hidden except the last four, which must remain visible to every user who can query the table. Which masking rule accomplishes this?
Your objective map0 tried · 0 answered correctly · 54 untouched
What you have tried across DP-700's objectives, not a readiness score.
Implement and manage an analytics solution30-35% of the exam0 of 18 tried
Ingest and transform data30-35% of the exam0 of 19 tried
Monitor and optimize an analytics solution30-35% of the exam0 of 17 tried
3 · Keep going
Ready for more? Take a weighted mock or try free practice questions.