Microsoft AI-300 Machine Learning MLOps Engineer 1-10

表示モード
画像位置
文字位置
理解度の自動記録
STATUS FILTER

Choose confidence levels to display

Loading...
Q1AI-300

Drag each option to the matching requirement’s drop zone, or tap to place it. Click a filled zone to send it back. (The same option may be used more than once.)

Azure Batch
Azure Databricks cluster
Azure Kubernetes Service
Azure virtual machine
Azure Machine Learning compute cluster
Azure Machine Learning compute instance
Interactive experimentation work
Scalable training jobs
Show answer
Correct answer: Interactive experimentation work → Azure Machine Learning compute instance / Scalable training jobs → Azure Machine Learning compute cluster

An Azure Machine Learning compute instance is suited to interactive experimentation.
This is because it is a fully managed personal workstation for machine learning development, equipped with tools such as Jupyter Notebook.
An Azure Machine Learning compute cluster is suited to scalable training jobs.
It automatically adds nodes when a job is submitted, and if you set the minimum node count to 0 it scales down to zero nodes when idle, which keeps costs low.
The sample answer in the image shows an Azure Databricks cluster, but current official guidance recommends the compute cluster, which is Azure Machine Learning’s managed training target.
What is an Azure Machine Learning compute instance
Create an Azure Machine Learning compute cluster

Q2AI-300
Detect that the distribution of the input data has changed.

Take action when a threshold is exceeded.

Show answer
Correct answer: Enable data drift monitoring. / Configure an alert.

Data drift monitoring compares baseline historical data with the production input data and detects whether the distribution of features is changing over time.
Increasing the compute size only adjusts processing capacity and is not a capability that captures statistical changes in the input data.
Manual retraining is an action taken after detection, not the monitoring itself.
When a monitoring metric exceeds a configured threshold, you configure an alert to notify the responsible personnel or a downstream automation process.
Note that the legacy dataset data drift monitoring (v1) has been retired, and the data drift signal of model monitoring (v2) is now used.
Azure Machine Learning model monitoring
Monitor the performance of models deployed to production

Q3AI-300
Show answer
Correct answer: B. Configure traffic splitting together with monitoring alerts.

With a managed online endpoint, you can assign traffic ratios to multiple deployments within the same endpoint.
By allocating 10% to the new version and 90% to the existing version, you can achieve a canary release that safely validates the model with real requests.
In addition, you monitor latency and failure rate with Azure Monitor and raise an alert when a threshold is exceeded.
For automatic rollback, you configure the alert’s action group to trigger a service such as Azure Functions or Logic Apps and shift traffic back to the existing model.
A separate endpoint cannot use the built-in traffic split, and a batch endpoint is not intended for validating real-time inference.
Deploy and score a machine learning model by using an online endpoint
Monitor online endpoints

Q4AI-300
Show answer
Correct answer: A. Adjust the chunk size and overlap to match the structure of the content., B. Implement an optimized reranker.

Adjusting the chunk size and overlap to match the document structure prevents important information from being split at chunk boundaries and prevents meaning from being diluted in chunks that are too large.
In addition, a reranker reorders the candidates obtained from the initial vector search by semantic relevance and pushes noisy candidates lower.
Both are methods that improve search accuracy through limited re-evaluation without changing the embedding model.
Raising the token limit does not directly improve search quality, and changing the vector length may require compatibility with the embedding model and re-indexing.
Chunk large documents for RAG and vector search in Azure AI Search
Semantic ranking in Azure AI Search

Q5AI-300
Show answer
Correct answer: A. Identify and retrieve the model artifacts from the output of the training run., B. Register the model in the Azure Machine Learning workspace.

First, identify the model artifacts logged to the MLflow run and retrieve the files needed for registration, such as the model itself, its dependencies, and the MLmodel metadata.
Next, when you register the model in Azure Machine Learning, it becomes a managed asset with a name and version and can be deployed to online or batch endpoints.
Tagging the experiment helps with searching and organizing, but it does not create a version of the model itself.
Exporting to a local location does not provide central version control either.
MLOps model management with Azure Machine Learning
Share models, components, and environments across workspaces by using registries

Q6AI-300
Show answer
Correct answer: C. Median stopping policy, D. Truncation selection policy

The median stopping policy evaluates the current run against the running average of the primary metric reported across all runs, so it can consider the performance of all past runs.
The truncation selection policy compares all runs at each evaluation interval and terminates the runs that fall into a specified lowest percentage by performance.
Therefore, it is not a method that uses only the single best run as the baseline.
The bandit policy, on the other hand, compares the current run with the best run and terminates it if it is outside the allowed range, so it does not fit the stated requirements.
Tune hyperparameters for your model (v2)
sweep Package

Q7AI-300
Show answer
Correct answer: A. Traffic splitting between deployments

A blue-green deployment is appropriate, in which the existing blue deployment and a new green deployment run side by side within the same managed online endpoint and only a portion of the traffic is allocated to the new version.
For example, if you allocate 90% to the existing deployment and 10% to the new model, you can validate performance with real requests while limiting the impact on consumers.
Even if a problem occurs, you can quickly recover by shifting traffic back to the existing deployment.
If you want to validate without returning the new model’s responses to consumers, you can also use traffic mirroring, which duplicates a portion of the requests while returning responses only from the existing model.
Merely registering the model version does not validate it with production traffic, and a separate endpoint cannot use the built-in traffic control within a single endpoint.
Perform a safe rollout of a new deployment for real-time inference
Online endpoints for real-time inference

Q8AI-300
Show answer
Correct answer: B. No

When passing a command job’s input data to a script, you must reference the input name defined in the job’s inputs by using the Azure Machine Learning expression ${{inputs.training_data}}.
An appropriate command example is “python script.py –training_data ${{inputs.training_data}}”; the command shown passes the literal string training_data instead of the input expression and runs train.py instead of the specified script.py, so it does not meet the goal.
At runtime, ${{inputs.training_data}} is replaced with the actual local path where the input data is mounted or downloaded.
In the current SDK v2, you use input types such as uri_file for a single file, uri_folder for a folder, and MLTable for tabular data.
Access data in a job
CLI (v2) core YAML syntax

Q9AI-300

Drag each option to the matching requirement’s drop zone, or tap to place it. Click a filled zone to send it back. (The same option may be used more than once.)

main()
init()
score()
predict()
run()
Load the model when the service starts.
Score new data using the model.
Show answer
Correct answer: Load the model when the service starts. → init() / Score new data using the model. → run()

The init() function is called only once when the inference container starts, and it performs initialization such as loading the registered model and storing it in a global variable.
Because the model does not have to be loaded on every request, inference latency is reduced.
The run() function is called each time an inference request arrives at the online endpoint; it receives the input data, performs prediction or scoring with the model, and returns the result.
main(), score(), and predict() can be defined as optional helper functions, but the entry points required in a standard scoring script for online inference are init() and run().
Debug scoring scripts by using the Azure Machine Learning inference HTTP server
Deploy and score a machine learning model by using an online endpoint

Q10AI-300

Drag (or tap) the required number of items from “Options” on the left to the “Answer area” on the right. Within the answer area, drag to reorder.

Options
  • Create a flow.
  • Create a data asset.
  • Create a connection.
  • Create a Foundry Search resource.
  • Create a vector index.
Answer area (execution order from top)
  1. Drag here

Show answer
Correct answer: Correct order: ① Create a Foundry Search resource. → ② Create a vector index. → ③ Create a connection. → ④ Create a flow.

First, prepare the Foundry Search resource that serves as the search foundation, then create a vector index that ingests the local files and performs chunking, embedding, and indexing.
The vector index enables you to search for file content that is semantically close to the user’s question.
Next, create a connection so that the project and flow can use that index.
Finally, create a flow and configure the RAG processing that passes the relevant information retrieved by search into the prompt of the Azure OpenAI model.
Creating a data asset is one available option, but it is not included in the four-step procedure presented in this question.
Create and consume a vector index in the Microsoft Foundry portal (classic)
Add a new connection to a project