On a database created from a share, which privilege is used to grant or revoke access?

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

Multiple Choice

On a database created from a share, which privilege is used to grant or revoke access?

Explanation:
When you create a database from a share, access is controlled by imported privileges rather than the standard local privileges. Imported privileges are the mechanism that the consumer account uses to grant or revoke access to objects that come from a share. So to let a role access the shared data, you grant imported privileges on the database (and its objects) to that role, and to remove access you revoke those imported privileges. The other privileges listed are general capabilities for local objects (such as using a database, reading data, or enforcing references) but they don’t govern the cross-account access management for shared data in this scenario.

When you create a database from a share, access is controlled by imported privileges rather than the standard local privileges. Imported privileges are the mechanism that the consumer account uses to grant or revoke access to objects that come from a share. So to let a role access the shared data, you grant imported privileges on the database (and its objects) to that role, and to remove access you revoke those imported privileges. The other privileges listed are general capabilities for local objects (such as using a database, reading data, or enforcing references) but they don’t govern the cross-account access management for shared data in this scenario.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy