ExamGecko
Question list
Search
Search

Question 674 - COF-C02 discussion

Report
Export

What does Snowflake recommend as a best practice for using secure views?

A.
Use sequence-gen era ted values
Answers
A.
Use sequence-gen era ted values
B.
Programmatically reveal the identifiers.
Answers
B.
Programmatically reveal the identifiers.
C.
Use secure views solely for query convenience.
Answers
C.
Use secure views solely for query convenience.
D.
Do not expose the sequence-generated column(s)
Answers
D.
Do not expose the sequence-generated column(s)
Suggested answer: D

Explanation:

Snowflake recommends not exposing sequence-generated columns in secure views. Secure views are used to protect sensitive data by ensuring that users can only access data for which they have permissions. Exposing sequence-generated columns can potentially reveal information about the underlying data structure or the number of rows, which might be sensitive.

Create Secure Views: Define secure views using the SECURE keyword to ensure they comply with Snowflake's security policies.

Exclude Sensitive Columns: When creating secure views, exclude columns that might expose sensitive information, such as sequence-generated columns.

CREATE SECURE VIEW secure_view AS

SELECT col1, col2

FROM sensitive_table

WHERE sensitive_column IS NOT NULL;

References:

Snowflake Documentation: Secure Views

Snowflake Documentation: Creating Secure Views

These answers and explanations should provide comprehensive guidance on the specified Snowflake topics.

asked 23/09/2024
Alex Amponsah
40 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first