Certified Generative AI Engineer Associate Practice Test 35
Question 340
The team observes this failure in a GenAI application: Only final output is logged so engineers cannot diagnose retrieval versus generation. After implementing the fix to Capture MLflow retriever and LLM spans and apply groundedness scorers, which measurement or test most directly demonstrates success?
- Selected model clears safety and correctness gates at sustainable cost
- Incident trace reconstructs endpoint version and tool error for sampled request
- Reviewers identify the wrong source chunk and reproduce failure
- Abusive burst is throttled and other tenant traffic remains within SLO
Explanation
Correct Answer
C:Reviewers identify the wrong source chunk and reproduce failure. This specifically validates the remediation to Capture MLflow retriever and LLM spans and apply groundedness scorers for the failure that Only final output is logged so engineers cannot diagnose retrieval versus generation. Traces connect observed errors to intermediate model and tool activity. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Selected model clears safety and correctness gates at sustainable cost” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Reviewers identify the wrong source chunk and reproduce failure”: Traces connect observed errors to intermediate model and tool activity.
B:“Incident trace reconstructs endpoint version and tool error for sampled request” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Reviewers identify the wrong source chunk and reproduce failure”: Traces connect observed errors to intermediate model and tool activity.
D:“Abusive burst is throttled and other tenant traffic remains within SLO” is associated with this technical property: Gateway controls can govern resource consumption across model invocations. The question instead turns on “Reviewers identify the wrong source chunk and reproduce failure”: Traces connect observed errors to intermediate model and tool activity.
Question 341
An application intended to satisfy this requirement, The RAG prompt is changed to produce shorter answers before business release, instead experiences: Change is promoted without checking citations and completeness. Which targeted engineering correction resolves this failure?
- Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper
- Choose a stable unique primary key and valid text/embedding fields for the index
- Gate prompt promotion on fixed accuracy, completeness, safety and cost tests
- Use approved Slack integration with channel allowlists and action confirmation
Explanation
Correct Answer
C:Gate prompt promotion on fixed accuracy, completeness, safety and cost tests targets the observed failure: Change is promoted without checking citations and completeness. Prompt changes can alter functional correctness and require quality control. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that The new version meets release criteria or is rejected with recorded metrics.
Incorrect Answers
A:“Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper” is associated with this technical property: A serving wrapper should enforce a stable input contract independent of model behavior. The question instead turns on “Gate prompt promotion on fixed accuracy, completeness, safety and cost tests”: Prompt changes can alter functional correctness and require quality control.
B:“Choose a stable unique primary key and valid text/embedding fields for the index” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Gate prompt promotion on fixed accuracy, completeness, safety and cost tests”: Prompt changes can alter functional correctness and require quality control.
D:“Use approved Slack integration with channel allowlists and action confirmation” is associated with this technical property: User-interface integration requires target validation and side-effect controls. The question instead turns on “Gate prompt promotion on fixed accuracy, completeness, safety and cost tests”: Prompt changes can alter functional correctness and require quality control.
Question 342
A Databricks generative AI team is designing a solution with this requirement: An index mixes published and embargoed customer documents. Which engineering approach should it select first?
- Store short-lived workflow state separately from approved persistent preferences
- Apply authorized metadata or row-level eligibility filters before returning results
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Grant serving endpoint invocation only to approved service principals and groups
Explanation
Correct Answer
B:Apply authorized metadata or row-level eligibility filters before returning results directly addresses the described Databricks GenAI architecture: An index mixes published and embargoed customer documents. Similarity score is not authorization or publication status. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized query retrieves only approved documents even when excluded items are semantically closer.
Incorrect Answers
A:“Store short-lived workflow state separately from approved persistent preferences” is associated with this technical property: Different memory lifetimes require different access, consent and deletion controls. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
C:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
D:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “Apply authorized metadata or row-level eligibility filters before returning results”: Similarity score is not authorization or publication status.
Question 343
For the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget, the team proposes this change: Reduce excessive overlap while checking boundary-question recall. Which technical principle explains why it is appropriate?
- Hierarchical retrieval combines search granularity with coherent generation context
- Redundant retrieval reduces useful evidence diversity under a token budget
- Lexical exact matching complements dense retrieval for precise tokens
- Overlap trades continuity against duplication, latency and storage footprint
Explanation
Correct Answer
D:Overlap trades continuity against duplication, latency and storage footprint. The proposed engineering step is to Reduce excessive overlap while checking boundary-question recall. It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget. The operational test is that Index count falls and boundary reference questions remain answerable. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Hierarchical retrieval combines search granularity with coherent generation context” is associated with this technical property: It directly supports the requirement that A lengthy engineering manual has chapters, headings and steps. The question instead turns on “Overlap trades continuity against duplication, latency and storage footprint”: It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget.
B:“Redundant retrieval reduces useful evidence diversity under a token budget” is associated with this technical property: It directly supports the requirement that An incident knowledge index retrieves repeated overlapping paragraphs. The question instead turns on “Overlap trades continuity against duplication, latency and storage footprint”: It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget.
C:“Lexical exact matching complements dense retrieval for precise tokens” is associated with this technical property: It directly supports the requirement that Error-code questions include precise strings absent from semantic synonyms. The question instead turns on “Overlap trades continuity against duplication, latency and storage footprint”: It directly supports the requirement that A corpus produces too many nearly identical chunks and index cost exceeds budget.
Question 344
A Databricks generative AI team is designing a solution with this requirement: An application depends on a particular foundation model endpoint whose quota may be exhausted. Which engineering approach should it select first?
- Gate prompt promotion on fixed accuracy, completeness, safety and cost tests
- Track prompt versions and promote with a stable alias after evaluation
- Choose a stable unique primary key and valid text/embedding fields for the index
- Implement approved retry, quota handling and optional validated alternative model path
Explanation
Correct Answer
D:Implement approved retry, quota handling and optional validated alternative model path directly addresses the described Databricks GenAI architecture: An application depends on a particular foundation model endpoint whose quota may be exhausted. Inference service reliability requires explicit rate-limit and failure controls. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Controlled rate-limit tests return bounded failures or qualified fallback responses.
Incorrect Answers
A:“Gate prompt promotion on fixed accuracy, completeness, safety and cost tests” is associated with this technical property: Prompt changes can alter functional correctness and require quality control. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
B:“Track prompt versions and promote with a stable alias after evaluation” is associated with this technical property: Versioned prompts support audit, repeatability and rollback. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
C:“Choose a stable unique primary key and valid text/embedding fields for the index” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Implement approved retry, quota handling and optional validated alternative model path”: Inference service reliability requires explicit rate-limit and failure controls.
Question 345
An application intended to satisfy this requirement, A complaint about incomplete answers is reported but never reaches benchmark, instead experiences: Team repeats old tests without incorporating reviewed failure examples. Which targeted engineering correction resolves this failure?
- Instrument MLflow traces across retriever, tools and model spans
- Convert adjudicated production failures into regression and evaluation cases
- Resolve follow-up reference against authorized conversation state before tool call
- Use a retriever abstraction around the approved vector search implementation
Explanation
Correct Answer
B:Convert adjudicated production failures into regression and evaluation cases targets the observed failure: Team repeats old tests without incorporating reviewed failure examples. Monitoring observations should feed iterative development evaluation. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that New test case fails old version and passes revised version.
Incorrect Answers
A:“Instrument MLflow traces across retriever, tools and model spans” is associated with this technical property: End-to-end traces reveal which step failed and support reproducible evaluation. The question instead turns on “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
C:“Resolve follow-up reference against authorized conversation state before tool call” is associated with this technical property: Coreference resolution should preserve scoped intent and entity continuity. The question instead turns on “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
D:“Use a retriever abstraction around the approved vector search implementation” is associated with this technical property: Separating retrieval contract from storage implementation reduces migration coupling. The question instead turns on “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
Question 346
An engineering review considers a safeguard for this situation: Four subject experts grade the same RAG answer very differently. The proposed action is: Define shared scoring rubric, run calibration rounds and resolve large disagreements. Which observed failure most strongly justifies that action?
- Team averages disagreement into a misleading quality benchmark
- Only overall cloud bill is recorded and individual agents cannot be compared
- Generic evaluation rewards fluent external knowledge without source evidence
- Semantic similarity judges overlook a single wrong identifier
Explanation
Correct Answer
A:Team averages disagreement into a misleading quality benchmark. This observation motivates the specific control to Define shared scoring rubric, run calibration rounds and resolve large disagreements. Human judgments need inter-rater consistency for reliable model comparisons. The follow-up evidence would be: Repeat scoring shows improved agreement and adjudicated benchmark cases. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Only overall cloud bill is recorded and individual agents cannot be compared” is associated with this technical property: This observation motivates the specific control to Use AI Gateway usage telemetry with endpoint/team attribution. The question instead turns on “Team averages disagreement into a misleading quality benchmark”: This observation motivates the specific control to Define shared scoring rubric, run calibration rounds and resolve large disagreements.
C:“Generic evaluation rewards fluent external knowledge without source evidence” is associated with this technical property: This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers. The question instead turns on “Team averages disagreement into a misleading quality benchmark”: This observation motivates the specific control to Define shared scoring rubric, run calibration rounds and resolve large disagreements.
D:“Semantic similarity judges overlook a single wrong identifier” is associated with this technical property: This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats. The question instead turns on “Team averages disagreement into a misleading quality benchmark”: This observation motivates the specific control to Define shared scoring rubric, run calibration rounds and resolve large disagreements.
Question 347
A Databricks generative AI team is designing a solution with this requirement: An operations agent must answer questions requiring aggregations over governed BI tables. Which engineering approach should it select first?
- Score factual support against retrieved passages and flag unsupported claims
- Evaluate a multilingual embedding model with paired multilingual query set
- Choose vision-capable processing or OCR extraction before text model use
- Route authorized structured questions to a governed Genie Space or conversational API
Explanation
Correct Answer
D:Route authorized structured questions to a governed Genie Space or conversational API directly addresses the described Databricks GenAI architecture: An operations agent must answer questions requiring aggregations over governed BI tables. Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Agent trace shows permitted query and correct aggregated figures.
Incorrect Answers
A:“Score factual support against retrieved passages and flag unsupported claims” is associated with this technical property: Fluency is not evidence of grounded correctness. The question instead turns on “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
B:“Evaluate a multilingual embedding model with paired multilingual query set” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
C:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
Question 348
An application intended to satisfy this requirement, Contracts have headings, numbered clauses and definitions referenced together, instead experiences: Fixed character splits sever clause conditions from their headings. Which targeted engineering correction resolves this failure?
- Chunk along semantic boundaries, carrying heading metadata into retrieval
- Remove irrelevant repeated chrome before chunking and index creation
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
- Use stable document and chunk IDs with change detection and Delta merge semantics
Explanation
Correct Answer
A:Chunk along semantic boundaries, carrying heading metadata into retrieval targets the observed failure: Fixed character splits sever clause conditions from their headings. Structure-aware chunking preserves context and filters better than indiscriminate splitting. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Test queries retrieve full clause meaning with original heading metadata.
Incorrect Answers
B:“Remove irrelevant repeated chrome before chunking and index creation” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
C:“Combine keyword and semantic retrieval, then optionally rerank shortlisted results” is associated with this technical property: Lexical exact matching complements dense retrieval for precise tokens. The question instead turns on “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
D:“Use stable document and chunk IDs with change detection and Delta merge semantics” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
Question 349
An engineering review considers a safeguard for this situation: Operators want to connect individual serving failures to the model version and response. The proposed action is: Enable governed inference tables and correlate request IDs with MLflow traces. Which observed failure most strongly justifies that action?
- Costs rise despite stable source documents and no personalization need
- Team picks the highest score without checking a minimum viable quality target
- Overall mean hides severe unauthorized transaction advice from one model
- Aggregate usage table loses per-request debugging context
Explanation
Correct Answer
D:Aggregate usage table loses per-request debugging context. This observation motivates the specific control to Enable governed inference tables and correlate request IDs with MLflow traces. Request-level observability supports diagnosis while usage aggregates support planning. The follow-up evidence would be: Incident trace reconstructs endpoint version and tool error for sampled request. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Costs rise despite stable source documents and no personalization need” is associated with this technical property: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation. The question instead turns on “Aggregate usage table loses per-request debugging context”: This observation motivates the specific control to Enable governed inference tables and correlate request IDs with MLflow traces.
B:“Team picks the highest score without checking a minimum viable quality target” is associated with this technical property: This observation motivates the specific control to Compare per-slice quality, token cost and latency against release thresholds. The question instead turns on “Aggregate usage table loses per-request debugging context”: This observation motivates the specific control to Enable governed inference tables and correlate request IDs with MLflow traces.
C:“Overall mean hides severe unauthorized transaction advice from one model” is associated with this technical property: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits. The question instead turns on “Aggregate usage table loses per-request debugging context”: This observation motivates the specific control to Enable governed inference tables and correlate request IDs with MLflow traces.
Question 350
For the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval, the team proposes this change: Evaluate coverage of all required reference facts with a checklist or calibrated scorer. Which technical principle explains why it is appropriate?
- Production monitoring detects data shifts missed by one-time release tests
- Data minimization applies to model outputs as well as retrieval
- Correctness and completeness are separate response quality dimensions
- Structured analytics should be traceable to actual authorized data access
Explanation
Correct Answer
C:Correctness and completeness are separate response quality dimensions. The proposed engineering step is to Evaluate coverage of all required reference facts with a checklist or calibrated scorer. It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval. The operational test is that Multi-clause test cases detect missing mandatory steps and trigger remediation. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Production monitoring detects data shifts missed by one-time release tests” is associated with this technical property: It directly supports the requirement that An approved assistant's answers degrade after policies change in production. The question instead turns on “Correctness and completeness are separate response quality dimensions”: It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval.
B:“Data minimization applies to model outputs as well as retrieval” is associated with this technical property: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing. The question instead turns on “Correctness and completeness are separate response quality dimensions”: It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval.
D:“Structured analytics should be traceable to actual authorized data access” is associated with this technical property: It directly supports the requirement that A finance user asks for actual spend across departments. The question instead turns on “Correctness and completeness are separate response quality dimensions”: It directly supports the requirement that A compliance assistant cites one correct requirement but omits a second mandatory approval.