Microsoft Operationalizing Machine Learning and Generative AI Solutions AI-300 Exam Questions

Page: 1 / 14
Total 187 questions
Question 1

You manage an Azure Machine Learning workspace. You use Azure Machine Learning Python SDK v2 to configure a trigger to schedule a pipeline job. You need to create a time-based schedule with recurrence pattern.

Which two properties must you use to successfully configure the trigger? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.



Answer : A, E


Question 2

Fabrikam Inc. needs to improve the performance of a GPT-5 model based on the stated technical requirements.

Which action should you perform first?



Answer : B

The first action should be to evaluate the model output. Fabrikam already has evaluation data containing manually defined expected responses, and the technical requirements explicitly state that the organization must use its existing evaluation datasets based on real data with input-output pairs. Microsoft Foundry supports evaluating a model against an existing curated dataset to establish measurable baseline performance before optimization. Evaluation results can identify weaknesses in accuracy, relevance, groundedness, safety, or other quality dimensions and provide objective evidence for subsequent changes.

This sequencing is critical because Fabrikam also requires that advanced fine-tuning be applied only when prompt engineering is insufficient. Therefore, immediately fine-tuning the model would bypass the required baseline evaluation and optimization process. Fine-tuning should be driven by demonstrated performance gaps, not applied automatically.

Deploying directly to production is also inappropriate because leadership requires low operational risk and gradual rollout. Production traffic should not be used as the first evaluation mechanism when curated evaluation data already exists. Synthetic interaction data is useful when evaluation coverage is insufficient, but Microsoft specifically positions synthetic generation as an option when an adequate test dataset is unavailable. Fabrikam already has suitable evaluation data.

Study Guide Reference: Optimize generative AI systems and model performance --- evaluate model performance, benchmark against curated datasets, iterate on prompts, and apply advanced fine-tuning when justified.


Question 3

You create an Azure Machine Learning workspace named woricspace1. The workspace contains a Python SDK v2 notebook that uses MLflow to collect model training metrics and artifacts from your local computer.

You must reuse the notebook to run on Azure Machine Learning compute instance in workspace1.

You need to continue to log metrics and artifacts from your data science code.

What should you do?



Answer : A


Question 4

You train and publish a machine teaming model.

You need to run a pipeline that retrains the model based on a trigger from an external system.

What should you configure?



Answer : C


Question 5

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.



Answer : D

A managed identity is the appropriate credential model when an Azure-hosted workload requires centrally controlled, non-user authentication to another service that supports Microsoft Entra identities. Managed identities eliminate developer-managed credentials because Azure manages the identity lifecycle and obtains short-lived Microsoft Entra tokens at runtime. Microsoft explicitly identifies managed identities as a mechanism for Azure-hosted applications to authenticate without storing credentials, and Azure DevOps supports managed identities for secure automation and repository-related access.

This satisfies the key MLOps security requirement: authentication is associated with the workload rather than individual developers. Administrators can grant the identity only the required repository permissions, enforcing least privilege while centralizing authorization. Microsoft also recommends Microsoft Entra-based authentication over higher-risk PAT-based approaches for Azure Repos.

Option A spreads a reusable private credential among developers and creates unnecessary exposure. Option B still introduces a PAT that must be stored, protected, rotated, and revoked. Option C depends on individual interactive authentication and is unsuitable for reliable automated MLOps workflows. Microsoft documents managed identities and workload identities as approaches that eliminate persistent secrets and reduce credential-management overhead.

Study Guide Reference: Design and implement an MLOps infrastructure --- source-control integration, workload authentication, managed identities, least-privilege access, and credential management.


Question 6

A team is validating a generative AI assistant for a company. The assistant generates responses by using internal knowledge sources.

The company requires assurance that responses are accurate, supported by sources, and related to the user prompts before enabling production access.

You need to implement quality metrics that confirm the assistant produces reliable and meaningful responses.

Which two evaluation metrics should you use? Each correct answer presents part of the solution.



Answer : A, B

Groundedness and Relevance directly measure the two quality characteristics specified in the requirement.

Groundedness evaluates whether the generated response is supported by the supplied knowledge context rather than introducing unsupported or fabricated information. Microsoft Foundry defines the Groundedness evaluator as measuring how well a generated response aligns with the provided context without fabricating content. For an assistant that relies on internal knowledge sources, this is the primary metric for determining whether its claims are traceable to retrieved evidence.

Relevance evaluates whether the generated response actually addresses the user's query. Microsoft defines the Relevance evaluator as measuring how relevant the response is to the query, including whether it appropriately and accurately responds to the user's request. This detects responses that may be factually grounded yet tangential or insufficiently focused.

Harmfulness and Fairness are safety-oriented dimensions rather than measures of factual support or query alignment. Tone assesses communication characteristics but does not establish whether a response is supported by source material or relevant to the prompt.

Therefore, the required pair is Groundedness + Relevance.

Study Guide Reference: Implement generative AI quality assurance and observability --- Foundry quality evaluators, groundedness, relevance, RAG evaluation, and pre-production validation.


Question 7

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 with the default authentication settings. Deploy the model to the online endpoint.

Does the solution meet the goal?



Answer : B


Page:    1 / 14   
Total 187 questions