Pass the Snowflake SnowPro Advanced Certification DSA-C02 Questions and answers with CertsForce

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

Which command manually triggers a single run of a scheduled task (either a standalone task or the root task in a DAG) independent of the schedule defined for the task?

Options:

A.

RUN TASK


B.

CALL TASK


C.

EXECUTE TASK


D.

RUN ROOT TASK


Expert Solution
Questions # 2:

Which of the Following is not type of Windows function in Snowflake?

Options:

A.

Rank-related functions.


B.

Window frame functions.


C.

Aggregation window functions.


D.

Association functions.


Expert Solution
Questions # 3:

Consider a data frame df with 10 rows and index [ 'r1', 'r2', 'r3', 'row4', 'row5', 'row6', 'r7', 'r8', 'r9', 'row10']. What does the aggregate method shown in below code do?

g = df.groupby(df.index.str.len())

g.aggregate({'A':len, 'B':np.sum})

Options:

A.

Computes Sum of column A values


B.

Computes length of column A


C.

Computes length of column A and Sum of Column B values of each group


D.

Computes length of column A and Sum of Column B values


Expert Solution
Questions # 4:

Which of the following is a Python-based web application framework for visualizing data and analyzing results in a more efficient and flexible way?

Options:

A.

StreamBI


B.

Streamlit


C.

Streamsets


D.

Rapter


Expert Solution
Questions # 5:

What Can Snowflake Data Scientist do in the Snowflake Marketplace as Consumer?

Options:

A.

Discover and test third-party data sources.


B.

Receive frictionless access to raw data products from vendors.


C.

Combine new datasets with your existing data in Snowflake to derive new business in-sights.


D.

Use the business intelligence (BI)/ML/Deep learning tools of her choice.


Expert Solution
Questions # 6:

You are training a binary classification model to support admission approval decisions for a college degree program.

How can you evaluate if the model is fair, and doesn’t discriminate based on ethnicity?

Options:

A.

Evaluate each trained model with a validation datasetand use the model with the highest accuracy score.


B.

Remove the ethnicity feature from the training dataset.


C.

Compare disparity between selection rates and performance metrics across ethnicities.


D.

None of the above.


Expert Solution
Questions # 7:

Which ones are the known limitations of using External function?

Options:

A.

Currently, external functions cannot be shared with data consumers via Secure Data Sharing.


B.

Currently, external functions must be scalar functions. A scalar external function re-turns a single value for each input row.


C.

External functions have more overhead than internal functions (both built-in functions and internal UDFs) and usually execute more slowly


D.

An external function accessed through an AWS API Gateway private endpoint can be accessed only from a Snowflake VPC (Virtual Private Cloud) on AWS and in the same AWS region.


Expert Solution
Questions # 8:

Mark the incorrect statement regarding Python UDF?

Options:

A.

Python UDFs can contain both new code and calls to existing packages


B.

For each row passed to a UDF, the UDF returns either a scalar (i.e. single) value or, if defined as a table function, a set of rows.


C.

A UDF also gives you a way to encapsulate functionality so that you can call it repeatedly from multiple places in code


D.

A scalar function (UDF) returns a tabular value for each input row


Expert Solution
Questions # 9:

A Data Scientist as data providers require to allow consumers to access all databases and database objects in a share by granting a single privilege on shared databases. Which one is incorrect SnowSQL command used by her while doing this task?

Assuming:

A database named product_db exists with a schema named product_agg and a table named Item_agg.

The database, schema, and table will be shared with two accounts named xy12345 and yz23456.

1.USE ROLE accountadmin;

2.CREATE DIRECT SHARE product_s;

3.GRANT USAGE ON DATABASE product_db TO SHARE product_s;

4.GRANT USAGE ON SCHEMA product_db. product_agg TO SHARE product_s;

5.GRANT SELECT ON TABLE sales_db. product_agg.Item_agg TO SHARE product_s;

6.SHOW GRANTS TO SHARE product_s;

7.ALTER SHARE product_s ADD ACCOUNTS=xy12345, yz23456;

8.SHOW GRANTS OF SHARE product_s;

Options:

A.

GRANT USAGE ON DATABASE product_db TO SHARE product_s;


B.

CREATE DIRECT SHARE product_s;


C.

GRANT SELECT ON TABLE sales_db. product_agg.Item_agg TO SHARE product_s;


D.

ALTER SHARE product_s ADD ACCOUNTS=xy12345, yz23456;


Expert Solution
Questions # 10:

Data Scientist used streams in ELT (extract, load, transform) processes where new data inserted in-to a staging table is tracked by a stream. A set of SQL statements transform and insert the stream contents into a set of production tables. Raw data is coming in the JSON format, but for analysis he needs to transform it into relational columns in the production tables. which of the following Data transformation SQL function he can used to achieve the same?

Options:

A.

He could not apply Transformation on Stream table data.


B.

lateral flatten()


C.

METADATA$ACTION ()


D.

Transpose()


Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions