Data Protection and Data Sharing
Implement data protection strategies and configure secure data sharing between Snowflake accounts (12% of exam).
Data Protection and Data Sharing are fundamental concepts in Snowflake that every SnowPro Core certification candidate must understand thoroughly. **Data Protection:** Snowflake provides comprehensive data protection through multiple layers of security. Time Travel allows users to access historica…
Concepts covered: Time Travel feature, Fail-safe period, Data retention settings, UNDROP command, Zero-copy cloning, Cloning databases, schemas, and tables, Clone inheritance, Dynamic data masking, Row access policies, Object tagging, Column-level security, Data classification, Secure data sharing between accounts, Reader accounts, Shares and share objects, Snowflake Marketplace, Data Exchange, Listings
COF-C02 - Data Protection and Data Sharing Example Questions
Test your knowledge of Data Protection and Data Sharing
Question 1
A telecommunications company uses Snowflake to store customer call records. During a schema restructuring project, an engineer dropped a table named 'CALL_LOGS' from the 'TELEMETRY' schema at 8:00 AM. At 10:00 AM, they ran UNDROP TABLE TELEMETRY.CALL_LOGS successfully. At 11:00 AM, another team member, unaware of the recovery, dropped the same table again. At 3:00 PM, the original engineer discovered the table was missing again and needs to restore it. The Time Travel retention is configured at 14 days. When the engineer runs UNDROP TABLE TELEMETRY.CALL_LOGS at 3:00 PM, which version of the table will be restored?
Question 2
A data engineering team at a retail bank uses Snowflake Enterprise Edition. Their 'account_transactions' table has DATA_RETENTION_TIME_IN_DAYS set to 30 days and receives millions of transactions daily. On November 5th at 3:00 PM, the team needs to audit transaction patterns by comparing current data against the table state from October 10th at 9:00 AM. They also want to clone the October 10th version for extended analysis in a separate schema. The senior engineer proposes creating a clone using Time Travel syntax: CREATE TABLE audit_schema.transactions_oct10 CLONE account_transactions AT(TIMESTAMP => '2024-10-10 09:00:00'::TIMESTAMP). After creating the clone, the team plans to run complex analytical queries on the cloned table over the next several weeks. What storage consideration should the team understand about this Time Travel clone operation?
Question 3
Scenario: Continental Insurance Group operates multiple Snowflake accounts across different business units. The Corporate Analytics team in Account A has developed a comprehensive risk scoring model stored in a database called RISK_MODELS_DB. The Underwriting team in Account B needs to query this risk model data for their daily operations. After the Corporate Analytics team creates a share named 'RISK_MODEL_SHARE' and grants access to Account B, the Underwriting team creates a database from the share using CREATE DATABASE UNDERWRITING_RISK FROM SHARE CORPORATE_ANALYTICS.RISK_MODEL_SHARE. Three months later, the Corporate Analytics team decides to rename the source database from RISK_MODELS_DB to ENTERPRISE_RISK_DB and also renames several tables within it to align with new naming conventions. The Underwriting team reports that their existing queries and dashboards are still functioning correctly after these changes. What explains why the consumer's access remains unaffected despite the provider's object renaming activities?