Certified Generative AI Engineer Associate Practice Test 34
Question 330
A Databricks generative AI team is designing a solution with this requirement: A merchandise catalog needs search over 80 million embedding rows. Which engineering approach should it select first?
- Implement approved retry, quota handling and optional validated alternative model path
- Connect typed retrieval and date calculation components before the prose stage
- Benchmark supported index types against collection size, update cadence, query latency and cost
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
Explanation
Correct Answer
C:Benchmark supported index types against collection size, update cadence, query latency and cost directly addresses the described Databricks GenAI architecture: A merchandise catalog needs search over 80 million embedding rows. Index architecture is a workload tradeoff, not solely a storage-price decision. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Chosen design meets measured throughput and p95 response targets at expected scale.
Incorrect Answers
A:“Implement approved retry, quota handling and optional validated alternative model path” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.
B:“Connect typed retrieval and date calculation components before the prose stage” is associated with this technical property: Stable intermediate schemas reduce cascading format errors. The question instead turns on “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.
D:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.
Question 331
The team observes this failure in a GenAI application: A summarizer merges both and issues a false combined instruction. After implementing the fix to Prioritize effective approved source versions and surface unresolved contradiction, which measurement or test most directly demonstrates success?
- Injected document cannot trigger restricted actions and answers cite safe evidence only
- Cross-tenant input is denied at execution even if prompt asks for it
- Ambiguous cases cite controlling version or clearly flag the disagreement
- Authorized investigation correlates cases while general readers cannot recover identity
Explanation
Correct Answer
C:Ambiguous cases cite controlling version or clearly flag the disagreement. This specifically validates the remediation to Prioritize effective approved source versions and surface unresolved contradiction for the failure that A summarizer merges both and issues a false combined instruction. Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Ambiguous cases cite controlling version or clearly flag the disagreement”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
B:“Cross-tenant input is denied at execution even if prompt asks for it” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Ambiguous cases cite controlling version or clearly flag the disagreement”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
D:“Authorized investigation correlates cases while general readers cannot recover identity” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Ambiguous cases cite controlling version or clearly flag the disagreement”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
Question 332
The team observes this failure in a GenAI application: Small-context model drops early obligations when context exceeds window. After implementing the fix to Benchmark long-context model or retrieval decomposition against actual evidence span, which measurement or test most directly demonstrates success?
- Agent trace shows permitted query and correct aggregated figures
- Held-out cross-document cases preserve all required conditions
- Exception questions retrieve both base rule and exception while latency remains within budget
- Automated tests detect full identifier leaks while masked identifiers display correctly
Explanation
Correct Answer
B:Held-out cross-document cases preserve all required conditions. This specifically validates the remediation to Benchmark long-context model or retrieval decomposition against actual evidence span for the failure that Small-context model drops early obligations when context exceeds window. Context-window size alone is insufficient; long-range reasoning quality must be measured. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Agent trace shows permitted query and correct aggregated figures” 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 “Held-out cross-document cases preserve all required conditions”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
C:“Exception questions retrieve both base rule and exception while latency remains within budget” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Held-out cross-document cases preserve all required conditions”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
D:“Automated tests detect full identifier leaks while masked identifiers display correctly” is associated with this technical property: Data minimization applies to model outputs as well as retrieval. The question instead turns on “Held-out cross-document cases preserve all required conditions”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
Question 333
For the requirement that An agent needs governed Unity Catalog queries and Genie analytics, the team proposes this change: Prefer supported managed MCP servers when their existing tools fit the task. Which technical principle explains why it is appropriate?
- Managed service tools reduce custom hosting and leverage workspace authorization
- Production service identities should not depend on individual user credentials
- Preprocessing and postprocessing are deployable model behavior and need independent tests
- Hosted model APIs separate application logic from model infrastructure operations
Explanation
Correct Answer
A:Managed service tools reduce custom hosting and leverage workspace authorization. The proposed engineering step is to Prefer supported managed MCP servers when their existing tools fit the task. It directly supports the requirement that An agent needs governed Unity Catalog queries and Genie analytics. The operational test is that Agent calls approved managed tools with recorded permissions and results. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Production service identities should not depend on individual user credentials” is associated with this technical property: It directly supports the requirement that A deployed agent calls a governed knowledge index using a shared engineer token. The question instead turns on “Managed service tools reduce custom hosting and leverage workspace authorization”: It directly supports the requirement that An agent needs governed Unity Catalog queries and Genie analytics.
C:“Preprocessing and postprocessing are deployable model behavior and need independent tests” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. The question instead turns on “Managed service tools reduce custom hosting and leverage workspace authorization”: It directly supports the requirement that An agent needs governed Unity Catalog queries and Genie analytics.
D:“Hosted model APIs separate application logic from model infrastructure operations” is associated with this technical property: It directly supports the requirement that A team needs a supported hosted language model for summarization without managing GPUs. The question instead turns on “Managed service tools reduce custom hosting and leverage workspace authorization”: It directly supports the requirement that An agent needs governed Unity Catalog queries and Genie analytics.
Question 334
An engineering review considers a safeguard for this situation: Top results contain many neighboring but irrelevant product descriptions. The proposed action is: Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted. Which observed failure most strongly justifies that action?
- A scanned-image OCR tool produces noise on native HTML pages
- Answer context is crowded by false positives and displaces correct facts
- Fixed character splits sever clause conditions from their headings
- A notebook overwrites raw data when producing chunks, losing rollback
Explanation
Correct Answer
B:Answer context is crowded by false positives and displaces correct facts. This observation motivates the specific control to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted. Retrieval precision controls the fraction of presented evidence that is relevant. The follow-up evidence would be: Irrelevant passages decrease while target evidence remains in top results. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A scanned-image OCR tool produces noise on native HTML pages” is associated with this technical property: This observation motivates the specific control to Parse relevant HTML elements using an HTML parser such as BeautifulSoup. The question instead turns on “Answer context is crowded by false positives and displaces correct facts”: This observation motivates the specific control to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted.
C:“Fixed character splits sever clause conditions from their headings” is associated with this technical property: This observation motivates the specific control to Chunk along semantic boundaries, carrying heading metadata into retrieval. The question instead turns on “Answer context is crowded by false positives and displaces correct facts”: This observation motivates the specific control to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted.
D:“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 “Answer context is crowded by false positives and displaces correct facts”: This observation motivates the specific control to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted.
Question 335
For the requirement that A financial table spanning pages is split such that row values lose currency and period, the team proposes this change: Choose chunks that retain header, period, currency and row key. Which technical principle explains why it is appropriate?
- Guardrails should consider both user intent and produced content
- Tables require contextual labels for safe semantic interpretation
- Abstention is preferable to fabricated specifics when retrieval lacks support
- Stable entity keys are safer than free-text guessing for structured tool use
Explanation
Correct Answer
B:Tables require contextual labels for safe semantic interpretation. The proposed engineering step is to Choose chunks that retain header, period, currency and row key. It directly supports the requirement that A financial table spanning pages is split such that row values lose currency and period. The operational test is that Retrieved row carries its period and unit and is matched to reviewed answer keys. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Guardrails should consider both user intent and produced content” is associated with this technical property: It directly supports the requirement that A public assistant receives abusive requests and attempts to produce harmful content. The question instead turns on “Tables require contextual labels for safe semantic interpretation”: It directly supports the requirement that A financial table spanning pages is split such that row values lose currency and period.
C:“Abstention is preferable to fabricated specifics when retrieval lacks support” is associated with this technical property: It directly supports the requirement that Retrieval returns no passages on a newly launched internal feature. The question instead turns on “Tables require contextual labels for safe semantic interpretation”: It directly supports the requirement that A financial table spanning pages is split such that row values lose currency and period.
D:“Stable entity keys are safer than free-text guessing for structured tool use” is associated with this technical property: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns. The question instead turns on “Tables require contextual labels for safe semantic interpretation”: It directly supports the requirement that A financial table spanning pages is split such that row values lose currency and period.
Question 336
A Databricks generative AI team is designing a solution with this requirement: Pricing tables span pages and values become ambiguous without column labels. Which engineering approach should it select first?
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
- Remove irrelevant repeated chrome before chunking and index creation
- Store child chunks for fine search with parent-section expansion for answer context
- Keep table captions and headers with row groups during structured extraction
Explanation
Correct Answer
D:Keep table captions and headers with row groups during structured extraction directly addresses the described Databricks GenAI architecture: Pricing tables span pages and values become ambiguous without column labels. Table cells depend on row and column context to retain correct semantics. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Retrieved pricing row includes correct units, customer tier and date.
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 “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
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 “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
C:“Store child chunks for fine search with parent-section expansion for answer context” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
Question 337
The team observes this failure in a GenAI application: The model guesses numeric averages from sample text instead of executing arithmetic. After implementing the fix to Connect retrieval to a deterministic aggregation tool before final narrative generation, which measurement or test most directly demonstrates success?
- Traces show correct specialist selection and domain restrictions on mixed test cases
- Recomputed averages match source event durations and generated prose
- Evaluation confirms central incident facts survive compression within the sentence limit
- No submit call occurs without approval token and audit records exact submitted payload
Explanation
Correct Answer
B:Recomputed averages match source event durations and generated prose. This specifically validates the remediation to Connect retrieval to a deterministic aggregation tool before final narrative generation for the failure that The model guesses numeric averages from sample text instead of executing arithmetic. Deterministic computation should handle precise arithmetic while an LLM explains the result. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Traces show correct specialist selection and domain restrictions on mixed test cases” is associated with this technical property: Supervisor orchestration is appropriate when a request must select among specialist capabilities. The question instead turns on “Recomputed averages match source event durations and generated prose”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
C:“Evaluation confirms central incident facts survive compression within the sentence limit” is associated with this technical property: Task fit matters because extraction and summarization preserve different information. The question instead turns on “Recomputed averages match source event durations and generated prose”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
D:“No submit call occurs without approval token and audit records exact submitted payload” is associated with this technical property: State-changing operations require authorization gates distinct from read-only retrieval. The question instead turns on “Recomputed averages match source event durations and generated prose”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
Question 338
An engineering review considers a safeguard for this situation: Several prompt and chain versions are trialed by different teams. The proposed action is: Track model, code, prompt and evaluation datasets with versioned experiment artifacts. Which observed failure most strongly justifies that action?
- Agent searches all orders because previous turn identifiers were discarded
- Application prompts import provider-specific HTTP payload formats in many files
- No one can reconstruct which model configuration produced a regression
- Retriever surfaces whole unrelated chapters at high token cost
Explanation
Correct Answer
C:No one can reconstruct which model configuration produced a regression. This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts. Reproducibility requires linking outputs to immutable evaluated versions. The follow-up evidence would be: A specific failed evaluation is replayable from recorded artifacts. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Agent searches all orders because previous turn identifiers were discarded” is associated with this technical property: This observation motivates the specific control to Resolve follow-up reference against authorized conversation state before tool call. The question instead turns on “No one can reconstruct which model configuration produced a regression”: This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts.
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 “No one can reconstruct which model configuration produced a regression”: This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts.
D:“Retriever surfaces whole unrelated chapters at high token cost” is associated with this technical property: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. The question instead turns on “No one can reconstruct which model configuration produced a regression”: This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts.
Question 339
A solution architect must balance this requirement: A shipping assistant needs expected delivery dates for a specific transaction. During review the team anticipates the failure that The index contains generic shipping policy but not live tracking records. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Store raw records and curated chunk tables separately in governed Delta with lineage
- Reduce chunk tokens to fit effective embedding context with explicit truncation tests
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
Explanation
Correct Answer
A:Retrieve transaction-specific facts through governed structured data in addition to policy text directly addresses the described Databricks GenAI architecture: A shipping assistant needs expected delivery dates for a specific transaction. Source completeness matters more than a persuasive prompt for operational answers. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Order answers match current shipment data and reference the right transaction.
Incorrect Answers
B:“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 “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
C:“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 “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
D:“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 “Retrieve transaction-specific facts through governed structured data in addition to policy text”: Source completeness matters more than a persuasive prompt for operational answers.
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.