Certified Generative AI Engineer Associate Practice Test 66
Question 650
An application intended to satisfy this requirement, A RAG corpus contains invalid Unicode symbols and duplicated OCR headers, instead experiences: Retrieved text has garbled words that degrade grounded answers. Which targeted engineering correction resolves this failure?
- Select compliant deployment and data-processing path after checking vendor terms
- Enforce entitlements and output-length constraints for licensed sources
- Apply policy-based redaction to tool output and answer rendering
- Normalize encoding, repair OCR where justified and retain original source reference
Explanation
Correct Answer
D:Normalize encoding, repair OCR where justified and retain original source reference targets the observed failure: Retrieved text has garbled words that degrade grounded answers. Data quality repair must preserve evidence and not silently change meaning. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Quality sample demonstrates accurate text and intact provenance metadata.
Incorrect Answers
A:“Select compliant deployment and data-processing path after checking vendor terms” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
B:“Enforce entitlements and output-length constraints for licensed sources” is associated with this technical property: Retrieval authorization and permitted reproduction are distinct legal controls. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
C:“Apply policy-based redaction to tool output and answer rendering” is associated with this technical property: Data minimization is a separate control from model answer quality. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
Question 651
The team observes this failure in a GenAI application: The response model hallucinates because top-k retrieval omitted the source. After implementing the fix to Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval, which measurement or test most directly demonstrates success?
- Exact error-code passages appear in measured top-k results
- Retrieval evaluations confirm relevant tail passages are indexed and retrievable
- Reviewed sampled pages have readable text and low-confidence items are flagged
- Recall@k rises for held-out expected passages without excessive result count
Explanation
Correct Answer
D:Recall@k rises for held-out expected passages without excessive result count. This specifically validates the remediation to Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval for the failure that The response model hallucinates because top-k retrieval omitted the source. Retrieval recall is an upstream prerequisite for grounded answer generation. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Exact error-code passages appear in measured top-k results” is associated with this technical property: Lexical exact matching complements dense retrieval for precise tokens. The question instead turns on “Recall@k rises for held-out expected passages without excessive result count”: Retrieval recall is an upstream prerequisite for grounded answer generation.
B:“Retrieval evaluations confirm relevant tail passages are indexed and retrievable” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. The question instead turns on “Recall@k rises for held-out expected passages without excessive result count”: Retrieval recall is an upstream prerequisite for grounded answer generation.
C:“Reviewed sampled pages have readable text and low-confidence items are flagged” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Recall@k rises for held-out expected passages without excessive result count”: Retrieval recall is an upstream prerequisite for grounded answer generation.
Question 652
A Databricks generative AI team is designing a solution with this requirement: A compliance assistant cites one correct requirement but omits a second mandatory approval. Which engineering approach should it select first?
- Convert adjudicated production failures into regression and evaluation cases
- Resolve follow-up reference against authorized conversation state before tool call
- Evaluate coverage of all required reference facts with a checklist or calibrated scorer
- Pair appropriate embedding model with keyword/hybrid matching for identifiers
Explanation
Correct Answer
C:Evaluate coverage of all required reference facts with a checklist or calibrated scorer directly addresses the described Databricks GenAI architecture: A compliance assistant cites one correct requirement but omits a second mandatory approval. Correctness and completeness are separate response quality dimensions. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Multi-clause test cases detect missing mandatory steps and trigger remediation.
Incorrect Answers
A:“Convert adjudicated production failures into regression and evaluation cases” is associated with this technical property: Monitoring observations should feed iterative development evaluation. The question instead turns on “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration.
B:“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 “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration.
D:“Pair appropriate embedding model with keyword/hybrid matching for identifiers” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration.
Question 653
An application intended to satisfy this requirement, Users request a one-line summary of an already verified technical explanation, instead experiences: Long-form generation ignores the requested output length. Which targeted engineering correction resolves this failure?
- Select a model with measured multilingual task performance and adequate tokenization
- Choose a model evaluated on structured tool-use success and error recovery
- Instrument MLflow traces across retriever, tools and model spans
- Add a bounded summary instruction preserving critical qualifier and context
Explanation
Correct Answer
D:Add a bounded summary instruction preserving critical qualifier and context targets the observed failure: Long-form generation ignores the requested output length. Prompt editing can adjust expression without replacing underlying evidence. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Summaries fit configured length and retain key safety caveat.
Incorrect Answers
A:“Select a model with measured multilingual task performance and adequate tokenization” is associated with this technical property: Language capability must be validated on representative user inputs. The question instead turns on “Add a bounded summary instruction preserving critical qualifier and context”: Prompt editing can adjust expression without replacing underlying evidence.
B:“Choose a model evaluated on structured tool-use success and error recovery” is associated with this technical property: Tool calling reliability is a distinct operational capability from general language fluency. The question instead turns on “Add a bounded summary instruction preserving critical qualifier and context”: Prompt editing can adjust expression without replacing underlying evidence.
C:“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 “Add a bounded summary instruction preserving critical qualifier and context”: Prompt editing can adjust expression without replacing underlying evidence.
Question 654
An engineering review considers a safeguard for this situation: A shipping assistant needs expected delivery dates for a specific transaction. The proposed action is: Retrieve transaction-specific facts through governed structured data in addition to policy text. Which observed failure most strongly justifies that action?
- Sensitive identifiers are embedded into the vector index and appear in debug output
- The index contains generic shipping policy but not live tracking records
- A notebook overwrites raw data when producing chunks, losing rollback
- Long chunks are silently truncated and critical paragraph ends disappear
Explanation
Correct Answer
B:The index contains generic shipping policy but not live tracking records. This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text. Source completeness matters more than a persuasive prompt for operational answers. The follow-up evidence would be: Order answers match current shipment data and reference the right transaction. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Sensitive identifiers are embedded into the vector index and appear in debug output” is associated with this technical property: This observation motivates the specific control to Redact or tokenize restricted fields before embedding with authorized lookup retained separately. The question instead turns on “The index contains generic shipping policy but not live tracking records”: This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text.
C:“A notebook overwrites raw data when producing chunks, losing rollback” is associated with this technical property: This observation motivates the specific control to Store raw records and curated chunk tables separately in governed Delta with lineage. The question instead turns on “The index contains generic shipping policy but not live tracking records”: This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text.
D:“Long chunks are silently truncated and critical paragraph ends disappear” is associated with this technical property: This observation motivates the specific control to Reduce chunk tokens to fit effective embedding context with explicit truncation tests. The question instead turns on “The index contains generic shipping policy but not live tracking records”: This observation motivates the specific control to Retrieve transaction-specific facts through governed structured data in addition to policy text.
Question 655
An engineering review considers a safeguard for this situation: An agent arranges regional policy guidance but the user's location is unspecified. The proposed action is: Require verified region input or clarify before selecting jurisdictional sources. Which observed failure most strongly justifies that action?
- The pipeline truncates product recalls and produces misleading summaries
- Application prompts import provider-specific HTTP payload formats in many files
- The LLM assumes a country and answers with jurisdiction-specific obligations
- The answer model invents undocumented steps to appear helpful
Explanation
Correct Answer
C:The LLM assumes a country and answers with jurisdiction-specific obligations. This observation motivates the specific control to Require verified region input or clarify before selecting jurisdictional sources. Missing essential context should be surfaced instead of silently inferred. The follow-up evidence would be: Jurisdiction prompts avoid invented legal location and cite selected policy scope. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The pipeline truncates product recalls and produces misleading summaries” is associated with this technical property: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. The question instead turns on “The LLM assumes a country and answers with jurisdiction-specific obligations”: This observation motivates the specific control to Require verified region input or clarify before selecting jurisdictional sources.
B:“Application prompts import provider-specific HTTP payload formats in many files” is associated with this technical property: This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation. The question instead turns on “The LLM assumes a country and answers with jurisdiction-specific obligations”: This observation motivates the specific control to Require verified region input or clarify before selecting jurisdictional sources.
D:“The answer model invents undocumented steps to appear helpful” is associated with this technical property: This observation motivates the specific control to Prompt for evidence-conditioned answers and explicit unsupported-status handling. The question instead turns on “The LLM assumes a country and answers with jurisdiction-specific obligations”: This observation motivates the specific control to Require verified region input or clarify before selecting jurisdictional sources.
Question 656
An engineering review considers a safeguard for this situation: An assistant retrieves account records after a user's vague request about their invoice. The proposed action is: Pass authenticated account ID and resolved invoice ID as structured retrieval filters. Which observed failure most strongly justifies that action?
- A plain request for structured text yields variable delimiters
- It uses vector retrieval from policy PDFs to guess numerical warehouse totals
- A naive tool agent treats those tags as privileged instructions
- The prompt has no verified account identifier and mixes neighboring customers
Explanation
Correct Answer
D:The prompt has no verified account identifier and mixes neighboring customers. This observation motivates the specific control to Pass authenticated account ID and resolved invoice ID as structured retrieval filters. User intent must be coupled to trusted entity context before private lookup. The follow-up evidence would be: Trace shows scoped retrieval and no cross-account data exposure. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A plain request for structured text yields variable delimiters” is associated with this technical property: This observation motivates the specific control to Provide validated examples and a machine-enforced output schema for the target shape. The question instead turns on “The prompt has no verified account identifier and mixes neighboring customers”: This observation motivates the specific control to Pass authenticated account ID and resolved invoice ID as structured retrieval filters.
B:“It uses vector retrieval from policy PDFs to guess numerical warehouse totals” is associated with this technical property: This observation motivates the specific control to Route authorized structured questions to a governed Genie Space or conversational API. The question instead turns on “The prompt has no verified account identifier and mixes neighboring customers”: This observation motivates the specific control to Pass authenticated account ID and resolved invoice ID as structured retrieval filters.
C:“A naive tool agent treats those tags as privileged instructions” is associated with this technical property: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection. The question instead turns on “The prompt has no verified account identifier and mixes neighboring customers”: This observation motivates the specific control to Pass authenticated account ID and resolved invoice ID as structured retrieval filters.
Question 657
An application intended to satisfy this requirement, Investigators need to link repeated incidents without exposing original account numbers, instead experiences: Naive masking replaces every identifier with same stars and destroys correlation. Which targeted engineering correction resolves this failure?
- Filter high-frequency spam and check source authority before indexing
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Use parameterized queries with governed read-only permissions and validation
- Prioritize effective approved source versions and surface unresolved contradiction
Explanation
Correct Answer
B:Use controlled pseudonymous tokens with restricted reidentification rights where appropriate targets the observed failure: Naive masking replaces every identifier with same stars and destroys correlation. Privacy techniques must preserve only the minimum analytics purpose. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Authorized investigation correlates cases while general readers cannot recover identity.
Incorrect Answers
A:“Filter high-frequency spam and check source authority before indexing” is associated with this technical property: Preprocessing can prevent irrelevant content from dominating semantic search. The question instead turns on “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
C:“Use parameterized queries with governed read-only permissions and validation” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
D:“Prioritize effective approved source versions and surface unresolved contradiction” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
Question 658
For the requirement that An inventory assistant needs live stock totals and a readable customer explanation, the team proposes this change: Compose a governed data-query tool followed by a separate response-generation step. Which technical principle explains why it is appropriate?
- Decomposing requirements into measurable stage constraints prevents expensive architecture surprises
- Tool freshness is a dependency of time-sensitive reasoning and action
- Tool results can supply fresh structured facts that pretrained model memory cannot guarantee
- Tool requirements should determine orchestration rather than choosing components by popularity
Explanation
Correct Answer
C:Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The proposed engineering step is to Compose a governed data-query tool followed by a separate response-generation step. It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation. The operational test is that Trace links each displayed stock number to a successful scoped query result. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Decomposing requirements into measurable stage constraints prevents expensive architecture surprises” is associated with this technical property: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic. The question instead turns on “Tool results can supply fresh structured facts that pretrained model memory cannot guarantee”: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation.
B:“Tool freshness is a dependency of time-sensitive reasoning and action” is associated with this technical property: It directly supports the requirement that An agent plans flights using external availability that may expire. The question instead turns on “Tool results can supply fresh structured facts that pretrained model memory cannot guarantee”: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation.
D:“Tool requirements should determine orchestration rather than choosing components by popularity” is associated with this technical property: It directly supports the requirement that The agent must query governed data and call a custom exception-check API. The question instead turns on “Tool results can supply fresh structured facts that pretrained model memory cannot guarantee”: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation.
Question 659
The team observes this failure in a GenAI application: The LLM includes the full payment token in a support response. After implementing the fix to Apply policy-based redaction to tool output and answer rendering, which measurement or test most directly demonstrates success?
- Test cases preserve needed last-four digits but never expose payment tokens
- Ambiguous cases cite controlling version or clearly flag the disagreement
- Adversarial page cannot cause unauthorized network export
- Injected document cannot trigger restricted actions and answers cite safe evidence only
Explanation
Correct Answer
A:Test cases preserve needed last-four digits but never expose payment tokens. This specifically validates the remediation to Apply policy-based redaction to tool output and answer rendering for the failure that The LLM includes the full payment token in a support response. Data minimization is a separate control from model answer quality. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Ambiguous cases cite controlling version or clearly flag the disagreement” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Test cases preserve needed last-four digits but never expose payment tokens”: Data minimization is a separate control from model answer quality.
C:“Adversarial page cannot cause unauthorized network export” is associated with this technical property: Prompt injection becomes dangerous when untrusted content controls tool side effects. The question instead turns on “Test cases preserve needed last-four digits but never expose payment tokens”: Data minimization is a separate control from model answer quality.
D:“Injected document cannot trigger restricted actions and answers cite safe evidence only” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Test cases preserve needed last-four digits but never expose payment tokens”: Data minimization is a separate control from model answer quality.
Question 660
For the requirement that Many users ask identical public policy questions but the app calls LLM each time, the team proposes this change: Cache eligible nonprivate responses with document-version invalidation. Which technical principle explains why it is appropriate?
- Traces connect observed errors to intermediate model and tool activity
- Attribution requires identity and endpoint dimensions beyond total invoices
- Production debugging depends on evidence of actual invocation payloads
- Caching saves inference cost only when response scope and freshness permit reuse
Explanation
Correct Answer
D:Caching saves inference cost only when response scope and freshness permit reuse. The proposed engineering step is to Cache eligible nonprivate responses with document-version invalidation. It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time. The operational test is that Repeat requests show lower token spend without serving stale or cross-user data. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Traces connect observed errors to intermediate model and tool activity” is associated with this technical property: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.
B:“Attribution requires identity and endpoint dimensions beyond total invoices” is associated with this technical property: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.
C:“Production debugging depends on evidence of actual invocation payloads” is associated with this technical property: It directly supports the requirement that An agent endpoint has intermittent malformed tool calls after a model update. The question instead turns on “Caching saves inference cost only when response scope and freshness permit reuse”: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time.