2025 Time Travel and Fail Safe Flashcards

1
Q

In a time travel statement, how can you reference the historical data?

A

TIMESTAMP
OFFSET
STATEMENT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What can the undrop statement be used for

A

TABLES
SCHEMAS
DATABASES

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What table types do not have a Fail-Safe Period

A

Temporary
Transient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the default value of DATA_RETENTION_TIME_IN_DAYS

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The account setting, MIN_DATA_RETENTION_IN_DAYS does not apply to what objects

A

Transient
Temporary
External Tables
Materialized Views
Streams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What happens with a table’s retention period is decreased from 20 to 1 day

A

Data from 2 to 20 days is moved to Fail-safe mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can you show dropped objects

A

With the HISTORY keyword. Example:
SHOW TABLES HISTORY IN SAMPLE_DB.SAMPLE_SCHEMA

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How are storage fees calculated for time travel

A

Calculated for each 24 hour period once data is changed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which one takes precendence DATA_RETENTION_IN_DAYS and MIN_DATA_RETENTION_TIME_IN_DAYS

A

the higher value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When Time Travel is enabled at the Database, Schema,, and table level, what wins?

A

Table, then schema, then database

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A company has a table that has corrupted data, named Data. The company wants to recover the data as it was 5 minutes ago using cloning and Time Travel. What is the SQL

A

CREATE TABLE Recover_Data CLONE Data AT(OFFSET => -60*5);

How well did you know this?
1
Not at all
2
3
4
5
Perfectly