What privileges are required to create a stage that uses a storage integration?

Master the SnowPro Advanced Architect Test with flashcards, multiple-choice questions, and detailed explanations. Prepare thoroughly for your certification!

Multiple Choice

What privileges are required to create a stage that uses a storage integration?

Explanation:
Two kinds of privileges matter here: the ability to create the stage within the schema and the ability to reference the storage integration. To create the stage, Snowflake needs CREATE STAGE on the target schema. Once the stage exists, it must be tied to a storage integration, which requires USAGE on the storage integration so the stage can use that integration. Without CREATE on the schema, you can’t create the stage; without USAGE on the storage integration, the stage can’t be configured to use it. The other options don’t provide both pieces of access, so the correct combination is CREATE STAGE on the schema and USAGE on the storage integration.

Two kinds of privileges matter here: the ability to create the stage within the schema and the ability to reference the storage integration. To create the stage, Snowflake needs CREATE STAGE on the target schema. Once the stage exists, it must be tied to a storage integration, which requires USAGE on the storage integration so the stage can use that integration. Without CREATE on the schema, you can’t create the stage; without USAGE on the storage integration, the stage can’t be configured to use it. The other options don’t provide both pieces of access, so the correct combination is CREATE STAGE on the schema and USAGE on the storage integration.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy