DP-100 Designing and Implementing a Data Science Solution on Azure

Loading demo links...

Showing 10–12 of 20 questions

Question 10 (Mixed Questions)

You are building a binary classification model by using a supplied training set.

The training set is imbalanced between two classes.

You need to resolve the data imbalance.

What are three possible ways to achieve this goal? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • Penalize the classification

  • Resample the dataset using undersampling or oversampling

  • Normalize the training feature set

  • Generate synthetic samples in the minority class

  • Use accuracy as the evaluation metric of the model

Question 11 (Mixed Questions)

You are analyzing a dataset containing historical data from a local taxi company. You are developing a regression model.

You must predict the fare of a taxi trip.

You need to select performance metrics to correctly evaluate the regression model.

Which two metrics can you use? Each correct answer presents a complete solution?

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • a Root Mean Square Error value that is low

  • an R-Squared value close to 0

  • an F1 score that is low

  • an R-Squared value close to 1

  • an F1 score that is high

  • a Root Mean Square Error value that is high

Question 12 (New Update)

You have a Jupyter Notebook that contains Python code that is used to train a model.

You must create a Python script for the production deployment. The solution must minimize code maintenance.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Select all that apply, then click Submit answer.

  • Refactor the Jupyter Notebook code into functions

  • Save each function to a separate Python file

  • Define a main() function in the Python script

  • Remove all comments and functions from the Python script