SnowPro Advanced: Architect — Question 188

A Snowflake account has the following parameters:

1. MIN_DATA_RETENTION_TIME_IN_DAYS is set to 5 at the account level.
2. DATA_RETENTION_TIME_IN_DAYS is set to 4 on database DB1, and 6 on Schema1 in Database DB1.
3. DATA_RETENTION_TIME_IN_DAYS is set to 5 on Database DB2, and 8 on Schema2 in Database DB2.

What will be the result?

Answer options

Correct answer: D

Explanation

The correct answer is D because the account-level MIN_DATA_RETENTION_TIME_IN_DAYS is 5, but since Schema1 has a higher DATA_RETENTION_TIME_IN_DAYS of 6, it overrides the account-level setting. For Database DB2 and Schema2, their respective retention settings of 5 and 8 days are retained as they do not conflict with the account-level setting. The other options either misstate the retention periods or do not follow the correct hierarchy of retention settings.