DP-100 · Question #317
You manage an Azure Machine Learning workspace named Workspace1. You plan to create a pipeline in the Azure Machine Learning Studio designer. The pipeline must include a custom component. You need…
The correct answer is E. Upload a .yaml file to Workspace1. To use a custom component in Azure ML Studio designer, you must first upload a YAML specification file that defines the component's interface, environment, and implementation.
Question
Options
- ACreate a pipeline endpoint.
- BAdd a linked service to Workspace1.
- CUpload a .json file to Workspace1.
- DCreate a datastore.
- EUpload a .yaml file to Workspace1.
How the community answered
(40 responses)- B3% (1)
- C8% (3)
- D3% (1)
- E88% (35)
Why each option
To use a custom component in Azure ML Studio designer, you must first upload a YAML specification file that defines the component's interface, environment, and implementation.
A pipeline endpoint is used to publish and version a completed pipeline for batch or real-time inference, not to define or register custom components.
A linked service connects the Azure ML workspace to external compute services such as Azure Synapse Analytics, and has no role in registering custom pipeline components.
Azure ML custom component specifications must be authored in YAML format, not JSON, so uploading a .json file would not register a valid component.
A datastore defines a connection to an external storage service for data access and is unrelated to defining or registering component logic.
Custom components in Azure ML designer are defined using YAML specification files that declare inputs, outputs, the execution environment, and the command to run. Uploading this YAML file to the workspace registers the component definition, making it available in the designer's component palette for use in pipelines.
Concept tested: Registering custom components in Azure ML designer
Source: https://learn.microsoft.com/en-us/azure/machine-learning/how-to-create-component-pipelines-ui
Topics
Community Discussion
No community discussion yet for this question.