Microsoft DP-100 Practice Exams
Last updated on Nov 16,2026- Exam Code: DP-100
- Exam Name: Designing and Implementing a Data Science Solution on Azure
- Certification Provider: Microsoft
- Latest update: Nov 16,2026
HOTSPOT
You are performing sentiment analysis using a CSV file that includes 12,000 customer reviews written in a short sentence format. You add the CSV file to Azure Machine Learning Studio and configure it as the starting point dataset of an experiment. You add the Extract N-Gram Features from Text module to the experiment to extract key phrases from the customer review column in the dataset.
You must create a new n-gram dictionary from the customer review text and set the maximum n-gram size to trigrams.
What should you select? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

DRAG DROP
You use Azure Machine Learning to deploy a model as a real-time web service.
You need to create an entry script for the service that ensures that the model is loaded when the service starts and is used to score new data as it is received.
Which functions should you include in the script? To answer, drag the appropriate functions to the correct actions. Each function may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.

You create a multi-class image classification deep learning model that uses the PyTorch deep learning framework.
You must configure Azure Machine Learning Hyperdrive to optimize the hyperparameters for the classification model.
You need to define a primary metric to determine the hyperparameter values that result in the model with the best accuracy score.
Which three actions must you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
- A . Set the primary_metric_goal of the estimator used to run the bird_classifier_train.py script to maximize.
- B . Add code to the bird_classifier_train.py script to calculate the validation loss of the model and log it as a float value with the key loss.
- C . Set the primary_metric_goal of the estimator used to run the bird_classifier_train.py script to minimize.
- D . Set the primary_metric_name of the estimator used to run the bird_classifier_train.py script to accuracy.
- E . Set the primary_metric_name of the estimator used to run the bird_classifier_train.py script to loss.
- F . Add code to the bird_classifier_train.py script to calculate the validation accuracy of the model and log it as a float value with the key accuracy.
You create and register a model in an Azure Machine Learning workspace.
You must use the Azure Machine Learning SDK to implement a batch inference pipeline that uses a ParallelRunStep to score input data using the model. You must specify a value for the ParallelRunConfig compute_target setting of the pipeline step.
You need to create the compute target.
Which class should you use?
- A . BatchCompute
- B . AdlaCompute
- C . AmlCompute
- D . Aks Compute
HOTSPOT
You manage an Azure Machine Learning workspace named Workspace1 and an Azure Blob Storage accessed by using the URL https://storage1.blob.core.wmdows.net/data1.
You plan to create an Azure Blob datastore in Workspace1. The datastore must target the Blob Storage by using Azure Machine Learning Python SDK v2. Access authorization to the datastore must be limited to a specific amount of time.
You need to select the parameters of the Azure Blob Datastore class that will point to the target datastore and authorize access to it.
Which parameters should you use? To answer, select the appropriate options in the answer area NOTE: Each correct selection is worth one point.

DRAG DROP
You are creating a machine learning model that can predict the species of a penguin from its measurements. You have a file that contains measurements for free species of penguin in comma delimited format.
The model must be optimized for area under the received operating characteristic curve performance metric averaged for each class.
You need to use the Automated Machine Learning user interface in Azure Machine Learning studio to run an experiment and find the best performing model.
Which five 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 collect order.

HOTSPOT
You manage an Azure Machine Learning workspace.
You plan to train a natural language processing (NLP) model that will assign labels ‘or designated tokens in unstructured text
You need to configure the NLP task by using automated machine learning.
Which configuration values should you use? To answer, select the appropriate options in the answer area.
NOTE Each correct selection is worth one point.

Your team is building a data engineering and data science development environment.
The environment must support the following requirements:
✑ support Python and Scala
✑ compose data storage, movement, and processing services into automated data pipelines
✑ the same tool should be used for the orchestration of both data engineering and data science
✑ support workload isolation and interactive workloads
✑ enable scaling across a cluster of machines
You need to create the environment.
What should you do?
- A . Build the environment in Apache Hive for HDInsight and use Azure Data Factory for orchestration.
- B . Build the environment in Azure Databricks and use Azure Data Factory for orchestration.
- C . Build the environment in Apache Spark for HDInsight and use Azure Container Instances for orchestration.
- D . Build the environment in Azure Databricks and use Azure Container Instances for orchestration.
You have the following code. The code prepares an experiment to run a script:

The experiment must be run on local computer using the default environment.
You need to add code to start the experiment and run the script.
Which code segment should you use?
- A . run = script_experiment.start_logging()
- B . run = Run(experiment=script_experiment)
- C . ws.get_run(run_id=experiment.id)
- D . run = script_experiment.submit(config=script_config)
You create a Python script that runs a training experiment in Azure Machine Learning. The script uses the Azure Machine Learning SDK for Python.
You must add a statement that retrieves the names of the logs and outputs generated by the script.
You need to reference a Python class object from the SDK for the statement.
Which class object should you use?
- A . Run
- B . ScripcRunConfig
- C . Workspace
- D . Experiment


