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

Microsoft AI-300: Optimize generative AI systems and model performance Practice Questions

5 free sample questions from the Optimize generative AI systems and model performance 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 team has completed fine-tuning a GPT-4o mini model on Azure OpenAI for a specialized internal HR assistant. They are now planning the model's production lifecycle. Which two practices should they implement to maintain model quality over time? (Select TWO)

  • A. Delete the fine-tuning dataset after training to reduce storage costs and privacy exposure
  • B. Establish a periodic retraining schedule using newly collected production data and updated examples✓ Correct
  • C. Increase the model's temperature setting in production to improve creative responses
  • D. Redeploy the same fine-tuned model indefinitely without monitoring since fine-tuning is a one-time improvement
  • E. Continuously monitor production outputs and collect user feedback to detect performance drift✓ Correct
Explanation

Monitoring production outputs (E) is essential for detecting drift as user behavior, language, and HR policies evolve over time. Periodic retraining with new data (B) ensures the model stays current with policy changes and new examples. Redeploying the same model indefinitely (D) ignores drift and policy changes, degrading quality over time. Deleting the fine-tuning dataset (A) prevents future retraining and auditing — the dataset should be archived securely, not deleted. Increasing temperature (C) makes outputs less consistent and is unrelated to maintaining fine-tuned model quality.

2.

An AI engineer is preparing a synthetic dataset to fine-tune a language model for an insurance claims assistant. The team uses an LLM to generate 5,000 question-answer pairs from policy documents. Before using this data for fine-tuning, which TWO validation steps are most critical to ensure data quality and avoid model degradation? (Select TWO.)

  • A. Verify that generated answers are grounded in the source policy documents and do not contain hallucinated policy terms✓ Correct
  • B. Convert all examples to a single consistent token length by padding shorter examples
  • C. Deduplicate near-identical examples to prevent the model from overfitting to repeated patterns
  • D. Ensure the dataset contains at least 50% negative examples where the model should refuse to answer
  • E. Review a statistically significant sample of examples with domain experts to catch factual errors specific to insurance✓ Correct
Explanation

Option A (grounding verification) is critical because LLM-generated answers can hallucinate policy terms, which would teach the fine-tuned model incorrect facts. Option E (domain expert review) catches domain-specific inaccuracies an automated check might miss. Together, these ensure factual accuracy. Option D is not a general requirement — most QA datasets do not need 50% refusals, and forcing this ratio would distort the model's behavior. Option B (padding to uniform length) is unnecessary and can actually harm training by introducing meaningless tokens. Option C (deduplication) is a good practice but is secondary to factual accuracy for preventing model degradation from wrong information.

3.

An enterprise AI team is preparing a synthetic dataset for fine-tuning a customer-facing insurance chatbot. A compliance officer requires that all synthetic training examples be traceable to approved source documents and that no fabricated policy details appear in training data. Which three practices should the team implement to satisfy this requirement? (Select THREE)

  • A. Generate synthetic Q&A pairs by conditioning the generation model on specific approved source document excerpts✓ Correct
  • B. Include a metadata field in each training example linking it to the source document ID it was derived from✓ Correct
  • C. Use a factual consistency checker (e.g., NLI-based) to validate that synthetic answers are entailed by source documents before inclusion✓ Correct
  • D. Generate synthetic examples freely using the model's parametric knowledge without grounding to source documents
  • E. Shuffle the synthetic dataset randomly to avoid any link between examples and source documents
  • F. Use a human review checkpoint where compliance staff approve a sample of synthetic examples before training
Explanation

Conditioning generation on approved source excerpts (A) ensures outputs are grounded in approved content. Metadata linking to source documents (B) provides traceability required by compliance. Factual consistency checking (C) validates that no fabricated details slipped through generation. Using parametric knowledge without grounding (D) is exactly what compliance wants to prevent — fabricated policy details would appear. Shuffling to remove source links (E) would destroy traceability, violating the requirement. Human review alone (F) is valuable but is not listed among the three most systematic, scalable practices; the three selected together provide automated + structural compliance.

4.

An enterprise AI team is deploying a fine-tuned Azure OpenAI model for a regulated financial advisory application. Before moving from staging to production, they must satisfy THREE conditions: the model must meet accuracy thresholds on held-out evaluation data, it must pass safety/content policy checks, and it must have a documented rollback plan. Which deployment practice on Azure OpenAI best addresses all three requirements? (Select THREE.)

  • A. Deploy the new model as the sole endpoint immediately to simplify traffic routing
  • B. Deploy directly to production and rely on user feedback collected over the first 30 days to validate accuracy
  • C. Run Azure AI Content Safety evaluation on the fine-tuned model's outputs using adversarial test prompts to verify content policy compliance✓ Correct
  • D. Increase the fine-tuning dataset size by 10x and retrain as a precaution before every production deployment
  • E. Document a rollback procedure that identifies the previous production deployment and defines the conditions and steps to revert if production metrics degrade✓ Correct
  • F. Run the fine-tuned model against a held-out golden evaluation dataset and confirm it meets the defined accuracy and quality metric thresholds before promotion✓ Correct
Explanation

Option F (held-out evaluation against accuracy thresholds) satisfies the accuracy requirement with a controlled pre-deployment gate. Option C (content safety evaluation with adversarial prompts) satisfies the safety/content policy requirement by stress-testing the model before it serves real users. Option E (documented rollback plan) satisfies the third requirement by ensuring the team can revert quickly if production issues arise. Option B (relying on production user feedback) is insufficient for a regulated application — accuracy must be validated before deployment, not after. Option D (10x dataset retraining before every deployment) is not a deployment lifecycle practice; it is a training decision and would be prohibitively expensive. Option A (sole endpoint immediately) eliminates the ability to perform safe staged rollouts and removes the option for easy rollback.

5.

An AI engineer is evaluating a RAG system for a customer support chatbot. They want to measure how well the retrieved chunks actually support the generated answer. Which evaluation metric is specifically designed to measure this relationship?

  • A. Answer relevance, which measures whether the generated answer addresses the user's question.
  • B. Groundedness (faithfulness), which measures whether the generated answer is supported by the retrieved context.✓ Correct
  • C. Context recall, which measures whether the retrieved context contains all information needed to answer the question.
  • D. BLEU score, which measures n-gram overlap between the generated answer and a reference answer.
Explanation

Groundedness (also called faithfulness) specifically measures whether each claim in the generated answer is supported by the retrieved passages—directly capturing the relationship between the retrieved context and the output. Option A (answer relevance) measures alignment between the answer and the query, not between the answer and retrieved chunks. Option C (context recall) measures coverage of the retrieved chunks relative to a ground-truth answer, not whether the model used them faithfully. Option D (BLEU) is a surface-form n-gram metric that does not assess source attribution or factual grounding at all.

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

Optimize generative AI systems and model performance study guide (AI-300) →

Other AI-300 domains

← All Microsoft Machine Learning Operations Engineer Associate study resources