Exit demo DSA-C02 SnowPro Advanced: Data Scientist Certification (DSA-C02) PDF format · free preview

Snowflake DSA-C02 - Questions & Answers

Free preview · every answer includes a full explanation

Product page: https://prepkeys.com/dsa-c02.html

Question 1
Single choice

Which one is the incorrect option to share data in Snowflake?

A.

a Listing, in which you offer a share and additional metadata as a data product to one or more accounts.

B.

a Direct Marketplace, in which you directly share specific database objects (a share) to another account in your region using Snowflake Marketplace.

C.

a Direct Share, in which you directly share specific database objects (a share) to anoth-er account in your region.

D.

a Data Exchange, in which you set up and manage a group of accounts and offer a share to that group.

Question 2
Single choice

Which one is not the types of Feature Engineering Transformation?

A.

Scaling

B.

Encoding

C.

Aggregation

D.

Normalization

Question 3
Single choice

You previously trained a model using a training dataset. You want to detect any data drift in the new data collected since the model was trained.

What should you do?

A.

Create a new dataset using the new data and a timestamp column and create a data drift monitor that uses the training dataset as a baseline and the new dataset as a target.

B.

Create a new version of the dataset using only the new data and retrain the model.

C.

Add the new data to the existing dataset and enable Application Insights for the service where the model is deployed.

D.

Retrained your training dataset after correcting data outliers & no need to introduce new data.

Question 4
Single choice

Consider a data frame df with columns ['A', 'B', 'C', 'D'] and rows ['r1', 'r2', 'r3'].

What does the ex-pression df[lambda x : x.index.str.endswith('3')] do?

A.

Returns the row name r3

B.

Results in Error

C.

Returns the third column

D.

Filters the row labelled r3

Question 5
Single choice

Which of the following process best covers all of the following characteristics?

Collecting descriptive statistics like min, max, count and sum.
Collecting data types, length and recurring patterns. ?Tagging data with keywords, descriptions or categories.
Performing data quality assessment, risk of performing joins on the data.
Discovering metadata and assessing its accuracy.

Identifying distributions, key candidates, foreign-key candidates,functional dependencies, embedded value
dependencies, and performing inter-table analysis.

A.

Data Visualization

B.

Data Virtualization

C.

Data Profiling

D.

Data Collection

Question 6
Single choice

What is the formula for measuring skewness in a dataset?

A.

MEAN - MEDIAN

B.

MODE - MEDIAN

C.

(3(MEAN - MEDIAN))/ STANDARD DEVIATION

D.

(MEAN - MODE)/ STANDARD DEVIATION

Question 7
Single choice

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?

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.

Question 8
Single choice

Mark the correct steps for saving the contents of a DataFrame to aSnowflake table as part of Moving Data from Spark to Snowflake?

A.

Step 1.Use the PUT() method of the DataFrame to construct a DataFrameWriter.
Step 2.Specify SNOWFLAKE_SOURCE_NAME using the NAME() method.
Step 3.Use the dbtable option to specify the table to which data is written.
Step 4.Specify the connector options using either the option() or options() method.
Step 5.Use the save() method to specify the save mode for the content.

B.

Step 1.Use the PUT() method of the DataFrame to construct a DataFrameWriter.
Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
Step 3.Specify the connector options using either the option() or options() method.
Step 4.Use the dbtable option to specify the table to which data is written.
Step 5.Use the save() method to specify the save mode for the content.

C.

Step 1.Use the write() method of the DataFrame to construct a DataFrameWriter.
Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
Step 3.Specify the connector options using either the option() or options() method.
Step 4.Use the dbtable option to specify the table to which data is written.
Step 5.Use the mode() method to specify the save mode for the content.

D.

Step 1.Use the writer() method of the DataFrame to construct a DataFrameWriter.

Step 2.Specify SNOWFLAKE_SOURCE_NAME using the format() method.
Step 3.Use the dbtable option to specify the table to which data is written.
Step 4.Specify the connector options using either the option() or options() method.
Step 5.Use the save() method to specify the save mode for the content.

Question 9
Multiple choice

Data providers add Snowflake objects (databases, schemas, tables, secure views, etc.) to a share us-ing.

Which of the following options? Choose 2.

A.

Grant privileges on objects to a share via Account role.

B.

Grant privileges on objects directly to a share.

C.

Grant privileges on objects to a share via a database role.

D.

Grant privileges on objects to a share via a third-party role.

Question 10
Single choice

Which one of the following is not the key component while designing External functions within Snowflake?

A.

Remote Service

B.

API Integration

C.

UDF Service

D.

Proxy Service

Showing 10 of 65 questions · Unlock the full set