Courseiva

CCNA Storage and Data Protection Questions

48 questions · Storage and Data Protection · All types, answers revealed

1
Multi-Selectmedium

A data engineer needs to protect a set of permanent tables in a Snowflake Enterprise Edition account. The requirement is to allow querying of historical versions for up to 30 days and to allow recovery of dropped tables within that same window. Which two actions should the engineer take to meet these requirements? (Choose two.)

Select 2 answers
A.Convert the permanent tables to transient tables to increase the maximum allowed retention window.
B.Confirm the account is on Enterprise Edition, which supports retention windows longer than the Standard Edition one-day maximum.
C.Set DATA_RETENTION_TIME_IN_DAYS to 30 on each permanent table using ALTER TABLE.
D.Rely on Fail-safe to provide the 30-day queryable history window for dropped tables.
E.Enable Fail-safe on the tables by setting FAILSAFE_DAYS to 30 using ALTER TABLE.
AnswersB, C

Enterprise Edition raises the maximum Time Travel retention for permanent tables from one day to ninety days, enabling the 30-day window. Without Enterprise Edition, a 30-day retention setting would not be permitted, so verifying the edition is a prerequisite for meeting the requirement.

Why this answer

Meeting a 30-day queryable-history requirement on permanent tables requires Enterprise Edition, which raises the maximum retention from one day to ninety days, and an explicit DATA_RETENTION_TIME_IN_DAYS setting of 30 on each table. Transient tables cap retention at one day, Fail-safe is non-queryable and fixed at seven days, and there is no configurable FAILSAFE_DAYS parameter.

Exam trap

The trap here is assuming Fail-safe is configurable per table or provides queryable history, when it is actually a fixed seven-day, non-queryable layer managed by Snowflake.

2
MCQhard

A data engineer needs to create a development copy of a 5 TB production table named FACT_SALES for query testing. The team wants the copy to share the same underlying micro-partitions as the source so no additional storage is consumed at creation time. Which command should the engineer use?

A.CREATE TABLE dev_db.public.fact_sales_clone AS SELECT * FROM prod_db.public.fact_sales;
B.CREATE TABLE dev_db.public.fact_sales_clone CLONE prod_db.public.fact_sales;
C.ALTER TABLE prod_db.public.fact_sales SET CLONE dev_db.public.fact_sales_clone;
D.CREATE TABLE dev_db.public.fact_sales_clone LIKE prod_db.public.fact_sales;
AnswerB

Zero-copy cloning creates a new table that initially references the same micro-partitions as the source, so no data is physically duplicated at creation. This satisfies the requirement of no additional storage up front. Storage diverges only when either table is modified, at which point new micro-partitions are written and the clone stops sharing those changed partitions.

Why this answer

Zero-copy cloning with CREATE TABLE ... CLONE creates a new table that references the same micro-partitions as the source, so no storage is duplicated at creation. CTAS would physically copy the data, CREATE TABLE ...

LIKE would only copy the schema, and ALTER TABLE ... SET CLONE is not valid syntax. Only the CLONE form meets the no-extra-storage requirement.

Exam trap

The trap here is confusing CREATE TABLE ... LIKE (schema only) or CTAS (physical copy) with zero-copy cloning, which shares micro-partitions and defers storage cost until data diverges.

3
MCQhard

A data engineer is auditing storage consumption in a Snowflake account. A large permanent table named SALES_FACT has DATA_RETENTION_TIME_IN_DAYS set to 60. Over the past month, ETL jobs have performed several full-table UPDATE operations that rewrote most micro-partitions. The engineer notices that the table's Time Travel storage has grown significantly even though the visible row count is unchanged. What is the most likely cause of the increased Time Travel storage?

A.Time Travel storage grows because the 60-day retention forces Snowflake to store a full compressed copy of the table in Fail-safe.
B.Time Travel storage grows because each UPDATE creates new micro-partitions while prior versions are retained for the 60-day retention window.
C.Time Travel storage grows because Snowflake copies the entire table into a separate Time Travel schema on each UPDATE.
D.Time Travel storage grows because the account has exceeded its storage quota, causing Snowflake to duplicate micro-partitions as a redundancy measure.
AnswerB

When UPDATE operations rewrite micro-partitions, Snowflake writes new versions and retains the prior versions for the duration of the Time Travel retention period. With a 60-day window and repeated full-table updates, many historical versions accumulate, driving up Time Travel storage even though the current row count is unchanged.

Why this answer

Time Travel storage reflects historical micro-partition versions retained for the configured window. Each UPDATE that rewrites micro-partitions creates new versions, and the prior versions are stored for 60 days. Repeated full-table updates therefore accumulate substantial historical data, increasing Time Travel storage even when the visible row count is stable.

Exam trap

The trap here is assuming that unchanged row counts imply unchanged storage, when in fact Time Travel storage is driven by the volume of historical micro-partition versions retained, not by the current row count.

4
MCQmedium

A data engineer manages a transient table named STG_EVENTS in a Snowflake Enterprise Edition account. The table has a DATA_RETENTION_TIME_IN_DAYS setting of 1. The engineer wants Time Travel to retain data for 30 days for this table. What will happen if the engineer executes ALTER TABLE STG_EVENTS SET DATA_RETENTION_TIME_IN_DAYS = 30?

A.The retention period will be set to 30 days, but only if the table has not been cloned previously.
B.The retention period will be set to 30 days but Fail-safe will still be disabled for the table.
C.The statement will fail with an error because transient tables support a maximum Time Travel retention of 1 day.
D.The retention period will be set to 30 days, and Time Travel will retain data for 30 days.
AnswerC

For transient tables, the DATA_RETENTION_TIME_IN_DAYS parameter is capped at 1. Snowflake returns an error when you attempt to set a higher value. To get 30 days of Time Travel, the object must be a permanent table in an Enterprise Edition (or higher) account. The transient table type is the constraint here, not the account edition.

Why this answer

Transient tables are limited to a maximum Time Travel retention of 1 day. Attempting to set a higher value such as 30 days causes Snowflake to reject the ALTER TABLE statement with an error. To achieve 30 days of Time Travel, the table must be a permanent table in an account with Enterprise Edition or higher.

The table type is the deciding factor.

Exam trap

The trap here is assuming that because the account is Enterprise Edition, any table can be given a 30-day Time Travel retention, when transient tables are capped at 1 day.

5
MCQmedium

Refer to the exhibit. A data engineer runs SYSTEM$CLUSTERING_INFORMATION on a table. Based on the output, what is the most accurate interpretation of the table's current state?

A.The table is perfectly clustered because the average depth is less than 10.
B.The clustering depth indicates that a significant number of micro-partitions overlap.
C.The table does not have a clustering key defined, so the depth is irrelevant.
D.The constant partition count of 100 means the table is mostly read-only.
AnswerB

High average overlaps and a depth of 8.4 indicate that the values for C1 and C2 are scattered across many different micro-partitions. This overlap prevents efficient partition pruning during query execution, as the warehouse must open multiple partitions to find all relevant records for a specific key range.

Why this answer

The clustering information provides metrics on how well data is grouped within micro-partitions. An average depth of 8.4 and high average overlaps (12.5) relative to the total partitions suggest that the table is not well-clustered for the specified keys. This indicates that queries filtering on C1 and C2 will likely scan more partitions than necessary.

Exam trap

Candidates often misinterpret high clustering depth as a good sign, failing to realize that high values indicate significant overlap and inefficient data pruning, which degrades query performance.

6
MCQhard

A data engineer has a permanent table ORDERS_FACT in an Enterprise Edition account with DATA_RETENTION_TIME_IN_DAYS set to 14. The table was dropped 20 days ago. The engineer now runs UNDROP TABLE ORDERS_FACT. What is the outcome?

A.The UNDROP succeeds because Fail-safe keeps dropped tables recoverable for up to 90 days.
B.The UNDROP succeeds and restores the table with its data intact.
C.The UNDROP fails because the table is beyond the 14-day Time Travel window and is now only recoverable through Snowflake Support from Fail-safe.
D.The UNDROP succeeds but only restores the table structure without any data.
AnswerC

Once a dropped table passes its Time Travel retention period, it enters Fail-safe for an additional 7 days. During Fail-safe, the table cannot be restored by the user with UNDROP; only Snowflake Support can recover it, and that recovery is not guaranteed. Since 20 days exceeds the 14-day retention, UNDROP is not possible.

Why this answer

UNDROP restores a dropped table only while it remains within its Time Travel retention window. With a 14-day retention and a drop 20 days ago, the table has left Time Travel and entered Fail-safe, which lasts 7 days and is accessible only through Snowflake Support. Therefore the UNDROP fails and user-level recovery is no longer available.

Exam trap

The trap here is believing UNDROP can reach into Fail-safe, when Fail-safe recovery is restricted to Snowflake Support and is not a user-accessible recovery path.

7
MCQmedium

Refer to the exhibit. Why can the user not change the retention time of the table 'SENSITIVE_DATA' to 30 days?

A.The table is transient, which limits retention to one day.
B.The user lacks the OWNERSHIP privilege on the table.
C.The table is currently locked by a running query.
D.The table has change tracking enabled.
AnswerA

Transient tables in Snowflake are designed for temporary data and support a maximum retention period of only one day. This architectural constraint prevents users from extending the Time Travel window beyond 24 hours, regardless of the Snowflake edition or account settings, ensuring efficient storage for short-lived, transient datasets.

Why this answer

The exhibit shows the table is a TRANSIENT table. Snowflake limits the retention period for transient tables to a maximum of one day. Because the table was created with the TRANSIENT keyword, it does not support long-term Time Travel, and the DATA_RETENTION_TIME_IN_DAYS parameter cannot be set to a value higher than 1.

To support 30 days, the table must be recreated as a permanent table.

Exam trap

Candidates overlook table properties like transient status and attempt to configure retention periods that exceed the strict limits imposed by Snowflake.

8
Multi-Selecthard

A data engineer is designing a data protection strategy for a set of permanent tables in a Snowflake Enterprise Edition account. The engineer needs to ensure that accidental data modifications can be reversed and that dropped tables can be restored by the team without opening a support ticket. Which two configuration choices support these goals? (Choose two.)

Select 2 answers
A.Create zero-copy clones of critical tables on a schedule to maintain independent point-in-time copies.
B.Disable Time Travel on critical tables to avoid storage charges and rely solely on external backups.
C.Rely on Fail-safe to restore dropped tables without involving Snowflake Support.
D.Use transient tables for all critical data to reduce storage costs while keeping recovery options.
E.Set DATA_RETENTION_TIME_IN_DAYS to a value greater than 1 on the critical tables.
AnswersA, E

Scheduled zero-copy clones provide independent copies that reference shared micro-partitions initially, costing little until data diverges. If the source is modified or dropped, a clone can serve as a recovery point. This complements Time Travel by giving the team a self-service restoration option that does not depend on Snowflake Support, supporting the stated goals.

Why this answer

Extending Time Travel retention beyond the default gives the team a longer window to query historical states and run UNDROP without support involvement. Scheduled zero-copy clones add independent recovery points that share storage until data diverges. Together these provide self-service reversal of modifications and restoration of dropped tables, whereas Fail-safe, transient tables, and disabling Time Travel all fail to meet the stated recovery objectives.

Exam trap

The trap here is treating Fail-safe as a user-accessible recovery option and believing transient tables preserve long recovery windows, when both limit self-service restoration.

9
MCQmedium

A data engineer runs the following statement on a permanent table in a Snowflake account: ALTER TABLE SALES_ARCHIVE SET DATA_RETENTION_TIME_IN_DAYS = 14; The table previously had a retention of 1 day, and the account is on Enterprise Edition. Which statement accurately describes the effect?

A.The change is rejected because retention can only be increased at table creation time.
B.The table retains historical data for 14 days going forward, but data older than the prior 1-day window is not recovered.
C.The table's storage usage doubles because Snowflake clones all existing micro-partitions to extend retention.
D.Existing historical data older than 1 day becomes immediately available for Time Travel queries.
AnswerB

Raising DATA_RETENTION_TIME_IN_DAYS extends the window for future changes. Historical versions already purged under the previous 1-day setting are not restored. This accurately reflects how the retention parameter applies going forward without retroactively recovering expired data, which is the correct behavior for SALES_ARCHIVE.

Why this answer

Increasing DATA_RETENTION_TIME_IN_DAYS extends the Time Travel window for future data changes. It does not retroactively recover historical versions that were already purged under the shorter retention period. The engineer should expect protection for new modifications over the next 14 days, not restoration of previously expired history.

Exam trap

The trap here is believing that lengthening the retention period retroactively restores data that was already purged.

10
MCQmedium

What is the result of increasing the DATA_RETENTION_TIME_IN_DAYS from 1 to 5 days on an existing table?

A.All data from the last 5 days becomes immediately accessible.
B.The table begins retaining historical data for 5 days moving forward.
C.The storage cost remains the same as it was.
D.The change takes effect only after the next vacuum process.
AnswerB

Increasing the retention setting tells Snowflake to hold onto data versions for the new, longer period starting from the time the parameter is updated. This allows for a longer Time Travel window for future data states, supporting the requirement to access historical data for analysis or recovery operations.

Why this answer

Increasing the retention period immediately updates the table's metadata. Going forward, Snowflake will begin retaining the historical data for 5 days instead of 1. This change does not retroactively 'create' historical data that has already been purged from the 1-day window; it only applies to the data state from the moment of the change onwards.

This distinction is vital for planning data recovery and compliance audits.

Exam trap

Candidates frequently assume that increasing the retention period will retroactively 'recover' or make previously purged data available, which is incorrect as the change only applies to future data states.

11
MCQeasy

A data engineer is configuring a new permanent table in a Snowflake Standard Edition account. The engineer needs to ensure that the table can be recovered if it is accidentally dropped, but wants to minimize storage costs. The table will be updated frequently. Which DATA_RETENTION_TIME_IN_DAYS setting should the engineer choose to meet these requirements?

A.0
B.7
C.1
D.90
AnswerC

In Snowflake Standard Edition, the maximum Time Travel retention for permanent tables is 1 day. Setting DATA_RETENTION_TIME_IN_DAYS to 1 enables recovery of the table if it is dropped within that 1-day period. This is the minimum setting that provides recovery capability while keeping storage costs low. It meets the requirement to recover the table and minimizes storage overhead.

Why this answer

In Snowflake Standard Edition, permanent tables can have a maximum Time Travel retention of 1 day. To enable recovery of a dropped table while minimizing storage costs, the engineer should set DATA_RETENTION_TIME_IN_DAYS to 1. This provides a 1-day window for recovery and keeps Time Travel storage overhead to a minimum.

Exam trap

The trap here is assuming that longer retention periods are available in Standard Edition, when in fact they are limited to 1 day for permanent tables.

12
MCQeasy

When a large production table is cloned to a development environment using the CLONE keyword, how is the initial storage for the cloned table billed?

A.The clone is billed at 50% of the original table's storage rate until it is modified.
B.The storage cost is doubled immediately because a physical copy of the data is created.
C.No additional storage is billed until the cloned table or the source table is modified.
D.Only the metadata storage is billed, which is a flat fee of 1 credit per month per clone.
AnswerC

Initial cloning only creates new metadata entries. As long as the micro-partitions remain identical between the source and the clone, no new storage is consumed. Only when DML operations create new micro-partitions will the storage usage diverge, and Snowflake will bill for the unique data blocks.

Why this answer

Snowflake's zero-copy cloning feature works by duplicating the metadata of the source table without copying the underlying micro-partitions. Because both the source and the clone point to the same immutable data blocks initially, there is no additional storage cost until data in either table is modified or new data is added.

Exam trap

Candidates often assume that cloning a table instantly duplicates the physical storage and incurs immediate storage costs, forgetting that zero-copy cloning only shares metadata and micro-partitions until a modification occurs.

13
MCQmedium

A data engineering team needs to create a set of tables for an ETL process that involves massive intermediate data transformations. These tables should persist across multiple sessions for 24 hours but do not require long-term disaster recovery protection. Which table type should be used to minimize storage costs while meeting these requirements?

A.Temporary Tables
B.External Tables
C.Transient Tables
D.Permanent Tables
AnswerC

Transient tables persist until explicitly dropped and can be seen by multiple users and sessions, fulfilling the requirement. They support Time Travel up to one day but lack the 7-day Fail-safe period, which significantly lowers storage costs for large-scale intermediate data that does not need disaster recovery.

Why this answer

Transient tables are designed specifically for data that needs to persist beyond a single session but does not require the 7-day Fail-safe protection offered by permanent tables. By excluding Fail-safe, Snowflake reduces the storage footprint and associated costs, making them ideal for intermediate ETL stages where data can be easily re-created if lost.

Exam trap

Candidates often suggest 'Temporary' tables, failing to realize that Temporary tables are session-scoped and would not persist for the required 24-hour duration across multiple sessions.

14
MCQhard

A data engineer accidentally drops a permanent table named CUSTOMER_DIM that had DATA_RETENTION_TIME_IN_DAYS set to 5. Six days after the drop, the engineer runs UNDROP TABLE CUSTOMER_DIM; and it fails. What is the most likely explanation?

A.UNDROP only works within 24 hours of a drop regardless of the retention setting.
B.A new table with the same name was created, which permanently blocked the UNDROP operation.
C.The table entered Fail-safe immediately upon being dropped, making UNDROP unavailable.
D.The 5-day Time Travel window for the dropped table has expired, so the table can no longer be undropped.
AnswerD

UNDROP relies on Time Travel to restore a dropped table, and the recovery window equals the table's retention setting. With 5 days of retention, the table was recoverable for 5 days after the drop. At 6 days, that window has closed, so UNDROP fails. This is why timely recovery action matters.

Why this answer

UNDROP depends on the dropped table's Time Travel retention to locate and restore it. With a 5-day retention setting, the table could only be recovered during those 5 days. At 6 days the window had closed, so the UNDROP statement failed because the historical version was no longer available for restoration.

Exam trap

The trap here is assuming UNDROP has a fixed recovery window rather than one bounded by the dropped table's DATA_RETENTION_TIME_IN_DAYS setting.

15
MCQmedium

A production team uses a permanent table with DATA_RETENTION_TIME_IN_DAYS set to 14. After an accidental DELETE, the team successfully runs a Time Travel query to recover the rows. Two days later, the same team needs to recover a different set of rows that were deleted 20 days ago. What will happen when they attempt Time Travel for the 20-day-old deletion?

A.The Time Travel query will succeed because Fail-safe retains data for 7 days after the Time Travel period.
B.The Time Travel query will succeed only if the table was cloned before the deletion.
C.The Time Travel query will fail because the 20-day-old deletion is beyond the 14-day retention period.
D.The Time Travel query will succeed because permanent tables always retain 90 days of history regardless of the configured setting.
AnswerC

The table has a 14-day Time Travel retention. A deletion that occurred 20 days ago is outside that window, so historical data for that point is no longer available to Time Travel. The earlier successful recovery does not extend the retention period. The team would need a longer retention setting or an external backup strategy.

Why this answer

Time Travel availability is determined by the table's DATA_RETENTION_TIME_IN_DAYS setting. With a 14-day retention, a deletion 20 days in the past is outside the window, so the query cannot return that historical state. A previous successful recovery does not reset or extend the retention period; each recovery must fall within the configured window.

Exam trap

The trap here is confusing Fail-safe with Time Travel, assuming Fail-safe can be queried by users for older data.

16
MCQeasy

A data engineer creates a table in a Snowflake database that resides on a standard (non-replicated) storage. The engineer wants to confirm that Fail-safe will protect the table after Time Travel expires. Which table type should the engineer use?

A.External table
B.Transient table
C.Temporary table
D.Permanent table
AnswerD

Permanent tables are the only table type covered by Fail-safe. After the Time Travel retention period elapses, a 7-day Fail-safe window applies, during which Snowflake Support can assist with recovery. This matches the engineer's requirement for post-retention protection, making a permanent table the correct choice.

Why this answer

Fail-safe is exclusive to permanent tables. It provides a non-configurable 7-day window after Time Travel expires, during which Snowflake Support can recover data. Transient, temporary, and external tables do not receive Fail-safe coverage, so only a permanent table satisfies the requirement described in the scenario.

Exam trap

The trap here is assuming all table types share the same protection model, when Fail-safe applies only to permanent tables.

17
MCQhard

A data engineer has a permanent table named ORDERS with DATA_RETENTION_TIME_IN_DAYS set to 5. The table is dropped accidentally. The engineer executes UNDROP TABLE ORDERS 2 days later, successfully restoring the table. What is the DATA_RETENTION_TIME_IN_DAYS setting for the restored table?

A.The retention period is set to 0 days because the table was dropped and restored.
B.The retention period remains 5 days, as it was before the drop.
C.The retention period is extended to 7 days to account for the time the table was dropped.
D.The retention period is reset to the default for the account, which is 1 day.
AnswerB

UNDROP TABLE restores the table with its original properties, including the DATA_RETENTION_TIME_IN_DAYS setting. The retention period is not changed by the drop or undrop operation. The restored table will continue to have a 5-day Time Travel retention, allowing further recovery if needed. This is the correct behavior.

Why this answer

When a dropped table is restored using UNDROP, it retains its original DATA_RETENTION_TIME_IN_DAYS setting. The drop and undrop operations do not modify the retention period. Therefore, the table will continue to have a 5-day Time Travel retention, allowing historical data to be accessed within that period.

Exam trap

The trap here is assuming that the retention period is reset or altered during the drop and undrop process, when in fact it is preserved.

18
MCQhard

A data engineer needs to restore a specific version of a permanent table named FINANCE_LEDGER as it existed 40 hours ago, but the table is currently 2 TB and has DATA_RETENTION_TIME_IN_DAYS set to 1. The engineer wants to recover the historical data without affecting the current table. Which approach correctly recovers the data?

A.The data cannot be recovered because the 40-hour-old version is beyond the 1-day Time Travel window and Fail-safe is not directly queryable.
B.Use Fail-safe to restore the table to the 40-hour-old state, then query it.
C.Query the table using AT (OFFSET => -144000) and insert the results into a new table.
D.Increase DATA_RETENTION_TIME_IN_DAYS to 90, then query 40 hours ago using Time Travel.
AnswerA

With DATA_RETENTION_TIME_IN_DAYS set to 1, only the most recent 24 hours are queryable through Time Travel. A 40-hour-old version is outside that window, and Fail-safe cannot be queried by users at all. Because retention cannot be extended retroactively, the historical version is effectively unrecoverable without Snowflake Support intervention in a genuine disaster case.

Why this answer

Time Travel access is bounded by the table's current retention setting, and changing that setting only applies going forward. A 40-hour-old version exceeds the 1-day window, and Fail-safe cannot be queried by users. Therefore the historical version is not retrievable through normal means, which is why the engineer's goal cannot be met in this configuration.

Exam trap

The trap here is believing that raising DATA_RETENTION_TIME_IN_DAYS retroactively extends access to versions that already aged out of the previous window.

19
Multi-Selecthard

A data engineer is designing a storage strategy for a Snowflake account that uses Enterprise Edition. The engineer needs to ensure that critical tables can be recovered for up to 90 days, while non-critical staging tables should minimize storage costs. Which two statements accurately describe Snowflake Time Travel and Fail-safe behavior for permanent tables? (Choose two.)

Select 2 answers
A.Fail-safe can be configured to extend beyond 7 days for permanent tables in Enterprise Edition.
B.Transient tables can have a Time Travel retention period of up to 90 days if the account is Enterprise Edition.
C.Permanent tables in Enterprise Edition can have a Time Travel retention period of up to 90 days.
D.Time Travel retention for permanent tables can be set to 0 days to disable it, but Fail-safe still applies.
E.Fail-safe provides an additional 7 days of recovery beyond the Time Travel retention period for permanent tables.
AnswersC, E

In Snowflake Enterprise Edition, permanent tables support a maximum Time Travel retention of 90 days, configurable via DATA_RETENTION_TIME_IN_DAYS. This allows recovery of historical data for up to 90 days using AT or BEFORE clauses. This setting is ideal for critical tables requiring long recovery windows, but it increases storage costs because historical versions are retained.

Why this answer

Permanent tables in Enterprise Edition support up to 90 days of Time Travel retention, and Fail-safe adds a fixed 7-day period after Time Travel expires. These two features together provide a comprehensive recovery strategy for critical data. Transient tables are limited to 1 day of Time Travel and have no Fail-safe, making them unsuitable for long-term recovery needs.

Exam trap

The trap here is confusing the retention limits and Fail-safe applicability between permanent and transient tables, especially assuming transient tables can use extended retention.

20
MCQeasy

A data engineer is creating a new table to hold a large volume of raw clickstream events that are loaded continuously and only retained for reporting within the same day. The team wants to minimize storage costs while still allowing recovery of rows modified within the last 24 hours. Which table type best fits these requirements?

A.An external table over a cloud storage stage with a 1-day retention policy
B.A temporary table with DATA_RETENTION_TIME_IN_DAYS set to 1
C.A transient table with DATA_RETENTION_TIME_IN_DAYS set to 1
D.A permanent table with DATA_RETENTION_TIME_IN_DAYS set to 1
AnswerC

Transient tables support up to 1 day of Time Travel on Enterprise Edition, which satisfies the 24-hour recovery need, and they do not incur Fail-safe storage. This makes them well suited for high-volume, short-lived data such as raw clickstream events. The absence of Fail-safe directly reduces storage cost, matching the team's objective.

Why this answer

Transient tables are the right choice for large, short-lived datasets because they support up to 1 day of Time Travel for recent-change recovery while avoiding Fail-safe storage entirely. Permanent tables would add unnecessary Fail-safe cost, temporary tables are session-scoped, and external tables do not provide Snowflake-managed Time Travel over their files.

Exam trap

The trap here is choosing a permanent table because it also supports 1-day Time Travel, overlooking that permanent tables additionally incur 7-day Fail-safe storage that transient tables avoid.

21
MCQmedium

A data engineer maintains a transient table named STG_EVENTS in a Snowflake Enterprise Edition account. The table has a DATA_RETENTION_TIME_IN_DAYS setting of 1. The engineer accidentally truncates the table and immediately realizes the mistake. What is the most reliable way to recover the lost rows?

A.Use the Snowflake Time Travel REST API to request a point-in-time restore of the table to the previous hour.
B.Run UNDROP TABLE STG_EVENTS, because TRUNCATE places the table in a recoverable dropped state.
C.Query the table with the AT (TIMESTAMP => ...) clause to read the rows as they existed before the truncate.
D.Restore the table from Fail-safe, because Fail-safe retains the pre-truncation micro-partitions for 7 days.
AnswerC

A transient table with a 1-day retention still supports Time Travel within that window, so the engineer can query the pre-truncation version using AT (TIMESTAMP => ...) and re-insert the rows. This is the reliable in-place recovery method. Note the retention window must not have elapsed, and the TIMESTAMP must fall inside the retention period.

Why this answer

Transient tables in Enterprise Edition support Time Travel up to a maximum of 1 day, which is exactly the configured retention here. Because the truncate just happened, the engineer can still read the historical version of the table with the AT clause and copy the rows back. Fail-safe does not cover transient tables, UNDROP only applies to dropped objects, and no REST API provides point-in-time table restoration.

Exam trap

The trap here is assuming Fail-safe protects transient tables or that TRUNCATE can be undone with UNDROP; in reality transient tables have no Fail-safe and TRUNCATE leaves the table in place, so only Time Travel applies.

22
MCQhard

A data engineer has a permanent table ORDERS_ARCHIVE with DATA_RETENTION_TIME_IN_DAYS set to 30. An analyst accidentally runs DELETE FROM ORDERS_ARCHIVE WHERE order_date < '2022-01-01' and commits the transaction. Twenty minutes later, the engineer wants to recover only the deleted rows without disturbing the current state of the table. Which approach is correct?

A.Run UNDROP TABLE ORDERS_ARCHIVE to restore the table to its pre-delete state.
B.Run ALTER TABLE ORDERS_ARCHIVE SET DATA_RETENTION_TIME_IN_DAYS = 30 to refresh the recovery window and then query the deleted rows.
C.Query the table with SELECT * FROM ORDERS_ARCHIVE BEFORE (STATEMENT => '<query_id>') and insert the missing rows back.
D.Run CREATE TABLE ORDERS_RESTORE CLONE ORDERS_ARCHIVE AT (TIMESTAMP => CURRENT_TIMESTAMP - INTERVAL '30 minutes') and swap the tables.
AnswerC

The BEFORE clause with a STATEMENT identifier reads the table as it existed immediately before the specified statement executed, which is exactly the pre-delete snapshot. Selecting from that snapshot and inserting the missing rows re-establishes the deleted data while preserving rows written after the delete. This works because the table's 30-day retention window still covers the twenty-minute-old delete, and the query ID can be retrieved from the Query History view.

Why this answer

Recovering deleted rows from a table that still exists requires reading its historical state with Time Travel and re-inserting the missing data. The BEFORE (STATEMENT => ...) clause targets the exact snapshot preceding the delete, so only the deleted rows are restored and post-delete changes are preserved. UNDROP applies to dropped tables, retention changes do not restore data, and cloning at an arbitrary timestamp does not precisely target the delete.

Exam trap

The trap here is reaching for UNDROP TABLE to reverse a DELETE, when UNDROP only recovers objects that were dropped and cannot restore rows removed by DML.

23
MCQmedium

A data engineer needs to retain a point-in-time copy of a large permanent table SALES_HISTORY for regulatory purposes. The table is 5 TB. The engineer runs CREATE TABLE SALES_HISTORY_BACKUP CLONE SALES_HISTORY. What is the initial storage cost impact of this operation?

A.The clone consumes additional storage equal to the table's metadata size only.
B.The clone consumes additional storage only after the source table is dropped.
C.The clone consumes no additional storage initially because it shares the source table's micro-partitions.
D.The clone immediately consumes an additional 5 TB of storage because all micro-partitions are copied.
AnswerC

Snowflake zero-copy cloning creates a new table that shares the same micro-partitions as the source without copying data. Storage is only charged for new micro-partitions created when the source or clone is modified after cloning. This makes the initial storage impact effectively zero, which is the defining benefit of the CLONE keyword for large tables.

Why this answer

Zero-copy cloning creates a new table that references the same micro-partitions as the source, so no data is physically copied at clone time and initial storage impact is effectively zero. Additional storage is charged only when the source or the clone is modified, generating new micro-partitions. This behavior is central to using clones for backups and dev environments without doubling storage.

Exam trap

The trap here is assuming cloning a table duplicates its data and doubles storage, when clones share micro-partitions until data diverges.

24
MCQmedium

If a permanent table in a Snowflake Enterprise edition account is dropped, and it had a 10-day Time Travel retention period, what is the total duration until the data is permanently unrecoverable by any means?

A.10 days, after which the data is purged from the storage layer.
B.7 days, as the Fail-safe period overrides the Time Travel period upon dropping.
C.17 days, including 10 days of Time Travel and 7 days of Fail-safe.
D.90 days, which is the maximum Time Travel limit for Enterprise accounts.
AnswerC

The total lifespan of the data after a drop is the sum of its configured Time Travel (10 days) and the system-defined Fail-safe (7 days). Only after this cumulative 17-day window does Snowflake release the storage and permanently delete the micro-partitions from the underlying cloud storage service.

Why this answer

For permanent tables, the data protection lifecycle consists of the Time Travel period followed by the Fail-safe period. After the table is dropped, it remains in Time Travel for 10 days (allowing UNDROP). Then, it automatically moves into Fail-safe for another 7 days.

Once both periods expire (17 days total), the data is purged.

Exam trap

Candidates often calculate the protection period based only on the Time Travel setting, forgetting to add the mandatory 7-day Fail-safe period that applies to all permanent tables.

25
MCQmedium

A data engineer is designing a recovery strategy for a critical permanent table FACT_SALES in an Enterprise Edition account. The team wants the ability to restore the table to any point within the last 60 days and also wants protection against a catastrophic failure that corrupts the data. Which statement correctly describes the available recovery windows?

A.Setting DATA_RETENTION_TIME_IN_DAYS to 60 gives 60 days of Time Travel, and Fail-safe adds no extra window because it overlaps Time Travel.
B.The maximum Time Travel for a permanent table is 30 days, so 60 days is not achievable and the setting will fail.
C.Setting DATA_RETENTION_TIME_IN_DAYS to 60 requires converting the table to a transient table to extend beyond 1 day.
D.Setting DATA_RETENTION_TIME_IN_DAYS to 60 gives 60 days of Time Travel plus 7 days of Fail-safe, for a total of 67 days of recoverability.
AnswerD

A permanent table in Enterprise Edition supports up to 90 days of Time Travel, so 60 is valid. Time Travel and Fail-safe are sequential windows: after the Time Travel period expires, Snowflake retains the data for an additional 7 days of Fail-safe, which is only accessible through Snowflake Support. The total recoverability is therefore 60 days of self-service Time Travel followed by 7 days of Fail-safe.

Why this answer

Permanent tables in Enterprise Edition can be configured up to 90 days of Time Travel, and Fail-safe adds a fixed seven-day window after Time Travel expires. A 60-day retention therefore yields 60 days of self-service recovery plus 7 days of Support-assisted recovery. Fail-safe does not overlap Time Travel, transient tables are capped at one day, and 30 is the default rather than the maximum.

Exam trap

The trap here is treating Time Travel and Fail-safe as overlapping protections, when Fail-safe actually begins only after the Time Travel window has elapsed.

26
MCQhard

A data engineer runs a batch job on a transient table named STG_EVENTS that is loaded from an external stage. The job truncates and reloads the table every night. After a faulty deployment, the engineer needs to restore the table contents from 30 hours ago. The engineer attempts Time Travel but the query returns no historical data. What is the most likely cause?

A.The table is transient, which has a maximum Time Travel retention of 1 day, so data from 30 hours ago may be outside the retention window.
B.Time Travel queries only work for permanent tables, and transient tables require Fail-safe recovery instead.
C.The TRUNCATE operation removes all historical versions immediately, making Time Travel impossible.
D.The table is loaded from an external stage, so Time Travel is not supported for tables that use external stages.
AnswerA

Transient tables have a default and maximum Time Travel retention of 1 day. Because 30 hours exceeds that 24-hour window, the historical data is no longer available for Time Travel. The engineer must design the reload process to retain data longer, or use a permanent table with a longer DATA_RETENTION_TIME_IN_DAYS setting.

Why this answer

Transient tables support Time Travel but with a maximum retention of 1 day. Because the requested restore point is 30 hours old, it falls outside that window, so the historical data is unavailable. Permanent tables can be configured with longer DATA_RETENTION_TIME_IN_DAYS values, which would be required for a 30-hour recovery need.

Exam trap

The trap here is assuming Time Travel works the same for all table types, when transient tables are capped at 1 day of retention.

27
Multi-Selecthard

A data engineer is managing a Snowflake account with multiple databases. The engineer wants to ensure that critical data can be recovered in the event of accidental deletion or modification. The engineer is considering using Time Travel and Fail-safe. Which TWO statements accurately describe the capabilities and limitations of Fail-safe? (Choose two.)

Select 2 answers
A.Users can query data in Fail-safe using the AT or BEFORE clauses, similar to Time Travel.
B.Fail-safe applies to transient tables, providing an additional layer of protection after Time Travel.
C.Fail-safe can be disabled at the account level to reduce storage costs.
D.Fail-safe provides a 7-day period after Time Travel expires during which Snowflake Support can recover data.
E.Fail-safe storage costs are incurred for data that is no longer accessible via Time Travel.
AnswersD, E

Fail-safe is a Snowflake feature that provides a 7-day window after the Time Travel retention period ends. During this period, data can only be recovered by Snowflake Support. It is not user-accessible via SQL. This applies to permanent tables that have Time Travel enabled. Transient and temporary tables do not have Fail-safe. This statement correctly describes the duration and access method for Fail-safe recovery.

Why this answer

Fail-safe is a mandatory 7-day period for permanent tables that begins after Time Travel retention expires. It allows only Snowflake Support to recover data, and it cannot be disabled or queried by users. Transient and temporary tables do not have Fail-safe.

Storage costs are incurred for Fail-safe data, which is no longer accessible via Time Travel. These two statements accurately describe Fail-safe's capabilities and limitations.

Exam trap

The trap here is assuming that Fail-safe is user-accessible or can be disabled, when in fact it is a support-only, mandatory feature for permanent tables.

28
MCQmedium

A data engineer manages a Snowflake account where a transient table named STAGE_EVENTS is loaded hourly. To cut storage costs, the engineer plans to set DATA_RETENTION_TIME_IN_DAYS = 0 on this transient table. Which outcome will occur?

A.The table is automatically converted to a permanent table to preserve recoverability.
B.The command fails because transient tables require a minimum retention of 1 day.
C.Time Travel is disabled, but the table still receives the standard 7-day Fail-safe period.
D.Time Travel is disabled for the table, and Fail-safe does not apply to it.
AnswerD

Transient tables never have Fail-safe coverage, and setting DATA_RETENTION_TIME_IN_DAYS to 0 removes Time Travel as well. The table remains available for normal queries, but no historical data can be recovered. This matches the engineer's cost-saving goal without affecting current data access, making it the correct outcome for STAGE_EVENTS.

Why this answer

Setting DATA_RETENTION_TIME_IN_DAYS to 0 on a transient table disables Time Travel, and transient tables are never covered by Fail-safe. The table continues to work for active queries, but historical recovery is unavailable. This is the intended low-cost configuration for staging data that can be reloaded from source systems if needed.

Exam trap

The trap here is assuming every Snowflake table has a 7-day Fail-safe period, when Fail-safe applies only to permanent tables.

29
MCQeasy

A data engineer creates a zero-copy clone of a 5 TB permanent table to provide a development team with a copy of production data. Immediately after the clone is created, how is storage billed for the clone?

A.The clone consumes storage equal to the source table's Fail-safe footprint at creation time.
B.The clone consumes no additional storage until either the source or the clone is modified, at which point only the changed micro-partitions add storage.
C.The clone immediately consumes 5 TB of additional storage because a full physical copy is made.
D.The clone consumes 5 TB only if the source table has Time Travel enabled.
AnswerB

Zero-copy cloning creates a new table that shares the same underlying micro-partitions as the source, so no data is physically duplicated at creation time. Storage is only added when one side diverges and new micro-partitions are written. This makes cloning near-instant and cost-efficient until changes occur.

Why this answer

Zero-copy cloning shares micro-partitions between the source and the clone, so no storage is consumed at creation. Storage is billed only when changes cause new micro-partitions to be written on either side. This is why cloning large tables is fast and initially free of additional storage cost, which is the defining benefit of the feature.

Exam trap

The trap here is assuming that cloning a table duplicates its data and immediately doubles storage, when the clone shares micro-partitions until divergence.

30
MCQhard

An account administrator is reviewing storage usage and notices that a table with 1 TB of active data is actually consuming 5 TB of total storage. The table has a clustering key and 90 days of Time Travel. What is the most likely reason for the 4 TB difference?

A.The table has multiple materialized views that are included in its storage count.
B.The table is stored using a redundant cross-region replication policy.
C.The clustering service is creating duplicate data to speed up query performance.
D.High churn from updates and re-clustering is being retained in Time Travel.
AnswerD

Every time Automatic Clustering or an UPDATE statement modifies data, new micro-partitions are written. With 90 days of Time Travel, every single version of those partitions created over the last three months is preserved. In a high-activity environment, this historical data can easily dwarf the size of the active data.

Why this answer

In Snowflake, total storage is the sum of active data, Time Travel data, and Fail-safe data. For a table with a clustering key and high Time Travel retention, frequent updates (churn) or automatic re-clustering will generate numerous new micro-partitions. The 90-day retention period forces Snowflake to keep all those historical versions, leading to massive storage overhead.

Exam trap

Candidates often attribute the storage increase to 'hidden' data or bugs. They fail to realize that high churn in a clustered table creates massive amounts of historical data in Time Travel.

31
MCQmedium

A data engineer changes the DATA_RETENTION_TIME_IN_DAYS parameter for a schema from 1 to 30. How does this change affect the existing permanent tables within that schema?

A.All existing tables in the schema are immediately updated to 30 days of retention.
B.The change only applies to new tables created after the parameter was modified.
C.The schema-level change is ignored unless the account-level retention is also 30.
D.Tables without an explicit retention setting will inherit the new 30-day period.
AnswerD

Snowflake's hierarchical parameter model ensures that objects inherit settings from their parent containers unless explicitly overridden. By updating the schema, any table within it that has not been specifically configured with its own retention period will now follow the schema's new 30-day Time Travel policy.

Why this answer

Parameters in Snowflake follow a hierarchy where object-level settings override schema-level settings, which override account-level settings. If a table does not have its own specific retention period set, it inherits the new value from the schema. However, if a table was explicitly created with its own retention period, that setting remains unchanged.

Exam trap

Candidates often assume the schema change retroactively overrides explicit table-level settings. They forget that Snowflake object-level parameters are immutable once set at the table level unless explicitly altered on the table itself.

32
MCQmedium

Which of the following best describes the storage impact of zero-copy cloning a large table?

A.It immediately doubles the storage cost of the table.
B.It incurs no additional storage cost at the time of cloning.
C.It creates a physical copy that only shares unchanged data.
D.It requires the user to re-cluster the clone to avoid costs.
AnswerB

Because zero-copy cloning is a metadata-only operation, no physical data is moved or copied. The new table references the same immutable micro-partitions as the source. Initial storage consumption is effectively zero, making this a highly efficient way to manage multiple environment versions without needing redundant data storage.

Why this answer

Zero-copy cloning is a metadata-only operation that does not duplicate existing micro-partitions. It creates a new logical object pointing to the same underlying storage blocks as the source. Consequently, there is no immediate storage cost at the time of creation.

Storage costs only begin to accrue for the clone if DML operations (UPDATE, DELETE) create new versions of the data that diverge from the original table's state.

Exam trap

Candidates think zero-copy cloning duplicates physical micro-partitions immediately, leading to immediate storage billing increases at clone creation time.

33
MCQhard

Refer to the exhibit. If the output shows TABLE_TYPE='BASE TABLE', IS_TRANSIENT='YES', and RETENTION_TIME='1', which statement correctly describes the storage behavior if this table is accidentally dropped?

A.The table can be recovered by Snowflake Support for up to 7 days after the drop.
B.The table will stay in Time Travel for 1 day, then move to Fail-safe for 7 days.
C.The table can be recovered using UNDROP for exactly 24 hours after the drop.
D.The table is not recoverable because transient tables do not support the UNDROP command.
AnswerC

The RETENTION_TIME of '1' indicates a 1-day Time Travel window. During this period, the metadata for the dropped table is preserved, allowing the UNDROP TABLE command to succeed. This is the only recovery mechanism available for transient tables before the data is permanently deleted.

Why this answer

The exhibit describes a transient table. Transient tables are permanent objects that persist across sessions but are specifically designed to have no Fail-safe period. They support Time Travel for up to 1 day.

If dropped, the table can be recovered using UNDROP within that 24-hour window, but once that day passes, it is gone forever.

Exam trap

Candidates often assume that because it is a table, it must have a 7-day Fail-safe period, forgetting that transient tables specifically exclude Fail-safe functionality entirely.

34
MCQhard

A company clones a 5 TB permanent table named RAW_CLICKS into a development schema using CREATE TABLE DEV.RAW_CLICKS CLONE PROD.RAW_CLICKS. Immediately after the clone, the development team loads 500 GB of new data into DEV.RAW_CLICKS and also updates 100 GB of existing rows. Which statement correctly describes the storage charges that result?

A.Storage charges for the clone are zero until the source table is dropped, because shared partitions are billed to the source.
B.The clone is billed as a full 5.6 TB copy plus Time Travel, because cloning always materializes a complete physical copy for isolation.
C.Storage charges cover only the newly written and modified micro-partitions in DEV.RAW_CLICKS, while the shared unchanged partitions are billed once.
D.The clone immediately doubles storage to 10 TB because cloning copies all micro-partitions.
AnswerC

Cloned tables share micro-partitions with the source, and Snowflake bills each distinct micro-partition once regardless of how many tables reference it. The 500 GB of new loads and 100 GB of updated rows create partitions unique to the clone, which are billed. The unchanged 5 TB remains shared and is charged once across both tables, so the incremental storage attributable to the clone reflects only the changed data.

Why this answer

Zero-copy cloning shares micro-partitions between source and clone, and Snowflake bills each micro-partition once even when multiple tables reference it. Only partitions that the clone modifies or adds become unique and billable to the clone. The 500 GB of new loads and 100 GB of updated rows produce the incremental charge, while the unchanged shared partitions are not double-billed.

Exam trap

The trap here is assuming a clone immediately duplicates storage, when in reality only micro-partitions that diverge from the source generate additional storage charges.

35
MCQhard

A Snowflake account uses Enterprise Edition. A permanent table FACT_ORDERS with DATA_RETENTION_TIME_IN_DAYS set to 14 is dropped at 10:00 on Monday. On Wednesday at 10:00, the engineer runs UNDROP TABLE FACT_ORDERS. Immediately after the UNDROP, what is the DATA_RETENTION_TIME_IN_DAYS value for the restored table?

A.0, because a dropped table's retention is reset to zero during the drop operation.
B.1, because the default retention for a restored table reverts to the account-level default of one day.
C.90, because UNDROP always promotes the restored table to the maximum retention allowed by the account edition.
D.14, because UNDROP restores the table with its original retention setting intact.
AnswerD

UNDROP restores the table object along with the retention configuration it had at the time of the drop. Since FACT_ORDERS had a 14-day retention period when it was dropped, the restored table retains that same 14-day setting, and the remaining Time Travel window continues from the original drop timestamp.

Why this answer

UNDROP restores a dropped table with the same properties it had at drop time, including its DATA_RETENTION_TIME_IN_DAYS value. Since FACT_ORDERS had 14 days configured, the restored table again has 14 days of retention. The original drop timestamp governs how much of the Time Travel window remains, not a reset to a default value.

Exam trap

The trap here is assuming UNDROP resets retention to an account default, when in fact the table's original retention property is preserved through the drop and restore cycle.

36
MCQeasy

Which Snowflake edition is required to support a 90-day Time Travel retention period?

A.Standard Edition.
B.Enterprise Edition.
C.Any edition supports 90 days by default.
D.Only the Trial Edition.
AnswerB

Enterprise Edition and higher (including Business Critical) are specifically designed to support long-term Time Travel up to 90 days. This capability allows organizations to meet rigorous compliance and historical data access requirements that are not achievable within the standard 1-day retention limit of the entry-level edition.

Why this answer

Snowflake's Time Travel feature scales its capability based on the edition. Standard Edition is limited to a 1-day retention period. Enterprise Edition and Business Critical Edition support up to 90 days.

This tier-based differentiation is a fundamental concept in Snowflake's storage and data protection architecture, requiring architects to align their service level agreements with the appropriate edition to meet data recovery and compliance needs.

Exam trap

Candidates often confuse the feature availability between editions, incorrectly assuming that Standard Edition supports the 90-day retention period, which is exclusive to Enterprise and higher tiers.

37
Multi-Selecthard

A data engineer is designing a storage strategy for a Snowflake account. The engineer wants to reduce Fail-safe storage costs and must understand which table types are exempt from Fail-safe. (Choose two.)

Select 2 answers
A.Permanent tables with DATA_RETENTION_TIME_IN_DAYS set to 0
B.Temporary tables
C.External tables referencing cloud storage files
D.Transient tables
E.Permanent tables in a database with a short retention default
AnswersB, D

Temporary tables exist only within a session and are dropped automatically when the session ends. They have minimal Time Travel and no Fail-safe coverage, so they do not incur Fail-safe storage costs. For session-scoped scratch data, temporary tables provide the lowest protection and lowest storage overhead, matching the engineer's cost-reduction goal.

Why this answer

Fail-safe applies only to permanent tables. Transient and temporary tables are exempt, so they do not generate Fail-safe storage costs. This makes them suitable for data that can be recreated or that only needs short-term protection, while permanent tables continue to carry the 7-day Fail-safe window after Time Travel expires.

Exam trap

The trap here is assuming that setting retention to 0 on a permanent table removes Fail-safe, when Fail-safe is tied to table type, not retention.

38
MCQmedium

A data engineer manages a transient table named STG_EVENTS with DATA_RETENTION_TIME_IN_DAYS set to 0 in a Snowflake Enterprise Edition account. A batch job accidentally truncates the table at 02:00. The engineer attempts to recover the lost rows using Time Travel queries against the table's historical versions but finds no historical data available. Which statement explains why the historical data is unavailable?

A.Historical data is only accessible through Fail-safe, which requires a support ticket and is not queryable directly.
B.Transient tables do not support Time Travel; only permanent tables can have historical versions retained.
C.The table's Time Travel retention was set to 0, so no historical versions were retained and the truncated data is unrecoverable via Time Travel.
D.The TRUNCATE operation bypasses Time Travel and immediately purges all historical micro-partitions regardless of retention settings.
AnswerC

With DATA_RETENTION_TIME_IN_DAYS set to 0, Snowflake retains no historical versions for the table, so queries using AT or BEFORE clauses return no prior state. Because the batch job truncated the table, the only recovery path would have been Time Travel, which was effectively disabled by the zero-day retention setting.

Why this answer

Transient tables support Time Travel, but their retention period can be set to zero, and when it is, Snowflake stores no historical versions. Because the engineer configured zero-day retention on STG_EVENTS, no prior state exists to query after the truncation, making Time Travel recovery impossible. The retention setting, not the table type or the truncation operation, is the controlling factor.

Exam trap

The trap here is assuming transient tables never support Time Travel, when in fact they do but are limited to a maximum of one day of retention and can be set to zero.

39
MCQhard

A data engineer is using Snowflake's Time Travel feature to recover a table that was dropped 2 days ago. The table was a permanent table with DATA_RETENTION_TIME_IN_DAYS set to 1. The engineer attempts to use UNDROP TABLE but receives an error. What is the most likely reason for the failure?

A.The table's Time Travel retention period has expired, and the table is now in Fail-safe.
B.The user lacks the necessary privileges to perform UNDROP on the table.
C.The table name was reused by another table, so UNDROP cannot restore the original.
D.The table was created as a transient table, so UNDROP is not supported.
AnswerA

With DATA_RETENTION_TIME_IN_DAYS set to 1, the table is recoverable via Time Travel for only 1 day after being dropped. After 2 days, the Time Travel period has expired, and the table has moved to Fail-safe, which does not support UNDROP. Thus, the UNDROP fails because the table is no longer in Time Travel.

Why this answer

A permanent table with 1-day Time Travel retention is recoverable via UNDROP only within that 1-day window. After 2 days, the table has moved to Fail-safe, which does not support UNDROP. Therefore, the UNDROP fails because the Time Travel period has expired.

Other options like transient table type, privileges, or name reuse are not applicable in this scenario.

Exam trap

The trap here is confusing Time Travel recovery with Fail-safe recovery, assuming UNDROP works during Fail-safe.

40
MCQmedium

A data engineer maintains a transient table named RAW_EVENTS in a Snowflake Enterprise Edition account. The table currently has DATA_RETENTION_TIME_IN_DAYS set to 1. The engineer attempts to run ALTER TABLE RAW_EVENTS SET DATA_RETENTION_TIME_IN_DAYS = 14; and the statement fails. What is the reason for the failure?

A.The account is on Enterprise Edition, which limits Time Travel to 1 day for all table types.
B.Time Travel retention can only be increased during the table creation statement, not with ALTER TABLE.
C.Transient tables support a maximum Time Travel retention of 1 day, so 14 days exceeds the allowed limit.
D.The table must be cloned before its retention period can be modified beyond the default.
AnswerC

Transient tables are capped at a maximum Time Travel retention of 1 day regardless of account edition. Setting 14 days exceeds that ceiling, so the statement is rejected. The 1-day value is the only valid nonzero retention for transient objects, which is why the attempt to extend it fails in this scenario.

Why this answer

Transient tables are designed for data that does not require long recovery windows, so Snowflake caps their Time Travel retention at 1 day. Attempting to set 14 days violates that cap and the ALTER statement fails. Permanent tables, by contrast, can go up to 90 days on Enterprise Edition, which is the distinction the engineer is missing.

Exam trap

The trap here is assuming that a higher account edition raises the Time Travel limit for every table type, when transient tables remain capped at 1 day.

41
MCQmedium

A data engineer is managing a Snowflake account with Enterprise Edition. A permanent table named FINANCE_RECORDS has DATA_RETENTION_TIME_IN_DAYS set to 10. The engineer wants to reduce storage costs by lowering the retention period to 1 day. What is the effect of executing ALTER TABLE FINANCE_RECORDS SET DATA_RETENTION_TIME_IN_DAYS = 1?

A.The change fails because retention periods can only be increased, not decreased, on a permanent table.
B.The change takes effect immediately, and any historical data older than 1 day becomes inaccessible and will be purged, but storage costs may not decrease immediately.
C.The change takes effect immediately, and historical data beyond 1 day is purged, reducing storage costs.
D.The change takes effect immediately, but existing historical data remains accessible for the original 10-day period.
AnswerB

When you reduce the retention period, historical data older than the new period becomes inaccessible and is eventually purged. However, storage costs may not decrease immediately because the data must first be purged from storage, which can take time. Additionally, Fail-safe still applies for 7 days after the retention period, so storage costs for Fail-safe may persist. This is the correct behavior.

Why this answer

Reducing the Time Travel retention period immediately makes historical data beyond the new period inaccessible, and it will be purged. However, storage costs may not decrease immediately due to the time required for purging and because Fail-safe still applies for 7 days after the retention period. The change is allowed and takes effect for all data, not just new data.

Exam trap

The trap here is assuming that reducing retention immediately frees up storage and that existing historical data remains accessible for the original period.

42
MCQhard

Refer to the exhibit. What is the DATA_RETENTION_TIME_IN_DAYS setting for the table after the UNDROP operation?

A.It reverts to the database default.
B.It remains 5.
C.It reverts to the account default.
D.It is reset to 1.
AnswerB

The UNDROP operation restores the table to its exact state, including all defined parameters like DATA_RETENTION_TIME_IN_DAYS. Since it was explicitly set to 5 before the DROP command, that configuration is preserved in the metadata and reapplied upon restoration, ensuring no changes to the intended retention policy occur.

Why this answer

When a table is dropped, its metadata and parameter settings are preserved. When the UNDROP command restores the table, it retrieves the original configuration, including the previously set DATA_RETENTION_TIME_IN_DAYS value of 5. This ensures that object-level policies remain consistent after recovery, allowing the Data Engineer to maintain control over historical data retention settings without needing to reconfigure them after accidental deletions.

Exam trap

Candidates assume dropping and restoring a table resets its configuration parameters to account defaults rather than preserving its original state.

43
MCQmedium

What is the effect of the UNDROP command on a table that has already been recreated with the same name?

A.It automatically renames the dropped table with a suffix.
B.It overwrites the existing table with the old version.
C.The UNDROP command fails due to a name collision.
D.It merges the data from both tables.
AnswerC

Because the table name is already in use by the new table, the UNDROP operation will error out. This prevents the unintentional destruction of the new table. The user is required to intervene—either by renaming the new table or dropping it—before the older, dropped version can be successfully brought back.

Why this answer

If a table is dropped and a new table is created with the same name, the UNDROP operation will encounter a name conflict. In such cases, the UNDROP command fails, as the target namespace is already occupied. To recover the dropped table, the user must first rename or drop the new table, then execute UNDROP on the original.

This safety mechanism prevents data loss and accidental overwriting of active production tables.

Exam trap

Candidates assume an UNDROP command will automatically overwrite an existing table with the same name, forgetting that name collisions cause the command to fail.

44
MCQeasy

Which of the following describes the primary purpose of Snowflake's Fail-safe storage?

A.To allow users to query data state from up to 90 days ago.
B.To provide a 7-day recovery period for catastrophic system failures.
C.To facilitate zero-copy cloning of large production databases.
D.To enable cross-region replication for high availability.
AnswerB

Fail-safe acts as a disaster recovery mechanism for critical system failures. If data is permanently lost beyond the reach of Time Travel, Snowflake Support can potentially recover data from the Fail-safe window. This 7-day window is mandatory, immutable, and ensures that data remains protected against unexpected infrastructure-level incidents.

Why this answer

Fail-safe is a critical component of Snowflake's data protection architecture, providing an immutable 7-day period that starts after the Time Travel window expires. It is intended for emergency recovery following system-level failures or catastrophic data loss. It is not designed for user-driven point-in-time recovery, which is the function of Time Travel, making Fail-safe a final, non-configurable safety mechanism for data durability.

Exam trap

Candidates confuse Fail-safe with Time Travel, mistakenly believing users can directly query or trigger data recovery from Fail-safe at any time.

45
MCQmedium

A data engineer needs to move a large volume of archived data from an on-premises system into a Snowflake internal stage and then load it into a permanent table. The data must be protected against accidental deletion for at least 30 days. The account is Snowflake Enterprise Edition. Which configuration best meets these requirements?

A.Create a transient table and set DATA_RETENTION_TIME_IN_DAYS to 30.
B.Create a permanent table and set DATA_RETENTION_TIME_IN_DAYS to 30.
C.Create a permanent table and rely on the default 1-day retention, since Fail-safe will cover the remaining 29 days.
D.Create a temporary table and set DATA_RETENTION_TIME_IN_DAYS to 30.
AnswerB

On Enterprise Edition, permanent tables support DATA_RETENTION_TIME_IN_DAYS up to 90, so 30 is valid and provides the required 30-day Time Travel window for recovery from accidental deletions or modifications. After Time Travel expires, the table also benefits from the 7-day Fail-safe period, adding further protection. This configuration directly satisfies the stated requirement.

Why this answer

A permanent table on Enterprise Edition can be configured with up to 90 days of Time Travel, so setting 30 days meets the protection requirement directly. Transient and temporary tables cap retention at 1 day, and relying on Fail-safe alone yields only a fixed 7-day window that requires Support intervention. Only the permanent table with 30-day retention satisfies the requirement.

Exam trap

The trap here is assuming Fail-safe can extend short Time Travel retention to reach 30 days; Fail-safe is a fixed 7-day layer that starts after Time Travel expires and cannot be configured or used self-service.

46
MCQeasy

A data engineer is reviewing storage costs in a Snowflake account. The engineer notices that a permanent table named CUSTOMER_DIM has a DATA_RETENTION_TIME_IN_DAYS value of 90, but the account is on Standard Edition. The engineer wants to confirm whether this is valid. What is the maximum Time Travel retention period for a permanent table in a Standard Edition account?

A.1 day
B.90 days
C.0 days
D.7 days
AnswerA

Standard Edition supports a maximum Time Travel retention of 1 day for permanent tables. The default is 1 day, and it can be set to 0 to disable Time Travel. Values above 1 day, such as 90, require Enterprise Edition or higher. This is why a 90-day setting is invalid on Standard Edition and must be corrected or the account upgraded.

Why this answer

On Standard Edition, permanent tables support a maximum Time Travel retention of 1 day, with 0 disabling Time Travel entirely. Longer retention periods such as 7 or 90 days require Enterprise Edition or higher. A 90-day setting in a Standard Edition account is therefore invalid, and the engineer should expect the maximum to be 1 day.

Exam trap

The trap here is conflating Fail-safe's fixed 7-day period with the Time Travel maximum, when Standard Edition Time Travel is capped at 1 day.

47
MCQhard

A data engineer manages a Snowflake account with a database named PROD_DB. The database contains a schema SALES with a table ORDERS. The engineer wants to clone the entire PROD_DB database to a new database named DEV_DB for testing. The PROD_DB database is large, but the engineer needs the clone to be available immediately. Which statement accurately describes the storage consumption and availability of the cloned database?

A.The clone is not available immediately; it must complete a background copy process before it can be queried.
B.The clone shares storage with the source, and any changes to the source will also affect the clone, consuming additional storage in both databases.
C.The clone consumes no additional storage initially, and data changes in DEV_DB will consume additional storage only for the changed micro-partitions.
D.The clone consumes storage equal to the size of the source database because it copies all data physically.
AnswerC

Zero-copy cloning creates a new database that shares the same micro-partitions as the source. Initially, no additional storage is consumed. When data in the clone is modified, new micro-partitions are created for the changes, and storage is charged for those new partitions. The original micro-partitions remain shared until they are no longer referenced by either database. This makes the clone instantly available with minimal storage overhead.

Why this answer

Zero-copy cloning creates a new database that shares the original micro-partitions without duplicating data. The clone is immediately available and consumes no additional storage at creation. Subsequent changes in either the source or the clone create new micro-partitions, and storage is billed only for those new partitions.

This approach is efficient for creating development or testing environments.

Exam trap

The trap here is believing that cloning physically copies data or that changes in one database affect the other, when in fact they are independent after the clone.

48
MCQmedium

A data engineer is managing a Snowflake account where a transient table named STG_ORDERS is created in a schema. The table holds intermediate ETL results. The engineer wants to ensure that if the table is accidentally dropped, it can be recovered within 24 hours without incurring Fail-safe storage costs. What should the engineer do?

A.Create a zero-copy clone of the transient table and set DATA_RETENTION_TIME_IN_DAYS to 1 on the clone.
B.Set DATA_RETENTION_TIME_IN_DAYS to 0 on the transient table and rely on Fail-safe for recovery.
C.Convert the table to a permanent table and set DATA_RETENTION_TIME_IN_DAYS to 1.
D.Set DATA_RETENTION_TIME_IN_DAYS to 1 on the transient table.
AnswerD

Transient tables support Time Travel with a maximum retention of 1 day. Setting DATA_RETENTION_TIME_IN_DAYS to 1 enables recovery within 24 hours and, because transient tables have no Fail-safe period, no additional storage costs are incurred after the retention period expires. This directly meets the requirement.

Why this answer

Transient tables support Time Travel up to 1 day and have no Fail-safe period, so setting DATA_RETENTION_TIME_IN_DAYS to 1 provides 24-hour recovery without Fail-safe costs. Permanent tables have a mandatory 7-day Fail-safe period, which would incur costs. Disabling Time Travel eliminates recovery, and cloning does not address recovery of the original table.

Exam trap

The trap here is assuming that transient tables can use Fail-safe for recovery or that they support longer Time Travel retention than 1 day.

Ready to test yourself?

Try a timed practice session using only Storage and Data Protection questions.