Data scientists at Bellows College submit command jobs from the CLI v2. They don't want to create, size, or delete compute clusters, and each job should get compute only while it runs. How should they write the compute setting in their job YAML files?
- A.
Set compute to azureml:serverless-cluster
- B.
Set compute to azureml:local
- C.
Omit the compute property from the job
- D.
Set compute to the name of a compute instance
Show answer
Answer: C
Omitting compute from a command job sends it to serverless compute, which Azure Machine Learning creates, scales and removes for each job.
- A. No compute of that name exists unless someone creates a cluster; serverless needs no compute name in a command job.
- B. Local runs execute on the submitting machine and give no managed, scalable compute.
- C. When no compute target is specified for command, sweep or AutoML jobs, the job runs on serverless compute.
- D. A compute instance is a personal development VM that someone must create and manage.
