Free Azure Data Scientist Associate (DP-100) Sample Questions. Prepare confidently with a free, timed practice exam that mirrors the Azure Data Scientist Associate test format and difficulty. Get hired as a data scientist
Welcome to your Microsoft Azure Test-13
Select 1 option(s):
Select 3 option(s):
The IT department creates an Azure Kubernetes Service (AKS)-based inference compute target named aks-cluster in the Azure Machine Learning workspace. You have a Microsoft Surface Book computer with a GPU. Python 3.6 and Visual Studio Code are installed. You need to run a script that trains a deep neural network (DNN) model and logs the loss and accuracy metrics. Solution: Attach the mlvm virtual machine as a compute target in the Azure Machine Learning workspace. Install the Azure ML SDK on the Surface Book and run Python code to connect to the workspace. Run the training script as an experiment on the mlvm remote compute resource. Does the solution meet the goal?Select 1 option(s):
The IT department creates an Azure Kubernetes Service (AKS)-based inference compute target named aks-cluster in the Azure Machine Learning workspace. You have a Microsoft Surface Book computer with a GPU. Python 3.6 and Visual Studio Code are installed. You need to run a script that trains a deep neural network (DNN) model and logs the loss and accuracy metrics. Solution: Install the Azure ML SDK on the Surface Book. Run Python code to connect to the workspace and then run the training script as an experiment on local compute. Does the solution meet the goal?Select 1 option(s):
The IT department creates an Azure Kubernetes Service (AKS)-based inference compute target named aks-cluster in the Azure Machine Learning workspace. You have a Microsoft Surface Book computer with a GPU. Python 3.6 and Visual Studio Code are installed. You need to run a script that trains a deep neural network (DNN) model and logs the loss and accuracy metrics. Solution: Install the Azure ML SDK on the Surface Book. Run Python code to connect to the workspace. Run the training script as an experiment on the aks- cluster compute target. Does the solution meet the goal?Select 1 option(s):
You need to obtain the output from the pipeline execution. Where will you find the output?Select 1 option(s):
You need to record the row count as a metric named row_count that can be returned using the get_metrics method of the Run object after the experiment run completes. Which code should you use?Select 1 option(s):
Select 2 option(s):
You need to create a dataset named training_data and load the data from all files into a single data frame by using the following code:Solution: Run the following code:
Does the solution meet the goal?Select 1 option(s):
You have the following code:
You need to pass the dataset to ensure that the script can read the files it references. Which code segment should you insert to replace the code comment?Select 1 option(s):
The experiment must record the unique labels in the data as metrics for the run that can be reviewed later. You must add code to the script to record the unique label values as run metrics at the point indicated by the comment. Solution: Replace the comment with the following code: run.upload_file(‘outputs/labels.csv‘, ‘./data.csv‘) Does the solution meet the goal?multiple-choiceSelect 1 option(s):
The experiment must record the unique labels in the data as metrics for the run that can be reviewed later. You must add code to the script to record the unique label values as run metrics at the point indicated by the comment. Solution: Replace the comment with the following code: run.log_table(‘Label Values‘, label_vals) Does the solution meet the goal?multiple-choiceSelect 1 option(s):
The experiment must record the unique labels in the data as metrics for the run that can be reviewed later. You must add code to the script to record the unique label values as run metrics at the point indicated by the comment. Solution: Replace the comment with the following code: for label_val in label_vals: run.log(‘Label Values‘, label_val) Does the solution meet the goal?Select 1 option(s):
You need to create a dataset named training_data and load the data from all files into a single data frame by using the following code:
Solution: Run the following code:
You create a real-time inference pipeline from the training pipeline, as shown in the exhibit. (Click the Real-time pipeline tab.) Real-time pipeline –You need to modify the inference pipeline to ensure that the web service returns the exponential of the scored label as the predicted automobile price and that client applications are not required to include a price value in the input values. Which three modifications must you make to the inference pipeline? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.Select 3 option(s):
You need to create Python code that returns the best model that is generated by the automated machine learning task. Which code segment should you use?Select 1 option(s):
Time's up