Snowflake
Snowflake
stage
Micro partitions – enable horizontal and verical query pruning and are
physical data files that compromise snowflake logical tables
Cloning objects external names stages are cloned tables and there
internal stages are lcones. Internal names stages and database and
cheme stages are not cloned
Table types – temporary transient and premanent and external (no time
travel)
True or false: You can point Snowflake at any S3 bucket to directly query
the files in that bucket as long as the files are in Parquet or ORC format.
They can be in in any file format
The FLATTEN command will parse nested objects into separate rows. One
version of the FLATTEN command uses a join and the other uses an object
keyword. Select the two words that represent the options used with the
FLATTEN command TABLE , LATERAL
Here’s why:
Future Grants: Future grants defined for the table in the schema
will not automatically apply to the previously cloned object. You
would need to explicitly grant access to the cloned table for users to
interact with it.
The new cloned table does inherit any explicit access privileges
granted on the original table.
However, it does not inherit any future grants defined for the
table type in the schema.
The clone object does inherit explicit access privileges but not future
grants. If you want the clone to inherit future grants as well, you need to
use the COPY GRANTS option during the clone operation
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.
SNOWFLAKE_SAMPLE_DATA contains several schemas from
TPC (tpc.org)
Full
Reader
FALSE
Which of the following terms are associated with the Cloud Services
Layer?
Query Planning
Query Compilation
Query Optimization
If a table is cloned with COPY GRANTS option specified, then the clone
object inherits any explicit access privileges granted on the original table,
but does not inherit any future grants defined for the table in the schema
– TRUE
Which of the following statements are true about Snowflake Data sharing?
Select all that apply.
Only Table external tables secure views secure materialized views and
secure udf can be SHARED. REGUALR VIEWS cannot be SHARED
Unlimited shares can be created on a snowflake account and tou can add
unlimited amount of people to a share.
The Snowflake Data Marketplace has two types of listings. These are
PERSONALISED AND DE-PERSONALISED
File formart for data loading is PARQUET CSV ORC AVRO XML JSON
SHOW PIPES() COMMAND FOR to see pipes for which you have access
privileges for
HIPA FEDRAMP PCI DSS SOC1 SOC TYPE 2 NOT FOR Cloud GBDQ
The clustering depth for a populated table measures the average depth (1
or greater) of the overlapping micro-partitions for specified columns in a
table. The smaller the average depth, the better clustered the table is with
regards to the specified column
To change the warehouse that will be used to run a sql command is Run a
SQL Command like “USE WAREHOUSE LARGE_WH;“ or UPDATE
THE WAREHOUSE FIELD IN THE CONTEXT MENU LOCATED ABOVE
THE WORKSHEET
OLAP good online analytical processing not good for OLTP online
transition processing
Results casche 24 hours unless the query executed again then 31 days
You can USE COMMAND for user role, warehouse, database ,schemea or
use xontext menu drop