Snowflake

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 18

https://quizlet.

com/600215240/snowflake-certification-study-guide-flash-cards/

1. snowflake metadata repository contains:


(Select all that apply)

Select one or more:


o Table Definitions
o Cluster Size
o Tracking of all versions of the table data within the data
retention window
o References to all of the micro-partition files for that table

2. Which command is used to load data into snowflake from a source file
select one:
a. copy
b. insert
c. load
d. unload

3. select from the following options the hierarchy of a table in snowflake


select one:

a. account>>database>>schema>>table

4. Which of the following level supports PIPE EXECUTION PAUSED in


snowflake?

Select one:

a. All of the listed options

b. Schema

c. Pipe

d. Account

5. how to abort transaction in snowflake?

Ans: SYSTEM$ABORT_TRANSACTION

6. how to retrieve records for the 10 most recent copy into commands
executed against the mydb database?

Select one:
a. use database mydb
Select * from History_Schema.load_history order by last_load_time desc
limit 10;

b use database mydb


Select • from og_sehema 1oad_h1s1ory by last_load_time desc limit 10;

Question 7 which of the following returns the relative rank of a value within a
group of values?

a DENSE RANK
b. PERCENT RANK

c. ROW_NUMBER

d.Both A & B

Question 8 Which of the following is true about Zero Management in


Snowflake? (Select ail that apply)

Select one or more:

a. No data Distribution
b. No Knobs
c. No Clustering
d. No Indexes

Question 9 Select from the following options the method of unloading data

from Snowflake:

Select one:

a Unloading into Microsoft Azure

b. All of the listed options

c. Unloading into Amazon S3

d. Unloading into a Snowflake Stage

Question 10 which of the following is not a valid warehouse size in


Snowflake?

Select one

a. Small

b. Super Large

c. Medium
d. X-Large

Question 11 Which feature in Snowflake allows you to restore the table to an


earlier state?

Select one:

a. Restore

b. Rollback

c. Time Travel

d. Undo Changes

Question 12 Which role in snowflake allows User to administer only users


and groups, but not the database objects?

Select one
a. SECURITYADMIN
b. ACCOUNTADMIN
c. ROOT
d. SYSADMIN

Question 13 Which function allows to rotate a table by transforming columns


into rows?

Select one
a. UNPIVOT

b.Both A & B

c.TRANSFORM TABLE

d.PIVOT

Question 14 Which function In SnowflaKe allows to convert rows into


column?

Select one
a. None or U1e fisted opllons
b. TRANSPOSE
c. CASE WHEN
d. PIVOT

Question 15 What data formats are supported in Snowflake?

Select one.
a Structured and SemiStructured
b Structured and Unstructured
c. structured only
d Structured, Semi Structured and Unstructured
Question 16 If you encounter errors while running the COPY command.after
the command completes you can validate the files that produced
the errors using the VALIDATE table funcuon
State True or False.

se1ect one
a. True
b. FalSe

Question 17 What is the Snowflake recommended number or


ACCOUNTADMIN users in any account?

Select one:

a. 8
b. 4
c. 2
d. 6

Question 18 What is the snowflake recommended under ACCOUNTADMIN


users in my account?
a. SECURITYADMIN
b PUBLIC
c. SYSADMIN
d. ACCOUNTADMIN

Question 19 Which of the followingareconla1ned Within dalabase? (Select


alllhatapply) Select one or more:
a.Tables
b. SChemas
c. Virtualwarehouse
d. users

Question 20 Which role can you use from the Snowflake web interface or SOL
to view monthly and daily credit usage for all the warehouses in snowflake
account?

select one:
a. PUBLIC
b. ACCOUNTADMIN
c. SECURITYADMIN
d. SYSADMIN

Question 21 What are the cost effective Storage Options in SF Tables?


Select one or more
a Temporary
b Transient
c. External
d S3

Question 22 Snowflake Architecture is

Select one
a Multi Cluster, shared data
b. Multi Cluster, shared nothing
c Multi Cluster, shared disk
d. Single-cluster, shared nothing

Question 23 What value for the Auto suspend selling on a warehouse can
cause a warehouse to continue running Independently?

Select one
a 1 hour
b. Never
c. 0 minutes
d 15 minutes

Question 24: Which of the business intelligence platforms was the first 10
have native connectivity to snowflake?

Select one:
a Qliksense
b Microstrategy
c Looker
d Tableau

Question 25: Which of the following statement is true about FLATTEN


function?
Select one
a FLATTEN is a table function that takes a VARIANT,OBJECT or ARRAY
column and Produces a lateral view
b. Flattens (explodes) compound values into multiple rows
c: All of the listed options
d. FLATTEN can be used to convert semi-structured data to a relational
representation

Question 26: Who will be the owner of a table?

Select one
a Role using Which the table was created
b. user who created the table
c PUBLIC
d ACCOUNTADMIN
Question 27 What is the significance of SYSTEM$PIPE_FORCE_RESUME?

Select one.
a This is necessary if the pipe owner transfers ownership of the pipe to
another role while the pipe is paused.
b Any files submitted to the pipe while it was paused will start loading into
the target table.
c All of the listed options
d Executing this function resumes tne specified pipe

Question 28 which mechanism or snowflake does Locker take advantage?

Select one
a ln-memory processing
b Multi Cluster Warehouse
c Virtual warehouse
d In-databaSe processing

Question 29 The account usage in Snowflake across Time Range, Session,


user & warehouse can be seen in ________________

select one
a STORAGE_USAGE
b QUERY_HISTORY
c RESOURCE_MONITORS
d LOGIN_HISTORY

Question 30 Which of the scalability option we have for snowflaKe?

Select one:
a Storage Scales up as a data is inserted Into tables
b Scale compute capacity by adding independent warehouses
c. All of the listed options
d Scale each warehouse independently to provide additional compute power

Question 31 Which of the following datatype Is not supported in snowflake?

Select one:
a ARRAY
b OBJECT
c VARIANT
d ENUM

Question 32 Which of the following not a service in the cloud service layer of
Snowflake?
Select one-
a Data modelling
b.Metadata Management
C. AUthentication
d Infrastructure Management

Question 33 Find the output of the below SQL add-months(2016-05-31' date, -


1) as result
Select one
a 2000/04/30'
b 00-04-30
c All of the listed options
d 2016-04-30'

Question 34 What are the fundamental requirements for Customer Managed


Keys in data Encryption fOr snowflake?
Select one
a Confidentiality,lntegrity, and Accountability
b.Confidentiality,lntegrity, and SOlalJOn
c Confidentiality and lntegrity
d Confidentiality,lntegrity, and Availability

Question 35 A table m snowflake can only be quened usingvirtual warehouse


ha! was used to lead data Stale True or False State True or False.

Select one
.True
•False

Question 36 Which of the following SQL commands are available 1n


Snowflake?

Select one or more

a. UPSERT
b. INSERT
c TRUNCATE
d MERGE

Question 39 WhiCh of the folloWing are supported by Snowflake Database?


(Select all that apply)

Select one or more.


a.Session Variables
b.Javascipt UDFs
c SQL UDFs
d Python UOFs

Question 40 The COPY command does not validate data type conversions
for________________
Select one
a XML
b. JSON File
c csv
d Parquet

Question 8 The limitation of using Javascript UDFs is

Select one:
a. All of the listed options
b. Excessive stack depth due to recursion will result in an error.

c. JavaScript UDFs will fail if they consume too much memory

d. JavaScript UDFs that take too long to complete will be killed and an error
returned to

the user

Question 9 Which datatype is best suited to store semi structured data in


Snowflake?

Select one:
a. Char
b. Variant
c. Varchar
d. Boolean

Question 9 Select from the following options the method of unloading data

from Snowflake:

Select one:

a Unloading into Microsoft Azure

b. All of the listed options

c. Unloading into Amazon S3

d. Unloading into a Snowflake Stage

Question 1 What does CHECK_JSON do in Snowflake?

Select one or more:

a. Checks the validity of a JSON document. If the input string is a NULL or a


valid JSON document, the output is NULL

b. In case of a JSON parsing error, the output string contains the error
message.

c. None of the listed options

d. Checks the JSON file Data Type, Storage and Validity


Question 2 Find the output for the below: —Create the UDF.
create or replace function array_sort(an array)
retums array
Metksnoutaly language javascript
Flag question as
$5
return A sort();
$$

— Call the UDF with a small array.

select armay_sort(parse._json([2,4,5,3,1]))

Select one:

a. [54321]
b. [12,345]
c. None of the listed options *
d [24531]

Question 3 Which clause in Snowflake produces sub-total rows (in addition to


the grouped rows)?

Select one:

a. GROUP BY GROUPING SETS


b. None of the listed options
c. GROUP BY CUBE
d. GROUP BY ROLLUP

Question 4 Which role in snowflake allows user to administer users and


manage

all database object?

Select one:

a. ROOT

b. SYSADMIN

C. SECURITYADMIN

d. ACCOUNTADMIN

Question 5 What is the maximum file size we can store in single Amazon S3
bucket?

Select one:

a. 100 GB
b. 5 TB

c. 2 TB

d. None of the listed options

Question 6 What is the significance of SYSTEM$PIPE_FORCE_RESUME?

Select one:

a. This is necessary if the pipe owner transfers ownership of the pipe to


another role while the pipe is paused

b. Executing this function resumes the specified pipe

c. Any files submitted to the pipe while it was paused will start loading into
the target table

d. All of the listed options

Question 7 How to Bulk Load into Snowflake table?

Select one:

a. None of the listed options

b. Bulk Insert

C. Load using Copy Command

d. Bulk Load

Question 11 Which command in Snowflake is used to disable variable


substitution?

Select one:

a. None of the listed options

b. set variable_substitution=True;

c. Iset variable_substitution=false;

d. set variable_substitution=false;

Question 12 Select from the following the option through which you can
create a Virtual Warehouse in Snowflake.

Select one:

a. SF UI

b. SQL command
C. DI tools

d. All of the listed options

Question 13 How to view information about users using SQL?

Select one:

a. GET USER 'XXXX'

b. None of the listed options

c. desc user 'XXXX'

d. SHOW USER 'XXXX'

Question 14 Which of the following level supports


PIPE_EXECUTION_PAUSED?

Select one:

a. Schema

b. Account

c. Pipe

d. All of the listed options

Snowflake Architecture is

Select one:

a. Single-cluster, shared nothing

b. Multi-cluster, shared nothing

c. Multi-cluster, shared data

d. Multi-cluster, shared disk

Question 18 Which of the following best describes Snowflake processing


engine?

Select one:

a. Leverage Apache Spark

b. Based on map reduce

c. A derivative of Presto

d. Native SQL

Question 8 The limitation of using Javascript UDFs is


Select one:

a. All of the listed options

b. Excessive stack depth due to recursion will result in an error.

c. JavaScript UDFS will fail if they consume too much memory

d. JavaScript UDFS that take too long to complete will be killed and an error
returned to the user

Which datatype is best suited to store semi structured data in Snowflake?

Select one:

a. Char

b. Variant

C. Varchar

d. Boolean

Question 10 Which are the following cloud native solutions? (Select all that
apply)

Select one or more:

a. Snowflake

b. Redshift

c. Teradata Cloud

d. Only Redshift and Teradata Cloud

Question 25 How many node exists in a 3 extra large (3XL) size Snowflake
Warehouse?

Select one:

a. 8

b. 16

c. 32

d. 64

Question 26 What are some of the use cases that are ideal of Snowflake?
(Select all that apply)

Select one or more:

a. Data Mart
b. Data Warehouse

c. Compute

d. Data Lake

Question 27 What data formats are supported in Snowflake?

Select one:

a. Structured and Semi Structured

b. Structured, Semi Structured, and Unstructured

c. Structured only

d. Structured and Unstructured

Question 28 Select the correct statement from the following about Data
Sharing in Snowflake?

Select one or more:

a. Data Sharing is supported between accounts in any Snowflake Region

b. Data object can be modified when table data modified

c. Limited database objects shared between accounts are read-write

d. All database objects shared between accounts are read-only

Question 29 It is possibel to create indexes in Snowflake. State True or


False.
Select one:
True
False

Question 30 How to find the number of error rows in the source file?
Select one:
a. ERROR SCAN
b. ERRORS SEEN
c. None of the listed options
d. ERROR LIMIT

Question 31 Which of the following is True with Respect to Data share in


Snowflake?
Select one or more:
a. None of the listed options
b. After dropping a share, you can recreate it with the same name; however,
this does not restore any of the databases created from the share by
consumer accounts
c. We cannot drop a share once created
d. Before dropping a share, consider the downstream impact it will have on
all consumer accounts using the share.Snowflake relies on AWS CloudHSM
for security.

Question 32 Which key is not present in AWS CloudHSM (online hardware


security module)?
Select one:
a. Database Master Keys
b. Table Master Keys
c. Account Master Keys
d. File Keys

Question 33 What is true about subqueries in Snowflake?


Select one:
a. ANY/ALL subqueries are currently supported only before a WHERE clause
b. ANY/ALL subqueries can appear as an argument to an OR operator
C. ANY/ALL subqueries are currently supported only in a WHERE clause
d. The subquery must contain any number of items in its SELECT list

Question 34 strip_outer_array = true is mandatory for which type of File


declaration in Snowflake?
Select one:
a. TXT
b. All of the listed options
C. JSON
d. CSV

Question 35 Which of the following pair is a data integration tool for ELT
(Extract-Load-Transform) solution?
Select one:
a. ODI Informatica
b. Talend Informatica
C. Matillion Talend
d. None of the listed options

Question 36 Which of the security validations is allowed in snowflake?


Select one:
a. Soc 2 Type II compliance
b. All of the listed options
c. Support for HIPAA compliance
d. PCI DSS compliance

Question 37 In which layer is Snowflake Metadata Services stored?


Select one:
a. Application
b Cloud services
c. Virtual Warehouse
d. Storage

Question 38 Select from the following options the hierarchy of a table in


Snowflake.
Select one:
a. ACCOUNT>>DATABASE>>SCHEMA>>TABLE
b. DATABASE>>ACCOUNT>>SCHEMA>>TABLE
C. SCHEMA>>ACCOUNT>>DATABASE>>TABLE
d. ACCOUNT>>DATABASE>>TABLE

Question 39 The Snowflake metadata repository contains: (Select all that


apply)
Select one or more:
a. Table Definitions
b. Cluster Size
c. References to all of the micropartion files for that table
d. Tracking of all versions of the table data within the data retention window

Question 40 Find the Output of the below SQL: select add_months('2016-05-


31: date, -1) as result;
Select one:
a. 2000/04/30'
Flag question
b. 2016-04-30'
c. All of the listed options
d. 00-04-30'

Question 10 Which are the following cloud native solutions? (Select all that
apply)

Select one or more:


a. Snowflake
b. Redshift
c. Teradata Cloud
d. Only Redshift and Teradata Cloud

Question. 11 Which command in Snowflake is used to disable variable


substitution?

Select one:

a. None of the listed options

b. set variable substitution=True;

c. Isetvariable_ substitution=false;

d. set variable_substitution=rfalse;

Question 12 Select from the following the option through which you can
create a

Virtual Warehouse in Snowflake.

Select one:

a SFul
b: SQL command

c. Dltools

d: All of the listed options

Question 13 How to view information about users using SQL?

Select one:

a. GET USER 'XXXX'

b. None of the listed options

c. desc user XXXX

d. SHOW USER "XXXX'

Question 14 Which of the following level supports PIPE EXECUTION PAUSED?

Select one:

a Schema

b. Account

c.Pipe

d. All of the listed options.

Question 15 Which feature are direct results of Snowflake's storage


management approach?

Select one or more:


a. Multi-Cluster Warehouse
b. Time Travel
c. Zero Copy Cloning
d. Multifactor Authentication

Question 16 Snowflake Architecture is

Select one:
a. Single-cluster, shared nothing
b. Multicluster, shared nothing
c. Multi-cluster, shared data
d. Multicluster, shared disk

Question 17 Match the below table:

a. PermanentStandard Edition 7:97 v


b. Temporary 7.8 v
c. Transiet 7.97
d. PermanentEnterprise Edition 0.1 v
Question 18 Which of the following best describes Snowflake processing
engine?

Select one:
a. Leverage Apache Spark

b. Based on map reduce

c Aderivative of Presto

d. Native SQL

You might also like