microsoft AI-300: Operationalizing Machine Learning and Generative AI Solutions · Practice questions

4. Implement generative AI quality assurance and observability Practice Questions

Review 10 sample questions with their correct answers and explanations. Sign up free to continue with the full topic quiz.

Sign up free for the full quiz

Question 1

Which approach debugs why a RAG answer cited the wrong document?

  1. Delete the index
  2. Inspect the trace for retrieved chunks and their scores — Correct
  3. Change the region
  4. Increase temperature

Correct answer

Inspect the trace for retrieved chunks and their scores

Explanation

Traces show retrieved content and ranking.

Question 2

A team wants to compare two prompt variants on the same dataset. What should they do?

  1. Run evaluations for each variant and compare metrics — Correct
  2. Use the prompt with the higher temperature
  3. Deploy both without measurement
  4. Choose the longer prompt, because longer prompts always produce better responses

Correct answer

Run evaluations for each variant and compare metrics

Explanation

Systematic comparison identifies better variants.

Question 3

Which approach tests a RAG app's changes before production?

  1. Check only cost
  2. Deploy to production and wait for customer feedback for several weeks before deciding
  3. Check only latency
  4. Run an evaluation dataset through the app and compare metrics with the baseline — Correct

Correct answer

Run an evaluation dataset through the app and compare metrics with the baseline

Explanation

Offline evaluation catches regressions.

Question 4

Which metric evaluates whether a generated answer is supported by the provided context?

  1. Latency
  2. Coherence
  3. Groundedness — Correct
  4. Fluency

Correct answer

Groundedness

Explanation

Groundedness checks support by source content.

Question 5

Which statement about evaluation thresholds in CI is correct?

  1. Thresholds must be 100%
  2. Thresholds replace monitoring
  3. The pipeline fails if metrics drop below defined thresholds — Correct
  4. Thresholds are only informational

Correct answer

The pipeline fails if metrics drop below defined thresholds

Explanation

Quality gates block regressions.

Question 6

Which metrics should be tracked to monitor generative app performance?

  1. DNS queries only
  2. Number of resource groups
  3. Latency, throughput and response times — Correct
  4. Disk IOPS of the storage account that holds the prompts

Correct answer

Latency, throughput and response times

Explanation

Performance metrics show responsiveness.

Question 7

Which statement about safety evaluation datasets is correct?

  1. Include adversarial prompts to test harmful content handling — Correct
  2. Include only friendly questions because adversarial prompts could damage the evaluator model
  3. Safety evaluation needs no data
  4. Use only production secrets

Correct answer

Include adversarial prompts to test harmful content handling

Explanation

Adversarial data reveals safety gaps.

Question 8

A team wants an evaluator to run on every pull request that changes prompts. Where should it run?

  1. Only on a developer's laptop after merging the change to the main branch
  2. In the content filter
  3. In the registry
  4. In a CI workflow (for example GitHub Actions) — Correct

Correct answer

In a CI workflow (for example GitHub Actions)

Explanation

CI pipelines automate quality gates.

Question 9

An evaluation dataset has columns 'question', 'context' and 'answer'. The evaluator expects 'query', 'context' and 'response'. What should you configure?

  1. Rename the evaluator so that its name matches the dataset's column names
  2. Increase temperature
  3. A column (data) mapping from dataset fields to evaluator inputs — Correct
  4. Change the model

Correct answer

A column (data) mapping from dataset fields to evaluator inputs

Explanation

Data mapping aligns dataset columns with evaluator parameters.

Question 10

Which signal helps detect that answer quality is degrading in production without labels?

  1. The total number of model deployments across all regions in the subscription
  2. Compute instance count
  3. Registry size
  4. Continuous AI-assisted evaluation of sampled traffic — Correct

Correct answer

Continuous AI-assisted evaluation of sampled traffic

Explanation

Reference-free evaluators score production responses.

Ready for the full quiz?

Create a free QuizAnalyst account to practice the complete question set and save your progress.

Sign up free for the full quiz