Certified Generative AI Engineer Associate Practice Test 8
Question 70
A Databricks generative AI team is designing a solution with this requirement: Error-code questions include precise strings absent from semantic synonyms. Which engineering approach should it select first?
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
- Use stable document and chunk IDs with change detection and Delta merge semantics
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
- Store raw records and curated chunk tables separately in governed Delta with lineage
Explanation
Correct Answer
C:Combine keyword and semantic retrieval, then optionally rerank shortlisted results directly addresses the described Databricks GenAI architecture: Error-code questions include precise strings absent from semantic synonyms. Lexical exact matching complements dense retrieval for precise tokens. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Exact error-code passages appear in measured top-k results.
Incorrect Answers
A:“Parse relevant HTML elements using an HTML parser such as BeautifulSoup” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
B:“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 “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
D:“Store raw records and curated chunk tables separately in governed Delta with lineage” is associated with this technical property: Layered data preparation supports reproducible source-to-chunk transformations. The question instead turns on “Combine keyword and semantic retrieval, then optionally rerank shortlisted results”: Lexical exact matching complements dense retrieval for precise tokens.
Question 71
An application intended to satisfy this requirement, An agent arranges regional policy guidance but the user's location is unspecified, instead experiences: The LLM assumes a country and answers with jurisdiction-specific obligations. Which targeted engineering correction resolves this failure?
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Require verified region input or clarify before selecting jurisdictional sources
- Score factual support against retrieved passages and flag unsupported claims
- Evaluate coverage of all required reference facts with a checklist or calibrated scorer
Explanation
Correct Answer
B:Require verified region input or clarify before selecting jurisdictional sources targets the observed failure: The LLM assumes a country and answers with jurisdiction-specific obligations. Missing essential context should be surfaced instead of silently inferred. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Jurisdiction prompts avoid invented legal location and cite selected policy scope.
Incorrect Answers
A:“Add task-specific safety and authorization checks beyond stylistic quality scoring” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “Require verified region input or clarify before selecting jurisdictional sources”: Missing essential context should be surfaced instead of silently inferred.
C:“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 “Require verified region input or clarify before selecting jurisdictional sources”: Missing essential context should be surfaced instead of silently inferred.
D:“Evaluate coverage of all required reference facts with a checklist or calibrated scorer” is associated with this technical property: Changing a different model component would not resolve this identified mechanism. The question instead turns on “Require verified region input or clarify before selecting jurisdictional sources”: Missing essential context should be surfaced instead of silently inferred.
Question 72
An application intended to satisfy this requirement, An incident knowledge index retrieves repeated overlapping paragraphs, instead experiences: Final prompt repeats the same paragraphs and crowds out alternatives. Which targeted engineering correction resolves this failure?
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
- Keep table captions and headers with row groups during structured extraction
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
Explanation
Correct Answer
B:Deduplicate overlapping candidates or use maximal marginal relevance before context assembly targets the observed failure: Final prompt repeats the same paragraphs and crowds out alternatives. Redundant retrieval reduces useful evidence diversity under a token budget. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Context retains distinct incident cases and minimizes repeated text.
Incorrect Answers
A:“Redact or tokenize restricted fields before embedding with authorized lookup retained separately” is associated with this technical property: Data minimization should be applied at ingestion, not left to answer prompts. The question instead turns on “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
C:“Keep table captions and headers with row groups during structured extraction” is associated with this technical property: Table cells depend on row and column context to retain correct semantics. The question instead turns on “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
D:“Reduce chunk tokens to fit effective embedding context with explicit truncation tests” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. The question instead turns on “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
Question 73
A Databricks generative AI team is designing a solution with this requirement: A customer assistant gives courteous instructions for a prohibited account change. Which engineering approach should it select first?
- Specify tone and brevity separately from factual evidence and noninvention constraints
- Choose vision-capable processing or OCR extraction before text model use
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Route authorized structured questions to a governed Genie Space or conversational API
Explanation
Correct Answer
C:Add task-specific safety and authorization checks beyond stylistic quality scoring directly addresses the described Databricks GenAI architecture: A customer assistant gives courteous instructions for a prohibited account change. Helpful tone does not substitute for authorized and safe behavior. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Prohibited requests are rejected consistently while harmless alternatives remain supported.
Incorrect Answers
A:“Specify tone and brevity separately from factual evidence and noninvention constraints” is associated with this technical property: Style instructions should not override content validity. The question instead turns on “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
B:“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 “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
D:“Route authorized structured questions to a governed Genie Space or conversational API” is associated with this technical property: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. The question instead turns on “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
Question 74
An engineering review considers a safeguard for this situation: Analysts compare dozens of clauses across a lengthy contract set. The proposed action is: Benchmark long-context model or retrieval decomposition against actual evidence span. Which observed failure most strongly justifies that action?
- It uses vector retrieval from policy PDFs to guess numerical warehouse totals
- Small-context model drops early obligations when context exceeds window
- A plain request for structured text yields variable delimiters
- Each tool call sees only the latest message and queries the wrong incident
Explanation
Correct Answer
B:Small-context model drops early obligations when context exceeds window. This observation motivates the specific control to Benchmark long-context model or retrieval decomposition against actual evidence span. Context-window size alone is insufficient; long-range reasoning quality must be measured. The follow-up evidence would be: Held-out cross-document cases preserve all required conditions. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 “Small-context model drops early obligations when context exceeds window”: This observation motivates the specific control to Benchmark long-context model or retrieval decomposition against actual evidence span.
C:“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 “Small-context model drops early obligations when context exceeds window”: This observation motivates the specific control to Benchmark long-context model or retrieval decomposition against actual evidence span.
D:“Each tool call sees only the latest message and queries the wrong incident” is associated with this technical property: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context. The question instead turns on “Small-context model drops early obligations when context exceeds window”: This observation motivates the specific control to Benchmark long-context model or retrieval decomposition against actual evidence span.
Question 75
An application intended to satisfy this requirement, An enterprise wants a reusable agent with controlled serving and observability, instead experiences: A standalone notebook prototype cannot be accessed consistently by app clients. Which targeted engineering correction resolves this failure?
- Expose the API as a validated tool with constrained arguments and secrets management
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Package an agent via supported Agent Framework deployment and serving path
- Validate model-card claims on an application-specific held-out dataset
Explanation
Correct Answer
C:Package an agent via supported Agent Framework deployment and serving path targets the observed failure: A standalone notebook prototype cannot be accessed consistently by app clients. Deployment lifecycle requires governed inference endpoint and observability. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Authorized clients call versioned endpoint and traces capture requests.
Incorrect Answers
A:“Expose the API as a validated tool with constrained arguments and secrets management” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
B:“Plot cost, latency and quality tradeoffs under expected traffic mix” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
D:“Validate model-card claims on an application-specific held-out dataset” is associated with this technical property: Published benchmarks do not guarantee performance on a specialized dataset. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
Question 76
An application intended to satisfy this requirement, Untrusted pages repeat irrelevant marketing phrases thousands of times, instead experiences: Embedding similarity promotes spam-like text above useful handbook sections. 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
- Select compliant deployment and data-processing path after checking vendor terms
- Apply policy-based redaction to tool output and answer rendering
Explanation
Correct Answer
A:Filter high-frequency spam and check source authority before indexing targets the observed failure: Embedding similarity promotes spam-like text above useful handbook sections. Preprocessing can prevent irrelevant content from dominating semantic search. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Top retrieved evidence excludes boilerplate and maintains legitimate recall.
Incorrect Answers
B:“Use controlled pseudonymous tokens with restricted reidentification rights where appropriate” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
C:“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 “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
D:“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 “Filter high-frequency spam and check source authority before indexing”: Preprocessing can prevent irrelevant content from dominating semantic search.
Question 77
An application intended to satisfy this requirement, Support transcripts contain account numbers irrelevant to troubleshooting, instead experiences: Sensitive identifiers are embedded into the vector index and appear in debug output. Which targeted engineering correction resolves this failure?
- Reduce excessive overlap while checking boundary-question recall
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
Explanation
Correct Answer
C:Redact or tokenize restricted fields before embedding with authorized lookup retained separately targets the observed failure: Sensitive identifiers are embedded into the vector index and appear in debug output. Data minimization should be applied at ingestion, not left to answer prompts. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Index audits find no unmasked sample account numbers and authorized workflow still functions.
Incorrect Answers
A:“Reduce excessive overlap while checking boundary-question recall” is associated with this technical property: Overlap trades continuity against duplication, latency and storage footprint. The question instead turns on “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
B:“Parse relevant HTML elements using an HTML parser such as BeautifulSoup” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
D:“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 “Redact or tokenize restricted fields before embedding with authorized lookup retained separately”: Data minimization should be applied at ingestion, not left to answer prompts.
Question 78
A Databricks generative AI team is designing a solution with this requirement: Document chunks peak at 600 tokens but candidate embedding model accepts 512. Which engineering approach should it select first?
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Resolve follow-up reference against authorized conversation state before tool call
- Use a retriever abstraction around the approved vector search implementation
- Select a model with enough effective input tokens or reduce chunk size
Explanation
Correct Answer
D:Select a model with enough effective input tokens or reduce chunk size directly addresses the described Databricks GenAI architecture: Document chunks peak at 600 tokens but candidate embedding model accepts 512. Embedding truncation silently removes evidence from retrieval. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Boundary test passages are searchable without truncation warnings.
Incorrect Answers
A:“Monitor live traces and perform periodic re-evaluation with refreshed ground truth” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
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 “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
C:“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 “Select a model with enough effective input tokens or reduce chunk size”: Embedding truncation silently removes evidence from retrieval.
Question 79
The team observes this failure in a GenAI application: A deployment hardcodes an artifact path and cannot roll back quickly. After implementing the fix to Use governed model versions and aliases or equivalent approved promotion controls, which measurement or test most directly demonstrates success?
- Results are reproducibly attached to rows and retries avoid duplicate output
- Controlled rate-limit tests return bounded failures or qualified fallback responses
- Short-lived task state expires and verified preference remains only under policy
- Release can switch back to prior model version with tested behavior
Explanation
Correct Answer
D:Release can switch back to prior model version with tested behavior. This specifically validates the remediation to Use governed model versions and aliases or equivalent approved promotion controls for the failure that A deployment hardcodes an artifact path and cannot roll back quickly. Versioned model identity supports rollback without overwriting the source model. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Results are reproducibly attached to rows and retries avoid duplicate output” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Release can switch back to prior model version with tested behavior”: Versioned model identity supports rollback without overwriting the source model.
B:“Controlled rate-limit tests return bounded failures or qualified fallback responses” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Release can switch back to prior model version with tested behavior”: Versioned model identity supports rollback without overwriting the source model.
C:“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 “Release can switch back to prior model version with tested behavior”: Versioned model identity supports rollback without overwriting the source model.
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.