What should be considered when deciding to use a secure view? (Select TWO).
A.
No details of the query execution plan will be available in the query profiler.
A.
No details of the query execution plan will be available in the query profiler.
B.
Once created there is no way to determine if a view is secure or not.
B.
Once created there is no way to determine if a view is secure or not.
C.
Secure views do not take advantage of the same internal optimizations as standard views.
C.
Secure views do not take advantage of the same internal optimizations as standard views.
D.
It is not possible to create secure materialized views.
D.
It is not possible to create secure materialized views.
E.
The view definition of a secure view is still visible to users by way of the information schema.
E.
The view definition of a secure view is still visible to users by way of the information schema.
Suggested answer: A, C
Explanation:
When deciding to use a secure view, several considerations come into play, especially concerning security and performance:
A . No details of the query execution plan will be available in the query profiler: Secure views are designed to prevent the exposure of the underlying data and the view definition to unauthorized users. Because of this, the detailed execution plans for queries against secure views are not available in the query profiler. This is intended to protect sensitive data from being inferred through the execution plan.
C . Secure views do not take advantage of the same internal optimizations as standard views: Secure views, by their nature, limit some of the optimizations that can be applied compared to standard views. This is because they enforce row-level security and mask data, which can introduce additional processing overhead and limit the optimizer's ability to apply certain efficiencies that are available to standard views.
B . Once created, there is no way to determine if a view is secure or not is incorrect because metadata about whether a view is secure can be retrieved from the INFORMATION_SCHEMA views or by using the SHOW VIEWS command.
D . It is not possible to create secure materialized views is incorrect because the limitation is not on the security of the view but on the fact that Snowflake currently does not support materialized views with the same dynamic data masking and row-level security features as secure views.
E . The view definition of a secure view is still visible to users by way of the information schema is incorrect because secure views specifically hide the view definition from users who do not have the privilege to view it, ensuring that sensitive information in the definition is not exposed.
Question