Snowflake DEA-C01 SnowPro Advanced Data Engineer Certification Online Training
Snowflake DEA-C01 Online Training
The questions for DEA-C01 were last updated at Dec 30,2024.
- Exam Code: DEA-C01
- Exam Name: SnowPro Advanced Data Engineer Certification
- Certification Provider: Snowflake
- Latest update: Dec 30,2024
Streams cannot be created to query change data on which of the following objects? [Select All that Apply]
- A . Standard tables, including shared tables.
- B . Views, including secure views
- C . Directory tables
- D . Query Log Tables
- E . External tables
Tasks may optionally use table streams to provide a convenient way to continuously process new or changed data. A task can transform new or changed rows that a stream surfaces. Each time a task is scheduled to run, it can verify whether a stream contains change data for a table and either consume the change data or skip the current run if no change data exists.
Which System Function can be used by Data engineer to verify whether a stream contains changed data for a table?
- A . SYSTEM$STREAM_HAS_CHANGE_DATA
- B . SYSTEM$STREAM_CDC_DATA
- C . SYSTEM$STREAM_HAS_DATA
- D . SYSTEM$STREAM_DELTA_DATA
The Above example indicates that the SF_DATA table is not well-clustered for which of following valid reasons?
- A . Zero (0) constant micro-partitions out of 1156 total micro-partitions.
- B . High average of overlapping micro-partitions.
- C . High average of overlap depth across micro-partitions.
- D . Most of the micro-partitions are grouped at the lower-end of the histogram, with the majority of micro-partitions having an overlap depth between 64 and 128.
- E . ALL of the above
Mark a Data Engineer, looking to implement streams on local views & want to use change tracking metadata for one of its Data Loading use case. Please select the incorrect understanding points of Mark with respect to usage of Streams on Views?
- A . For streams on views, change tracking must be enabled explicitly for the view and underlying tables to add the hidden columns to these tables.
- B . The CDC records returned when querying a stream rely on a combination of the offset stored in the stream and the change tracking metadata stored in the table.
- C . Views with GROUP BY & LIMIT Clause are supported by Snowflake.
- D . As an alternative to streams, Snowflake supports querying change tracking metadata for views using the CHANGES clause for SELECT statements.
- E . Enabling change tracking adds a pair of hidden columns to the table and begins storing change tracking metadata. The values in these hidden CDC data columns provide the input for the stream metadata columns. The columns consume a small amount of storage.
To advance the offset of a stream to the current table version without consuming the change data in a DML operation, which of the following operations can be done by Data Engineer? [Select 2]
- A . using the CREATE OR REPLACE STREAM syntax, Recreate the STREAM
- B . Insert the current change data into a temporary table. In the INSERT statement, query the stream but include a WHERE clause that filters out all of the change data (e.g. WHERE 0 = 1).
- C . A stream advances the offset only when it is used in a DML transaction, so none of the options works without consuming the change data of table.
- D . Delete the offset using STREAM properties SYSTEM$RESET_OFFSET( <stream_id> )
Data Engineer is performing below steps in sequence while working on Stream s1 created on table t1.
Step 1: Begin transaction.
Step 2: Query stream s1 on table t1.
Step 3: Update rows in table t1.
Step 4: Query stream s1.
Step 5: Commit transaction.
Step 6: Begin transaction.
Step 7: Query stream s1.
Mark the Incorrect Operational statements:
- A . For Step 2, The stream returns the change data capture records between the current position to the Transaction 1 start time. If the stream is used in a DML statement, the stream is then locked to avoid changes by concurrent transactions.
- B . For Step 4, Returns the CDC data records by streams with updated rows happened in the Step 3 because Streams works in Repeated committed mode in which statements see any changes made by previous statements executed within the same transaction, even though those changes are not yet committed.
- C . For Step 5, If the stream was consumed in DML statements within the transaction, the stream position advances to the transaction start time.
- D . For Step 7, Results do include table changes committed by Transaction 1.
- E . if Transaction 2 had begun before Transaction 1 was committed, queries to the stream would have returned a snapshot of the stream from the position of the stream to the be-ginning time of Transaction 2 and would not see any changes committed by Transaction 1.
Streams record the differences between two offsets.
If a row is added and then updated in the cur-rent offset, what will be the value of METADATA$ISUPDATE Columns in this scenario?
- A . TRUE
- B . FALSE
- C . UPDATE
- D . INSERT
Mark the Incorrect Statements with respect to types of streams supported by Snowflake?
- A . Standard streams cannot retrieve update data for geospatial data.
- B . An append-only stream returns the appended rows only and therefore can be much more performant than a standard stream for extract, load, transform (ELT).
- C . Insert-only Stream supported on external tables only.
- D . An insert-only stream tracks row inserts & Delete ops only
Stuart, a Lead Data Engineer in MACRO Data Company created streams on set of External tables.
He has been asked to extend the data retention period of the stream for 90 days, which parameter he can utilize to enable this extension?
- A . MAX_DATA_EXTENSION_TIME_IN_DAYS
- B . DATA_RETENTION_TIME_IN_DAYS
- C . DATA_EXTENSION_TIME_IN_DAYS
- D . None of the above
Stuart, a Lead Data Engineer in MACRO Data Company created streams on set of External tables.
He has been asked to extend the data retention period of the stream for 90 days, which parameter he can utilize to enable this extension?
- A . MAX_DATA_EXTENSION_TIME_IN_DAYS
- B . DATA_RETENTION_TIME_IN_DAYS
- C . DATA_EXTENSION_TIME_IN_DAYS
- D . None of the above