ExamGecko
Question list
Search
Search

Question 581 - COF-C02 discussion

Report
Export

What causes objects in a data share to become unavailable to a consumer account?

A.
The DATA_RETENTI0N_TIME_IN_DAYS parameter in the consumer account is set to 0.
Answers
A.
The DATA_RETENTI0N_TIME_IN_DAYS parameter in the consumer account is set to 0.
B.
The consumer account runs the GRANT IMPORTED PRIVILEGES command on the data share every 24 hours.
Answers
B.
The consumer account runs the GRANT IMPORTED PRIVILEGES command on the data share every 24 hours.
C.
The objects in the data share are being deleted and the grant pattern is not re-applied systematically.
Answers
C.
The objects in the data share are being deleted and the grant pattern is not re-applied systematically.
D.
The consumer account acquires the data share through a private data exchange.
Answers
D.
The consumer account acquires the data share through a private data exchange.
Suggested answer: C

Explanation:

Objects in a data share become unavailable to a consumer account if the objects in the data share are deleted or if the permissions on these objects are altered without re-applying the grant permissions systematically. This is because the sharing mechanism in Snowflake relies on explicit grants of permissions on specific objects (like tables, views, or secure views) to the share. If these objects are deleted or if their permissions change without updating the share accordingly, consumers can lose access.

The DATA_RETENTION_TIME_IN_DAYS parameter does not directly affect the availability of shared objects, as it controls how long Snowflake retains historical data for time travel and does not impact data sharing permissions.

Running the GRANT IMPORTED PRIVILEGES command in the consumer account is not related to the availability of shared objects; this command is used to grant privileges on imported objects within the consumer's account and is not a routine maintenance command that would need to be run regularly.

Acquiring a data share through a private data exchange does not inherently make objects unavailable; issues would only arise if there were problems with the share configuration or if the shared objects were deleted or had their permissions altered without re-granting access to the share.

asked 23/09/2024
Simon John Mather
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first