What you will be able to do
- Create, verify and grant access to an external volume for Iceberg tables
- Set a default external volume and predict which tables it affects
- Add a storage location to an existing external volume
- Describe Open Catalog catalogs, namespaces, storage configuration and how engines connect through service principals and roles
1.External volumes as the storage connection for Iceberg tables
Apache Iceberg tables keep their data and metadata in your own cloud storage, not in Snowflake-managed storage. The table types themselves are covered in Iceberg tables. Snowflake reaches that storage through an external volume: a named, account-level object that stores an IAM entity for a storage location, in the same way a storage integration does for stages. Snowflake uses it to read and write table data, Iceberg metadata and manifest files. An external volume has to exist before you can create any Iceberg table in Snowflake.
One external volume can serve many Iceberg tables, so the number you need depends on how you want to separate access. A single volume works when all tables live in subdirectories of the same bucket. Separate volumes let you secure locations differently. A common split is a read-only volume for externally managed Iceberg tables and a read-write volume for Snowflake-managed ones, so Snowflake cannot overwrite tables another engine owns.
Check the connection before you build tables on a volume. SYSTEM$VERIFY_EXTERNAL_VOLUME tests whether Snowflake can authenticate to the storage provider with the volume's configuration. In Snowsight, the same check is Catalog » External data » External volumes, then … » Verify connection.
SELECT SYSTEM$VERIFY_EXTERNAL_VOLUME('my_s3_external_volume');Checkpoint 1 of 6· Check yourself
An account holds Iceberg tables that Spark manages through another catalog, plus new Snowflake-managed Iceberg tables. All of them sit in one S3 bucket. The architect wants to be sure Snowflake can never overwrite the tables Spark owns. What should they set up?
Separate external volumes let each storage location be secured differently. A read-only volume for externally managed tables keeps Snowflake from writing to tables another engine owns. A single shared volume would give Snowflake the same access everywhere. Iceberg tables connect through external volumes, not storage integrations, and one volume can serve many tables.
“A read-only external volume for externally managed Iceberg tables.”Source: docs.snowflake.com
Checkpoint 2 of 6· Fill the gap
Before you create Iceberg tables on a new external volume, you want to confirm that Snowflake can authenticate to the storage provider. Which function completes this statement?
SELECT ? ('my_s3_external_volume');SYSTEM$VERIFY_EXTERNAL_VOLUME takes the volume's name. It checks that Snowflake can authenticate to the storage provider using that volume's configuration. The other options are distractors: either they belong to storage integrations or they report on Iceberg tables, not on a volume's connection.
Source: docs.snowflake.comSources1
2.Default volumes, USAGE and adding storage locations
A default external volume saves every CREATE ICEBERG TABLE from naming one. The EXTERNAL_VOLUME parameter can be set on the account with ALTER ACCOUNT by an account administrator, or on a database or schema. When several levels are set, the lowest wins: schema, then database, then account. In Snowsight you can also choose the default scope with the Scope field when you create the volume.
ALTER DATABASE my_database_1
SET EXTERNAL_VOLUME = 'my_s3_vol';CREATE ICEBERG TABLE iceberg_reviews_table (
id STRING,
product_name STRING,
product_id STRING,
reviewer_name STRING,
review_date DATE,
review STRING
)
CATALOG = 'SNOWFLAKE'
BASE_LOCATION = 'my/product_reviews/';A new default is fixed at creation time. Changing it affects only tables created afterwards, and existing tables stay on their original volume, so a change is a decision about future tables, not a migration. To set the parameter on a database or schema, a role needs the normal privileges to alter that object and USAGE on the external volume. USAGE lets a role reference the volume and see its details. It is granted by a role with OWNERSHIP on the volume, either with SQL or with + Privilege in Snowsight.
A volume can hold more than one storage location. Each location has a name, a base URL and provider-specific settings: an S3 role ARN, optional SSE-S3 or SSE-KMS encryption, and public or PrivateLink connectivity on S3; a tenant ID on Azure; key and endpoint details for S3-compatible storage. Add one with ALTER EXTERNAL VOLUME ... ADD STORAGE_LOCATION, or … » Add storage location in Snowsight, using a role that owns the volume. Only one location is the volume's active storage location.
Checkpoint 3 of 6· Check yourself
The account's EXTERNAL_VOLUME is acct_vol, database SALES has it set to db_vol, and schema SALES.RAW has it set to raw_vol. A user runs CREATE ICEBERG TABLE in SALES.RAW with CATALOG = 'SNOWFLAKE' and no EXTERNAL_VOLUME clause. Which volume does the new table use?
When EXTERNAL_VOLUME is set at more than one level, Snowflake uses the lowest-scoped one: schema, then database, then account. The schema's raw_vol therefore wins.
“The lowest-scoped declaration is used: schema > database > account.”Source: docs.snowflake.com
Checkpoint 4 of 6· Check yourself
A role owns schema ANALYTICS.LAKE but gets a privilege error when it runs ALTER SCHEMA ANALYTICS.LAKE SET EXTERNAL_VOLUME = 'lake_vol'. What is the most likely fix?
To set EXTERNAL_VOLUME on a database or schema, a role needs the usual privileges to alter that object and also USAGE on the external volume. A role with OWNERSHIP of the volume grants USAGE. Ownership of the volume itself is not required.
“a role must have the USAGE privilege on the external volume.”Source: docs.snowflake.com
Sources1
3.Snowflake Open Catalog: catalogs, namespaces and storage configuration
Snowflake Open Catalog is a hosted, managed service for Apache Polaris, built on the Iceberg REST protocol. It gives many REST-compatible engines, such as Spark, Flink, Trino and Snowflake, central, governed read and write access to the same Iceberg tables. Its job as a catalog is narrow but critical. It stores each table's current metadata pointer and swaps that pointer atomically when a new table version is committed. New customers are directed to Snowflake Horizon Catalog instead. Existing Open Catalog customers can keep using it and create more Open Catalog accounts.
| Type | Who manages it | Access from Open Catalog |
|---|---|---|
| Internal | Open Catalog | Third-party engines and Snowflake can read and write |
| External | Another Iceberg catalog provider; currently only Snowflake, by syncing Snowflake-managed tables | Read-only in Open Catalog; only Snowflake writes |
Inside a catalog, namespaces group tables, and namespaces can be nested. Privileges are enforced correctly only if storage follows that structure: each directory holds the files of exactly one table, and the directory hierarchy mirrors the namespace hierarchy. A customers table under namespace1.namespace1a belongs at /namespace1/namespace1a/customers/. Open Catalog enforces this itself for internal catalogs. When you create Snowflake-managed tables in an external catalog, it does not check for overlapping directories, so give each table a unique parent directory with BASE_LOCATION. Dropping a table without purging leaves its data in storage. Creating a new table with the same name and location could expose the old data.
Each catalog gets a storage configuration when you create it, Open Catalog's counterpart to a storage integration. An IAM entity is generated during catalog creation and used to set up the trust relationship with the cloud provider. What you supply depends on the provider.
| Cloud storage provider | Information supplied |
|---|---|
| Amazon S3 | Default base location, bucket locations, S3 role ARN, optional external ID |
| Cloud Storage from Google | Default base location, bucket locations |
| Azure | Default base location, container locations, Azure tenant ID |
Checkpoint 5 of 6· Check yourself
Spark ETL jobs and Flink ingestion both need to create Iceberg tables and write to them through Snowflake Open Catalog. Snowflake must also be able to write to the same tables. Which catalog setup meets this requirement?
Open Catalog manages internal catalogs, and both third-party engines and Snowflake can read and write their tables. Tables in an external catalog are synced from Snowflake and are read-only in Open Catalog, so only Snowflake writes to them. Storage permissions don't change that, and external volumes are not a shared catalog.
“Internal: The catalog is managed by Open Catalog. A third-party query engine can read and write to tables from this catalog.”Source: docs.snowflake.com
Sources2
4.Connecting engines through service principals and roles
Every engine connects to Open Catalog as a service principal, an entity that holds a Client ID and Client Secret generated by Open Catalog. You typically create one per workload, such as a Spark ETL pipeline, a Flink ingestion job, a Trino BI dashboard or a Snowflake data pipeline, so each can be granted and revoked on its own. A service connection represents the engine. When the administrator creates one, its service principal gets a principal role, new or existing.
Privileges come through two levels of roles, never directly. The administrator grants privileges on catalog objects to catalog roles, and then grants those catalog roles to principal roles. A service principal with a brand-new principal role can do nothing until catalog roles are granted to that role. One with an existing principal role inherits whatever that role's catalog roles allow, and you adjust access by adding catalog roles to it or removing them.
Here is the full path in practice. Bob's Spark job uses a service principal that is allowed to create Table1 in Namespace1 of Catalog1 and insert into it. Alice reads Table1 from Snowflake through a service connection whose principal has read privileges, with a catalog integration, and creates an externally managed table in Snowflake over it.
Checkpoint 6 of 6· Match them up
Match each Open Catalog access-control object to the role it plays when an engine such as Trino or Spark connects to a catalog.
Tap a term, then the definition that fits it.
Open Catalog never grants privileges directly to a service principal. Privileges go to catalog roles, catalog roles are granted to principal roles, and a service principal gets its access through the principal role it holds.
“the Open Catalog administrator grants privileges to catalog roles and then grants these catalog roles to the new principal role.”Source: docs.snowflake.com
Sources2
Sources
(2)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.
“An external volume is a named, account-level Snowflake object that you use to connect Snowflake to your external cloud storage for Iceberg tables.”
↩︎ External volumes as the storage connection for Iceberg tables“You must create an external volume before you can create an Apache Iceberg”
↩︎ External volumes as the storage connection for Iceberg tables“A read-only external volume for externally managed Iceberg tables.”
↩︎ External volumes as the storage connection for Iceberg tables“To verify an external volume by using SQL, call the SYSTEM$VERIFY_EXTERNAL_VOLUME function.”
↩︎ External volumes as the storage connection for Iceberg tables“The lowest-scoped declaration is used: schema > database > account.”
↩︎ Default volumes, USAGE and adding storage locations“a role must have the USAGE privilege on the external volume.”
↩︎ Default volumes, USAGE and adding storage locations“The USAGE privilege grants the ability to reference the external volume and view details for the external volume.”
↩︎ Default volumes, USAGE and adding storage locations“To add a storage location to an external volume by using SQL, use the ADD STORAGE_LOCATION parameter of the ALTER EXTERNAL VOLUME command.”
↩︎ Default volumes, USAGE and adding storage locations“Each external volume is associated with a particular Active storage location”
↩︎ Default volumes, USAGE and adding storage locations“Changes to the EXTERNAL_VOLUME parameter only apply to tables created after the change.”
↩︎ Exam trap 1“Changes to the EXTERNAL_VOLUME parameter only apply to tables created after the change.”
↩︎ Prediction - 2.
“Snowflake Open Catalog is a managed service for Apache Polaris”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“Storing the current metadata pointer for one or more Iceberg tables.”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“These tables are read-only in Open Catalog.”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“A directory hierarchy matches the namespace hierarchy for the catalog.”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“use the BASE_LOCATION parameter to specify a unique parent directory for each table.”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“During the catalog creation process, an IAM entity is generated and used to create a trust relationship between the cloud storage provider and Open Catalog.”
↩︎ Snowflake Open Catalog: catalogs, namespaces and storage configuration“Open Catalog generates a Client ID and Client Secret pair for each service principal.”
↩︎ Connecting engines through service principals and roles“Query engines use service principals to connect to catalogs.”
↩︎ Connecting engines through service principals and roles“Alice creates an externally managed table in Snowflake to read data from Table1.”
↩︎ Connecting engines through service principals and roles“the Open Catalog administrator grants privileges to catalog roles and then grants these catalog roles to the new principal role.”
↩︎ Exam trap 2“Internal: The catalog is managed by Open Catalog. A third-party query engine can read and write to tables from this catalog.”
↩︎ Checkpoint“the Open Catalog administrator grants privileges to catalog roles and then grants these catalog roles to the new principal role.”
↩︎ Checkpoint