COF-C02 · Question #276
Which Snowflake URL type is used by directory tables?
The correct answer is C. Scoped. Directory tables use Scoped URLs. A scoped URL is an encoded URL that grants temporary, session-scoped access to a staged file. It embeds the user's current session and role context, meaning it is only valid for the authenticated user who generated it and expires with the…
Question
Which Snowflake URL type is used by directory tables?
Options
- AFile
- BPre-signed
- CScoped
- DVirtual-hosted style
How the community answered
(39 responses)- A5% (2)
- B3% (1)
- C90% (35)
- D3% (1)
Explanation
Directory tables use Scoped URLs. A scoped URL is an encoded URL that grants temporary, session-scoped access to a staged file. It embeds the user's current session and role context, meaning it is only valid for the authenticated user who generated it and expires with the session. Snowflake has three URL types for staged files: (1) Scoped URLs - used by directory tables, session-bound; (2) File URLs - permanent links for internal stages accessible by privileged roles; (3) Pre-signed URLs - time-limited URLs for unauthenticated external access.
Topics
Community Discussion
No community discussion yet for this question.