Question 41
You are authoring a notebook in Azure Machine Learning studio.
You must install packages from the notebook into the currently running kernel. The installation must be limited to the currently running kernel only.
You need to install the packages.
Which magic function should you use?
Question 42
An organization validates generative AI applications during CI/CD Microsoft Foundry.
Evaluation must run automatically and block releases when quality thresholds are NOT met.
Manual evaluation is no longer acceptable.
Evaluation must use both predefined quality metrics and custom safety checks.
You need to implement an automated evaluation workflow that supports both built-in and custom metrics.
What should you do?
Question 43
A data science team trains a classification model that predicts loan approval outcomes.
Before registering the model, the team must ensure the following:
Predictions must not disproportionately impact protected groups.
Prediction errors can be evaluated across different data segments.
You need to assess whether the model meets Responsible AI expectations.
Which two approaches should you use? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point. Choose two .
Question 44
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear on the review screen.
You manage an Azure Machine Learning workspace. The Python script named script.py reads an argument named training_data.
The training_data argument specifies the path to the training data in a file named dataset 1. csv.
You plan to run the script.py Python script as a command job that trains a machine learning model.
You need to provide the command to pass the path for the dataset as a parameter value when you submit the script as a training job.
Solution: python script.py --trainingdata ${{inputs.training_data}}
Does the solution meet the goal?
Question 45
Drag and Drop Question
A data science team trains a model that depends on features that are stored in a managed feature store.
The model is registered in Azure Machine Learning and will be deployed to a real-time endpoint.
After deployment, the model must:
- Retrieve feature values dynamically at inference time.
- Use the same feature definitions that were used during training.
- Run without manual configuration changes across environments.
You need to define feature store entities so that feature retrieval behaves as expected when the model is deployed.
Which feature store entity should you select for each requirement? To answer, move the appropriate feature store entities to the correct requirements. You may use each feature store entity once, more than once, or not at all. You may need to move the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.

