0% found this document useful (0 votes)
193 views22 pages

Snowpro Core

Uploaded by

asif ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
193 views22 pages

Snowpro Core

Uploaded by

asif ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

1. A permanent table can be cloned to which other table types?

Select all that apply.

A. Temporary Table

B. Transient Table

C. Permanent Table

D. External Table

2. An external stage can be enabled during the creation of a stage object or enabled
afterward. Which of the following SQL enables the directory table?

A. ALTER STAGE <STAGE_NAME> SET DIRECTORY (ENABLE TRUE);

B. ALTER STAGE <STAGE_NAME> ADD DIRECTORY;

C. GENERATE DIRECTORY TABLE ON <STAGE NAME>

D. CREATE DIRECTORY TABLE <TABLE_NAME> ON <STAGE_NAME>:

3.Which of the following can be chosen when creating a new Snowflake account?

Select all that apply.

A. Account Name

B. Organization name

C. Snowflake Edition

D. Account Locator

E. Administrator user details

F. Region
4.Which of the following schemas are automatically created with a new database? Select
all that apply.

A. PUBLIC

B. INTERNAL

C. INFORMATION_SCHEMA

D. CATALOGUE

E. PRIVATE

5.Which of the following object do NOT support cloning operations?

A. Transient Tables

B. Internal Stages

C. Permanent Tables

D. Database created from a share

6.What value does the CURRENT CLIENT function return when called from an application
using a JDBC driver to connect?

A. The string 'External Application."

B. The string 'JDBC

C. The name of the application

D. The version of the JDBC driver


7.Which of the following query profile results indicate that a query used a virtual
warehouse sized too small for the query?

A. The query performs a full table scan, and no partition pruning occurs.

B. The Result node returns many rows.

C. There are many Join nodes.

D. The query profile shows a significant value for "Bytes spilled to local storage."

E. The query profile shows a significant value for "Bytes spilled to remote storage."

8.Which of the following use cases are suitable to execute on Snowflake?

A. Data Science Processing

B. Data Warehouse Implementation

C. Data Sharing

D. Data Lake Implementation

E. Use as an Embedded Database

9.Which of the following approaches will give you the credit by each virtual warehouse
for the last 12 months?

A. Query the METERING_DAILY_HISTORY view in the ACCOUNT USAGE schema

B. Query the WAREHOUSE_METERING_HISTORY view in the ACCOUNT USAGE schema

C. Query the METERING_HISTORY view in the ACCOUNT_USAGE schema

D. Request Snowflake support to provide you with a detailed virtual credit usage report.
10.Which information is displayed in the Statistics box in the Query Profile?

Select two answers.

A. Query Steps

B. Operator tree

C. Bytes spilled to remote storage

D. Bytes spilled to local storage

11.From a cardinality (number of distinct values) perspective, which columns should you
consider adding to a clustering key?

A. Only columns that have a low cardinality.

B. Columns that have small enough distinct values to enable efficient grouping in micro-
partition.

C. Only columns that have a high cardinality.

D. Columns that have large enough distinct values to enable efficient partition pruning.

E. The cardinality of columns doesn't matter when defining a clustering key.

12.What is the behaviour of the VALIDATION_MODE parameter set to RETURN_n_ROWS


in the COPY command?

A.To abort the COPY command if any validation errors occur in the first n rows.

B.To load all rows salog any validation errors in the first n rows.
C.To skip loading n rows that fail validation checks.

D.Validate the first n rows and return them if no error occurs, otherwise return the first error.

13.Which URL needs to be queried to get a URL that provides open access to a file via
browser without the need to authenticate?

A.GET PRESIGNED_URL

B.GET_STAGE_FILE_URL

C.BUILD_STAGE_FILE_URL

D.BUILD SCOPED_FILE_URL

E.BUILD PRESIGNED_URL

14.What is true about Multi-factor authentication?

A.MFA token caching is enabled by default.

B.It is strongly recommended to at least use MFA for users with the ACCOUNTADMIN role.

C.MFA token caching is available for Connectoh for Spark.

D Multi-factor authentication is supported by ODBC drivers.

15.Materialized views can cause additional costs by...?

A.Query Processing

B.Database Storage

C.None of them

D.Serverless cost
16.What results can be taken from the metadata cache without the use of a virtual
warehouse?

A Number of distinct values

B Count rows

C Count of each value

D Most frequent value

E Min value

17. What happens to foreign key constraints when a table is cloned to another database?

A. All referenced tables will be cloned.

B.The cloned table will reference the primary key in the source table.

C. The cloned table will lose all references to the primary key.

D. The cloned table will lose all references to the foreign and primary keys.

18.How does Secure Data Sharing work with Snowflake data providers?

A All database objects shared between accounts are copied.

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

C. All database objects shared between accounts can be modified.

D All database objects shared between accounts can be deleted


19.What strategies can be used to optimize the performance of a virtual warehouse?
(Select TWO).

A Reduce queuing.

B. Allow memory spillage.

C Increase the MAX_CONCURRENCY _CONCURRENCY_LEVEL parameter.

D Increase the warehouse size.

E Suspend the warehouse frequently.

20.Which task is supported by the use of Access History in Snowflake?

A Data backups

BCost monitoring

C.Compliance auditing

D. Performance optimization

21.How can files in a stage be loaded after the file metadata has expired? (Select TWO).

A Set the LOAD_UNCERTAIN_FILES option to TRUE.

B. Remove the files from the stage and reload them.

C. Set the FORCE parameter to TRUE.

D. Truncate the target table and reload the files.

E Use the ALTER TABLE...REFRESH command


22.What will be the city element value, when extracted using this command?

Los Angeles

Los Angeles'

"Los Angeles"

"null"

Here's how the command will work and the expected output:

The correct answer is A. Los Angeles

23.What is the purpose of using the OBJECT_CONSTRUCT function with the COPY INTO
command?

A Reorder the rows in a relational table and then unload the rows into a file.

B Convert the rows in a relational table to a single VARIANT column and then unload the rows
into a file.

C. Reorder the data columns according to a target table definition and then unload the rows
into the table.

D Convert the rows in a source file to a single VARIANT Column and then load the rows from
the file to a variant table

24.Which Snowflake object can be accessed in the FROM clause of a query, returning a
set of rows having one or more columns?
A User-Defined Table Function (UDTF)

A scalar User-Defined Function (UDF)

A stored procedure

A task

25.If a file prefix is not specified, Snowflake adds which prefix to the generated filenames
when bulk unloading data files?

A. data_

B. file_

C. copy_

D. new

27.When referring to User-Defined Function (UDF) names in Snowflake, what does the
term overloading mean?

OA There are multiple SQL UDFs with the same names and the same number of arguments.

OB. There are multiple SQL UDFs with the same names and the same number of argument
types.

OC There are multiple SQL UDFs with the same names but with a different number of
arguments or argument types.

OD

28.A user wants to access files stored in a stage without authenticating into Snowflake.

Which type of URL should be used?


A.File URL

B.Staged URL

C.Scoped URL

D.Pre-signed URL

29.What are characteristics of the Snowflake platform? (Select TWO).

A There is no infrastructure to select, install, configure, or manage.

B There is support for column-level security but not for row-level security.

C Snowflake can run on private cloud infrastructures (on-premises or hosted).

D Ongoing platform maintenance, management, upgrades, and tuning are handled by


Snowflake.

E In a Snowflake federated environment, Snowflake serves as the Identity Provider (IdP).

30.How are micro-partitions enabled on Snowflake tables?

O A. Micro-partitioning requires a cluster key on a table.

OB. Micro-partitioning is automatically performed on a table.

O C. Micro-partitioning requires the use of the search optimization service.

OD. Micro-partitioning is defined by the user when a table is created.

31.In a managed access schema, who can grant privileges on objects in the schema to
other roles? (Select TWO).

A The schema owner role


B. The ORGADMIN system role

C. The USERADMIN system role

D. The role with the MANAGE GRANTS privilege

E The role that owns the object in the schema

32.When can user session variables be accessed in a Snowflake scripting procedure?

OA When the procedure is defined as STRICT.

OB. When the procedure is defined to execute as CALLER.

OC When the procedure is defined to execute as OWNER.

OD When the procedure is defined with an argument that has the same name and type as the
session variable.

33.What actions can be performed by consumers of shared databases? (Select TWO).

DA Create a clone of the database.

B. Edit the comments for the database.

C Query Time Travel data on the database.

D Create streams on objects in the database.

E Query data from the objects in the database.

34.When working with a managed access schema, who has the OWNERSHIP privilege of
any tables added to the schema?
OA The database owner

OB The object owner

OC The schema owner

OD The Snowflake user's role

35.Which Snowflake feature allows a user to track sensitive data for compliance,
discovery, protection, and resource usage?

OA.

Tags

O B.

Comments

O C.

Internal tokenization

O D.

Row access policies

36.Where can a Snowflake user extract the name from the first element?

source_column.elements[1]:name
source_column.elements[0]:name

OC

source_column:elements[1].name

OD

source_column:elements[0].name

Here's the correct answer and explanation:

D. source_column:elements[0].name

37.Which Snowflake objects can execute both DDL and DML statements?

OA External functions

OB. Stored procedures

OC. User-Defined Functions (UDFs)

OD User-Defined Table Functions (UDTFs)

38.Which query will return 10 rows that are randomly sampled from the table every time
the query is run?

OA select from ORDERS fetch 10;

OB. select from ORDERS limit 10;

OC select * from ORDERS sample (10);

OD select * from ORDERS tablesample (10 rows);


39.Which parameter prevents streams on tables from becoming stale?

O A.

MAX_DATA_EXTENSION_TIME_IN_DAYS

O B. MIN_DATA_RETENTION_TIME_IN_DAYS

OC. LOCK_TIMEOUT

OD. STALE AFTER

40.What are valid values for the FIELD_OPTIONALLY_ENCLOSED_BY option in the COPY
INTO <location> command used during data unloading? (Select TWO

A Single quote character (')

B NULL

C 'NULL'

D NONE

E 'NONE'

41.What is a key benefit of using organizations in Snowflake?

OA Ability to use ACCOUNT_USAGE Views

OB. Ability to use zero-copy cloning across accounts

O C. Ability to consolidate account management and billing

OD. Ability to access new releases for testing and validation purposes
42.What native data type is used for storing semi-structured data and can also be used
to store object data?

OA VARCHAR

OB. VARIANT

OC. STRING

OD. ARRAY

43.Which Snowflake object can be created to be temporary?

A Role

B Stage

OC. User

O D. Storage integration

44.What Snowflake privilege should be granted to allow a non-ACCOUNTADMIN access


to billing information?

OA OPERATE

OB MONITOR USAGE

C OWNERSHIP

D.USAGE

45.Which command can be used to unload data into an external named stage in
Snowflake?
OA PUT

OB.CREATE <object>

OC COPY INTO <table>

D COPY INTO <location>

46.Which type of query would benefit from enabling the query acceleration service on the
virtual warehouse?

OA Queries with no filters or aggregation

OB Queries that are queued in the warehous

C. Queries that use more resources than the typical query

OD Queries that contain a high cardinality GROUP BY expression

47.How will those object names be resolved during execution?

O A. Snowflake will resolve them according to the SEARCH_PATH parameter.

OB. Snowflake will only check the schema the UDF belongs to.

OC. Snowflake will first check the current schema, and then the schema the previous query
used.

D. Snowflake will first check the current schema, and then the PUBLIC Schema of the current
database

48.How can a Snowflake user post-process the result of SHOW FILE FORMATS?

A. Use the RESULT_SCAN function.


OB. Create a CURSOR for the command.

OC Put it in the FROM clause in brackets.

O D. Assign the command to RESULTSET.

49.Who can activate a network policy for users in a Snowflake account? (Select TWO).

A ACCOUNTADMIN

B. USERADMIN

C. PUBLIC

D SYSADMIN

E Any role that has the global ATTACH POLICY privilege

50.How can the ACCESS HISTORY View in the ACCOUNT_USAGE schema be used
review the data governance settings for an account? (Select TWO

A Identify queries run by a particular user.

B Identify access to the roles given to a user.

C Identify SQL statements that failed to run.

D Identify objects that were modified by a query.

E Identify object dependencies.

50.A stream can be created on which Snowflake objects to record data manipulation
language (DML) changes? (Select TWO).

A Databases
B Standard tables

C Standard views

D Schemas

E Pipes

51.Which role allows a Snowflake user to view table-level storage utilization information
from the TABLE_STORAGE_METRICS view by default?

A ACCOUNTADMIN

OB SECURITYADMIN

OC.SYSADMIN

OD USERADMIN

52.Which privilege is required on a virtual warehouse to abort any existing executing


queries?

A USAGE

B OPERATE

OC MODIFY

OD MONITOR

53.Which semi-structured file format is a compressed, efficient, columnar data


representation?

A Avro

B JSON
C TSV

D Parquet

54.What will Snowflake do if the user's IP address does not match the user-level network
policy rules?

A Log the user out.

O B. Deactivate the network policy.

OC. Prevent the user from executing additional queries.

OD Allow the user to continue until the session or login token expires.

55.What does SnowCD help Snowflake users to do?

OA Copy data into files.

B. Manage different databases and schemas.

OC Troubleshoot network connections to Snowflake.

OD Write SELECT queries to retrieve data from external tables.

56.What are valid sub-clauses to the OVER clause for a window function? (Select TWO).

A GROUP BY

B LIMIT

C ORDER BY

D. PARTITION BY
DE UNION ALL

57.What is the MAXIMUM number of clusters that can be provisioned with a multi-cluster
virtual warehouse?

OA 1

OB 5

OC.10

D.100

58.Which type of role can be granted to a share?

O A. Account role

B. Custom role

O C. Database role

O D. Secondary role

59.Which features are included in Snowsight? (Select TWO).

A Worksheet sharing

B. Referencing SnowSQL

C. Exploring the Snowflake Marketplace

D. Changing the Snowflake account cloud provider


DE Downloading query result data larger than 100 MB

60.Which query type is supported for implementing the search optimization service?

OA.Queries with column concatenation

B.Substring search queries on external tables

OC.String searches on columns using the COLLATE function

D.Geography value column searches using geospatial functions

61.table functions in the Snowflake Information Schema can be queried to retrieve


information about directory tables? (Select TWO)

A.

AUTO_REFRESH_REGISTRATION_HISTORY

B.

EXTERNAL_TABLE_FILE_REGISTRATION_HISTORY

C. EXTERNAL_TABLE_FILES

D.

MATERIALIZED_VIEW_REFRESH_HISTORY

E STAGE_DIRECTORY_FILE_REGISTRATION_HISTORY

62.Which of the following is a valid source for an external stage when the Snowflake
account is located on Microsoft Azure?
OA An FTP server with TLS ertsryption

OB. An HTTPS server with WebDAV

OC A Google Cloud storage bucket

D. A Windows server file share on Azure

63.What authentication method does the Kafka connector use within Snowflake
A Key pair authentication

OB. Multi-Factor Authentication (MFA)

OC OAuth

OD. Username and password

The correct answer is A. Key pair authentication.

You might also like