ARA-C01 · Question #21
ARA-C01 Question #21: Real Exam Question with Answer & Explanation
The correct answer is B: The DATA_RETENTION_TIME_IN_DAYS for the staging schema has been set to 1 day.. The DATA_RETENTION_TIME_IN_DAYS parameter controls the Time Travel retention period for an object (database, schema, or table) in Snowflake. This parameter specifies the number of days for which historical data is preserved and can be accessed using Time Travel operations (SELECT
Question
A DevOps team has a requirement for recovery of staging tables used in a complex set of data pipelines. The staging tables are all located in the same staging schema. One of the requirements is to have online recovery of data on a rolling 7-day basis. After setting up the DATA_RETENTION_TIME_IN_DAYS at the database level, certain tables remain unrecoverable past 1 day. What would cause this to occur? (Choose two.)
Options
- AThe staging schema has not been setup for MANAGED ACCESS.
- BThe DATA_RETENTION_TIME_IN_DAYS for the staging schema has been set to 1 day.
- CThe tables exceed the 1 TB limit for data recovery.
- DThe staging tables are of the TRANSIENT type.
- EThe DevOps role should be granted ALLOW_RECOVERY privilege on the staging schema.
Explanation
The DATA_RETENTION_TIME_IN_DAYS parameter controls the Time Travel retention period for an object (database, schema, or table) in Snowflake. This parameter specifies the number of days for which historical data is preserved and can be accessed using Time Travel operations (SELECT, CREATE ... CLONE, UNDROP). The requirement for recovery of staging tables on a rolling 7-day basis means that the DATA_RETENTION_TIME_IN_DAYS parameter should be set to 7 at the database level. However, this parameter can be overridden at the lower levels (schema or table) if they have a different value. Therefore, one possible cause for certain tables to remain unrecoverable past 1 day is that the DATA_RETENTION_TIME_IN_DAYS for the staging schema has been set to 1 day. This would override the database level setting and limit the Time Travel retention period for all the tables in the schema to 1 day. To fix this, the parameter should be unset or set to 7 at the Another possible cause for certain tables to remain unrecoverable past 1 day is that the staging tables are of the TRANSIENT type. Transient tables are tables that do not have a Fail-safe period and can have a Time Travel retention period of either 0 or 1 day. Transient tables are suitable for temporary or intermediate data that can be easily reproduced or replicated. To fix this, the tables should be created as permanent tables, which can have a Time Travel retention period of up to
Topics
Community Discussion
No community discussion yet for this question.