HOTSPOT
-
You manage an Azure Machine Learning workspace. The development environment is configured with a Serverless Spark compute in Azure Machine Learning Notebooks.
You perform interactive data wrangling to clean up the Titanic dataset and store it as a new dataset. (Line numbers are used for reference only.)
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: No
No
Yes
No
Explanation: The Imputer is created but never applied, so Age is unchanged. The fillna call does not modify df because inplace=False and the result is not assigned. The abfss://dfs.core.windows.net path indicates Azure Data Lake Storage Gen2. No configuration or code shows user identity passthrough.
Question 24
You manage an Azure Machine Learning workspace.
An MLflow model is already registered. You plan to customize how the deployment does inference.
You need to deploy the MLflow model to a batch endpoint for batch inferencing.
What should you create first?
A. scoring script
B. deployment
C. environment
D. deployment definition
Show Answer
Correct Answer: A
Explanation: To customize how an MLflow model performs inference when deployed to an Azure Machine Learning batch endpoint, you must first create a scoring script. The scoring script defines the custom inference logic (init and run functions) and is then referenced in the deployment definition. Without the scoring script, you cannot customize the inference behavior.
Question 25
DRAG DROP
-
You have an Azure Machine Learning workspace named WS1.
You plan to use WS1 to train two models named model1 and model2. For model1, you plan to use automated machine learning. For model2, you plan to use Azure Machine Learning designer.
You need to determine the compute targets you should use to train each model. Your solution must ensure the following:
• The compute target for model1 supports auto-shutdown/auto-start based on a schedule.
• The compute target for model2 supports the use of low-priority Azure Virtual Machines.
Which compute targets should you use? To answer, move the appropriate compute targets to the correct model. You may use each compute target 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.
Explanation: Compute instances support scheduled auto-start and auto-shutdown, which meets the requirement for automated ML training. Compute clusters support low-priority (spot) Azure VMs, which satisfies the requirement for training with Azure Machine Learning designer.
Question 26
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 in the review screen.
You manage an Azure Machine Learning workspace. The development environment for managing the workspace is configured to use Python SDK v2 in Azure Machine Learning Notebooks.
A Synapse Spark Compute is currently attached and uses system-assigned identity.
You need to use Python code to update the Synapse Spark Compute to use a user-assigned identity.
Solution: Pass the UserAssignedIdentity class object to the SynapseSparkCompute class.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: In Python SDK v2, you do not pass a UserAssignedIdentity object directly to the SynapseSparkCompute class. Instead, you configure a ManagedIdentityConfiguration with type set to UserAssigned and provide a list of UserAssignedIdentity objects via the user_assigned_identities property, then assign that configuration to the compute. Therefore, the proposed solution is not accurate.
Question 27
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 in the review screen.
You have an Azure Machine Learning workspace that includes an AmlCompute cluster and a batch endpoint.
You clone a repository that contains an MLflow model to your local computer.
You need to ensure that you can deploy the model to the batch endpoint.
Solution: Add a compute resource to the workspace.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: No. Simply adding a compute resource does not ensure you can deploy the MLflow model to a batch endpoint. To deploy, the model must be registered (or otherwise referenced) in the Azure ML workspace and a batch deployment must be created for the existing batch endpoint. A compute resource alone is insufficient to meet the goal.
Question 28
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 in 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 dataset1.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 --training_data dataset1.csv
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The solution does not meet the goal. In Azure Machine Learning command jobs, training data must be passed as a declared input, and the script should receive the path that Azure ML provides (for example, via ${{inputs.training_data}}). Passing `dataset1.csv` directly only provides a literal string and does not reference the actual mounted or downloaded dataset path in the job environment.
Question 29
HOTSPOT
-
You manage an Azure Machine Learning workspace.
You plan to train a natural language processing (NLP) model that will assign labels for 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.
Show Answer
Correct Answer: Task: Named Entity Recognition
File format: CoNLL
Explanation: Labeling designated tokens in text is a token-level sequence labeling problem, which corresponds to Named Entity Recognition. Azure AutoML requires NER datasets to be provided in CoNLL format, unlike text classification tasks that use CSV/JSON.
Question 30
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 in 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 dataset1.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 dataset1.csv
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The script expects a named argument called training_data. Passing only `dataset1.csv` provides a positional argument, not the required named parameter. The correct command must include the argument name, such as `python script.py --training_data dataset1.csv`.
Question 31
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 in 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 dataset1.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 train.py --training_data training_data
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: B
Explanation: The command does not pass the actual path to dataset1.csv. It provides the literal string "training_data" instead of a file path (or an Azure ML input binding). Therefore, the script would not receive the correct dataset path.
Question 32
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 in the review screen.
You have an Azure Machine Learning workspace.
You plan to tune model hyperparameters by using a sweep job.
You need to find a sampling method that supports early termination of low-performance jobs and continuous hyperparameters.
Solution: Use the random sampling method over the hyperparameter space.
Does the solution meet the goal?
A. Yes
B. No
Show Answer
Correct Answer: A
Explanation: In Azure Machine Learning sweep jobs, random sampling supports both continuous hyperparameters and early termination when combined with early termination policies (such as Bandit or Median stopping). Therefore, using random sampling over the hyperparameter space meets the stated goal.
$19
Get all 477 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.