COF-C02 · Question #609
What is a characteristic of a tag associated with a masking policy?
The correct answer is B. A tag can have only one masking policy for each data type. In Snowflake's tag-based masking, a single tag can have at most one masking policy assigned per data type. For example, a tag named 'PII' can have one masking policy for STRING data and one for NUMBER data, but it cannot have two policies for the same data type. This constraint…
Question
What is a characteristic of a tag associated with a masking policy?
Options
- AA tag can be dropped after a masking policy is assigned
- BA tag can have only one masking policy for each data type.
- CA tag can have multiple masking policies for each data type.
- DA tag can have multiple masking policies with varying data types
How the community answered
(42 responses)- B93% (39)
- C2% (1)
- D5% (2)
Explanation
In Snowflake's tag-based masking, a single tag can have at most one masking policy assigned per data type. For example, a tag named 'PII' can have one masking policy for STRING data and one for NUMBER data, but it cannot have two policies for the same data type. This constraint ensures deterministic behavior - when a tag is applied to a column, Snowflake can unambiguously select the correct policy based on the column's data type. A tag cannot be dropped while a masking policy is assigned to it, making option A incorrect.
Topics
Community Discussion
No community discussion yet for this question.