Snowflake SnowPro Advanced: Data Engineer (DEA-C02) · 14% practice allocation

Snowflake DEA-C02: Storage and Data Protection Practice Questions

5 free sample questions from the Storage and Data Protection domain, with answers and explanations. The full DEA-C02 bank has 262 questions across 5 domains. Questions are scenario-based and written from the official Snowflake exam guide.

1.

A Snowflake administrator needs to recover a table that was accidentally dropped 5 days ago. The table was created as a PERMANENT table in an Enterprise Edition account, and the schema's DATA_RETENTION_TIME_IN_DAYS is set to 7. Which command will successfully restore the table?

  • A. RESTORE TABLE my_schema.my_table AT (OFFSET => -432000);
  • B. UNDROP TABLE my_schema.my_table;✓ Correct
  • C. CREATE TABLE my_schema.my_table CLONE my_schema.my_table BEFORE (STATEMENT => '<drop_statement_id>');
  • D. ALTER TABLE my_schema.my_table UNDELETE;
Explanation

UNDROP TABLE is the correct command to restore a dropped table within its Time Travel retention period. Since the table is permanent on Enterprise Edition with a 7-day retention, the 5-day-old drop is still within the window. — ALTER TABLE ... UNDELETE is not valid Snowflake syntax. — RESTORE TABLE is not a Snowflake DML command. — CREATE TABLE ... CLONE with BEFORE can recreate the table's data from Time Travel history, but this would create a new clone object rather than restoring the original table in place, and it requires referencing the dropped object with its ID (BEFORE STATEMENT syntax), which is a more complex workaround, not the canonical recovery command.

2.

A global enterprise configures a REPLICATION GROUP containing multiple databases and shares. A disaster occurs in the primary region. The team initiates a failover to the secondary region. Which of the following statements BEST describes the behavior and requirements of REPLICATION GROUP failover? (Select TWO.)

  • A. Client redirect connection URLs can be configured to automatically point applications to the new primary account after failover, minimizing application-level changes.✓ Correct
  • B. All databases in the REPLICATION GROUP are failed over atomically, ensuring a consistent point-in-time across the group.✓ Correct
  • C. After failover, the previously primary account's REPLICATION GROUP is automatically demoted to a secondary, and replication resumes without manual reconfiguration.
  • D. Individual databases within a REPLICATION GROUP can be independently failed over without affecting the rest of the group.
  • E. Network policies associated with the primary account must be manually re-applied to the new primary account after failover.
Explanation

REPLICATION GROUP failover is atomic — all objects (databases, shares, etc.) within the group are failed over together to a consistent snapshot, which is a key advantage over per-database replication for maintaining cross-database consistency. Client redirect (using a connection URL) is a Snowflake feature that allows connection strings to automatically route to the current primary after failover, significantly reducing application reconfiguration effort. — Individual database failover is not possible within a REPLICATION GROUP; the group fails over as a unit. This is precisely why REPLICATION GROUPs exist. — After failover, the old primary is NOT automatically demoted and reconfigured; the administrator must manually reconfigure replication direction or set up a reverse replication path. — Network policies are associated with accounts, not replication groups; they do not need to be re-applied after failover because the new primary account already has its own network policies.

3.

A platform engineering team is evaluating Iceberg Tables in Snowflake for a multi-engine lakehouse architecture where both Snowflake and Apache Spark will read and write the same tables. Which of the following statements about Snowflake-managed Iceberg Tables are TRUE? (Select TWO.)

  • A. Iceberg Tables in Snowflake support full DML (INSERT, UPDATE, DELETE, MERGE) when Snowflake is configured as the catalog.✓ Correct
  • B. Snowflake-managed Iceberg Tables store data and metadata in Snowflake-managed storage, preventing external engines like Spark from directly reading the Iceberg metadata files.
  • C. Iceberg Tables always provide better query performance than native Snowflake tables due to open format optimizations.
  • D. Iceberg Tables with Snowflake as the catalog cannot be read by external engines like Spark because the metadata is proprietary.
  • E. When using an external catalog (e.g., AWS Glue), Snowflake can read Iceberg tables written by other engines while respecting the open Iceberg table format specification.✓ Correct
Explanation

When using an external catalog (like AWS Glue or a REST catalog), Snowflake can query Iceberg tables written by other engines (e.g., Spark, Flink), enabling true multi-engine interoperability. Snowflake fully supports DML (INSERT, UPDATE, DELETE, MERGE) on Iceberg tables when Snowflake is the catalog, making them viable for operational workloads, not just read-only analytics. — Snowflake-managed Iceberg Tables do store data in a Snowflake-managed location, but the metadata IS stored as standard Iceberg metadata files in cloud storage (not hidden), so external engines CAN read them given appropriate permissions. — Native Snowflake tables (with proprietary micro-partitions and clustering) generally outperform Iceberg tables for most Snowflake query patterns; Iceberg tables trade some performance for open-format interoperability. — The statement that Snowflake-as-catalog Iceberg metadata is proprietary is false; it follows the Iceberg open specification.

4.

An organization wants to set up cross-region replication for disaster recovery. They configure a primary database in AWS us-east-1 and enable replication to a secondary database in AWS us-west-2. A developer proposes running business intelligence queries directly against the secondary database to reduce load on the primary. Which statements about this architecture are TRUE? (Select TWO.)

  • A. The secondary database can be used for both read and write operations immediately after replication is established.
  • B. Replication introduces some latency, meaning the secondary database may not reflect the most recent transactions from the primary.✓ Correct
  • C. Cross-region replication within the same cloud provider does not incur data transfer costs.
  • D. The secondary database is read-only until a failover is triggered.✓ Correct
  • E. Failing over promotes the secondary to primary and the original primary is automatically re-synchronized without manual intervention.
Explanation

Secondary databases in Snowflake replication are read-only replicas; write operations are not permitted until a failover is performed that promotes the secondary to primary. This makes them suitable for offloading BI reads. Replication is not synchronous — it uses a refresh cycle, so there is inherent latency between the primary and secondary, and the secondary may lag behind depending on when the last REFRESH was executed. — The secondary database does not support write operations until failover; this is by design. — After failover, the original primary does NOT automatically re-synchronize; you must manually reconfigure replication roles if you want to reverse the direction or set up a new secondary. — Cross-region data transfer, even within the same cloud provider, typically incurs egress charges in Snowflake replication.

5.

A company is designing a data pipeline that creates dozens of intermediate staging tables daily. These tables are only needed for the duration of the ETL session. A data engineer wants to minimize storage costs and avoid unnecessary Fail-safe overhead. Which table type is MOST appropriate for these staging tables?

  • A. External tables
  • B. Temporary tables✓ Correct
  • C. Permanent tables with DATA_RETENTION_TIME_IN_DAYS = 0
  • D. Transient tables
Explanation

Temporary tables are session-scoped: they are automatically dropped when the session ends, incur no Fail-safe storage costs (0-day Fail-safe), and have a maximum Time Travel of 1 day (default 0). They are ideal for truly transient, single-session intermediate data. — Permanent tables with retention set to 0 still incur 7-day Fail-safe charges, increasing storage costs unnecessarily. — Transient tables avoid Fail-safe but persist beyond the session until explicitly dropped; they are better suited for short-lived data that must survive across multiple sessions or users, not exclusively single-session work. — External tables store no data in Snowflake (data lives in cloud storage) and are not suitable for staging pipeline data being written and processed within Snowflake.

Test yourself across every DEA-C02 domain

The free DEA-C02 practice test mixes about 20 questions weighted like the exam. The full 262-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Storage and Data Protection study guide (DEA-C02) →

Other DEA-C02 domains

← All Snowflake SnowPro Advanced: Data Engineer study resources