You create a share in Snowflake but do not add any databases or schemas to it. What will be the state of this share?
CREATE SHARE my_share;
Think about what a share represents and what it needs to share data.
A share in Snowflake is a container for database objects to share. Creating it without adding objects results in an empty share that cannot share data until objects are added.
You have an existing share named my_share. You want to add the database sales_db to this share. Which command is correct?
Recall the syntax for adding objects to a share in Snowflake.
The correct syntax to add a database to a share is ALTER SHARE <share_name> ADD DATABASE <database_name>;
You revoke usage privileges on a share from a consumer account. What happens to the consumer's access to the shared data?
Consider what revoking usage means for shared data access.
Revoking usage on a share prevents the consumer from creating new databases from the share but existing shared databases remain accessible for querying.
When a provider shares data with a consumer account, how does Snowflake ensure the consumer sees consistent data?
Think about how Snowflake shares data efficiently without duplication.
Snowflake Secure Data Sharing provides live access to the provider's data using zero-copy technology, so consumers always see the latest data.
You want to share only certain tables from a database with an external account. What is the best practice to achieve this in Snowflake?
Consider how shares work at the database and schema level.
Snowflake shares data at the database and schema level. To share specific tables, add only the schemas containing those tables to the share.