exam questions

Exam SnowPro Core All Questions

View all questions & answers for the SnowPro Core exam

Exam SnowPro Core topic 1 question 903 discussion

Actual exam question from Snowflake's SnowPro Core
Question #: 903
Topic #: 1
[All SnowPro Core Questions]

What happens when a Snowflake user changes the data retention period at the schema level?

  • A. All child objects will retain data for the new retention period.
  • B. All child objects that do not have an explicit retention period will automatically inherit the new retention period.
  • C. All child objects with an explicit retention period will be overridden with the new retention period.
  • D. All explicit child object retention periods will remain unchanged.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MultiCloudIronMan
3 months, 1 week ago
Selected Answer: B
BD are correct
upvoted 1 times
...
0e504b5
8 months, 1 week ago
Selected Answer: B
BD are both correct, confirmed by testing below. https://docs.snowflake.com/en/user-guide/data-time-travel -- 902 USE ROLE SYSADMIN; CREATE DATABASE TIME_TRAVEL_TEST; USE SCHEMA PUBLIC; CREATE TABLE T_A AS SELECT 1 ID; CREATE TABLE T_B AS SELECT 2 ID; ALTER TABLE T_B SET DATA_RETENTION_TIME_IN_DAYS=90; ALTER SCHEMA PUBLIC SET DATA_RETENTION_TIME_IN_DAYS=30; -- PUBLIC - explicitly set at 30 --T_A - not set explicitly, but was inherited from parent --T_B - explicitly set at 90 SHOW PARAMETERS like '%DATA_RETENTION_TIME_IN_DAYS%' in schema PUBLIC; --30 SHOW PARAMETERS like '%DATA_RETENTION_TIME_IN_DAYS%' in table T_A; --30 inherited from parent SHOW PARAMETERS like '%DATA_RETENTION_TIME_IN_DAYS%' in table T_B; --90 remained explicitly set
upvoted 1 times
...
stornati
11 months, 3 weeks ago
Selected Answer: B
Also D is correct. But B includes D, since just one answer is requested, B is the one
upvoted 2 times
...
BobFar
11 months, 3 weeks ago
Correct answer is B. -------------------------------------------------------- If you change the data retention period for a database or schema, the change only affects active objects contained within the database or schema. Any objects that have been dropped (for example, tables) remain unaffected. For example, if you have a schema s1 with a 90-day retention period and table t1 is in schema s1, table t1 inherits the 90-day retention period. If you drop table s1.t1, t1 is retained in Time Travel for 90 days. Later, if you change the schema’s data retention period to 1 day, the retention period for the dropped table t1 is unchanged. Table t1 will still be retained in Time Travel for 90 days. -------------------------------------------------------- https://docs.snowflake.com/en/user-guide/data-time-travel#specifying-the-data-retention-period-for-an-object:~:text=through%20Time%20Travel.-,Note,-If%20you%20change
upvoted 3 times
...
Heetec
11 months, 4 weeks ago
Selected Answer: B
B correct
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago