nerdexam
Snowflake

COF-C02 · Question #333

What does a masking policy consist of in Snowflake?

The correct answer is A. A single data type, with one or more conditions, and one or more masking functions. A Snowflake dynamic data masking policy is defined with a single data type (the input and output data types must match - you cannot change the data type of the masked value), one or more conditional expressions (e.g., checking the role of the querying user), and one or more…

Data Governance

Question

What does a masking policy consist of in Snowflake?

Options

  • AA single data type, with one or more conditions, and one or more masking functions
  • BA single data type, with only one condition, and only one masking function
  • CMultiple data types, with only one condition, and one or more masking functions
  • DMultiple data types, with one or more conditions, and one or more masking functions

How the community answered

(68 responses)
  • A
    90% (61)
  • B
    6% (4)
  • C
    1% (1)
  • D
    3% (2)

Explanation

A Snowflake dynamic data masking policy is defined with a single data type (the input and output data types must match - you cannot change the data type of the masked value), one or more conditional expressions (e.g., checking the role of the querying user), and one or more masking functions that define what the data looks like for different roles or conditions. The policy does not support multiple data types in a single definition, which rules out options C and D. Option B is too restrictive because a policy can have multiple conditions and multiple masking functions (e.g., return full value for admin, partial mask for analyst, full mask for all others).

Topics

#Masking Policy#Data Masking#Data Governance#Security

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice