Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Snowflake Exam ADA-C01 Topic 6 Question 28 Discussion

Actual exam question for Snowflake's ADA-C01 exam
Question #: 28
Topic #: 6
[All ADA-C01 Questions]

A user accidentally truncated the data from a frequently-modified table. The Administrator has reviewed the query history and found the truncate statement which was run on 2021-12-12 15:00 with query ID 8e5d0ca9-005e-44e6-b858-a8f5b37c5726. Which of the following statements would allow the Administrator to create a copy of the table as it was exactly before the truncated statement was executed, so it can be checked for integrity before being inserted into the main table?

Show Suggested Answer Hide Answer
Suggested Answer: D

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.


Contribute your Thoughts:

Albina
1 months ago
Haha, these questions always trip me up. I'm going with D, it sounds the most technical and therefore correct.
upvoted 0 times
...
Jade
1 months ago
I think D is the answer. Cloning the table before the truncate statement is the best way to restore the data.
upvoted 0 times
Crista
1 days ago
I agree, D seems like the correct option to create a copy of the table before the truncate statement.
upvoted 0 times
...
Coletta
5 days ago
I think D is the answer. Cloning the table before the truncate statement is the best way to restore the data.
upvoted 0 times
...
...
Shayne
2 months ago
B and C seem to be incorrect as they don't mention creating a clone of the table. D is the way to go.
upvoted 0 times
Alease
4 days ago
That makes sense, creating a clone is important for checking integrity.
upvoted 0 times
...
Paola
4 days ago
Agreed, D is the way to go to restore the table to its state before the data was truncated.
upvoted 0 times
...
Candra
8 days ago
Yes, D allows the Administrator to create a clone of the table before the truncate statement.
upvoted 0 times
...
Sherill
12 days ago
I think D is the correct option.
upvoted 0 times
...
Dante
1 months ago
Yes, D is the right choice, it will create a copy of the table before the truncate statement.
upvoted 0 times
...
Alease
1 months ago
I think D is the correct option, it mentions creating a clone of the table.
upvoted 0 times
...
...
Oneida
2 months ago
Option D looks like the correct one. It creates a clone of the table as it was before the truncate statement was executed.
upvoted 0 times
...
An
2 months ago
I'm not sure about option D. I think option A might also work because it mentions creating a table clone with a timestamp before the truncate statement.
upvoted 0 times
...
Yen
2 months ago
I agree with Felicitas. Option D seems to be the most logical choice to create a copy of the table as it was before the data was truncated.
upvoted 0 times
...
Felicitas
3 months ago
I think option D would be the correct choice because it specifically mentions creating a table clone before the truncate statement was executed.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77