ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 99 - DP-100 discussion

Report
Export

HOTSPOT

You create an Azure Machine Learning compute target named ComputeOne by using the STANDARD_D1 virtual machine image.

ComputeOne is currently idle and has zero active nodes.

You define a Python variable named ws that references the Azure Machine Learning workspace. You run the following Python code:

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

NOTE: Each correct selection is worth one point.


Question 99
Correct answer: Question 99

Explanation:

Box 1: Yes

ComputeTargetException class: An exception related to failures when creating, interacting with, or configuring a compute target. This exception is commonly raised for failures attaching a compute target, missing headers, and unsupported configuration values.

Create(workspace, name, provisioning_configuration)

Provision a Compute object by specifying a compute type and related configuration.

This method creates a new compute target rather than attaching an existing one.

Box 2: Yes

Box 3: No

The line before print('Step1') will fail.

Reference:

https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.core.compute.computetarget

asked 02/10/2024
Paul Bryant
30 questions
User
0 comments
Sorted by

Leave a comment first