About this exam
SnowPro Core is the foundational Snowflake certification and a prerequisite for the SnowPro Advanced certifications. It tests broad working knowledge of Snowflake: its architecture, virtual warehouses, loading and unloading data, access control, data protection such as Time Travel, and performance optimization.
Try a sample question
This is an original sample question written by itmoshi based on the exam objectives.
A user accidentally ran DROP TABLE on SALES.PUBLIC.ORDERS, a standard permanent production table. Only two hours have passed, the table's DATA_RETENTION_TIME_IN_DAYS is 1, no new table with the same name has been created, and you are using a role with the privileges needed to restore it. What is the fastest way to restore the table without involving Snowflake Support?
- AAsk Snowflake Support to recover it from Fail-safe
- BCopy it with CREATE TABLE ... CLONE ORDERS AT (OFFSET => -7200)
- CRun UNDROP TABLE SALES.PUBLIC.ORDERS
- DRebuild it with CTAS from SELECT ... AT (OFFSET => -7200)
Show answer and explanation
Answer:C A table dropped within its Time Travel retention period can be restored directly with UNDROP TABLE.
Why it is correct
Within the retention period (one day here), a dropped table is kept in Time Travel, and UNDROP TABLE restores it under its original name. Two hours is well within the period and no table with the same name exists, so the command can run as is. It needs only the user's own SQL and no data copy.
The other options
- ✗ A For permanent tables, Fail-safe is a seven-day period after Time Travel ends during which Snowflake keeps data for disaster recovery; users cannot access it directly, and recovery goes through Support and takes time. That breaks the "without Support" condition, and Time Travel can handle this case anyway.
- ✗ B CLONE or SELECT with an AT clause reads a past state of a table that still exists. A dropped table cannot be referenced by name, so this fails. Use it when the table exists and you only need its data as of an earlier point.
- ✗ D As with B, a dropped table cannot be referenced by name, so the SELECT with an AT clause fails, and rebuilding with CTAS would also lose settings such as grants. Use it to pull out the data as it was before a bad UPDATE or DELETE.
Key takeaway
Table dropped, within retention → UNDROP. Table exists but data must go back in time → CLONE or SELECT with AT/BEFORE. Permanent table past retention → Fail-safe (through Support only, seven days). If a new table with the same name already exists, rename it first, then UNDROP.
Try 100 questions like this for free
itmoshi is an unofficial study service and is not affiliated with Snowflake or any exam provider.