QuestionQ40

VerifiedSecuring Data

A data analyst is assembling a dataset containing customer details, including email addresses and birthdates. Multiple teams will use this dataset to generate reports, but certain teams must not be permitted to access sensitive data. The analyst must ensure that the data is stored securely and that personally identifiable information (PII) is safeguarded in accordance with organizational standards and Databricks best practices.

Which action should the analyst take to protect the PII data while enabling safe reporting access for other teams?

Explanation

Dynamic views can provide fine-grained, role-aware column-level security and data masking for reporting users. A view can use a group-membership function to return PII only to authorized roles and redact or exclude it for other teams, while the underlying table remains inaccessible to those users. Databricks recommends using is_account_group_member() for Unity Catalog account-level groups; is_member() evaluates workspace-level membership and is retained for compatible use cases.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!