Technical Overview Flashcards

(15 cards)

1
Q

What is an account

A

Administrative name for a collection of compute, storage, and cloud services.

OR

an object used to manage account level settings or objects

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an Organization

A

Manage Snowflake Accounts

Monitor Usage Across Accounts

Setup and administer Snowflake features that make use of multiple accounts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the four Table types?

A

Permanent - Default type and exists until dropped

Temporary - Used for transitory data like being part of an ETL process

Transient - Similar to permanent tables, but do NOT support Failsafe. Ideal for transitory data that needs to persist beyond a session.

External - Table that contains data that was queried outside of Snowflake. It is read-only and slower to access.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the Time Travel and FailSafe details for each Table type?

A

Permanent - Time Travel - 90 days; Suports Fail Safe

Temporary - Time Travel - 1 day; Does not support Fail Safe

Transient - Time Travel - 1 day; Does not support Fail Safe

External: No Time Travel; No Fail Safe

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the types of Views in Snowflake?

A

Standard - Stores Query definition, not data

Materialized - Stores the results of a query definition, and periodically refreshes it

Secure - Hides query definition from unauthorized users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are User Defined Functions (UDF)?

A

Schema Level Objects that allow users to write their own functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What languages does SnowFlake support for UDFs?

A

SQL

JavaScript

Python

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the return types for UDFs?

A

Scalar - Returns on output row

Tabular (aka table function or UDTF) - Returns a table/multiple rows

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a Stored Procedure?

A

A collection of SQL statements that contain procedural logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an External Function?

A

A UDF that calls code outside of Snowflake

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the downsides for of External functions

A

Scalar only

Not sharable

Less Secure

Cost - Snowflake may charge for data moved to other services or regions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a Sequence?

A

An object that generates sequential numbers automatically

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a Task?

A

A object used to schedule the execution of a SQL statement, Store Proc, or Snowflake Script

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What permissions are needed to execute or schedule a Task?

A

Global EXECUTE_TASK permission or ownership of the Task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a Stream?

A

An object to track DML changes ( inserts, deletes, updates…)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly