ExamGecko
Home / Microsoft / DP-100 / List of questions
Ask Question

Microsoft DP-100 Practice Test - Questions Answers, Page 18

List of questions

Question 171

Report Export Collapse

You create a script that trains a convolutional neural network model over multiple epochs and logs the validation loss after each epoch. The script includes arguments for batch size and learning rate.

You identify a set of batch size and learning rate values that you want to try.

You need to use Azure Machine Learning to find the combination of batch size and learning rate that results in the model with the lowest validation loss.

What should you do?

Run the script in an experiment based on an AutoMLConfig object
Run the script in an experiment based on an AutoMLConfig object
Create a PythonScriptStep object for the script and run it in a pipeline
Create a PythonScriptStep object for the script and run it in a pipeline
Use the Automated Machine Learning interface in Azure Machine Learning studio
Use the Automated Machine Learning interface in Azure Machine Learning studio
Run the script in an experiment based on a ScriptRunConfig object
Run the script in an experiment based on a ScriptRunConfig object
Run the script in an experiment based on a HyperDriveConfig object
Run the script in an experiment based on a HyperDriveConfig object
Suggested answer: E
Explanation:

Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-tune-hyperparameters

asked 02/10/2024
Ariel Acosta
40 questions

Question 172

Report Export Collapse

You use the Azure Machine Learning Python SDK to define a pipeline to train a model.

The data used to train the model is read from a folder in a datastore.

You need to ensure the pipeline runs automatically whenever the data in the folder changes.

What should you do?

Set the regenerate_outputs property of the pipeline to True
Set the regenerate_outputs property of the pipeline to True
Create a ScheduleRecurrance object with a Frequency of auto. Use the object to create a Schedule for the pipeline
Create a ScheduleRecurrance object with a Frequency of auto. Use the object to create a Schedule for the pipeline
Create a PipelineParameter with a default value that references the location where the training data is stored
Create a PipelineParameter with a default value that references the location where the training data is stored
Create a Schedule for the pipeline. Specify the datastore in the datastore property, and the folder containing the training data in the path_on_datastore property
Create a Schedule for the pipeline. Specify the datastore in the datastore property, and the folder containing the training data in the path_on_datastore property
Suggested answer: D
Explanation:

Reference: https://docs.microsoft.com/en-us/azure/machine-learning/how-to-trigger-published-pipeline

asked 02/10/2024
Wissem M'RAD
40 questions

Question 173

Report Export Collapse

You plan to run a Python script as an Azure Machine Learning experiment.

The script must read files from a hierarchy of folders. The files will be passed to the script as a dataset argument.

You must specify an appropriate mode for the dataset argument.

Which two modes can you use? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point.

Become a Premium Member for full access
  Unlock Premium Member

Question 174

Report Export Collapse

DRAG DROP

You create a multi-class image classification deep learning experiment by using the PyTorch framework. You plan to run the experiment on an Azure Compute cluster that has nodes with GPU's.

You need to define an Azure Machine Learning service pipeline to perform the monthly retraining of the image classification model. The pipeline must run with minimal cost and minimize the time required to train the model.

Which three pipeline steps should you run in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Become a Premium Member for full access
  Unlock Premium Member

Question 175

Report Export Collapse

HOTSPOT

You plan to use Hyperdrive to optimize the hyperparameters selected when training a model. You create the following code to define options for the hyperparameter experiment:

Microsoft DP-100 image Question 66 89166 10022024015825000000

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

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member

Question 176

Report Export Collapse

HOTSPOT

You are using Azure Machine Learning to train machine learning models. You need to compute target on which to remotely run the training script.

You run the following Python code:

Microsoft DP-100 image Question 67 89167 10022024015825000000

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

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member

Question 177

Report Export Collapse

HOTSPOT

You have an Azure blob container that contains a set of TSV files. The Azure blob container is registered as a datastore for an Azure Machine Learning service workspace. Each TSV file uses the same data schema.

You plan to aggregate data for all of the TSV files together and then register the aggregated data as a dataset in an Azure Machine Learning workspace by using the Azure Machine Learning SDK for Python.

You run the following code.

Microsoft DP-100 image Question 68 89168 10022024015825000000

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

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member

Question 178

Report Export Collapse

DRAG DROP

You create a multi-class image classification deep learning model.

The model must be retrained monthly with the new image data fetched from a public web portal. You create an Azure Machine Learning pipeline to fetch new data, standardize the size of images, and retrain the model.

You need to use the Azure Machine Learning SDK to configure the schedule for the pipeline.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Become a Premium Member for full access
  Unlock Premium Member

Question 179

Report Export Collapse

HOTSPOT

You create a script for training a machine learning model in Azure Machine Learning service.

You create an estimator by running the following code:

Microsoft DP-100 image Question 70 89170 10022024015825000000

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

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member

Question 180

Report Export Collapse

HOTSPOT

You have a Python data frame named salesData in the following format:

Microsoft DP-100 image Question 71 89171 10022024015825000000

The data frame must be unpivoted to a long data format as follows:

Microsoft DP-100 image Question 71 89171 10022024015825000000

You need to use the pandas.melt() function in Python to perform the transformation.

How should you complete the code segment? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Become a Premium Member for full access
  Unlock Premium Member
Total 433 questions
Go to page: of 44
Search

Related questions