nerdexam
Snowflake

COF-C02 · Question #293

By definition, a secure view is exposed only to users with what privilege?

The correct answer is B. OWNERSHIP. A secure view in Snowflake hides the view's underlying SQL definition (DDL) from all users except those who hold the OWNERSHIP privilege on that view. Unlike a standard view where any user with SELECT privilege can inspect the definition via SHOW VIEWS or GET_DDL(), a secure…

Account Access and Security

Question

By definition, a secure view is exposed only to users with what privilege?

Options

  • AIMPORT SHARE
  • BOWNERSHIP
  • CREFERENCES
  • DUSAGE

How the community answered

(58 responses)
  • A
    2% (1)
  • B
    90% (52)
  • C
    2% (1)
  • D
    7% (4)

Explanation

A secure view in Snowflake hides the view's underlying SQL definition (DDL) from all users except those who hold the OWNERSHIP privilege on that view. Unlike a standard view where any user with SELECT privilege can inspect the definition via SHOW VIEWS or GET_DDL(), a secure view protects the internal logic and data from exposure. This is commonly used to enforce data privacy - for example, hiding column masking logic or filtering conditions from end users.

Topics

#Secure Views#Access Control#Privileges#Security

Community Discussion

No community discussion yet for this question.

Full COF-C02 Practice