ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 72 - ADA-C01 discussion

Report
Export

An Administrator loads data into a staging table every day. Once loaded, users from several different departments perform transformations on the data and load it into different production tables.

How should the staging table be created and used to MINIMIZE storage costs and MAXIMIZE performance?

A.
Create it as an external table, which will not incur Time Travel costs.
Answers
A.
Create it as an external table, which will not incur Time Travel costs.
B.
Create it as a transient table with a retention time of 0 days.
Answers
B.
Create it as a transient table with a retention time of 0 days.
C.
Create it as a temporary table with a retention time of 0 days.
Answers
C.
Create it as a temporary table with a retention time of 0 days.
D.
Create it as a permanent table with a retention time of 0 days.
Answers
D.
Create it as a permanent table with a retention time of 0 days.
Suggested answer: B

Explanation:

According to the Snowflake documentation1, a transient table is a type of table that does not support Time Travel or Fail-safe, which means that it does not incur any storage costs for maintaining historical versions of the data or backups for disaster recovery. A transient table can be dropped at any time, and the data is not recoverable. A transient table can also have a retention time of 0 days, which means that the data is deleted immediately after the table is dropped or truncated. Therefore, creating the staging table as a transient table with a retention time of 0 days can minimize the storage costs and maximize the performance, as the data is only loaded and transformed once, and then deleted after the production tables are populated. Option A is incorrect because creating the staging table as an external table, which references data files stored in a cloud storage location, can incur additional costs and complexity for data transfer and synchronization, and may not provide the best performance for data loading and transformation. Option C is incorrect because creating the staging table as a temporary table, which is automatically dropped when the session ends or the user logs out, can cause data loss or inconsistency if the session is interrupted or terminated before the production tables are populated. Option D is incorrect because creating the staging table as a permanent table, which supports Time Travel and Fail-safe, can incur additional storage costs for maintaining historical versions of the data and backups for disaster recovery, and may not provide the best performance for data loading and transformation.

asked 23/09/2024
Victor Armando Sánchez
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first