最新的Microsoft Operationalizing Machine Learning and Generative AI Solutions - AI-300免費考試真題
You create an Azure Machine Learning model to include model files and a scorning script. You must deploy the model. The deployment solution must meet the following requirements:
* Provide near real-time inferencing.
* Enable endpoint and deployment level cost estimates.
* Support logging to Azure Log Analytics.
You need to configure the deployment solution.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

* Provide near real-time inferencing.
* Enable endpoint and deployment level cost estimates.
* Support logging to Azure Log Analytics.
You need to configure the deployment solution.
What should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正確答案:

Explanation:

A team uses a hosted Git repository to store training code and pipeline definitions of a machine learning experiment.
The team must ensure that access to the repository is granted without requiring each developer to store personal access tokens on their machines.
Repository access must be secure and centrally managed to reduce credential spread.
You need to enable secure access between an Azure Machine Learning workspace and the repository.
The team must ensure that access to the repository is granted without requiring each developer to store personal access tokens on their machines.
Repository access must be secure and centrally managed to reduce credential spread.
You need to enable secure access between an Azure Machine Learning workspace and the repository.
正確答案: D
說明:(僅 Fast2test 成員可見)
You have a Microsoft Foundry project.
You plan to use the Microsoft Foundry portal to fine-tune a base Azure OpenAI Service model that can accept both text and images as input.
You need to choose the suitable model.
Which model should you choose?
You plan to use the Microsoft Foundry portal to fine-tune a base Azure OpenAI Service model that can accept both text and images as input.
You need to choose the suitable model.
Which model should you choose?
正確答案: A
說明:(僅 Fast2test 成員可見)
A team maintains Infrastructure as Code (IaC) templates to provision Azure Machine Learning resources.
Provisioning must be triggered by changes in the templates and executed without manual intervention.
You need to automate resource provisioning.
Which action should you take for each requirement? To answer, move the appropriate actions to the correct requirements. You may use each action 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.

Provisioning must be triggered by changes in the templates and executed without manual intervention.
You need to automate resource provisioning.
Which action should you take for each requirement? To answer, move the appropriate actions to the correct requirements. You may use each action 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:
Azure Machine Learning infrastructure can be described as Infrastructure as Code using ARM templates, Bicep, or Terraform. To make provisioning fully automated, two separate concerns must be addressed. First, the trigger: a CI/CD system like GitHub Actions or Azure DevOps Pipelines must detect changes to IaC template files in the repository, configured through a branch-push or pull-request trigger. Second, the execution: the CI/CD pipeline runs the provisioning commands such as az ml workspace create or bicep deploy non-interactively using a service principal or managed identity, eliminating the need for a human to run scripts manually. Together, these two mechanisms deliver the GitOps-style automation that modern MLOps practices require, ensuring every template change automatically results in a consistent, auditable infrastructure update.
Microsoft Learn Reference Topic: Automate Azure Machine Learning with GitHub Actions - CI/CD for ML infrastructure

-
A team is standardizing MLOps practices by using automated deployments.
The team requires infrastructure to be defined declaratively and deployed through automation pipelines.
You need to configure infrastructure deployment.
What should you configure for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

A team is standardizing MLOps practices by using automated deployments.
The team requires infrastructure to be defined declaratively and deployed through automation pipelines.
You need to configure infrastructure deployment.
What should you configure for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

正確答案:

Explanation:
Deploy resources from a pipeline: Azure CLI Commands
Define Azure resources declaratively: Bicep templates
Azure CLI Commands should be used to deploy resources from an automation pipeline. Azure Machine Learning supports integration with CI/CD platforms such as Azure DevOps and GitHub Actions, and Microsoft documents the Azure CLI with the Machine Learning extension as a standard mechanism for automating resource provisioning, training pipelines, model deployment, and other MLOps operations. Azure CLI commands can be executed non-interactively within pipeline stages, making them appropriate for repeatable automated deployments.
Bicep templates should be used to define Azure infrastructure declaratively. Bicep is Microsoft ' s domain- specific Infrastructure-as-Code language for Azure Resource Manager. Instead of specifying individual imperative provisioning steps, a Bicep file describes the desired state of Azure resources. Azure Resource Manager then determines the deployment operations required to reach that state. This provides repeatable, version-controlled, consistent infrastructure across development, testing, and production environments.
Bicep deployments can also be invoked directly through Azure CLI commands such as az deployment group create, allowing the declarative infrastructure definition and automated deployment mechanism to work together in an MLOps CI/CD pipeline.
Study Guide Reference: Design and implement an MLOps infrastructure - Infrastructure as Code, Bicep, Azure CLI, automated deployment pipelines, and reproducible environment provisioning.
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 train and register an Azure Machine Learning model.
You plan to deploy the model to an online endpoint.
You need to ensure that applications will be able to use the authentication method with a non-expiring artifact to access the model.
Solution:
Create a managed online endpoint and set the value of its auto_mode parameter to key. Deploy the model to the inline endpoint.
Does the solution meet the goal?
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 train and register an Azure Machine Learning model.
You plan to deploy the model to an online endpoint.
You need to ensure that applications will be able to use the authentication method with a non-expiring artifact to access the model.
Solution:
Create a managed online endpoint and set the value of its auto_mode parameter to key. Deploy the model to the inline endpoint.
Does the solution meet the goal?
正確答案: B
-
You review the following Azure CLI command and the relevant Bicep excerpt.

(Non-relevant sections are omitted.)
You need to validate what the snippet will do before it is merged. For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

You review the following Azure CLI command and the relevant Bicep excerpt.

(Non-relevant sections are omitted.)
You need to validate what the snippet will do before it is merged. For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

正確答案:

Explanation:
The command deploys the resources into an existing resource group named rg-foundry-dev: Yes The system-assigned managed identity defined in the template will automatically be inherited by all Microsoft Foundry projects: No To deploy this template to a different subscription, you must modify the Bicep file to include a subscriptionId parameter: No The first statement is Yes . The command uses az deployment group create --resource-group rg-foundry-dev, which performs an Azure Resource Manager deployment at resource-group scope . Microsoft documents that the target resource group must already exist; if it does not, it must be created before running the resource- group deployment.
The second statement is No . The Bicep declaration assigns a system-assigned managed identity to the Foundry resource itself . A Microsoft Foundry project is a child resource and can have its own managed identity . Microsoft explicitly shows project creation with " identity " : { " type " : " SystemAssigned " } and separately discusses assigning permissions to a project ' s managed identity. Therefore, the parent ' s system- assigned identity is not automatically inherited as the identity of every project.
The third statement is No . Because targetScope = ' resourceGroup ' , the same Bicep template can be deployed to a resource group in another subscription without adding a subscriptionId parameter. Azure CLI supports the global --subscription argument, or the active subscription can be changed with az account set.
A team manages prompts that are used by a generative AI application built on Microsoft Foundry. Multiple developers contribute prompt updates, and changes must be reviewed and tracked over time.
The team requires that:
Prompt changes are reviewed before being applied to the version in production.
Previous prompt versions can be restored if issues occur.
Prompt updates follow the same governance practices as the application code.
You need to implement a controlled process for managing and updating prompts in production.
How should you manage prompt updates to meet the requirements? To answer, move the appropriate actions to the correct requirements. You may use each action 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.

The team requires that:
Prompt changes are reviewed before being applied to the version in production.
Previous prompt versions can be restored if issues occur.
Prompt updates follow the same governance practices as the application code.
You need to implement a controlled process for managing and updating prompts in production.
How should you manage prompt updates to meet the requirements? To answer, move the appropriate actions to the correct requirements. You may use each action 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:
All three requirements point to Git as the underlying mechanism, but each uses a different Git capability. For reviewing changes before production: a branch-based workflow where prompt changes are made on feature branches and merged to the main branch only after pull request approval enforces the review gate. For restoring previous versions: Git ' s commit history and tag system provide a precise, immutable record of every prompt state, and a git revert or checkout to a specific commit SHA restores any prior version instantly.
For governance parity with application code: by storing prompts in the same Git repository as application code, all the same CI/CD, branch protection, code review, and audit trail policies apply automatically. The alternatives such as Blob Storage or embedded configuration files lack native review workflows, branch protection, and full audit history.
Microsoft Learn Reference Topic: Prompt management and versioning with Git integration in Microsoft Foundry

You manage an Azure Machine Learning workspace named workspace!.
You plan to author custom pipeline components by using Azure Machine Learning Python SDK v2.
You must transform the Python code into a YAML specification that can be processed by the pipeline service.
You need to import the Python library that provides the transformation functionality.
Which Python library should you import?
You plan to author custom pipeline components by using Azure Machine Learning Python SDK v2.
You must transform the Python code into a YAML specification that can be processed by the pipeline service.
You need to import the Python library that provides the transformation functionality.
Which Python library should you import?
正確答案: C
You manage an Azure Machine Learning workspace
You build an Azure Machine Learning pipeline for image classification by using custom components. You need to define the interface, metadata, and code to execute components from a Python function. Which function should you use?
You build an Azure Machine Learning pipeline for image classification by using custom components. You need to define the interface, metadata, and code to execute components from a Python function. Which function should you use?
正確答案: C
-
A customer-facing web application uses a foundational model deployed through Microsoft Foundry.
A new model version must be introduced and validated without disrupting production traffic.
You need to deploy the new version by using a safe promotion strategy.
Which three 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 correct order.

A customer-facing web application uses a foundational model deployed through Microsoft Foundry.
A new model version must be introduced and validated without disrupting production traffic.
You need to deploy the new version by using a safe promotion strategy.
Which three 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 correct order.

正確答案:

Explanation:
Correct sequence:
* Deploy a new model version.
* Validate the behavior of the new version.
* Update the model settings on the production route.
The safe approach is to deploy the new model side by side with the existing production deployment rather than modifying the currently serving model immediately. Microsoft Foundry documentation explains that a newly available model version can be tested through a separate deployment, allowing teams to evaluate behavioral differences without affecting existing production requests.
After deployment, validate the behavior of the new version against representative production workloads.
Validation should cover response quality, latency, errors, structured-output compatibility, tool-calling behavior, safety characteristics, and application-specific acceptance criteria. Microsoft ' s model-migration guidance explicitly places validation before production rollout and recommends proving that the new configuration meets defined quality requirements before broad exposure.
Once validation succeeds, update the model settings on the production route so that the application ' s existing production entry point directs requests to the validated deployment. This preserves the stable application-facing endpoint while changing the backend model in a controlled manner.
Shift 100% of traffic to the new version is not the appropriate intermediate safe-promotion action because immediately transferring all production traffic removes the staged validation safeguard. Creating another AI gateway route version is also unnecessary for the required three-step promotion sequence.
Study Guide Reference: Implement machine learning model lifecycle and operations - model versioning, side-by-side deployments, pre-production validation, controlled promotion, production routing, and rollback- safe model lifecycle management.
You need to isolate training workloads while remaining cost-aware to address Fabrikam Inc.'s issues, constraints, and technical requirements.
What should you implement?
What should you implement?
正確答案: C
說明:(僅 Fast2test 成員可見)