Database / Snowflake Interview Questions
What is Snowflake Secure Data Sharing and how does it work without copying data?
Secure Data Sharing lets a Snowflake account (the data provider) grant another Snowflake account (the data consumer) live read access to specific objects — without ever copying, moving, or exporting the data. The consumer's Virtual Warehouse reads directly from the provider's cloud object storage using a metadata pointer. From the consumer's perspective, the shared data appears as a regular read-only database.
The Share object is the key primitive: the provider adds objects (tables, external tables, secure views, secure materialized views, secure UDFs) to a Share, then grants the Share to one or more consumer accounts. The Share is a metadata reference — it contains zero data bytes.
Two consumer types exist:
- Full Snowflake account — an existing Snowflake customer; uses their own Virtual Warehouse to query the share. Zero extra cost to the provider for compute.
- Reader Account — a free Snowflake account created and managed by the provider for consumers who do not have their own Snowflake subscription. The provider pays for the reader account's compute.
Limitation: cross-region or cross-cloud sharing requires the provider to first replicate data to a local account in the consumer's region before sharing. Shared data cannot be further re-shared by consumers by default.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
