New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-100 Exam - Topic 6 Question 9 Discussion

Actual exam question for Microsoft's DP-100 exam
Question #: 9
Topic #: 6
[All DP-100 Questions]

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a Python script named train.py in a local folder named scripts. The script trains a regression model by using scikit-learn. The script includes code to load a training data file which is also located in the scripts folder.

You must run the script as an Azure ML experiment on a compute cluster named aml-compute.

You need to configure the run to ensure that the environment includes the required packages for model training. You have instantiated a variable named aml-compute that references the target compute cluster.

Solution: Run the following code:

Does the solution meet the goal?

Show Suggested Answer Hide Answer
Suggested Answer: B

The scikit-learn estimator provides a simple way of launching a scikit-learn training job on a compute target. It is implemented through the SKLearn class, which can be used to support single-node CPU training.

Example:

from azureml.train.sklearn import SKLearn

}

estimator = SKLearn(source_directory=project_folder,

compute_target=compute_target,

entry_script='train_iris.py'

)


https://docs.microsoft.com/en-us/azure/machine-learning/how-to-train-scikit-learn

Contribute your Thoughts:

0/2000 characters
Edward
4 months ago
Wait, are we sure this is the right approach?
upvoted 0 times
...
Gracia
4 months ago
Agreed, this should work fine for the regression model.
upvoted 0 times
...
Nana
4 months ago
I think it might miss some dependencies though.
upvoted 0 times
...
Robt
5 months ago
Definitely meets the goal, all required packages are included.
upvoted 0 times
...
Rosio
5 months ago
Looks like the code sets up the environment correctly!
upvoted 0 times
...
Sage
5 months ago
I feel like I’ve seen this setup before, but I can't recall if we need to check for specific versions of the packages in this case.
upvoted 0 times
...
Linwood
5 months ago
I'm a bit confused about whether the code snippet actually installs the packages or just references them.
upvoted 0 times
...
Lashawnda
5 months ago
I think the solution might be correct since it sets up the environment, but I'm not entirely sure if all required packages are included.
upvoted 0 times
...
Erick
5 months ago
I remember a similar question where we had to specify the environment explicitly. I wonder if that's necessary here too.
upvoted 0 times
...
Rolande
5 months ago
This is a tricky one. There are a few different ways the user could be granted access to the App Designer, like activating the account, adding it to a tenant, or enabling it in the user's profile. I'll have to really analyze each option to determine the correct answer.
upvoted 0 times
...
King
5 months ago
I remember learning about this in class. The rules from administrative agencies are published in the Code of Federal Regulations, not the other options listed. I'll select A to be safe.
upvoted 0 times
...
Marisha
5 months ago
Okay, let's see. The rule is for launching a product, and it's specifically for existing S2B customers. So the context scope should include the Opportunity, since that's where the launch is happening, and the Account, since that's where the customer information is. I'm going with C. Opportunity, Account.
upvoted 0 times
...
Paris
5 months ago
I'm a bit confused on this one. I know NTFS has a lot of different metadata structures, but I'm not sure which one is 3 bytes long specifically. I'll have to think it through step-by-step.
upvoted 0 times
...

Save Cancel