Exam DEA-C02 Topic 1 Question 104 Discussion

Actual exam question for Snowflake's DEA-C02 exam
Question #: 104
Topic #: 1
A financial institution needs to mask sensitive customer data (PII) in a 'CUSTOMER' table. The table contains columns like 'CUSTOMER ID', 'FIRST NAME', 'LAST NAME', 'CREDIT CARD, and 'ADDRESS'. The data should be masked differently for different roles: 'ANALYST' role should see obfuscated values for names and addresses, while the 'SUPPORT' role should see the last four digits of the credit card and a hashed version of the address. The "CUSTOMER ID' should never be masked. Assume a central masking policy already exists called 'PII MASKING POLICY. Which of the following statements is the MOST efficient and secure way to achieve this?

Suggested Answer: A Vote an answer

Option A is the most efficient and recommended approach. Using conditional expressions (CASE statements or similar logic with within a single masking policy allows you to manage different masking rules for different roles within a centralized policy. This avoids creating numerous policies and simplifies management. Option B is less efficient due to the overhead of calling a stored procedure for each row access. Option C using view is difficult to mantain and not scalable. Option D can lead to a proliferation of masking policies, making management cumbersome. Option E introduces external dependencies and potential latency.

by Geoff at Jul 02, 2026, 03:28 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10