Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ARA-R01 Topic 2 Question 27 Discussion

Actual exam question for Snowflake's ARA-R01 exam
Question #: 27
Topic #: 2
[All ARA-R01 Questions]

When using the copy into

command with the CSV file format, how does the match_by_column_name parameter behave?

Show Suggested AnswerHide Answer
Suggested Answer: D

When a new table (table_6) is added to a schema in the provider's account that is part of a data share, the consumer will not automatically see the new table. The consumer will only be able to access the new table once the appropriate privileges are granted by the provider. The correct process, as outlined in option D, involves using the provider's ACCOUNTADMIN role to grant USAGE privileges on the database and schema, followed by SELECT privileges on the new table, specifically to the share that includes the consumer's database. This ensures that the consumer account can access the new table under the established data sharing setup. Reference:

Snowflake Documentation on Managing Access Control

Snowflake Documentation on Data Sharing


Contribute your Thoughts:

Margurite
56 minutes ago
Option A sounds right to me. The documentation mentions that the match_by_column_name parameter expects the CSV file to have a header row that matches the table column names.
upvoted 0 times
...
Fallon
4 hours ago
I'm not sure, but I think the command will return an error if there is no header in the CSV file.
upvoted 0 times
...
Deeanna
2 days ago
I agree with Jesse, because without a header, how can the command match the columns correctly?
upvoted 0 times
...
Jesse
3 days ago
I think the answer is A) It expects a header to be present in the CSV file, which is matched to a case-sensitive table column name.
upvoted 0 times
...