Free DP-100 sample questions

Real questions from the Azure Data Scientist practice bank, with the correct answer and an explanation for each one. No junk, no filler.

Try them in the simulator Same questions, with study, timed and flashcard modes.

Showing 10 of 20 free sample questions.

Question 1Choose 2

You are designing a secure environment for a multi-team data science project. You need to ensure that each team can manage its own compute resources and data assets but cannot access the resources of other teams. All teams must use a centrally-managed set of curated Docker environments and foundation models. Which combination of Azure Machine Learning features should you use? (Select TWO)

Question 2Choose one

A data scientist is using the Azure Machine Learning SDK v2 to submit a hyperparameter tuning job for a classification model. The goal is to maximize the 'AUC_weighted' metric. The search space is large, and the compute budget is limited. They need to configure the sweep job to efficiently find good parameters by terminating underperforming runs early. Which early termination policy is most appropriate for this goal?

Question 3Choose one

You are developing a prompt flow that orchestrates multiple calls to a language model to generate a marketing campaign proposal. You need to ensure that the output of an early step, which generates a target audience description, is correctly passed as input to a later step that writes ad copy. Which Prompt flow feature allows you to define this data dependency?

Question 4Choose one

A hospital is using an AutoML for tabular data job to predict patient readmission risk. The Responsible AI dashboard for the best model reveals that the model has a significantly lower prediction accuracy for a minority demographic group compared to the majority group. This indicates a potential fairness issue. What is the most appropriate first step to mitigate this bias?

Question 5Choose one

An MLOps engineer is packaging a trained MLflow model for deployment. To ensure seamless inference, they must include information about the required input data schema directly within the model artifacts. Which file within the MLflow model directory should be modified to include this schema definition?

Question 6Choose one

True or False: When using an Azure Machine Learning compute cluster for training, you are only billed for the compute time when a job is actively running on the nodes.

Question 7Choose one

A team has deployed a machine learning model to a managed online endpoint with a blue-green deployment strategy. 80% of the traffic is currently directed to the stable 'blue' deployment, and 20% is directed to the new 'green' deployment for testing. After monitoring, the team confirms the green deployment is performing well and decides to route all traffic to it. Which command should be used to achieve this without causing downtime?

Question 8Choose one

A data scientist is working on a local machine with the Azure Machine Learning SDK and needs to access data stored in an Azure Blob Storage container for interactive analysis in a Jupyter notebook. The workspace is configured with a datastore named `blob_datastore`. Which code snippet correctly accesses a file named `data/customers.csv` from this datastore as a Pandas DataFrame?

Question 9Choose one

You are comparing two foundation models from the Azure AI Model Catalog, `Model-A` and `Model-B`, for a fine-tuning task. `Model-A` is larger and more capable but has higher inference costs. `Model-B` is smaller, faster, and cheaper but less powerful. You need to decide which model to fine-tune. What is the most cost-effective and technically sound approach to make this decision?

Question 10Choose one

A data scientist has written a Python script to train a regression model. To ensure reproducibility, they have created a custom environment defined in a YAML file. The training script must be executed as a command job on a remote compute cluster. What is the correct way to specify the custom environment when defining the `CommandJob` using the Azure Machine Learning SDK v2?

10 more free samples are waiting

Create a free account to unlock the whole DP-100 sample bank, or get full access to all 303 practice questions in the simulator.

Create account