Microsoft Machine Learning Operations Engineer Associate (AI-300) · 14% practice allocation

Microsoft AI-300: Implement generative AI quality assurance and observability Practice Questions

5 free sample questions from the Implement generative AI quality assurance and observability domain, with answers and explanations. The full AI-300 bank has 251 questions across 5 domains. Questions are scenario-based and written from the official Microsoft exam guide.

1.

A senior engineer at Northwind Traders is implementing distributed tracing for a multi-step agent in Azure AI Foundry that calls external APIs, a vector store, and a language model. She wants to identify exactly which step in the pipeline caused a 12-second latency spike for a specific user request. Which two capabilities should she use together to achieve this? (Select TWO)

  • A. Azure AI Foundry's built-in tracing with OpenTelemetry spans for each pipeline step✓ Correct
  • B. Azure Monitor Log Analytics workspace to query trace data by correlation ID✓ Correct
  • C. Azure AI Foundry token usage dashboard to filter by request timestamp
  • D. Azure Application Insights real-time metrics stream to view aggregate latency
  • E. Azure Policy to enforce tagging of each agent step with a cost center
Explanation

Azure AI Foundry supports OpenTelemetry-based tracing that emits spans for each step of a multi-agent pipeline. These traces are sent to a connected Azure Monitor / Log Analytics workspace, where they can be queried by correlation ID to pinpoint exactly which step introduced latency for a specific request. The token usage dashboard shows aggregate token metrics, not per-step trace data. Application Insights real-time metrics are aggregate, not per-request traces. Azure Policy is for governance, not tracing.

2.

A FinOps analyst at Lamna Healthcare wants to implement cost tracking for multiple Azure OpenAI model deployments consumed by different business units. Each business unit should see its own token consumption and estimated cost in Azure AI Foundry. Which two mechanisms should be configured to support this requirement? (Select TWO)

  • A. Enable token consumption metrics in Azure Monitor and create workbook views filtered by deployment name
  • B. Configure a single shared deployment and use custom request headers to identify the business unit in each API call
  • C. Tag Azure OpenAI deployments with business-unit cost center tags and use Azure Cost Management to filter spend by tag✓ Correct
  • D. Use separate Azure AI Foundry projects per business unit and associate each project with its own Azure OpenAI deployment✓ Correct
  • E. Set up a single Foundry hub with all deployments in one project and use role-based access control to restrict visibility
Explanation

Using separate Foundry projects per business unit provides natural isolation of token usage and cost data within the Foundry portal. Tagging deployments with cost center tags and filtering in Azure Cost Management is the standard FinOps practice for chargeback/showback across business units. Shared deployments with custom headers do not provide native per-unit cost breakdowns in Foundry or Cost Management. Azure Monitor workbooks can show metrics by deployment name but do not map to business-unit cost centers without tagging. Using a single project with RBAC restricts visibility but does not separate cost reporting.

3.

A DevOps engineer at Woodgrove Retail is implementing an automated evaluation workflow in Azure AI Foundry. She wants the pipeline to run every time new model output data is collected, score it using built-in AI quality evaluators, and store results for trend analysis. Which Azure AI Foundry capability should she use to schedule and orchestrate this recurring evaluation?

  • A. Azure Logic Apps with a custom HTTP connector to the Foundry REST API
  • B. Azure AI Foundry Evaluation Schedules with the Evaluation SDK✓ Correct
  • C. Azure Monitor alert rules configured to call the Foundry evaluation endpoint
  • D. Azure Machine Learning pipelines with a manual trigger step
Explanation

Azure AI Foundry supports scheduled evaluation runs through its Evaluation SDK and portal, enabling recurring automated workflows that score datasets with built-in evaluators and persist results to the project for trend analysis. Azure Logic Apps and Azure Monitor alert rules are not designed for orchestrating AI evaluation pipelines. Azure ML pipelines can orchestrate ML workflows but are not the native mechanism for Foundry evaluation scheduling.

4.

A developer at Tailwind Traders is building a test dataset for evaluating a question-answering application powered by Azure AI Foundry. The application retrieves context from a knowledge base and generates answers. Which three fields are required in the test dataset to enable built-in groundedness and relevance evaluations in Azure AI Foundry?

  • A. response — the model-generated answer✓ Correct
  • B. embedding — the vector representation of the query
  • C. query — the user's input question✓ Correct
  • D. context — the retrieved source documents passed to the model✓ Correct
  • E. ground_truth — the human-authored ideal answer
  • F. temperature — the sampling parameter used during generation
Explanation

Groundedness measures whether the response is supported by the context, and relevance measures whether the response addresses the query — both require 'query', 'response', and 'context'. 'ground_truth' is needed for similarity-based metrics (like F1 or exact match) but not for groundedness or relevance evaluations. 'embedding' and 'temperature' are runtime parameters, not test dataset fields required by these evaluators.

5.

An AI engineer at Wingtip Toys is designing a test dataset to evaluate a customer support chatbot powered by Azure OpenAI. The chatbot retrieves product information from a knowledge base before generating answers. The engineer wants to ensure the evaluation dataset accurately reflects real-world usage and enables measurement of groundedness. Which TWO elements are required in each test dataset record to support groundedness evaluation in Azure AI Foundry?

  • A. The user query (question) submitted to the chatbot✓ Correct
  • B. The retrieved context passages that were provided to the model✓ Correct
  • C. The model's token usage and response latency for each turn
  • D. The ground-truth answer written by a subject-matter expert
  • E. The system prompt used during model deployment
  • F. The embedding vector generated from the user query
Explanation

Groundedness measures whether the model's generated response is factually anchored in the retrieved context. To compute this metric, the evaluator needs (1) the user query so it understands what was asked, and (2) the retrieved context passages, because groundedness scoring compares the model output against those passages to detect unsupported claims. Token usage and latency (option C) are operational metrics unrelated to groundedness scoring. A ground-truth answer (option D) is needed for relevance or similarity metrics but is not required for groundedness, which focuses solely on whether the response is supported by the retrieved context. The system prompt (option E) is part of the pipeline configuration, not a per-record evaluation field. Embedding vectors (option F) are internal retrieval artifacts and are not used as inputs to the groundedness evaluator.

Test yourself across every AI-300 domain

The free AI-300 practice test mixes about 20 questions weighted like the exam. The full 251-question bank adds instant grading, flashcards and a timed mock exam.

Study this domain

Implement generative AI quality assurance and observability study guide (AI-300) →

Other AI-300 domains

← All Microsoft Machine Learning Operations Engineer Associate study resources