Skip to main content
InterviewHubPRO
Section Overview
Q38

Question 38 of 50

Part 3: Advanced Optimization, Scale & Cortex AI (25 - 35)

76%
Snowflake Data Cloud (50 Qs)•Part 3: Advanced Optimization, Scale & Cortex AI (25 - 35)

Time Travel vs Fail-Safe: Retention limits, querying past versions, and disaster recovery.

senior LevelCode ExamplePerformance

In Simple Words:

FeatureTime TravelFail-Safe
Duration0 to 90 days (Enterprise Edition; Standard is 1 day)Strictly 7 days (non-configurable)
User Accessible?Yes, via standard SQL (AT / BEFORE)No, strictly accessed via Snowflake Support
Use CaseAccidental DROP TABLE, bug rollback, audit historical statesCatastrophic cloud hardware/disaster recovery
Storage CostBilled as active storageBilled as active storage
sql
-- Query table exactly as it existed 2 hours ago
SELECT * FROM orders AT(OFFSET => -60*120);

-- Restore accidentally dropped table instantly
UNDROP TABLE customers;