ExamGecko

Microsoft DP-100 Practice Test - Questions Answers, Page 34

Question list
Search
Search

List of questions

Search

Related questions











You have an Azure Machine Learning (ML) model deployed to an online endpoint.

You need to review container logs from the endpoint by using Azure Ml Python SDK v2. The logs must include the console log from the inference server with print/log statements from the models scoring script.

What should you do first?

A.
Create an instance of the the MLCIient class.
A.
Create an instance of the the MLCIient class.
Answers
B.
Create an instance of the OnlineDeploymentOperations class.
B.
Create an instance of the OnlineDeploymentOperations class.
Answers
C.
Connect by using SSH to the inference server.
C.
Connect by using SSH to the inference server.
Answers
D.
Connect by using Docker tools to the inference server.
D.
Connect by using Docker tools to the inference server.
Answers
Suggested answer: A

You train and publish a machine teaming model.

You need to run a pipeline that retrains the model based on a trigger from an external system.

What should you configure?

A.
Azure Data Catalog
A.
Azure Data Catalog
Answers
B.
Azure Batch
B.
Azure Batch
Answers
C.
Azure logic App
C.
Azure logic App
Answers
Suggested answer: C

DRAG DROP

You manage an Azure Machine Learning workspace named workspace1 with a compute instance named compute1. You connect to compute! by using a terminal window from wofkspace1. You create a file named "requirements.txt" containing Python dependencies to include Jupyler.

You need to add a new Jupyter kernel to compute1.

Which four commands should you use? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Question 333
Correct answer: Question 333

You create a workspace to include a compute instance by using Azure Machine Learning Studio. You are developing a Python SDK v2 notebook in the workspace. You need to use Intellisense in the

notebook. What should you do?

A.
Start the compute instance.
A.
Start the compute instance.
Answers
B.
Run a %pip magic function on the compute instance.
B.
Run a %pip magic function on the compute instance.
Answers
C.
Run a !pip magic function on the compute instance.
C.
Run a !pip magic function on the compute instance.
Answers
D.
Stop the compute instance.
D.
Stop the compute instance.
Answers
Suggested answer: B

HOTSPOT

You use Azure Machine Learning to train a machine learning model.

You use the following training script in Python to perform logging:

You must use a Python script to define a sweep job.

You need to provide the primary metric and goal you want hyperparameter tuning to optimize.

NOTE: Each correct selection is worth one point.


Question 335
Correct answer: Question 335

Explanation:

HOTSPOT

You manage an Azure Machine Learning workspace named workspacel by using the Python SDK v2.

You must register datastores in workspacel for Azure Blob and Azure Data Lake Gen2 storage to meet the following requirements:

• Data scientists accessing the datastore must have the same level of access.

• Access must be restricted to specified containers or folders.

You need to configure a security access method used to register the Azure Blob and Azure Data lake Gen? storage in workspacel. Which security access method should you configure? To answer, select

the appropriate options in the answcf area.

NOTE: Each correct selection is worth one point.




Question 336
Correct answer: Question 336

HOTSPOT

You are creating data wrangling and model training solutions in an Azure Machine Learning workspace.

You must use the same Python notebook to perform both data wrangling and model training.

You need to use the Azure Machine Learning Python SDK v2 to define and configure the Synapse Spark pool asynchronously in the workspace as dedicated compute

How should you complete the rode segment? To answer, select the appropriate options in the answer area.

NOTE: Lach correct selection is worth one point.


Question 337
Correct answer: Question 337

Explanation:

DRAG DROP

You create an Azure Machine Learning workspace and an Azure Synapse Analytics workspace with a Spark pool. The workspaces are contained within the same Azure subscription.

You must manage the Synapse Spark pool from the Azure Machine Learning workspace.

You need to attach the Synapse Spark pool in Azure Machine Learning by usinq the Python SDK v2.

Which three actions should you perform in sequence? To answer move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.



Question 338
Correct answer: Question 338

HOTSPOT

You are using hyperparameter tuning in Azure Machine Learning Python SDK v2 to train a model. You configure the hyperparameter tuning experiment by running the following code:

For each of the following statements select Yes if the statement is true. Otherwise, select No. NOTE:

Fach correct selection is worth one paint.



Question 339
Correct answer: Question 339

You have an Azure Machine Learning workspace. You are connecting an Azure Data Lake Storage Gen2 account to the workspace as a data store. You need to authorize access from the workspace to the Azure Data Lake Storage Gen2 account.

What should you use?

A.
Managed identity
A.
Managed identity
Answers
B.
SAS token
B.
SAS token
Answers
C.
Service principal
C.
Service principal
Answers
D.
Account key
D.
Account key
Answers
Suggested answer: C
Total 433 questions
Go to page: of 44