Courseiva

CCNA Generative Ai Quality Assurance And Observability Questions

27 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

Essential quality metric.

Why this answer

Performance metrics (latency) and quality/safety flags are essential for observability.

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

The Content Safety API allows for scanning text against predefined safety categories.

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 consumption is the primary driver of costs.

Why this answer

Token usage directly correlates with cost in most LLM provider pricing models.

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 is specifically about the logical quality of 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

Built-in metric.

Why this answer

The standard built-in metrics in Prompt Flow include Groundedness, Relevance, and Coherence.

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

Blocking unsafe content is the industry standard for content safety.

Why this answer

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

7
Multi-Selecthard

When designing a content safety policy, which THREE categories are explicitly supported by the Azure AI Content Safety API?

Select 3 answers
A.Sexual
B.Hate
C.Political bias
D.Self-Harm
E.Code syntax errors
AnswersA, B, D

Supported category.

Why this answer

Azure AI Content Safety supports Hate, Sexual, Violence, and Self-Harm categories.

8
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 evaluator can be prompted to check for specific brand style guidelines.

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.

9
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

Log Analytics stores the data captured by Content Safety for auditing.

Why this answer

Azure AI Content Safety logs, when integrated with Azure Monitor/Log Analytics, allow for auditing and analysis of safety events.

10
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

Comprehensive observability covers both system health and output quality.

Why this answer

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

11
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

Standard for log aggregation.

Why this answer

Application Insights, Log Analytics, and Azure Monitor are core observability tools.

12
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

The workspace provides the infrastructure for run tracking and analysis.

Why this answer

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

13
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

Groundedness specifically measures factual consistency with source context.

Why this answer

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

14
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

Comparing current outputs against a verified set allows for regression testing.

Why this answer

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

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 is designed for batch testing and scoring.

Why this answer

The 'Evaluation' feature in Azure AI Studio allows for running batch tests using built-in metrics.

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

No automated evaluator is perfect; it can miss complex or subtle hallucinations.

Why this answer

Automated evaluators (LLM-as-a-judge) may have their own biases or may incorrectly classify outputs, leading to false negatives/positives.

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

Comparing against a reference answer is a standard approach.

Why this answer

Comparing output to source context (groundedness) and using a reference-based evaluation are standard methods.

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

Application Insights allows custom tracking of request duration and metadata.

Why this answer

Application Insights is the standard observability tool for Azure, enabling custom event tracking for tokens and latency.

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 verifies the response is based on the source context.

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 measures the alignment of the answer to the question.

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

An irrelevant answer is a poor user experience.

Why this answer

Latency and the quality of the answer (Relevance) are the primary drivers of user satisfaction.

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 ensures reproducibility.

Why this answer

Curating high-quality data, versioning it, and periodically updating it are key management activities.

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

Using a judge model to classify prompt intent is the recommended approach for detecting jailbreaks.

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

Templates provide a repeatable structure for LLM interaction.

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

Versioning ensures you can track which prompt produced which output.

Why this answer

Versioning prompts allows for tracking changes, reverting to previous versions, and comparing performance over time.

26
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 is specifically about finding vulnerabilities through adversarial simulation.

Why this answer

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

27
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

The judge's system prompt dictates evaluation logic.

Why this answer

The choice of judge model and the design of the system prompt for the judge significantly impact the result quality.

Ready to test yourself?

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