exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 4 question 53 discussion

Actual exam question from Microsoft's DP-100
Question #: 53
Topic #: 4
[All DP-100 Questions]

HOTSPOT
-

You create an Azure Machine learning workspace. The workspace contains a folder named src. The folder contains a Python script named script1.py.

You use the Azure Machine Learning Python SDK v2 to create a control script. You must use the control script to run script1.py as part of a training job.

You need to complete the section of script that defines the job parameters.

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

NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
MonayiYC
11 months, 3 weeks ago
from azure.ai.ml import command # configure job job = command( code="./src", command="python train.py --training_data diabetes.csv", environment="AzureML-sklearn-0.24-ubuntu18.04-py37-cpu@latest", compute="aml-cluster", display_name="train-model", experiment_name="train-classification-model" )
upvoted 3 times
...
vv_bb
1 year ago
Command + Code https://learn.microsoft.com/en-us/training/modules/run-training-script-command-job-azure-machine-learning/3-run-script-command-job
upvoted 2 times
...
damaldon
1 year, 5 months ago
Answers: command and path my_job_inputs = { "input_data": Input( type=AssetTypes.MLTABLE, path=filedataset_asset, mode=InputOutputModes.EVAL_MOUNT
upvoted 2 times
damaldon
1 year, 5 months ago
my_job_inputs = { "input_data": Input( type=AssetTypes.MLTABLE, path=filedataset_asset, mode=InputOutputModes.EVAL_MOUNT ) } job = command( code="./src", # Local path where the code is stored command="ls ${{inputs.input_data}}", inputs=my_job_inputs, environment="<environment_name>:<version>", compute="cpu-cluster",
upvoted 1 times
damaldon
1 year, 5 months ago
Sorry, correct answer: command and code job = command( code="./src", # Local path where the code is stored command="ls ${{inputs.input_data}}", inputs=my_job_inputs, environment="<environment_name>:<version>", compute="cpu-cluster",
upvoted 4 times
...
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...