ExamGecko
Question list
Search
Search

Question 671 - COF-C02 discussion

Report
Export

Which privilege grants the ability to set a column-level security masking policy on a table or view column?

A.
APPLY
Answers
A.
APPLY
B.
CREATE
Answers
B.
CREATE
C.
SET
Answers
C.
SET
D.
MODIFY
Answers
D.
MODIFY
Suggested answer: A

Explanation:

In Snowflake, the APPLY privilege is required to set a masking policy on a table or view column. This privilege allows a user to associate a masking policy with a specific column, thereby controlling how data in that column is masked or hidden.

Create a Masking Policy: Define a masking policy using the CREATE MASKING POLICY command.

Grant APPLY Privilege: Grant the APPLY privilege on the masking policy to the relevant roles or users.

Apply the Masking Policy: Use the ALTER TABLE or ALTER VIEW command to apply the masking policy to a column.

References:

Snowflake Documentation: Data Masking

Snowflake Documentation: CREATE MASKING POLICY

Snowflake Documentation: Privileges for Masking Policies

asked 23/09/2024
Albert Hidalgo Bassons
45 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first