Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DP-100 Day 5_6

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

What type of object should you use to pass data between pipeline steps?

a)

Datastore

b)

Dataset

c)

OutputFileDatasetConfig

2.

You plan to use the Schedule. create method to create a schedule for a published pipeline. What kind of object must you create first to configure how frequently the pipeline runs?

a)

ScheduleRecurrance

b)

Datastore

c)

PipelineParameter

3.

You need to create an environment from a Conda configuration (.yml) file. Which method of the Environment class should you use?

a)

create

b)

create_from_conda_specification

c)

create_from_existing_conda_environment

4.

You need to run a training script on compute that scales on-demand from 0 to 3 GPU-based nodes. Which kind of compute target should you create?

a)

Compute Instance

b)

Compute Cluster

c)

Inference Cluster

5.

Which ScriptRunConfig parameter causes the script to run on a compute cluster named train-cluster?

a)

arguments=['--AmlCluster', 'train-cluster']

b)

environment='train-cluster'

c)

compute_target='train-cluster'

6.

You are creating a pipeline that includes two steps.

Step 1 preprocesses some data, and step 2 uses the preprocessed data to train a model.

What type of object should you use to pass data from step 1 to step 2 and create a dependency between these steps?

a)

Datastore

b)

PipelineData

c)

Data Reference

7.

You have used the Python SDK for Azure Machine Learning to create a pipeline that trains a model.

What do you need to do so that a client application can invoke the pipeline through an HTTP REST endpoint?

a)

Rename the pipeline to pipeline_name-production.

b)

Publish the pipeline.

c)

Create an inference cluster compute target.

8.

You want to create an explainer that applies the most appropriate SHAP model explanation algorithm based on the type of model.

What kind of explainer should you create?

a)

Mimic

b)

Tabular

c)

Permutation Feature Importance

9.

You want to include model explanations in the logged details of your training experiment.

What must you do in your training script?

a)

Use the Run.log_table method to log feature importance for each feature.

b)

Use the ExplanationClient.upload_model_explanation method to upload the explanation created by an Explainer.

c)

Save the the explanation created by an Explainer in the ./outputs folder.

10.

You have published a pipeline as a real-time service on an Azure Kubernetes Services (AKS) cluster.

An application developer plans to call the service from a REST-based client.

What information does the application developer require?

a)

The name of the inference pipeline in designer.

b)

The endpoint URL and key for the published service.

c)

The name of the AKS compute target in the workspace.