You're building a data product on the Snowflake Marketplace that includes a view that aggregates data from a table containing Personally Identifiable Information (PII). You need to ensure that consumers of your data product CANNOT directly access the underlying PII data but can only see the aggregated results from the view. What is the MOST secure and recommended approach to achieve this?
Correct Answer: B
Granting only 'SELECT privilege on the (option B) ensures that consumers can only access the view and not the underlying PII data. Granting 'SELECT on the underlying table (option A) defeats the purpose of the view. Using a stored procedure (option C), while potentially masking the data access, is less performant and can still expose data if not carefully implemented. 'USAGE privilege (option D) only allows access to the database, not the data itself. 'READ' on the stage (option E) allows direct access to the raw data, which exposes the PII.