ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 12 - ADA-C01 discussion

Report
Export

What is required for stages, without credentials, to limit data exfiltration after a storage integration and associated stages are created?

A.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = true; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = false;
Answers
A.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = true; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = false;
B.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = true;
Answers
B.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = true;
C.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = false;
Answers
C.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = false; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION = false; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = false;
D.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION FOR STAGE_OPERATION = true; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = true;
Answers
D.
ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION = true; ALTER ACCOUNT my_account SET REQUIRE_STORAGE_INTEGRATION FOR STAGE_OPERATION = true; ALTER ACCOUNT my_account SET PREVENT_UNLOAD_TO_INLINE_URL = true;
Suggested answer: D

Explanation:

According to the Snowflake documentation1, stages without credentials are a way to create external stages that use storage integrations to access data files in cloud storage without providing any credentials to Snowflake. Storage integrations are objects that define a trust relationship between Snowflake and a cloud provider, allowing Snowflake to authenticate and authorize access to the cloud storage. To limit data exfiltration after a storage integration and associated stages are created, the following account-level parameters can be set:

* REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION: This parameter enforces that all external stages must be created using a storage integration. This prevents users from creating external stages with inline credentials or URLs that point to unauthorized locations.

* REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION: This parameter enforces that all operations on external stages, such as PUT, GET, COPY, and LIST, must use a storage integration. This prevents users from performing operations on external stages with inline credentials or URLs that point to unauthorized locations.

* PREVENT_UNLOAD_TO_INLINE_URL: This parameter prevents users from unloading data from Snowflake tables to inline URLs that do not use a storage integration. This prevents users from exporting data to unauthorized locations.

Therefore, the correct answer is option D, which sets all these parameters to true. Option A is incorrect because it sets PREVENT_UNLOAD_TO_INLINE_URL to false, which allows users to unload data to inline URLs that do not use a storage integration. Option B is incorrect because it sets both REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_CREATION and REQUIRE_STORAGE_INTEGRATION_FOR_STAGE_OPERATION to false, which allows users to create and operate on external stages without using a storage integration. Option C is incorrect because it sets all the parameters to false, which does not enforce any restrictions on data exfiltration.

asked 23/09/2024
Novy Kingra
43 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first