exam questions

Exam DP-100 All Questions

View all questions & answers for the DP-100 exam

Exam DP-100 topic 3 question 103 discussion

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

You create and register a model in an Azure Machine Learning workspace.
You must use the Azure Machine Learning SDK to implement a batch inference pipeline that uses a ParallelRunStep to score input data using the model. You must specify a value for the ParallelRunConfig compute_target setting of the pipeline step.
You need to create the compute target.
Which class should you use?

  • A. BatchCompute
  • B. AdlaCompute
  • C. AmlCompute
  • D. AksCompute
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️
Compute target to use for ParallelRunStep. This parameter may be specified as a compute target object or the string name of a compute target in the workspace.
The compute_target target is of AmlCompute or string.
Note: An Azure Machine Learning Compute (AmlCompute) is a managed-compute infrastructure that allows you to easily create a single or multi-node compute.
The compute is created within your workspace region as a resource that can be shared with other users
Reference:
https://docs.microsoft.com/en-us/python/api/azureml-contrib-pipeline-steps/azureml.contrib.pipeline.steps.parallelrunconfig https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.amlcompute(class)

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
AjoseO
Highly Voted 2 years, 2 months ago
On 03 March 2022
upvoted 6 times
...
phdykd
Most Recent 9 months, 2 weeks ago
The AmlCompute class is used in Azure Machine Learning for managing compute targets. It's designed for running machine learning workloads and supports various VM sizes for scaling resources according to the workload's needs. ParallelRunStep, which you want to use for your batch inference pipeline, can efficiently use AmlCompute instances to parallelize and speed up the processing.
upvoted 1 times
...
Jin_22
1 year, 1 month ago
C. AmlCompute. Explanation: To create a compute target for use with Azure Machine Learning, you can create an instance of the appropriate ComputeTarget class in the azureml.core.compute package. In this case, the compute target must support distributed processing, which is required for the ParallelRunStep. The AmlCompute class is the only class listed that provides this capability. BatchCompute is not a valid compute target class in the azureml.core.compute package. Instead, it is a service provided by Azure that enables you to run large-scale, high-performance batch jobs. AdlaCompute is a compute target class in the azureml.core.compute package, but it is not designed for distributed processing. Instead, it is used to manage Azure Data Lake Analytics clusters. AksCompute is a compute target class in the azureml.core.compute package that enables you to use an Azure Kubernetes Service (AKS) cluster for machine learning workloads. While AKS is capable of distributed processing, this compute target is not specifically designed for use with the ParallelRunStep.
upvoted 1 times
...
synapse
2 years, 1 month ago
Selected Answer: C
AmlCompute is the correct answer.
upvoted 2 times
...
Xsytt419
2 years, 4 months ago
Why not D?
upvoted 2 times
ranjsi01
2 years, 3 months ago
batch inferencing is asynchronus and doesn't require scaling and low latency like production real time inferencing would so no need for any costly AKS. batch inferencing relies on parallel processing instead for achieving efficiency.
upvoted 3 times
...
[Removed]
2 years, 4 months ago
The docs specifically mention AML: https://docs.microsoft.com/en-us/python/api/azureml-contrib-pipeline-steps/azureml.contrib.pipeline.steps.parallelrunconfig I assume D could be correct too, but the question is phrased as 'which SHOULD you use' and AML is prefereable - not sure why though
upvoted 2 times
RAHULsingla
2 years, 4 months ago
Apparently webservices are not used with pipeline. Not sure why.
upvoted 1 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago