試験SOL-C01 トピック1 問題261 スレッド

Snowflake SOL-C01のリアル試験問題集
問題 #: 261
トピック #: 1
You have a Snowflake table named 'products' with columns 'product id', 'product_name', and
'price'. You need to create a view called 'expensive_products' that only shows products with a price greater than $100. However, you also want to ensure that only users with the 'PRODUCT VIEWER' role can access this view. What SQL statements are required to achieve this?

おすすめの解答:A 解答を投票する

Option A correctly creates the view with the required filtering and grants 'SELECT privilege to the
'PRODUCT VIEWER role. Option B includes 'WITH GRANT OPTION' which allows the to grant SELECT privileges to other roles, which is not a requirement here. Option C includes granting USAGE on Database, this might be required in your enviroment, so its not wrong, but not directly answering the question, so not ideal. Option D incorrectly uses 'ALTER VIEW expensive_products SET SECURE;' a Secure View, this is used to prevent the view definition from being visible. Option E grants 'ALL' privileges, this is not required, only `SELECT privilege is requested

黒*瞳 2025-10-18 05:05:11

コメント

正解:
?」こちらは投票コメントになっております。普通のコメントに切り替えます。
ニックネーム: 送信 キャンセル
投票コメントをあげるごとに、選択した解答の投票数を1つ増やすことができます。

他人の解答コメントを賛成するのも、その解答に一票を入れることになります。したがって、すでに同じ意見の投票コメントが存在する場合、新規コメントをする代わりに賛成することもできます。

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡