nerdexam
SnowflakeSnowflake

ARA-C01 · Question #148

ARA-C01 Question #148: Real Exam Question with Answer & Explanation

The correct answer is A: An external table can be created with a row access policy, and the policy can be applied to the. These three statements are true according to the Snowflake documentation and the web search results. A row access policy is a feature that allows filtering rows based on user-defined conditions. A row access policy can be applied to an external table, which is a table that reads

Data Governance and Data Sharing

Question

Which of the following are characteristics of how row access policies can be applied to external tables? (Choose three.)

Options

  • AAn external table can be created with a row access policy, and the policy can be applied to the
  • BA row access policy can be applied to the VALUE column of an existing external table.
  • CA row access policy cannot be directly added to a virtual column of an external table.
  • DExternal tables are supported as mapping tables in a row access policy.
  • EWhile cloning a database, both the row access policy and the external table will be cloned.
  • FA row access policy cannot be applied to a view created on top of an external table.

Explanation

These three statements are true according to the Snowflake documentation and the web search results. A row access policy is a feature that allows filtering rows based on user-defined conditions. A row access policy can be applied to an external table, which is a table that reads data from external files in a stage. However, there are some limitations and considerations for using row access policies with external tables. An external table can be created with a row access policy by using the WITH ROW ACCESS POLICY clause in the CREATE EXTERNAL TABLE statement. The policy can be applied to the VALUE column, which is the column that contains the raw data from the external files in a VARIANT data type. A row access policy can also be applied to the VALUE column of an existing external table by using the ALTER TABLE statement with the SET ROW ACCESS POLICY A row access policy cannot be directly added to a virtual column of an external table. A virtual column is a column that is derived from the VALUE column using an expression. To apply a row access policy to a virtual column, the policy must be applied to the VALUE column and the expression must be repeated in the policy definition. External tables are not supported as mapping tables in a row access policy. A mapping table is a table that is used to determine the access rights of users or roles based on some criteria. Snowflake does not support using an external table as a mapping table because it may cause performance issues or errors. While cloning a database, Snowflake clones the row access policy, but not the external table. Therefore, the policy in the cloned database refers to a table that is not present in the cloned database. To avoid this issue, the external table must be manually cloned or recreated in the cloned database. A row access policy can be applied to a view created on top of an external table. The policy can be applied to the view itself or to the underlying external table. However, if the policy is applied to the view, the view must be a secure view, which is a view that hides the underlying data and the view definition from unauthorized users.

Topics

#Row Access Policies#External Tables#Data Governance#Security Features

Community Discussion

No community discussion yet for this question.

Full ARA-C01 PracticeBrowse All ARA-C01 Questions