Summer Sale Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Snowflake DAA-C01 Dumps

Page: 1 / 7
Total 65 questions

SnowPro Advanced: Data Analyst Exam Questions and Answers

Question 1

What scheme is used by Snowflake to estimate the approximate similarity between two or more data sets?

Options:

A.

MINHASH

B.

APPROX_PERCENTILE

C.

HyperLogLog

D.

APPROX_TOP_K

Question 2

A Data Analyst has created a custom filter called branch_region on a Snowflake dashboard. The filter contains a list of regions where the company has stores. How should the filter be referenced in dashboard queries?

Options:

A.

::branch_region

B.

$branch_region

C.

:branch_region

D.

%branch_region

Question 3

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?

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 4

A Data Analyst needs a sample of 10 rows from a table FCT_SALES that has billions of rows. Which commands can be used to accomplish this? (Select TWO).

Options:

A.

SELECT * FROM FCT_SALES SAMPLE 10;

B.

SELECT * FROM FCT_SALES SAMPLE (10 ROWS);

C.

SELECT TOP 10 ROWS * FROM FCT_SALES;

D.

SELECT TOP 10 * FROM FCT_SALES;

E.

SELECT TOP (10 ROWS) * FROM FCT_SALES;

Question 5

A Data Analyst wants to transform query results. Which transformation option will incur compute costs?

Options:

A.

Showing a thousand separator for numeric columns.

B.

Sorting a column by using the column options.

C.

Increasing or decreasing decimal precision.

D.

Formatting date and timestamp columns.

Question 6

What functions should a Data Analyst use to run descriptive analytics on a data set? (Select TWO).

Options:

A.

REGR_INTERCEPT

B.

REGR_SLOPE

C.

ROW_NUMBER

D.

APPROX_COUNT_DISTINCT

E.

AVG

Question 7

The following code is run:

as

Then this statement is executed:

as

What will be the output of this statement?

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 8

What does the "SQL keyword" refer to in the context of adding filters to a worksheet?

Options:

A.

The name of the function used to generate the filter

B.

The filter name to be inserted into queries

C.

The table name containing the static filter "key" values

D.

The name of a User-Defined Function (UDF) used to define the filter "key" values

Question 9

A Data Analyst is working with a table that has 1 record per day, with sales information. Which window function would calculate a 7-day moving average of sales, where SALES_DATE represents the date column?

Options:

A.

SUM(SALES) OVER (ORDER BY SALES_DATE ROWS BETWEEN 6 PRECEDING AND CURRENT ROW)

B.

SUM(SALES) OVER (ORDER BY SALES_DATE ROWS BETWEEN 7 PRECEDING AND CURRENT ROW)

C.

AVG(SALES) OVER (ORDER BY SALES_DATE ROWS BETWEEN 6 PRECEDING AND CURRENT ROW)

D.

AVG(SALES) OVER (ORDER BY SALES_DATE ROWS BETWEEN 7 PRECEDING AND CURRENT ROW)

Question 10

There are two similarly-structured and sized tables, Table_a and Table_b, in a schema with data populated in both tables. A Data Analyst is running queries as part of a preliminary analysis of the data to check the MAX value of a numeric column named num which is present in both the tables:

    Query 1: SELECT MAX(num) FROM Table_a;

    Query 2: SELECT MAX(num) FROM Table_b;

After running the queries, the Analyst observed that Query 2 ran significantly slower than Query 1. Why is this occurring?

Options:

A.

Table_b has more rows than Table_a.

B.

Table_b has a row-access policy defined.

C.

A multi-cluster warehouse was used to run Query 1.

D.

The USE_CACHED_RESULT was set to FALSE before running Query 2.

Question 11

A Data Analyst needs to rotate a table by transforming a wide table’s columns into rows.

as

Which operator will be MOST beneficial for producing this output?

as

Options:

A.

PIVOT

B.

UNPIVOT

C.

INTERSECT

D.

EXCEPT

Question 12

A Data Analyst executes a query in a Snowflake worksheet that returns the total number of daily sales, and the total amount for each sale. How can the Analyst check the distribution of the total amount, without running the query again?

Options:

A.

Click on the column header in the results and review the histogram.

B.

Go to Chart and select a histogram that includes the two variables.

C.

Go to Chart and select a bar chart that contains the two variables.

D.

Call the WIDTH_BUCKET function.

Question 13

This query is run:

SQL

SELECT

customer.id,

ANY_VALUE(customer.name),

SUM(orders.value)

FROM customer

JOIN orders ON customer.id = orders.customer_id

GROUP BY customer.id;

What is the effect of ANY_VALUE in this syntax?

Options:

A.

It will return an equivalent NULL value when the expression is evaluated.

B.

It will return some value of the expression from the group, with a non-deterministic result.

C.

It will return the minimum value of those generated by the expression, with a deterministic result.

D.

It will return a value equivalent to the median of those generated by the expression, which may be a non-deterministic result.

Question 14

A Data Analyst needs to add address details based on a customer's latitude and longitude to a customer sales database. The Analyst found a free Worldwide Address Data listing on the Snowflake Marketplace. The ACCOUNTADMIN placed the data set into a new database called ADDRESS_DATA. The Data Analyst needs to join the ADDRESS_DATA.OPENADDRESS table with the ORDERS table which is stored in the GLOBAL_DWH database. The combined data set needs to be created as a view. How can this be achieved?

Options:

A.

Create a view in the ADDRESS_DATA database.

B.

Create a view in the GLOBAL_DWH database.

C.

Create a new schema called ENRICHED in the ADDRESS_DATA database and create this view in the ENRICHED schema.

D.

Ask the ACCOUNTADMIN to grant the Data Analyst the IMPORTED_PRIVILEGES on the ADDRESS_DATA database and then create a view in the ADDRESS_DATA database.

Question 15

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 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 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:

as

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 18

What will the following query return?

SELECT * FROM testtable SAMPLE BLOCK (0.012) REPEATABLE (99992);

Options:

A.

A sample of a table in which each block of rows has a 1.2% probability of being included in the sample where repeated elements are allowed.

B.

A sample of a table in which each block of rows has a 0.012% probability of being included in the sample, with the seed set to 99992.

C.

A sample of a table in which each block of rows has a 1.2% probability of being included in the sample, with the seed set to 99992.

D.

A sample containing 99992 records of a table in which each block of rows has a 0.012% probability of being included in the sample.

Question 19

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.

Page: 1 / 7
Total 65 questions