Certified Generative AI Engineer Associate Practice Test 9
Question 80
The team observes this failure in a GenAI application: Source rows have duplicate IDs and updates replace the wrong indexed record. After implementing the fix to Choose a stable unique primary key and valid text/embedding fields for the index, which measurement or test most directly demonstrates success?
- Short-lived task state expires and verified preference remains only under policy
- Chosen design meets measured throughput and p95 response targets at expected scale
- Index queries return distinct expected records and change updates affect only intended ID
- Smoke tests retrieve newly approved documents before production traffic switch
Explanation
Correct Answer
C:Index queries return distinct expected records and change updates affect only intended ID. This specifically validates the remediation to Choose a stable unique primary key and valid text/embedding fields for the index for the failure that Source rows have duplicate IDs and updates replace the wrong indexed record. A vector index needs consistent row identity to synchronize source mutations. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Short-lived task state expires and verified preference remains only under policy” is associated with this technical property: Different memory lifetimes require different access, consent and deletion controls. The question instead turns on “Index queries return distinct expected records and change updates affect only intended ID”: A vector index needs consistent row identity to synchronize source mutations.
B:“Chosen design meets measured throughput and p95 response targets at expected scale” is associated with this technical property: Index architecture is a workload tradeoff, not solely a storage-price decision. The question instead turns on “Index queries return distinct expected records and change updates affect only intended ID”: A vector index needs consistent row identity to synchronize source mutations.
D:“Smoke tests retrieve newly approved documents before production traffic switch” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Index queries return distinct expected records and change updates affect only intended ID”: A vector index needs consistent row identity to synchronize source mutations.
Question 81
A Databricks generative AI team is designing a solution with this requirement: A multi-turn agent must recover an in-progress task after a server restart. Which engineering approach should it select first?
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Persist scoped state in an approved durable datastore with expiry and access policy
- Configure supported sync/refresh behavior and verify index freshness
- Select batch SQL inference with controlled data volume and validation
Explanation
Correct Answer
B:Persist scoped state in an approved durable datastore with expiry and access policy directly addresses the described Databricks GenAI architecture: A multi-turn agent must recover an in-progress task after a server restart. Durable application memory needs storage and governance beyond model context. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized user resumes task after restart; another user cannot read the session.
Incorrect Answers
A:“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 “Persist scoped state in an approved durable datastore with expiry and access policy”: Durable application memory needs storage and governance beyond model context.
C:“Configure supported sync/refresh behavior and verify index freshness” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Persist scoped state in an approved durable datastore with expiry and access policy”: Durable application memory needs storage and governance beyond model context.
D:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Persist scoped state in an approved durable datastore with expiry and access policy”: Durable application memory needs storage and governance beyond model context.
Question 82
The team observes this failure in a GenAI application: The model answers with the general rule and misses the required exception. After implementing the fix to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures, which measurement or test most directly demonstrates success?
- API rejects unapproved write calls regardless of model phrasing
- Exception questions retrieve both base rule and exception while latency remains within budget
- A specific failed evaluation is replayable from recorded artifacts
- Adversarial documents fail to redirect tools or disclose restricted content
Explanation
Correct Answer
B:Exception questions retrieve both base rule and exception while latency remains within budget. This specifically validates the remediation to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures for the failure that The model answers with the general rule and misses the required exception. Chunk size and parent context should be tuned against grounded-answer error patterns. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“API rejects unapproved write calls regardless of model phrasing” is associated with this technical property: Authorization enforced at tools cannot be bypassed by generated text. The question instead turns on “Exception questions retrieve both base rule and exception while latency remains within budget”: Chunk size and parent context should be tuned against grounded-answer error patterns.
C:“A specific failed evaluation is replayable from recorded artifacts” is associated with this technical property: Reproducibility requires linking outputs to immutable evaluated versions. The question instead turns on “Exception questions retrieve both base rule and exception while latency remains within budget”: Chunk size and parent context should be tuned against grounded-answer error patterns.
D:“Adversarial documents fail to redirect tools or disclose restricted content” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “Exception questions retrieve both base rule and exception while latency remains within budget”: Chunk size and parent context should be tuned against grounded-answer error patterns.
Question 83
For the requirement that A Delta table holds product descriptions and needs a searchable embedding index, the team proposes this change: Choose a stable unique primary key and valid text/embedding fields for the index. Which technical principle explains why it is appropriate?
- Inference endpoint permissions should reflect least privilege and source sensitivity
- Prompt changes can alter functional correctness and require quality control
- A vector index needs consistent row identity to synchronize source mutations
- A chain release depends on compatible data and index readiness
Explanation
Correct Answer
C:A vector index needs consistent row identity to synchronize source mutations. The proposed engineering step is to Choose a stable unique primary key and valid text/embedding fields for the index. It directly supports the requirement that A Delta table holds product descriptions and needs a searchable embedding index. The operational test is that Index queries return distinct expected records and change updates affect only intended ID. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Inference endpoint permissions should reflect least privilege and source sensitivity” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “A vector index needs consistent row identity to synchronize source mutations”: It directly supports the requirement that A Delta table holds product descriptions and needs a searchable embedding index.
B:“Prompt changes can alter functional correctness and require quality control” is associated with this technical property: It directly supports the requirement that The RAG prompt is changed to produce shorter answers before business release. The question instead turns on “A vector index needs consistent row identity to synchronize source mutations”: It directly supports the requirement that A Delta table holds product descriptions and needs a searchable embedding index.
D:“A chain release depends on compatible data and index readiness” is associated with this technical property: It directly supports the requirement that A production retriever depends on a Delta sync index updated with the corpus. The question instead turns on “A vector index needs consistent row identity to synchronize source mutations”: It directly supports the requirement that A Delta table holds product descriptions and needs a searchable embedding index.
Question 84
The team observes this failure in a GenAI application: The largest available reasoning model breaches budget without measurable answer improvements. After implementing the fix to Benchmark smaller capable candidates on quality and latency for actual workload, which measurement or test most directly demonstrates success?
- Selected candidate meets held-out accuracy and p95 latency thresholds
- Jurisdiction prompts avoid invented legal location and cite selected policy scope
- Tests of sequential order questions refer to the expected order only
- Exact serial and protocol error questions retrieve matching documents
Explanation
Correct Answer
A:Selected candidate meets held-out accuracy and p95 latency thresholds. This specifically validates the remediation to Benchmark smaller capable candidates on quality and latency for actual workload for the failure that The largest available reasoning model breaches budget without measurable answer improvements. Model size and cost should match task complexity rather than marketing labels. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Jurisdiction prompts avoid invented legal location and cite selected policy scope” is associated with this technical property: Missing essential context should be surfaced instead of silently inferred. The question instead turns on “Selected candidate meets held-out accuracy and p95 latency thresholds”: Model size and cost should match task complexity rather than marketing labels.
C:“Tests of sequential order questions refer to the expected order only” is associated with this technical property: Coreference resolution should preserve scoped intent and entity continuity. The question instead turns on “Selected candidate meets held-out accuracy and p95 latency thresholds”: Model size and cost should match task complexity rather than marketing labels.
D:“Exact serial and protocol error questions retrieve matching documents” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Selected candidate meets held-out accuracy and p95 latency thresholds”: Model size and cost should match task complexity rather than marketing labels.
Question 85
An engineering review considers a safeguard for this situation: An agent must connect retrieval, a calculation tool and a final conversational response. The proposed action is: Use an agent orchestration framework with explicit typed tool definitions and execution traces. Which observed failure most strongly justifies that action?
- Small-context model drops early obligations when context exceeds window
- Custom string concatenation makes it hard to inspect tool invocations or handle failure
- Logs show final answer only and engineers cannot find erroneous intermediate reasoning data
- A simple answer-relevance score passes a dangerously incomplete response
Explanation
Correct Answer
B:Custom string concatenation makes it hard to inspect tool invocations or handle failure. This observation motivates the specific control to Use an agent orchestration framework with explicit typed tool definitions and execution traces. Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The follow-up evidence would be: Traces show a retrieval call, calculation result and final text with handled tool errors. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Small-context model drops early obligations when context exceeds window” is associated with this technical property: This observation motivates the specific control to Benchmark long-context model or retrieval decomposition against actual evidence span. The question instead turns on “Custom string concatenation makes it hard to inspect tool invocations or handle failure”: This observation motivates the specific control to Use an agent orchestration framework with explicit typed tool definitions and execution traces.
C:“Logs show final answer only and engineers cannot find erroneous intermediate reasoning data” is associated with this technical property: This observation motivates the specific control to Instrument MLflow traces across retriever, tools and model spans. The question instead turns on “Custom string concatenation makes it hard to inspect tool invocations or handle failure”: This observation motivates the specific control to Use an agent orchestration framework with explicit typed tool definitions and execution traces.
D:“A simple answer-relevance score passes a dangerously incomplete response” is associated with this technical property: This observation motivates the specific control to Evaluate coverage of all required reference facts with a checklist or calibrated scorer. The question instead turns on “Custom string concatenation makes it hard to inspect tool invocations or handle failure”: This observation motivates the specific control to Use an agent orchestration framework with explicit typed tool definitions and execution traces.
Question 86
For the requirement that A knowledge agent asks meaning-based questions over incident narratives, the team proposes this change: Use semantic embedding similarity for unstructured retrieval while preserving structured filters. Which technical principle explains why it is appropriate?
- Vector search ranks related text even when literal wording differs
- Stable intermediate schemas reduce cascading format errors
- Index results reflect a materialized view whose update cadence must match source changes
- Versioned prompts support audit, repeatability and rollback
Explanation
Correct Answer
A:Vector search ranks related text even when literal wording differs. The proposed engineering step is to Use semantic embedding similarity for unstructured retrieval while preserving structured filters. It directly supports the requirement that A knowledge agent asks meaning-based questions over incident narratives. The operational test is that Paraphrase queries retrieve relevant incidents beyond exact-match keywords. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Stable intermediate schemas reduce cascading format errors” is associated with this technical property: It directly supports the requirement that An agent computes a contract renewal date from a structured SQL field. The question instead turns on “Vector search ranks related text even when literal wording differs”: It directly supports the requirement that A knowledge agent asks meaning-based questions over incident narratives.
C:“Index results reflect a materialized view whose update cadence must match source changes” is associated with this technical property: It directly supports the requirement that A Delta sync index is built from a frequently updated FAQ table. The question instead turns on “Vector search ranks related text even when literal wording differs”: It directly supports the requirement that A knowledge agent asks meaning-based questions over incident narratives.
D:“Versioned prompts support audit, repeatability and rollback” is associated with this technical property: It directly supports the requirement that A compliance agent needs approved prompt versions promoted through staging. The question instead turns on “Vector search ranks related text even when literal wording differs”: It directly supports the requirement that A knowledge agent asks meaning-based questions over incident narratives.
Question 87
An engineering review considers a safeguard for this situation: A maintenance assistant must retrieve failure records then compute average downtime. The proposed action is: Connect retrieval to a deterministic aggregation tool before final narrative generation. Which observed failure most strongly justifies that action?
- A single managed assistant answers documents but cannot complete the action workflow
- They build a bespoke multi-agent manager for straightforward document Q&A
- The model guesses numeric averages from sample text instead of executing arithmetic
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
Explanation
Correct Answer
C:The model guesses numeric averages from sample text instead of executing arithmetic. This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation. Deterministic computation should handle precise arithmetic while an LLM explains the result. The follow-up evidence would be: Recomputed averages match source event durations and generated prose. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A single managed assistant answers documents but cannot complete the action workflow” is associated with this technical property: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities. The question instead turns on “The model guesses numeric averages from sample text instead of executing arithmetic”: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation.
B:“They build a bespoke multi-agent manager for straightforward document Q&A” is associated with this technical property: This observation motivates the specific control to Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A. The question instead turns on “The model guesses numeric averages from sample text instead of executing arithmetic”: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation.
D:“A model selected for keyword extraction returns disconnected fragments instead of a synopsis” is associated with this technical property: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. The question instead turns on “The model guesses numeric averages from sample text instead of executing arithmetic”: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation.
Question 88
For the requirement that A summarization model has promising scores but maximum input shorter than user documents, the team proposes this change: Compare model-card context limits with realistic inputs and adjust architecture. Which technical principle explains why it is appropriate?
- Fluency is not evidence of grounded correctness
- Model metadata constraints must shape processing and evaluation
- Missing essential context should be surfaced instead of silently inferred
- Language capability must be validated on representative user inputs
Explanation
Correct Answer
B:Model metadata constraints must shape processing and evaluation. The proposed engineering step is to Compare model-card context limits with realistic inputs and adjust architecture. It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents. The operational test is that Test documents are within supported input bounds or split with faithful recombination. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Fluency is not evidence of grounded correctness” is associated with this technical property: It directly supports the requirement that A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval. The question instead turns on “Model metadata constraints must shape processing and evaluation”: It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents.
C:“Missing essential context should be surfaced instead of silently inferred” is associated with this technical property: It directly supports the requirement that An agent arranges regional policy guidance but the user's location is unspecified. The question instead turns on “Model metadata constraints must shape processing and evaluation”: It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents.
D:“Language capability must be validated on representative user inputs” is associated with this technical property: It directly supports the requirement that A support assistant handles Arabic and German questions with domain terminology. The question instead turns on “Model metadata constraints must shape processing and evaluation”: It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents.
Question 89
An application intended to satisfy this requirement, A retrieved document contains an instruction telling the assistant to reveal secrets, instead experiences: The model follows the document's command instead of treating it as source data. Which targeted engineering correction resolves this failure?
- Instrument MLflow traces across retriever, tools and model spans
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
- Treat user text as untrusted, enforce tool authorization outside model prompts and test injection
- Evaluate retrieval-boundary instruction-following and add untrusted-context handling
Explanation
Correct Answer
D:Evaluate retrieval-boundary instruction-following and add untrusted-context handling targets the observed failure: The model follows the document's command instead of treating it as source data. Retrieved text is evidence, not a higher-priority instruction. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Adversarial documents fail to redirect tools or disclose restricted content.
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 “Evaluate retrieval-boundary instruction-following and add untrusted-context handling”: Retrieved text is evidence, not a higher-priority instruction.
B:“Use an agent orchestration framework with explicit typed tool definitions and execution traces” is associated with this technical property: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The question instead turns on “Evaluate retrieval-boundary instruction-following and add untrusted-context handling”: Retrieved text is evidence, not a higher-priority instruction.
C:“Treat user text as untrusted, enforce tool authorization outside model prompts and test injection” is associated with this technical property: Prompt-level safeguards must be backed by code-level privilege checks. The question instead turns on “Evaluate retrieval-boundary instruction-following and add untrusted-context handling”: Retrieved text is evidence, not a higher-priority instruction.
Question 90
For the requirement that A customer assistant gives courteous instructions for a prohibited account change, the team proposes this change: Add task-specific safety and authorization checks beyond stylistic quality scoring. Which technical principle explains why it is appropriate?
- Answer correctness must be measured against source evidence, not just readability
- Helpful tone does not substitute for authorized and safe behavior
- Data minimization applies to model outputs as well as retrieval
- End-to-end traces reveal which step failed and support reproducible evaluation
Explanation
Correct Answer
B:Helpful tone does not substitute for authorized and safe behavior. The proposed engineering step is to Add task-specific safety and authorization checks beyond stylistic quality scoring. It directly supports the requirement that A customer assistant gives courteous instructions for a prohibited account change. The operational test is that Prohibited requests are rejected consistently while harmless alternatives remain supported. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Answer correctness must be measured against source evidence, not just readability” is associated with this technical property: It directly supports the requirement that Two candidates give fluent answers but one invents unsupported policy details. The question instead turns on “Helpful tone does not substitute for authorized and safe behavior”: It directly supports the requirement that A customer assistant gives courteous instructions for a prohibited account change.
C:“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 “Helpful tone does not substitute for authorized and safe behavior”: It directly supports the requirement that A customer assistant gives courteous instructions for a prohibited account change.
D:“End-to-end traces reveal which step failed and support reproducible evaluation” is associated with this technical property: It directly supports the requirement that A RAG agent retrieves, calls a SQL tool and summarizes results. The question instead turns on “Helpful tone does not substitute for authorized and safe behavior”: It directly supports the requirement that A customer assistant gives courteous instructions for a prohibited account change.