Level 5: Container Hierarchy Flashcards

1
Q

Which of these are Snowflake table types?

A

Permanent
External
Temporary
Transient

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

Which of the following are Snowflake view types?

A

Secure
Standard
Materialized

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

What are the three Snowflake Stage types?

A

User
Table
Named

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

Named stages come in two varieties, what are they?

A

Internal
External

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

Which type of view is most like a table?

A

Materialized

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

Which type of view has an extra layer of protection to hide the SQL code from unauthorized viewing?

A

Secure

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

In a Snowflake account named MX43210, you need to set a user’s default namespace to a database called MYDB and the PUBLIC schema. Which of the following commands would you use?

A

set default_namespace = mydb.public

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

Which statements are true about the Snowflake container hierarchy? Select all that apply

A

Accounts contain databases which contain schemas.
Schemas contain tables as well as views

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

In the Snowflake container hierarchy, what container is represented as a URL (for example: https://HJ54364.snowflakecomputing.com)?

A

Account

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

Fail-Safe is a seven-day history of data and is automatically available on which table types?

A

Permanent

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

Each Snowflake account comes with two shared databases. One is a set of sample data and the other contains Account Usage information. Check all true statements about these shared databases.

A

SNOWFLAKE contains a schema called ACCOUNT_USAGE
SNOWFLAKE_SAMPLE_DATA contains several schemas from TPC (tpc.org)
ACCOUNT USAGE is a schema filled with secure views

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

Which of the following statements are true about Fail-safe?

A

Only a Snowflake employee can recover data from Fail-safe storage.
The data stored as part of Fail-safe is part of storage costs charged to customers

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

Time travel is available for which table types?

A

Permanent
Temporary
Transient

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

Which types of stages are automatically available in Snowflake and do not need to be created or configured?

A

User
Table

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

Which table type disappears after the close of the session and therefore has no Fail-safe, and no Time Travel options after the close of the session?

A

Temporary

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

You set up a Snowflake account, choosing AWS as your cloud platform provider. What stages can you use to load data files?

A

USER
TABLE
NAMED INTERNAL
NAMED EXTERNAL - using S3 Buckets
NAMED EXTERNAL - using Azure BLOB storage
NAMED EXTERNAL - using GCS/GCP Buckets

17
Q

Which of the following object types are stored within schemas?

A

Stages
File Formats
Sequences
Stored Procedures
User Defined Functions