Snowflake Overview and Architecture | Performance and Tuning Flashcards
which of the following have driver/connectors ( or information about where to find them) available via Help->downloads in the snowflake WebUI?
a) Kafka
b) spark
c) node.js
d) JDBC
e) Go
f) C
b) spark
c) node.js
d) JDBC
e) Go
if you click on “History” in the ribbon, how far back in time are you able to view history?
14 days
Snowflake offers the early access of staged release to designated standard edition customer. true or false?
FALSE
To change the warehouse that will be used to run a SQL command within a specific worksheet ( for example, changing the worksheet so that it uses large), what two options are available?
a) update the warehouse field in the context menu located above the worksheet
b) go to the worksheet properties page and set the warehouse field to LARGE_WH
c) run a SQL command like “SET WAREHOUSE CONTEXT=LARGE_WH”
d) run a SQL command like “USE WAREHOUSE LARGE_WH”
a) update the warehouse field in the context menu located above the worksheet
d) run a SQL command like “USE WAREHOUSE LARGE_WH”
what are the types of caches?
a) metadata cache
b) history cache
c) result cache
d) storage cache
a) metadata cache
c) result cache
each time the persisted result for query is reused, snowflake resets the 24-hour retention period for the result, up to maximum of 31 days from the date and time that the query was first executed. True or False?
TRUE
John ran a query which took around 30 minutes. He referred to query profiler, and found the ‘Bytes spilled to local storage has big number. what could the issue be?
a) John is using very large warehouse
b) John is using a comparatively smaller warehouse
c) warehouse-size has no impact n bytes spilling
d) John should contact snowflake personnel
b) John is using a comparatively smaller warehouse
John wants to share a VIEW with Monica but John wants to hide view definition and details from Monica. What type of view John should create and share with Moncia?
a) materialized
b) None
c) Secured
d) Standard
c) Secured
Please choose the correct table type from the given access
a) external
b) permanent
c) transient
d) temporary
e) internal
a) external
b) permanent
c) transient
d) temporary
if you find a date-related tool that is not listed as part of the snowflake ecosystem, what industry standard options could you check for a way to easily connect to snowflake?
a) check to see if the tool can connect to other solutions via JDBC
b) check to see if there is a petition in the community to create driver
c) check to see if you can develop a driver and put it on GitHub
d) check to see if the tool can connect to other solutions via ODBC
a) check to see if the tool can connect to other solutions via JDBC
d) check to see if the tool can connect to other solutions via ODBC
Which of the following are valid context functions?
a) CURRENT_CLOUD_INFRASTRUCTURE()
b) CURRENT_REGION()
c) CURRENT_SESSION()
d) CUURENT_WORKSHEET()
e) CURRENT_CLIENT()
b) CURRENT_REGION()
c) CURRENT_SESSION()
e) CURRENT_CLIENT()
which approach would result in improved performance through linear scaling of data ingestion workload?
a) resize virtual warehouse
b) consider the practice of splitting input file batch within the recommended range of 10MB to 100MB
c) all of these
d) consider the practice of organizing data by granular path
c) all of these
you create a sequence in snowflake with an initial value of 3 and an interval of 2. what are the series of numbers you would be expected to see?
3, 5, 7, 9, 11
which of the following snowflake editions automatically store data in an encrypted state?
a) enterprise
b) business-critical
c) standard
a) enterprise
b) business critical
c) standard
which cache stores object definitions and statics?
a) warehouse cache
b) results cache
c) metadata cache
c) metadata
a snowflake customer is responsible for all the maintenance and services. TRUE or FALSE
FALSE
how often does snowflake release new features?
weekly
which statement accurately describes the snowflake cloud services layer?
a) a collection of tightly coupled database management features
b) a collection of independent, scalable, and stateless services providing crucial data management capabilities
c) a set of cloud providers’ general services made available to users via the internet
d) managed and scaled by the user
b) a collection of independent, scalable, and stateless services providing crucial data management capabilities
which is not the security function of the cloud services layer?
a) access control for users and roles
b) authentication
c) access control for shares
d) encryption and key management
e) pruning using metadata about micro-partitions
e) pruning using metadata about micro-partitions
New or modified data in tables in a share are immediately not available to all consumers who have created a database from a share
TRUE or FLASE
FALSE
snowflake offers rich set of drivers and connectors to connect with external applications. select the connectors from the list
a) python
b) spark
c) node.js
d) JDBC
e) Kafka
a) python
b) spark
e) Kafka
which view behaves like a table and gets auto-refreshed?
a) standard
b) secured
c) none
d) materialized
d) materialised
snowflake is a cloud data platform delivered as a service. TRUE or FALSE
TRUE
stored procedure supports
a) python
b) go
c) javascript
d) java (using snowpark)
e) SQL
c) javascript
d) java (using snowpark)
if a query is slow, how can the query be changed to improve the query?
a) reorder the list of tables in the query to change the order the tables are read in the query
b) use an order by on the query to order the data before it’s searched
c) provide a hint to the optimizer
d) change the order of where clause to force the optimizer to consider the most effective filter first
e) if possible, use the table’s defined cluster key in the query
e) if possible, use the table’s defined cluster key in the query
which of these values must return a value?
a) both
b) stored procedure
c) user-defined function
c) user-defined function
which tables type disappers after the close of the session and therefore has no-fail safe, and no time travel options after the close of the session?
temporary
which type of view is most like a table?
a) standard
b) materialsed
c) secure
d) external
b) materialsed
which is not the function of optimization activities of cloud services layer?
a) handles queries that can be processes completely from metadata
b) pruning using metadata about micro-partitions
c) automatic JOIN order optimization
d) automatic statistic gathering
a) handles queries that can be processes completely from metadata
which command will return infrmation about the current database?
a) RETURN current_database();
b) SELECT current_database();
c) USE current_database();
d) QUERY current_database();
b) SELECT current_database();
can you have a database overlap across two snowflake account?
Yes or No
No
which of the following snowflake editions encrypt all data transmitted over the network within a virtual private cloud (VPC)?
a) business-critical
b) standard
c) enterprise
a) business ciritical
which of the following are performed by the cloud services layer? (select 4)
a) user authentication
b) data security
c) availability zone management
d) metadata storage
e) metadata management
a) user authentication
b) data security
d) metadata storage
e) metadata management
please choose all the securable objects from the given options
a) schema
b) udf
c) database
d) external table
e) stored procedure
a) schema
b) udf
c) database
d) external table
e) stored procedure
which is not the function under metadata management of cloud service layer?
a) used for time travel and cloning
b) handles queries that can be processes completely from metadata
c) used for storing physical micro partition
d) stores metadata as data is loaded into the system
c) used for storing physical micro partition
which cache type runs on a 24 hour clock?
results cache
objects that are dropped from a shared database and then recreated with the same name are not immediately available in the share; you must execute grant usage on the objects to make them available. TRUE or FALSE
TRUE
a snowflake account can be hosted on any of the many cloud platforms. please select all the correct answers.
a) azure
b) AWS
c) oracle cloud
d) GCP
e) dropbox
a) azure
b) AWS
d) GCP
when choosing a geographic deployment region, what factors might an enrollee consider?
a) number of availability zones within a region
b) additional fees charged for regions with geo-political unrest
c) end-user perceptions of glamorous or trendy geographic locations
d) promimity to the point of service
a) number of availability zones within a region
d) promimity to the point of service
you have a dashboard that connects to Snowflake via JDBC. the dashboard is refreshed hundreds of times per day. The data is very stable, only changing once or twice per day. the query run by the dashboard connector user never changes. How will snowflake amange changing and non-chnagin data? mark all true statements?
a) snowflake will spin up a warehouse only if the underlying data has changed
b) snowflake will spin up a warehouse each time the dashboard is refreshed
c) snowflake will compile results cache data from all users results so no warehouse is needed
d) snowflake will show the most up-to-date data each time the dashboard is refreshed
e) snowflake will re-use data from the results cache as long as it is still the most up-to-date data available
a) snowflake will spin up a warehouse only if the underlying data has changed
d) snowflake will show the most up-to-date data each time the dashboard is refreshed
e) snowflake will re-use data from the results cache as long as it is still the most up-to-date data available
who can create shares?
a) ROLE with CREATE SHARES global privilege
b) ACCOUNTADMIN
a) ROLE with CREATE SHARES global privilege
b) ACCOUNTADMIN
how is the most effective way to test if clustering a table helped performance?
a) USE SYSTEM$CLUSTERING_INFORMATION. check the total_constant_partition_count
b) Use the SYSTEM$CLUSTERING_DEPTH and check the depth of each column
c) Use SYSTEM$CLUSTERING_DEPTH and check the average overlaps
d) run a sample query before clustering and after to compare the results
e) Use SYSTEM$CLUSERTING_INFORMATION, check the average_depth
d) run a sample query before clustering and after to compare the results