Practice Test 1 Flashcards

1
Q

Which term is used to describe Snowflake’s architecture?

A

Multi-cluster, shared data warehouse

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

What appears on the top bar of the Snowflake UI?

Databases

Warehouses

Tables

Worksheets

Shares

Account (for admins)

History

Partner connect, help, notifications (top right side)

Drop down menu for user (top right side)

A

Databases

Warehouses

Worksheets

Shares

Account (for admins)

History

Partner connect, help, notifications (top right side)

Drop down menu for user (top right side)

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

What are the Snowflake editions?

A

Standard, Premier, Enterprise, Enterprise for Sensitive Data (ESD), and Virtual Private Snowflake (VPS)

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

What’s the factor when you increase the t-shirt size of warehouse? 2, 4, 6, or 8?

A

2

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

Snowflake is designed for which type of workloads? (select all that apply)

OLAP (analytics) workloads

OLTP (transactional) workloads

Concurrent workloads

On-premises workloads

A

OLAP

Concurrent

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

Which of the following are Cloud-native solutions? Select all that apply.

Google Big Query

Snowflake

Both

A

both

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

What are the three things customers want most from their enterprise data warehouse solution?

A

Concurrency

Query Performance

Simplicity

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

A Snowflake deployment runs in which environment?

A

Region

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

Does AWS Private Link allow customers to connect their on prem VPC ?

A

YES

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

Which of the following can you clone?

User

Table

Schema

Databases

Views

Shares

A

Table
Schema
Database

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

True or false: The Query Profiler view is only available for completed queries.

A

False

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

What are some of the items the services layer in Snowflake manages? Select all that apply

User authentication

Metadata

Query Compilation and Optimization

Data Security

A

All

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

What types of data does Snowflake support natively? Select all that apply.

Structured, relational data

Semi-structured data such as JSON and AVRO

A

All

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

Where is metadata stored?

Global services layer

Virtual warehouse layer

Data storage layer

Customer’s local place

A

Global services layer

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

True or False: A micropartition will be updated as updates are made to the rows of the data it contains

A

False

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

True/False: When a clone of a table is created, the original table’s data is physically copied?

A

False

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

True/False: Fail safe is configurable.

A

False

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

Do all tables have fail safe?

A

No

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

Which features are direct results of Snowflake’s storage management approach? Select all that apply.

Time Travel

Zero-copy cloning

Fail safe

A

Time Travel

Zero Copy Cloning

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

In order to view the storage usage of all tables in a db, you can use: (Select all that apply)

SHOW TABLES;

SHOW STORAGE BY TABLE;

INFORMATION_SCHEMA.TABLE_STORAGE_METRICS

INFORMATION_SCHEMA.TABLE_HISTORY

A

show tables;

NFORMATION_SCHEMA.TABLE_STORAGE_METRICS

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

True/False: A single schema can exist in more than one database in SF

A

False

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

What’s the maximum row size?

8 MB

16 MB

50 MB

4000 GB

A

16MB

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

True or False: The database storage in Snowflake is split across the nodes like other Shared nothing databases.

A

True

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

True/False: Zero-copy cloning is an additional feature of Snowflake available for Enterprise edition and up

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What kind of data format is JSON? Semi-structured Unstructured Structured
semi structured
26
What methods can be used to create and/or manage Virtual Warehouses?
Snowflake Web Interface SQL commands
27
When does a warehouse come out of suspended state (2 ways)
When it is auto-resumed When a query is run
28
What is the default time for auto-suspend?
10 min
29
Warehouses size up between t-shirt sizes by a factor of what?
2
30
Which of the following does SF not support? insert upsert merge
upsert
31
How many threads does a single Virtual Machine within a Compute Cluster contain?
8
32
True/False: The user has to specify which cluster a query will run on in a multi-cluster warehouse.
False
33
When scaling up virtual warehouses by increasing virtual warehouse t-shirt size, you are primary scaling for improved: Performance Concurrency Simplicity On-Prem accessibility
performance
34
True/False: The minimum time that a warehouse is charged is 5 mins.
False
35
True or false: You can resize a Virtual Warehouse while queries are running.
True
36
True or false: It is a best practice in Snowflake to break large tables into partitions to improve query performance.
False
37
Why would you scale a Virtual Warehouse UP? Complex queries Large datasets More workloads
Complex Queries | Large Datasets
38
Why would you scale a Virtual Warehouse OUT? Handle concurrency Handle complex query
Concurrency
39
Which of the following commands could run without a warehouse running, assuming no previous queries have been run? Check all that apply: sum(<>) min(<>) Select * from table copy avg(<>)
min(col name)
40
Whats the command for creating Virtual Warehouse CREATE VIRTUAL_WAREHOUSE CREATE WAREHOUSE
create warehouse
41
True or False: It is possible to query data stored in Snowflake without a Virtual Warehouse.
True
42
True or false: You need an active warehouse to run a basic insert statement.
True
43
Name the 3 serverless functions in SF (no need for virtual warehouse)
auto-clustering (pay only when it wakes up ) snowpipe (pay for the compute used to execute COPY INTO) materialized views
44
Select all the editions In which you can use multi-cluster warehouses? Standard Premium Enterprise Enterprise for Sensitive Data (EDS)/Business Critical VPS
Enterprise and higher.
45
What is the optimal size for loading files into Snowflake?
10-100mb compressed
46
You need to specify the file format when loading data into Snowflake
False
47
What is the maximum row size (compressed) in Snowflake?
16mb
48
How is Snowpipe charged?
per second/per core granularity
49
What command do you use to put files from a local file system into an internal stage?
PUT
50
True/False: You can use the PUT command in the UI
False
51
Snowflake supports which of the following file formats for data unloading? CSV/TSV Json Parquet
all
52
Which of the following are supported by the COPY statement? Joins Aggregates Concatenate Ordering Filtering
concatenate | ordering
53
Which edition(s) of Snowflake provide up to 90 days of time travel?
Enterprise, ESD, VPS
54
How many days of time travel do you get for Standard and Premier editions?
1 day
55
Snowflake supports multi-factor authentication (MFA) to provide increased login security for users connecting to Snowflake. Which statements are true about MFA security? MFA is automatically enabled for your account and available for all users to self-enroll MFA is an integrated feature powered by the Duo Security Service MFA can be used for connecting to Snowflake via the Snowflake JDBC driver
MFA is an integrated feature powered by the Duo Security Service
56
Which connectors support multi-factor authentication?
Pretty much all of them: UI, JDBC, ODBC, SnowSQL
57
true or false: Snowflake charges a premium for storing semi-structured data?
false
58
What column type is used to store semi-structured data?
variant
59
What type of data would you use the FLATTEN function for? Structured data Semi-structured data Both of the above None of the above
semi structured
60
T/F STRIP_NULL_VALUE converts a JSON “NULL” value to a SQL Null value?
True
61
What are the two ways to create and manage shares in Snowflake
Use SQL commands Via Snowflake Web UI
62
How many shares can a data provider provide?
unlimited
63
Who pays for the storage of the data being shared?
data provider
64
Who pays the compute cost for queries run on a data share?
Data consumer, data provider pays compute cost for reader accounts
65
Data sharing is available starting in which edition?
standard
66
True/False: You can clone a data share in Snowflake.
false
67
What happens when data providers revoke privileges on a share on an object?
it's unavailable
68
What are the four default roles in Snowflake?
ACCOUNTADMIN, SYSADMIN, SECURITYADMIN, PUBLIC
69
True/False: A single database can exist in more than one Snowflake account.
False
70
Which of the following contributes to an account’s compute cost? Warehouse size The number of clusters The amount of data queried
Warehouse size The number of clusters
71
What can monitor account-level credit and storage usage
Resource Monitor
72
Identify concerns about legacy data sharing. Date volume Data security Data governance
All
73
Which role should be in charge of managing database objects? SYSADMIN ACCOUNT ADMIN SECURITY ADMIN PUBLIC
Sysadmin
74
True/False: Roles are a subset of users. Users own objects which allows the role to access those objects.
False
75
What does snowflake recommend for best practices for the accountadmin/sysadmin roles? Check all that apply (not exact answers, but something along these lines) Make default role sysadmin (if a user has both) Create all objects using the accountadmin role (definitely don’t check this one) Use the sysadmin role for general administration of tasks Only enter the accountadmin role to perform tasks for this role, then leave the role once you’ve finished those tasks.
Make default role sysadmin (if a user has both) Only enter the accountadmin role to perform tasks for this role, then leave the role once you’ve finished those tasks.
76
Select all that apply: Which of the following are blocking operators? MERGE UPDATE INSERT COPY
merge | update
77
True/False: When a clone of a table is created, the original table’s data is physically copied?
false
78
Would scaling up (increasing Warehouse size) or out (adding more Cluster to the Warehouse) help a complex query perform better?
up
79
What technique does Snowflake use to limit the number of micro-partitions scanned by each query?
clustering
80
True/False It’s best practice to have a clustering key in every table?
false
81
True/False: All tables in SF are clustered.
false
82
You can use Snowflake on the following cloud services (select all that apply): Amazon Web Services Microsoft Azure Google Cloud Provider (in preview)
all
83
What can you download through UI? SnowSQL ODBC Driver
all
84
Snowflake's query language is based on:
sql
85
Which of the following objects can not be cloned Table User Share Stage View File format
user share view
86
The fact that micro-partition is immutable support which of the following feature Zero-copy cloning Time travel Fail safe Clustering
zero copy cloning | time travel
87
How much uncompressed data is in a micro-partition?
50-500mb
88
What is the most used connector?
jdbc
89
What is the best place to find information on connectors and tool integration?
snowflake docs
90
What is the name of the feature that allows you to analyze a visual representation of the query execution?
query profiler
91
Shared databases are read-only in Snowflake?
true
92
True/False: Query the files in an external stages directly without loading?
false
93
Which Snowflake functions can be run in Snowsql but not the Web UI? GET PUT COPY
get | put
94
Which Snowflake layer has caching? Global Service Virtual Warehouse Storage
all
95
True or False: Snowflake can be deployed in a hybrid cloud or private cloud environment?
false
96
Which Snowflake role is strongly recommended to enable MFA? SYSADMIN ACCTADMIN SECURITYADMIN Both SYSADMIN and ACCTADMIN
acctadmin
97
We can load file through Snowpipe without using a stage
false