2025 Secure Data Sharing Flashcards

1
Q

What is a share

A

They do not have any data but contain information to enable object sharing between accounts. Typically they contain
* Access Privileges for ojects that are shared
* Consumer details (Accounts that consume data from share)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How many databases can be created per share

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the two types of consumer accounts for a share

A

Standard
Reader Account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Are DML operations allowed for users accessing a share via a Reader Account

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What options are available to share data

A

Direct Share
Snowflake Marketplace
Data Exchange

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the steps required to enable data sharing in Snowflake

A
  • Create database roles
  • Grant privileges on objects to database roles
  • Create an empty share
  • Add database to a share
  • Add accounts to a share
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What command can be used to list all inbound and outbound shares

A

SHOW SHARES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Does the SHOW SHARES require an active warehouse

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What permissions do you need to drop a share

A

The ACCOUNTADMIN

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Can dropped shares be recovered

A

No, they must be created and configured again

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Is Cloning or Time-Travel supported on shared objects?

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Can you re-share a share

A

No

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What can be shared

A

Tables, external tables, secure views, secure materialized views, and secure UDFs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

How can you share data that resides in different databases

A

Secure VIEWS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What does SHOW GRANTS OF SHARE do?

A

Lists all the accounts that created a database from the share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How can you share data across regions/clouds

A

Database Replication

17
Q

What type of Snowflake objects can be shared

A
  • Databases
  • Tables
  • Dynamic Tables
  • External Tables
  • Iceberg Tables
  • Secure Views
  • Secure Materialized Views
  • UDFs
18
Q

What is the recommended way to validate data accessibility by the consumers?

A

Set the session parameter SIMULATED_DATA_SHARING_CONSUMER to the customer you are confirming

19
Q

Does Snowflake automatically grant privileges for new tables added to a shared schema

A

No, the provider must grant select on the table to the share