General Flashcards
(153 cards)
How many databases can you have per share
one
What is the limit for the number of shares you can create
no hard limit
What is the limit for the number of accounts you can add to a share
no hard limit
What metrics does the data provider have when consumers access a data share
Consumer’s Snowflake Account Name
Consumer’s Snowflake Org name
Statistical data on consumption including date, and the number of queries ran
Any info consumer provides when submitting the data request
What database objects can be shared
Tables
External Tables
Secure Views
Secure Materialized views
secure udfs
What does each share consist of
the privileges that grant access to the database and the schema containing the objects to share
the privs that grant access to the specific objects
the consumer accounts with which the database and the objects are shared
T/F Data sharing is only supported between Snowflake Accounts
True
Who does the reader account belong to
The provider account that created it
T/F A consumer using a reader account can consume shares from anyone
False - only the provider account that created the reader account
What three product offerings are there for data sharing
Direct Share
Snowflake Marketplace
Data Exchange
What users can manage a Data Exchange
An account admin or a user with IMPORT PRIVILEGES granted
How do you grant import privileges to a rol
grant import privileges on data exhange ‘exchange_name’ to ‘role_name’
When a role is granted IMPORT PRIVILEGES, what does SHOW GRANTS show
USAGE
What rights or user do you have tobe do use the Private Sharing page in Snowsight
AccountAdmin or a role that has been granted the CREATE SHARE or IMPORT SHARE
What tasks can be performed on an inbound share
Create a database from the share
View all shares from the providers and the data sharing mechanism used
What tasks can be performed for outbound shares
View the share - includes the database, the consumer accounts, date when the share was created, and the objects that have been shared
Create a share/data listing
Edit a share/data listing
revoke access to the share for individual consumer accounts
To share a table, what access needs to be granted to the share
USAGE on Database and schema
SELECT on table
T/F If you share across different regions or cloud platforms, a database with one or more external tables will blocked
True
T/F Creating secure views on streams is not recommended
True, instead, allow consumers to create their own streams on the tables and secure views you share.
how do you add multiple accounts to a share
alter share share_name add accounts=xyz12345, xyz8908
For secure views based on tables in multiple databases, which additional privilege must be granted
REFERENCE_USAGE on every database that is not the database where the secured view is created
Which editions support data sharing
Standard, Enterprise, and Business Critical (not VPS)
Partner Connect is limited to which role
AcccountAdmin
T/F when sharing a view across regions or cloud platforms, and the view references multiple databases, each of these other databases must be replicated
True