Spring Sale Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Snowflake DAA-C01 SnowPro Advanced: Data Analyst Exam Exam Practice Test

Page: 1 / 7
Total 65 questions

SnowPro Advanced: Data Analyst Exam Questions and Answers

Question 1

A Data Analyst created two functions and one procedures:

The Analyst then runs this query:

Question # 1

The Analyst then runs this query:

Question # 1

What will be the output?

Options:

A.

Null

B.

10

C.

20

D.

30

Question 2

A Data Analyst is working with three tables:

Question # 2

Which query would return a list of all brokers, a count of the customers each broker has. and the total order amount of their customers (as shown below)?

Question # 2

A)

Question # 2

B)

Question # 2

C)

Question # 2

D)

Question # 2

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 3

A Data Analyst created a cost overview dashboard in Snowsight. Management has asked for a system date filter to easily change the time period and refresh the data in all dashboard tiles with a single filter selection.

The system date filter is shown below:

Question # 3

The Analyst wants to apply the filter onto individual dashboard components.

Adding which where clause to the queries will apply the filter as required?

Options:

A.

Where start_time >= dateadd('days', -7, SYSDATE())

B.

Where start_time >= dateadd('days', -7, CURRENT_TIMESTAMP())

C.

Where start_time = :date_filter

D.

Where start_time = :daterange

Question 4

What potential problem can be identified in the Query profile below?

Question # 4

Options:

A.

There is query spilling.

B.

There is an exploding join

C.

There Is inefficient pruning.

D.

The query is not using a foreign Key.

Question 5

A Data Analyst needs to generate a graphic that will identify any natural clusters in a data set containing details about completed orders. Which Snowsight chart should be used?

Options:

A.

Line chart

B.

Heat grid

C.

Bar chart

D.

Scatter plot

Question 6

A Data Analyst has a very large table with columns that contain country and city names. Which query will provide a very quick estimate of the total number of different values of these two columns?

Options:

A.

SELECT DISTINCT COUNT(country, city) FROM TABLE1;

B.

SELECT HLL(country, city) FROM TABLE1;

C.

SELECT COUNT(DISTINCT country, city) FROM TABLE1;

D.

SELECT COUNT(country, city) FROM TABLE1;

Question 7

Which query will provide this data without incurring additional storage costs?

Options:

A.

CREATE TABLE DEV.PUBLIC.TRANS_HIST LIKE PROD.PUBLIC.TRANS_HIST;

B.

CREATE TABLE DEV.PUBLIC.TRANS_HIST AS (SELECT * FROM PROD.PUBLIC.TRANS_HIST);

C.

CREATE TABLE DEV.PUBLIC.TRANS_HIST CLONE PROD.PUBLIC.TRANS_HIST;

D.

CREATE TABLE DEV.PUBLIC.TRANS_HIST AS (SELECT * FROM PROD.PUBLIC.TRANS_HIST WHERE extract(year from (TRANS_DATE)) = 2019);

Question 8

A large, complicated query is used to generate a data set for a report on the most recent month. It is taking longer than expected. A review of the Query Profile shows excessive spilling. How can the performance of the query be improved WITHOUT increasing costs?

Options:

A.

Run the query against zero-copy clones of the source tables to avoid contention with other queries.

B.

Create a materialized view clustered on a date column, on the table that is causing the spilling.

C.

Change the source tables into external tables to establish and take advantage of custom partitioning.

D.

Split the query into multiple steps, replacing Common Table Expressions (CTEs) with temporary tables to process the data in smaller batches.

Question 9

When building a Snowsight dashboard that will allow users to filter data within a worksheet, which Snowflake system filters should be used?

Options:

A.

Include the :datebucket system filter in a WHERE clause, and include the :daterange system filter in a GROUP BY clause.

B.

Include the :daterange system filter in a SELECT clause, and include the :datebucket system filter in a GROUP BY clause.

C.

Include the :datebucket system filter in a WHERE clause, and include the :daterange system filter in a SELECT clause.

D.

Include the :daterange system filter in a WHERE clause, and include the :datebucket system filter in a GROUP BY clause.

Question 10

Table TB_A with column COL_B contains an ARRAY. Which statement will select the last element of the ARRAY?

Options:

A.

SELECT GET(COL_B, ARRAY_SIZE(COL_B)-1) FROM TB_A;

B.

SELECT COL_B[ARRAY_SIZE(COL_B)] FROM TB_A;

C.

SELECT COL_B[-1] FROM TB_A;

D.

SELECT LAST_VALUE(COL_B) FROM TB_A;

Question 11

A Data Analyst creates and populates the following table:

create or replace table aggr(v int) as select * from values (1), (2), (3), (4);

The Analyst then executes this query:

select percentile_disc(0.60) within group (order by v desc) from aggr;

What will be the result?

Options:

A.

1

B.

2

C.

3

D.

4

Question 12

A Data Analyst runs a query in a Snowflake worksheet, and selects a numeric column from the result grid. What automatically-generated contextual statistic can be visualized?

Options:

A.

A histogram, displayed for all numeric, date, and time columns

B.

A frequency distribution, displayed for all numeric columns

C.

MIN/MAX values for the column

D.

A key distribution

Question 13

A Data Analyst has a Parquet file stored in an Amazon S3 staging area. Which query will copy the data from the staged Parquet file into separate columns in the target table?

Question # 13

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 14

A Data Analyst is creating a Snowsight dashboard from a shared worksheet. What happens to the access and permissions of the users who initially had sharing privileges on the worksheet?

Options:

A.

The original users retain access and permissions on the worksheet.

B.

The original users gain additional access to the worksheet.

C.

The original users temporarily lose access but regain it once the dashboard is created.

D.

The original users lose access to the worksheet, their permissions on the worksheet are revoked.

Question 15

A Data Analyst executes a complex query. Which query will allow the Analyst to access the results a second time?

Options:

A.

SELECT * FROM TABLE(RESULT_SCAN(LAST_QUERY_ID()));

B.

SELECT * FROM TABLE(INFORMATION_SCHEMA.QUERY_HISTORY());

C.

DESC RESULT LAST_QUERY_ID();

D.

SELECT LAST_QUERY_ID(-1);

Question 16

What option would allow a Data Analyst to efficiently estimate cardinality on a data set that contains trillions of rows?

Options:

A.

Count(Distinct *)

B.

HLL(*)

C.

SYSTEM$ESTIMATE

D.

Count(Distinct *)/Count(*)

Question 17

A Data Analyst needs to temporarily hide a tile in a dashboard. The data will need to be available in the future, and additional data may be added. Which tile should be used?

Options:

A.

Show/Hide

B.

Duplicate

C.

Delete

D.

Unplace

Question 18

Which Snowflake SQL would a Data Analyst use in a trained Cortex model named forecast_model to retrieve the components that contribute to the predictions?

Options:

A.

forecast_model!SHOW_EVALUATION_METRICS()

B.

forecast_model!SHOW_TRAINING_LOGS()

C.

forecast_model!EXPLAIN_FEATURE_IMPORTANCE()

D.

forecast_model!FORECAST()

Question 19

This command was executed:

SQL

SELECT seq4(), uniform(1, 10, RANDOM(12))

FROM TABLE(GENERATOR(TIMELIMIT => NULL))

ORDER BY 1;

How many rows will be generated?

Options:

A.

An infinite number

B.

12

C.

10

D.

0

Page: 1 / 7
Total 65 questions