Courseiva

CCNA Generative Ai Quality Assurance And Observability Questions

30 questions · Generative Ai Quality Assurance And Observability topic · All types, answers revealed

1
Multi-Selecteasy

When configuring observability for an AI application, which TWO telemetry types should you collect to analyze both performance and quality?

Select 2 answers
A.Hard drive space
B.Content safety flags
C.User profile pictures
D.CPU temperature
E.Request latency
AnswersB, E

Content safety flags record whether prompts and completions triggered harm categories, giving the quality dimension of observability. Combined with latency for performance, they let you detect unsafe or degraded outputs alongside speed, satisfying the requirement to analyse both aspects.

Why this answer

Option B (Content safety flags) is correct because content safety flags are a quality-oriented telemetry signal that captures whether the AI application's generated or processed content violates safety policies, enabling analysis of output quality and responsible-AI compliance. Option E (Request latency) is correct because request latency is a core performance telemetry metric that measures the time taken to serve each request, allowing you to analyze responsiveness, throughput, and bottlenecks in the AI application. The remaining options do not belong: hard drive space (A) and CPU temperature (D) are infrastructure/host-level metrics that do not directly describe AI application performance or output quality, and user profile pictures (C) are user data with no telemetry value for performance or quality analysis.

Exam trap

AI-300 often tests the confusion between infrastructure health metrics (CPU, disk) and application-level telemetry, luring candidates toward host metrics when the question asks about performance and quality of the AI workload itself.

2
MCQeasy

You are monitoring an Azure OpenAI deployment and need to identify if a model is outputting content that violates safety policies. Which Azure AI Content Safety feature should you enable to categorize harmful content?

A.Azure Monitor Logs
B.Application Insights Profiler
C.Content Safety API text analysis
D.Prompt Flow Guardrails
AnswerC

Content Safety API text analysis returns severity scores across four harm categories — hate, violence, sexual and self-harm — directly satisfying the requirement to categorise violating output. Unlike prompt shields, which detect injection attacks, or groundedness detection, it classifies the model's generated content itself, enabling automated monitoring and filtering decisions.

Why this answer

The Content Safety service provides classification categories such as Hate, Self-Harm, Sexual, and Violence to filter model outputs.

3
MCQmedium

You are tracking LLM performance. Which metric is most critical to monitor if your cost-per-request is increasing unexpectedly?

A.Token usage
B.User satisfaction score
C.Latency
D.Model version ID
AnswerA

Token usage drives LLM billing directly, since providers charge per input and output token. Rising token counts from longer prompts, verbose responses or missing caching explain cost-per-request growth even when request volume is flat, making it the primary metric to monitor.

Why this answer

Token usage is the primary driver of LLM cost because most providers bill per input and output token. If cost-per-request rises unexpectedly, monitoring token usage reveals whether prompts, completions, or context windows have grown. This metric directly correlates with the billing unit, making it the most critical to track for cost anomalies.

Exam trap

AI-300 often tests the confusion between quality metrics (satisfaction) and cost metrics (token usage), or assumes latency drives cost when billing is actually token-based.

How to eliminate wrong answers

Option B is wrong because user satisfaction score measures quality perception, not cost, and has no direct relationship to per-request expenses. Option C is wrong because latency measures response time, which affects user experience but not the token-based billing that determines cost. Option D is wrong because model version ID is a static identifier; while different versions may have different pricing, it doesn't fluctuate per request and won't explain an unexpected cost increase.

4
MCQeasy

In an LLM evaluation workflow, what does the 'Coherence' metric measure?

A.The length of the response
B.The logical flow and structure of the output
C.The presence of offensive language
D.The factual accuracy of the answer
AnswerB

Coherence assesses whether sentences and ideas connect logically, producing a structured, readable response. This satisfies the stem's focus on the metric's definition within LLM evaluation, distinguishing it from fluency (grammatical smoothness) and relevance (alignment to the prompt). It measures organisation and logical progression across the output.

Why this answer

Coherence measures how well a model-generated answer makes sense and flows logically as a human-like response.

5
Multi-Selectmedium

You are setting up an evaluation suite for your LLM. Which THREE metrics are commonly provided by the 'Built-in' evaluators in Azure AI Prompt Flow?

Select 3 answers
A.Coherence
B.Groundedness
C.Relevance
D.Deployment cost
E.Training duration
AnswersA, B, C

Coherence assesses whether a generated response flows logically and reads naturally as a unified piece of text. It is a built-in evaluator in Azure AI Prompt Flow, satisfying the stem's requirement for commonly provided metrics.

Why this answer

Azure AI Prompt Flow's built-in evaluators include Coherence (A), which measures how logically and naturally the generated text flows; Groundedness (B), which checks whether the response is supported by the provided source/context; and Relevance (C), which assesses how well the answer addresses the user's question. These three are standard quality metrics exposed by the built-in evaluation flow for assessing LLM outputs. Deployment cost (D) is an operational/cost metric, not a built-in evaluator metric, and training duration (E) relates to model training rather than response evaluation, so neither belongs here.

Exam trap

AI-300 often tests whether candidates can distinguish output-quality evaluators (Coherence, Groundedness, Relevance) from operational metrics (cost, training duration) that sound like evaluation but are not built-in evaluators.

6
MCQmedium

You are designing a quality assurance gate for your model. If a model output has a 'Violence' score of 0.8 according to Azure AI Content Safety, what is the best practice to handle it?

A.Allow the output but log it as an error
B.Retrain the model immediately
C.Filter out the output and return a generic refusal
D.Ignore the score if the latency is high
AnswerC

A Violence score of 0.8 exceeds the default severity threshold, so the output should be blocked and a generic refusal returned, preventing harmful content reaching users. This satisfies the quality-assurance gate by enforcing content filtering at the model boundary.

Why this answer

A high score indicates a potential violation, and the output should be blocked or sanitized before reaching the end user.

7
MCQmedium

You want to evaluate how well your model adheres to specific brand guidelines. Which evaluation method is best suited for this?

A.Custom LLM-as-a-judge evaluation
B.Token usage threshold alert
C.Default coherence metric
D.Automated regression testing of code
AnswerA

A custom LLM-as-a-judge evaluation lets you supply your own grading prompt and criteria, so the judge scores responses against your specific brand guidelines. Built-in metrics measure generic qualities like coherence or fluency, which cannot encode bespoke brand rules.

Why this answer

Custom evaluation using a judge model (LLM-as-a-judge) configured with a rubric allows for checking specific style or brand compliance.

8
MCQmedium

You are auditing your model's safety logs and notice several 'jailbreak' attempts. Where can you find these logs in the Azure ecosystem?

A.Azure Key Vault
B.Log Analytics Workspace
C.Azure Resource Graph
D.Azure Active Directory
AnswerB

Jailbreak attempts against Azure OpenAI models surface as safety audit events, which are routed to a Log Analytics workspace through diagnostic settings. Querying that workspace lets you correlate the offending prompts, model deployments and caller identities, satisfying the audit requirement without enabling extra tooling.

Why this answer

Azure AI Content Safety and Azure OpenAI Service emit diagnostic logs—including jailbreak attempts detected by Prompt Shields—to Azure Monitor. These logs are stored in a Log Analytics workspace, where they can be queried with KQL (e.g., AzureDiagnostics | where Category == 'ContentSafety' or 'Jailbreak'). Log Analytics is the central repository for security and audit logs in Azure, making it the correct place to audit jailbreak attempts.

Exam trap

AI-300 often tests the distinction between services that store logs (Log Analytics) and those that store other artifacts (Key Vault for secrets, Resource Graph for resource metadata), so candidates must remember that safety and audit logs flow to Log Analytics.

How to eliminate wrong answers

Option A is wrong because Azure Key Vault stores secrets, keys, and certificates, not application or safety logs. Option C is wrong because Azure Resource Graph is a service for querying resource metadata and configuration across subscriptions, not for storing or analyzing runtime log data. Option D is wrong because Azure Active Directory (now Microsoft Entra ID) manages identities and access, not model safety logs; it does not capture jailbreak attempts.

9
MCQeasy

Which of the following is a key component of an observability strategy for Generative AI applications?

A.Hard-coding all model responses
B.Using only manual review processes
C.Monitoring both technical and quality metrics
D.Disabling logging to save costs
AnswerC

Observability for generative AI requires tracking operational signals such as latency, token usage and error rates alongside quality signals such as groundedness, relevance and safety scores. Monitoring both categories together satisfies the stem, since technical metrics alone cannot detect degraded or unsafe model output.

Why this answer

Observability requires tracking both technical metrics (latency, errors) and quality metrics (groundedness, safety).

10
Multi-Selectmedium

Which THREE tools in Azure can be used to monitor the health and performance of your GenAI infrastructure?

Select 3 answers
A.Azure Front Door
B.Azure Log Analytics
C.Azure Application Insights
D.Azure Monitor
E.Azure Active Directory
AnswersB, C, D

Azure Log Analytics satisfies the monitoring requirement by ingesting telemetry from your GenAI resources and exposing it through Kusto Query Language. It stores metrics and logs centrally, enabling alert rules and workbooks that surface latency, token consumption and error rates across the infrastructure.

Why this answer

Azure Log Analytics (B) is correct because it is the workspace-based service that ingests and queries telemetry such as logs and metrics from GenAI resources using Kusto Query Language (KQL), enabling health and performance analysis. Azure Application Insights (C) is correct because it provides application performance monitoring (APM) for GenAI apps, capturing request rates, latency, failures, dependency calls to model endpoints, and distributed traces. Azure Monitor (D) is correct because it is the umbrella monitoring platform that collects metrics, activity logs, and diagnostics, and drives alerts, dashboards, and autoscale for GenAI infrastructure.

Azure Front Door (A) is a global HTTP load balancer and CDN for web traffic, not a health/performance monitoring tool, and Azure Active Directory (E) is an identity and access management service, so neither belongs here.

Exam trap

AI-300 often tests whether candidates can distinguish observability tools (Monitor, Log Analytics, Application Insights) from adjacent services like Front Door (networking) and Entra ID (identity) that sound infrastructure-related but do not monitor health.

11
MCQeasy

When using Prompt Flow for GenAI, where should you store your evaluation results to visualize them over time?

A.GitHub repository
B.Azure Blob Storage
C.Azure Machine Learning workspace
D.Local file system
AnswerC

Prompt Flow logs evaluation runs and metrics into a linked Azure Machine Learning workspace, which persists results and provides run history. This lets you compare evaluation scores across runs over time, satisfying the requirement to visualise results longitudinally.

Why this answer

Prompt Flow logs evaluation runs to the Azure Machine Learning workspace, where they can be viewed in the Runs tab.

12
MCQmedium

You are evaluating an LLM application using Prompt Flow. You want to measure the 'Groundedness' of the model response relative to the retrieved context. Which evaluator should you configure?

A.Relevance evaluator
B.Groundedness evaluator
C.Coherence evaluator
D.Fluency evaluator
AnswerB

The Groundedness evaluator uses an LLM to judge whether the response's claims are supported by the retrieved context, scoring factual alignment. It satisfies the requirement to measure groundedness relative to the supplied context in Prompt Flow.

Why this answer

The Groundedness evaluator in Prompt Flow checks if the response is supported by the context provided.

13
MCQmedium

You want to automate the evaluation of your LLM application using a 'Golden Dataset'. What is the primary purpose of this dataset in an MLOps pipeline?

A.To increase the model training speed
B.To serve as a baseline for measuring performance improvements
C.To reduce the number of tokens used
D.To generate new prompts for users
AnswerB

A golden dataset holds curated input and expected-output pairs, giving fixed reference scores each pipeline run. This satisfies the automation requirement by detecting regressions or improvements against a stable baseline rather than comparing ad hoc outputs.

Why this answer

A Golden Dataset serves as the ground truth to compare model outputs against during automated evaluation runs.

14
Multi-Selectmedium

You are preparing a red teaming exercise for a generative AI application built with Azure AI Foundry. The goal is to systematically probe the application for harmful outputs and safety weaknesses before release. Which two activities are appropriate for a red teaming exercise? (Choose two.)

Select 2 answers
A.Calculating the BLEU score between model responses and a reference translation dataset.
B.Measuring the average token latency of the model across a representative production workload.
C.Crafting adversarial prompts that attempt to elicit prohibited content across categories such as violence, hate, and self-harm.
D.Reviewing the application's role-based access control assignments for the deployment resource.
E.Using the Azure AI Foundry Risk and Safety Evaluations to run automated adversarial prompt datasets against the model endpoint.
AnswersC, E

Red teaming is fundamentally an adversarial exercise in which testers deliberately attempt to bypass safety controls. Crafting adversarial prompts across multiple harm categories is a core activity that reveals how the application responds under hostile input. This aligns with the objective of systematically probing for harmful outputs before release.

Why this answer

Red teaming is an adversarial process that probes a generative AI application for safety weaknesses. Crafting adversarial prompts across harm categories and running automated adversarial prompt datasets through Azure AI Foundry risk and safety evaluations both directly test whether the application can be induced to produce harmful outputs. The other activities concern performance, access control, or text similarity and do not evaluate safety behavior.

Exam trap

The trap here is treating any quality or security measurement as red teaming, when red teaming specifically means adversarial probing for harmful model behavior.

15
MCQmedium

You are using Azure AI Studio to evaluate your model. Which tool allows you to perform batch testing on a large dataset of prompts?

A.Prompt Playground
B.Model catalog
C.Deployment logs
D.Evaluation tab
AnswerD

The Evaluation tab in Azure AI Studio runs batch evaluations across large prompt datasets, computing metrics such as groundedness, relevance and fluency. It satisfies the stem's requirement for batch testing at scale, unlike single-prompt playground interactions, by submitting the full dataset as one evaluation job and returning aggregated scores.

Why this answer

The Evaluation tab in Azure AI Studio (now Azure AI Foundry) provides batch evaluation capabilities, allowing you to run a model or prompt flow against a large dataset of prompts and compute metrics like groundedness, relevance, and fluency. This is the designated tool for batch testing at scale, as opposed to interactive testing in the playground.

Exam trap

The trap is confusing interactive testing surfaces (Prompt Playground) with batch evaluation; the exam expects you to know that large-scale dataset evaluation lives in the Evaluation tab, not the playground.

How to eliminate wrong answers

Option A is wrong because Prompt Playground is for interactive, single-prompt experimentation and does not run batch evaluations over large datasets. Option B is wrong because Model catalog is a discovery/browse surface for foundation models, not an evaluation tool. Option C is wrong because Deployment logs show runtime telemetry and request logs for a deployed endpoint, not batch evaluation results.

16
MCQhard

In an LLM pipeline, what is the primary risk of relying solely on automated 'Groundedness' evaluators?

A.They prevent the use of custom prompts
B.They always increase latency significantly
C.They require a permanent database connection
D.They may have false negatives and miss subtle hallucinations
AnswerD

Automated groundedness evaluators, often LLM-based, can return high scores for fluent but unsupported claims, so subtle hallucinations escape detection. This false-negative risk directly undermines the stem's constraint: relying solely on automation without human review or corroborating evidence leaves undetected inaccuracies in the pipeline.

Why this answer

Automated groundedness evaluators (such as the groundedness metric in Azure AI Foundry's evaluation SDK) compare model output against supplied context using a judge model, and that judge is itself probabilistic. Because the evaluator relies on an LLM or NLP model to decide whether a claim is supported, it can return a passing score for a subtly fabricated or misattributed statement. This means false negatives — undetected hallucinations — are an inherent limitation, so human review and complementary metrics (relevance, fluency, retrieval score) remain necessary.

Exam trap

AI-300 often tests the misconception that automated evaluators are deterministic ground truth, causing candidates to overlook that LLM-as-judge metrics can produce false negatives and miss subtle hallucinations.

How to eliminate wrong answers

Option A is wrong because groundedness evaluators are invoked programmatically and do not restrict or prevent the use of custom prompts — prompt design is entirely independent of the evaluation layer. Option B is wrong because while evaluation adds some compute cost, it does not 'always increase latency significantly' in the user-facing inference path; evaluations typically run offline or asynchronously on logged data. Option C is wrong because groundedness evaluation operates on the context and response pair passed to it and does not require a permanent database connection.

17
Multi-Selectmedium

Which TWO of the following are recommended methods for identifying 'hallucinations' in a RAG system?

Select 2 answers
A.Using an LLM-as-a-judge to compare against ground truth
B.Checking for grammatical errors
C.Comparing generated output against retrieval context
D.Measuring model response speed
E.Counting total prompt tokens
AnswersA, C

An LLM-as-a-judge compares the generated response against ground-truth reference answers, flagging unsupported or fabricated content as hallucination. This satisfies the stem's requirement by providing a scalable, automated assessment method rather than relying on manual review.

Why this answer

Option A is correct because using an LLM-as-a-judge to compare the generated answer against a known ground-truth reference is a standard evaluation technique for detecting hallucinations, as it directly assesses factual consistency and correctness of the output. Option C is correct because comparing the generated output against the retrieval context verifies whether the model's claims are actually grounded in the retrieved documents, which is the core definition of hallucination detection in RAG (faithfulness/groundedness checking). Option B is not appropriate because grammatical errors indicate fluency or language quality issues, not factual fabrication, and a hallucination can be perfectly grammatical.

Option D is not appropriate because response speed is a latency/performance metric and has no bearing on factual accuracy. Option E is not appropriate because counting prompt tokens measures input size and cost, not whether the generated content is factually supported.

18
MCQmedium

You are deploying a GenAI app to production and want to track the 'Token Usage' and 'Latency' metrics per user session. Which service should you integrate with your application?

A.Azure Application Insights
B.Azure Container Registry
C.Azure Key Vault
D.Azure Policy
E.Azure AI Search
AnswerA

Azure Application Insights captures custom telemetry such as token counts and latency, letting you attach per-session properties to each event. This satisfies the requirement to track Token Usage and Latency metrics per user session, since Application Insights supports custom metrics and dimensions that can be segmented by session identifier.

Why this answer

Azure Application Insights is the APM service that captures custom metrics, request telemetry, dependencies, and traces, making it the right place to track per-session Token Usage and Latency. You can emit custom metrics (e.g., 'tokens_used', 'latency_ms') tagged with a session ID and visualize them in workbooks or query them with KQL.

Exam trap

AI-300 often tests whether candidates can map observability needs (metrics, traces, exceptions) to the correct Azure service — Application Insights is the only APM option here, but distractors like Key Vault and AI Search sound 'AI-related' and lure candidates away.

How to eliminate wrong answers

Option B is wrong because Azure Container Registry stores container images and does not collect runtime metrics. Option C is wrong because Key Vault manages secrets and keys, not application telemetry. Option D is wrong because Azure Policy enforces governance rules on resources, not runtime performance tracking.

Option E is wrong because Azure AI Search is a search/vector index service, not a monitoring or metrics platform.

19
MCQhard

You are building a RAG application and notice that the model sometimes hallucinates information not present in the retrieved documents. Which evaluation metric should you prioritize to mitigate this?

A.Groundedness
B.Relevance
C.Performance
D.Fluency
AnswerA

Groundedness measures whether the model's response is factually supported by the retrieved source documents. Prioritising it directly targets hallucination, since low groundedness scores flag answers containing claims absent from the retrieved context, satisfying the mitigation requirement.

Why this answer

Groundedness specifically assesses whether the generated response is derived from the retrieved documents.

20
MCQhard

You want to measure 'Relevance' in a RAG application. The relevance evaluator detects how well the response answers the user query. If the model provides a factually correct answer that does not address the prompt, which metric will capture this failure?

A.Relevance
B.Fluency
C.Coherence
D.Groundedness
AnswerA

Relevance specifically measures whether the response directly addresses the user's query, independent of factual accuracy. A factually correct but off-topic answer scores poorly because the evaluator compares the response's intent against the prompt's intent, satisfying the stem's requirement to capture answers that fail to address the prompt.

Why this answer

Relevance specifically measures if the response directly addresses the user's intent.

21
Multi-Selecteasy

Which TWO metrics are most useful for evaluating the 'User Experience' in a conversational agent?

Select 2 answers
A.Relevance
B.Disk I/O speed
C.Latency
D.Model training loss
E.GPU voltage
AnswersA, C

Relevance measures whether responses actually address the user's question, a core driver of conversational satisfaction. Alongside coherence, it reflects perceived quality directly, making it a useful user experience metric rather than an internal system measure.

Why this answer

Relevance (A) is a core user-experience metric for a conversational agent because it measures whether the agent's responses actually address the user's intent, which directly determines perceived usefulness and satisfaction. Latency (C) is equally essential since response time governs conversational flow; high latency makes interactions feel sluggish and breaks the natural turn-taking users expect. Disk I/O speed (B) is an infrastructure metric that affects backend performance but is not a direct measure of how users experience the conversation.

Model training loss (D) is an offline optimization signal describing how well the model fits training data, not the quality of live interactions. GPU voltage (E) is a hardware-level electrical measurement with no bearing on conversational user experience.

22
Multi-Selectmedium

Which THREE actions are essential when managing a 'Golden Dataset' for LLM evaluation?

Select 3 answers
A.Versioning the dataset to track changes
B.Encrypting the data with public keys only
C.Deleting logs after each test run
D.Updating the dataset as model capabilities change
E.Curating high-quality prompt-response pairs
AnswersA, D, E

Versioning the golden dataset records each revision, so evaluation scores remain reproducible and comparable across runs. Without immutable version identifiers, a changed prompt-response set silently invalidates historical benchmarks, breaking the traceability that managing an evaluation dataset for LLMs demands.

Why this answer

Option A (Versioning the dataset to track changes) is correct because a golden dataset must be immutable and auditable, so semantic versioning or hashes (e.g., Git, DVC, or dataset version tags) let you reproduce evaluation results and correlate score changes with specific dataset revisions. Option D (Updating the dataset as model capabilities change) is correct because as models improve, static benchmarks saturate; curating harder or newly relevant cases (e.g., new task types, edge cases, or regressions) keeps the evaluation discriminative and aligned with current deployment goals. Option E (Curating high-quality prompt-response pairs) is correct because the golden dataset's reference answers must be accurate, unambiguous, and representative, typically validated by domain experts, since noisy or biased ground truth invalidates every metric computed against it.

Option B is not essential because encryption with public keys only is an asymmetric-encryption detail, not a dataset-management requirement; confidentiality is handled by access controls and, if needed, symmetric encryption or KMS. Option C is not essential because deleting logs after each test run destroys the audit trail and reproducibility evidence needed to compare runs and debug regressions.

Exam trap

AI-300 often tests whether candidates confuse golden-dataset hygiene (versioning, curation, updates) with generic security or logging practices that sound responsible but are not part of evaluation dataset management.

23
MCQhard

You need to detect 'jailbreak' attempts in your RAG application. You are implementing a custom evaluation pipeline. Which technique is most effective for identifying adversarial inputs designed to bypass system instructions?

A.Adversarial input classification using a dedicated judge model
B.Token usage tracking
C.Latency threshold monitoring
D.Semantic similarity scoring
AnswerA

A dedicated judge model trained to classify adversarial inputs detects manipulation attempts by pattern and intent, rather than relying on static keyword rules. This catches novel jailbreak phrasing designed to bypass system instructions, which signature-based filtering misses.

Why this answer

Adversarial evaluation using a 'jailbreak' detection model or prompt-based evaluation is the standard approach to identify bypass attempts.

24
MCQeasy

What is the primary function of a 'Prompt Template' in an Azure AI Prompt Flow?

A.To cache previous responses
B.To define the structure of the prompt with dynamic inputs
C.To perform load balancing
D.To automatically retrain the model
AnswerB

A prompt template holds the prompt text with placeholders that are substituted at runtime from flow inputs, letting one prompt serve varied data. This dynamic-input structure satisfies the reuse constraint, separating prompt design from the values supplied by earlier flow nodes.

Why this answer

A prompt template allows users to define the structure of the prompt while injecting dynamic variables.

25
MCQeasy

What is the primary benefit of 'Prompt Versioning' in an MLOps lifecycle?

A.It increases model training speed
B.It eliminates the need for evaluation
C.It automatically generates unit tests
D.It ensures reproducibility and enables easy rollbacks
AnswerD

Prompt versioning stores each prompt revision as an immutable, addressable artefact linked to its runs. This satisfies the reproducibility requirement by letting you re-execute a prior configuration exactly, and enables rollback to a known-good prompt when a new revision degrades output quality.

Why this answer

Prompt versioning ensures reproducibility by tracking changes to prompts over time, allowing you to revert to a previous version if a new prompt degrades performance. It also enables easy rollbacks, which is critical in MLOps for maintaining stable production systems. It does not directly affect training speed, evaluation necessity, or test generation.

Exam trap

AI-300 often tests the confusion between prompt versioning and model versioning, where candidates might think prompt versioning speeds up training or removes evaluation, but it is purely about managing prompt iterations for reproducibility.

How to eliminate wrong answers

Option A is wrong because prompt versioning does not influence model training speed; training is about model parameters and data, not prompt text. Option B is wrong because evaluation is still required to assess prompt effectiveness; versioning helps compare versions but does not eliminate the need for evaluation. Option C is wrong because prompt versioning does not automatically generate unit tests; it only manages prompt iterations, and tests must be written separately.

26
MCQhard

You are evaluating a retrieval-augmented generation (RAG) application that answers questions about internal HR policies. During a quality review, you discover that for some queries the model produces fluent, confident answers that are not supported by the retrieved policy documents. You need to add an automated evaluation that specifically detects whether the response is factually supported by the retrieved context. Which evaluator should you use?

A.Relevance evaluator
B.Fluency evaluator
C.Coherence evaluator
D.Groundedness evaluator
AnswerD

The Groundedness evaluator in Azure AI evaluation SDK is designed to determine whether the model's response is supported by the provided context. It compares the response against the retrieved documents and flags unsupported claims, which is exactly the failure mode you observed. Using it in your evaluation pipeline lets you quantify how often the model answers without contextual support.

Why this answer

Groundedness evaluation directly compares a model's response against the retrieved context to determine whether claims are supported. Because the observed problem is confident but unsupported answers, this evaluator targets the exact failure mode. Fluency, relevance, and coherence measure other quality dimensions and would not reliably flag responses that are well-written but not grounded in the source documents.

Exam trap

The trap here is confusing response quality with factual grounding, since a fluent and relevant answer can still be unsupported by the retrieved context.

27
MCQhard

Your team wants to perform 'Red Teaming' on your application. Which activity describes this process correctly?

A.Unit testing code snippets
B.Automated performance testing for latency
C.A/B testing two different model versions
D.Controlled adversarial testing to find safety and security gaps
AnswerD

Red teaming deliberately probes a deployed AI system with adversarial inputs to expose harmful outputs, prompt injection, jailbreaks and data leakage. This controlled adversarial testing directly satisfies the stem's requirement to identify safety and security gaps before real attackers exploit them.

Why this answer

Red Teaming involves adversarial testing to find edge cases, safety flaws, and security vulnerabilities.

28
Multi-Selecthard

When implementing LLM-as-a-judge for evaluation, which TWO factors can influence the reliability of your results?

Select 2 answers
A.The color of the application dashboard
B.The specific prompt instructions provided to the judge LLM
C.The number of tokens available in the workspace quota
D.The location of the storage account
E.The capability of the judge LLM
AnswersB, E

Prompt instructions directly shape the judge's scoring behaviour, so vague or leading rubrics produce inconsistent verdicts and bias scores toward surface features rather than the criteria being evaluated. Precise, anchored instructions with explicit scoring scales reduce this variance, satisfying the stem's reliability requirement for LLM-as-a-judge evaluation.

Why this answer

Option B is correct because the prompt instructions given to the judge LLM directly shape its evaluation criteria, rubric interpretation, and output format, so vague or biased instructions produce inconsistent, unreliable judgments. Option E is correct because the judge LLM's own capability—its reasoning ability, context window, training quality, and susceptibility to position or verbosity bias—bounds how accurately it can assess responses, making a weaker judge less reliable than a stronger one. Options A, C, and D do not belong: dashboard color is purely cosmetic, workspace token quota affects capacity/cost rather than judgment reliability, and storage account location affects latency, residency, and compliance but not the judge's evaluation quality.

Exam trap

AI-300 often tests whether candidates confuse operational/infrastructure factors (quota, region, dashboard) with the actual determinants of judge reliability — prompt design and judge model capability.

29
MCQeasy

You are building an evaluation pipeline for a generative AI application using the Azure AI evaluation SDK. You want to compare multiple model responses to the same question and obtain a numeric quality score for each response based on a defined criterion. Which evaluator type should you use when you need to score responses against a custom rubric that you define?

A.Custom evaluator
B.String comparison evaluator
C.Built-in AI-assisted evaluator
D.Performance and latency evaluator
AnswerA

The Azure AI evaluation SDK supports custom evaluators, which allow you to define your own scoring logic, including custom rubrics and prompts, and return a numeric score. When built-in evaluators do not match your specific criterion, a custom evaluator is the correct choice. It integrates into the same evaluation pipeline and produces scores you can compare across responses.

Why this answer

Custom evaluators in the Azure AI evaluation SDK let you define your own scoring logic and rubric, returning a numeric score that can be compared across responses. Built-in evaluators are tied to fixed quality dimensions, string comparison methods cannot interpret a rubric, and performance evaluators measure operational metrics rather than content quality. Therefore, a custom evaluator is the right choice when you need rubric-based scoring.

Exam trap

The trap here is assuming a built-in evaluator can be reconfigured for any criterion, when custom scoring requires a custom evaluator.

30
MCQmedium

You are the MLOps engineer for a customer support chatbot built on Azure OpenAI. Your team wants to continuously monitor the deployed model's responses for harmful content without storing the raw user prompts in your own database. You must implement a solution that evaluates every response in near real time, logs only the safety verdicts and severity scores, and raises an alert when severity exceeds a threshold. Which Azure service should you use to perform this evaluation?

A.Azure Monitor Application Insights custom events
B.Azure Machine Learning model data collector
C.Azure AI Content Safety
D.Azure AI Language Personally Identifiable Information detection
AnswerC

Azure AI Content Safety is a dedicated service that analyzes text or images for harmful categories such as hate, violence, self-harm, and sexual content, returning severity scores per category. It is designed for near real-time moderation of generative AI outputs, supports logging verdicts without persisting raw prompts, and integrates with Azure Monitor alerts. This directly satisfies the requirement to evaluate every response and alert on severity thresholds.

Why this answer

Azure AI Content Safety is purpose-built to analyze generative AI inputs and outputs for harmful categories, returning per-category severity scores in near real time. Because it evaluates content without requiring you to persist raw prompts, it satisfies both the privacy constraint and the monitoring requirement. Its severity scores can be routed to Azure Monitor to trigger alerts when thresholds are exceeded.

Exam trap

The trap here is assuming that a general telemetry or data-collection service can classify harmful content, when classification requires a purpose-built content safety service.

Ready to test yourself?

Try a timed practice session using only Generative Ai Quality Assurance And Observability questions.