Certified Generative AI Engineer Associate Practice Test 15
Question 140
A Databricks generative AI team is designing a solution with this requirement: An agent must connect retrieval, a calculation tool and a final conversational response. Which engineering approach should it select first?
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
- Choose a model evaluated on structured tool-use success and error recovery
- Choose chunks that retain header, period, currency and row key
Explanation
Correct Answer
B:Use an agent orchestration framework with explicit typed tool definitions and execution traces directly addresses the described Databricks GenAI architecture: An agent must connect retrieval, a calculation tool and a final conversational response. Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Traces show a retrieval call, calculation result and final text with handled tool errors.
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 “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.
C:“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 “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.
D:“Choose chunks that retain header, period, currency and row key” is associated with this technical property: Tables require contextual labels for safe semantic interpretation. The question instead turns on “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.
Question 141
The team observes this failure in a GenAI application: Team uses the cheapest index option without evaluating latency and capacity. After implementing the fix to Benchmark supported index types against collection size, update cadence, query latency and cost, which measurement or test most directly demonstrates success?
- Trace shows evidence retrieval before every grounded answer
- Chosen design meets measured throughput and p95 response targets at expected scale
- Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts
- Endpoint retrieves approved documents after employee token revocation with auditable service identity
Explanation
Correct Answer
B:Chosen design meets measured throughput and p95 response targets at expected scale. This specifically validates the remediation to Benchmark supported index types against collection size, update cadence, query latency and cost for the failure that Team uses the cheapest index option without evaluating latency and capacity. Index architecture is a workload tradeoff, not solely a storage-price decision. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Trace shows evidence retrieval before every grounded answer” is associated with this technical property: An executable chain defines data dependencies instead of hoping prompting implies them. The question instead turns on “Chosen design meets measured throughput and p95 response targets at expected scale”: Index architecture is a workload tradeoff, not solely a storage-price decision.
C:“Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts” is associated with this technical property: A serving wrapper should enforce a stable input contract independent of model behavior. The question instead turns on “Chosen design meets measured throughput and p95 response targets at expected scale”: Index architecture is a workload tradeoff, not solely a storage-price decision.
D:“Endpoint retrieves approved documents after employee token revocation with auditable service identity” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Chosen design meets measured throughput and p95 response targets at expected scale”: Index architecture is a workload tradeoff, not solely a storage-price decision.
Question 142
A Databricks generative AI team is designing a solution with this requirement: A security reviewer finds an unsafe tool action that automated tests missed. Which engineering approach should it select first?
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
- Monitor groundedness and citation coverage alongside response latency
- Track p95/p99 latency and relevant request slices
Explanation
Correct Answer
A:Convert reviewed failure into a labeled regression case and rerun on new versions directly addresses the described Databricks GenAI architecture: A security reviewer finds an unsafe tool action that automated tests missed. Expert feedback improves quality only when incorporated into repeatable release gates. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: New evaluation fails unsafe old version and passes remediated agent.
Incorrect Answers
B:“Configure supported AI Gateway rate limits and usage monitoring by authorized identity” is associated with this technical property: Gateway controls can govern resource consumption across model invocations. The question instead turns on “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
C:“Monitor groundedness and citation coverage alongside response latency” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
D:“Track p95/p99 latency and relevant request slices” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
Question 143
An application intended to satisfy this requirement, A lengthy engineering manual has chapters, headings and steps, instead experiences: Short isolated chunks omit the parent procedure or prerequisites. Which targeted engineering correction resolves this failure?
- Combine keyword and semantic retrieval, then optionally rerank shortlisted results
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Store child chunks for fine search with parent-section expansion for answer context
- Evaluate multilingual embedding and optional query translation on representative pairs
Explanation
Correct Answer
C:Store child chunks for fine search with parent-section expansion for answer context targets the observed failure: Short isolated chunks omit the parent procedure or prerequisites. Hierarchical retrieval combines search granularity with coherent generation context. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Answer can cite both matching step and applicable prerequisite section.
Incorrect Answers
A:“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 “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
B:“Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted” is associated with this technical property: Retrieval precision controls the fraction of presented evidence that is relevant. The question instead turns on “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
D:“Evaluate multilingual embedding and optional query translation on representative pairs” is associated with this technical property: Query-language mismatch needs empirical retrieval coverage testing. The question instead turns on “Store child chunks for fine search with parent-section expansion for answer context”: Hierarchical retrieval combines search granularity with coherent generation context.
Question 144
For the requirement that A marketplace model promises strong generic benchmark scores, the team proposes this change: Validate model-card claims on an application-specific held-out dataset. Which technical principle explains why it is appropriate?
- End-to-end traces reveal which step failed and support reproducible evaluation
- Model selection is a multi-objective optimization with service constraints
- Published benchmarks do not guarantee performance on a specialized dataset
- Explicit state management is safer than assuming an isolated LLM call remembers prior inputs
Explanation
Correct Answer
C:Published benchmarks do not guarantee performance on a specialized dataset. The proposed engineering step is to Validate model-card claims on an application-specific held-out dataset. It directly supports the requirement that A marketplace model promises strong generic benchmark scores. The operational test is that Selection record includes measured accuracy, costs and failures. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“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 “Published benchmarks do not guarantee performance on a specialized dataset”: It directly supports the requirement that A marketplace model promises strong generic benchmark scores.
B:“Model selection is a multi-objective optimization with service constraints” is associated with this technical property: It directly supports the requirement that A premium LLM improves accuracy slightly while multiplying cost per request. The question instead turns on “Published benchmarks do not guarantee performance on a specialized dataset”: It directly supports the requirement that A marketplace model promises strong generic benchmark scores.
D:“Explicit state management is safer than assuming an isolated LLM call remembers prior inputs” is associated with this technical property: It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns. The question instead turns on “Published benchmarks do not guarantee performance on a specialized dataset”: It directly supports the requirement that A marketplace model promises strong generic benchmark scores.
Question 145
An application intended to satisfy this requirement, Bi-encoder search finds loosely related candidates for complex entitlement questions, instead experiences: High semantic similarity alone ranks a misleading policy clause first. Which targeted engineering correction resolves this failure?
- Store child chunks for fine search with parent-section expansion for answer context
- Rerank the candidate set against the full query with a suitable reranker
- Use an appropriate OCR stage for image content with quality checks
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
Explanation
Correct Answer
B:Rerank the candidate set against the full query with a suitable reranker targets the observed failure: High semantic similarity alone ranks a misleading policy clause first. Second-stage reranking can improve relevance where first-stage vectors are approximate. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Labeled relevance ordering improves without discarding the true policy passage.
Incorrect Answers
A:“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 “Rerank the candidate set against the full query with a suitable reranker”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
C:“Use an appropriate OCR stage for image content with quality checks” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Rerank the candidate set against the full query with a suitable reranker”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
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 “Rerank the candidate set against the full query with a suitable reranker”: Second-stage reranking can improve relevance where first-stage vectors are approximate.
Question 146
An application intended to satisfy this requirement, Finance needs per-team spend for several deployed agent endpoints, instead experiences: Only overall cloud bill is recorded and individual agents cannot be compared. Which targeted engineering correction resolves this failure?
- Capture MLflow retriever and LLM spans and apply groundedness scorers
- Use AI Gateway usage telemetry with endpoint/team attribution
- Enable governed inference tables and correlate request IDs with MLflow traces
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
Explanation
Correct Answer
B:Use AI Gateway usage telemetry with endpoint/team attribution targets the observed failure: Only overall cloud bill is recorded and individual agents cannot be compared. Attribution requires identity and endpoint dimensions beyond total invoices. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Usage reports reconcile agent tokens and billed amount by team.
Incorrect Answers
A:“Capture MLflow retriever and LLM spans and apply groundedness scorers” is associated with this technical property: Traces connect observed errors to intermediate model and tool activity. The question instead turns on “Use AI Gateway usage telemetry with endpoint/team attribution”: Attribution requires identity and endpoint dimensions beyond total invoices.
C:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Use AI Gateway usage telemetry with endpoint/team attribution”: Attribution requires identity and endpoint dimensions beyond total invoices.
D:“Build a deterministic custom scorer for required phrase presence in addition to semantic judges” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Use AI Gateway usage telemetry with endpoint/team attribution”: Attribution requires identity and endpoint dimensions beyond total invoices.
Question 147
A Databricks generative AI team is designing a solution with this requirement: An agent API must enforce tenant-specific token and request budgets. Which engineering approach should it select first?
- Build a custom scorer that checks authorized source support and required qualifiers
- Apply production monitoring with quality scorers and sampling policies
- Weight critical evaluation strata and set nonnegotiable failure limits
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
Explanation
Correct Answer
D:Configure supported AI Gateway rate limits and usage monitoring by authorized identity directly addresses the described Databricks GenAI architecture: An agent API must enforce tenant-specific token and request budgets. Gateway controls can govern resource consumption across model invocations. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Abusive burst is throttled and other tenant traffic remains within SLO.
Incorrect Answers
A:“Build a custom scorer that checks authorized source support and required qualifiers” is associated with this technical property: Domain quality criteria should be explicit, testable and tied to allowed evidence. The question instead turns on “Configure supported AI Gateway rate limits and usage monitoring by authorized identity”: Gateway controls can govern resource consumption across model invocations.
B:“Apply production monitoring with quality scorers and sampling policies” is associated with this technical property: Operational availability and response correctness require separate tracking. The question instead turns on “Configure supported AI Gateway rate limits and usage monitoring by authorized identity”: Gateway controls can govern resource consumption across model invocations.
C:“Weight critical evaluation strata and set nonnegotiable failure limits” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Configure supported AI Gateway rate limits and usage monitoring by authorized identity”: Gateway controls can govern resource consumption across model invocations.
Question 148
The team observes this failure in a GenAI application: A conversational assistant returns inconsistent key names across batches. After implementing the fix to Choose the Information Extraction capability and define stable target schema, which measurement or test most directly demonstrates success?
- No submit call occurs without approval token and audit records exact submitted payload
- Load tests meet latency percentile and accuracy thresholds with stage timings recorded
- Answer traces show relevant handbook evidence for each supported response
- Batch outputs validate schema and field accuracy against reviewed invoice samples
Explanation
Correct Answer
D:Batch outputs validate schema and field accuracy against reviewed invoice samples. This specifically validates the remediation to Choose the Information Extraction capability and define stable target schema for the failure that A conversational assistant returns inconsistent key names across batches. Structured extraction differs from open-ended multi-step research orchestration. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Batch outputs validate schema and field accuracy against reviewed invoice samples”: Structured extraction differs from open-ended multi-step research orchestration.
B:“Load tests meet latency percentile and accuracy thresholds with stage timings recorded” is associated with this technical property: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The question instead turns on “Batch outputs validate schema and field accuracy against reviewed invoice samples”: Structured extraction differs from open-ended multi-step research orchestration.
C:“Answer traces show relevant handbook evidence for each supported response” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Batch outputs validate schema and field accuracy against reviewed invoice samples”: Structured extraction differs from open-ended multi-step research orchestration.
Question 149
An application intended to satisfy this requirement, A document retrieval service intermittently times out, instead experiences: Agent treats an empty tool response as proof that the answer is no. Which targeted engineering correction resolves this failure?
- Benchmark supported index types against collection size, update cadence, query latency and cost
- Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain
- Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters
- Configure supported sync/refresh behavior and verify index freshness
Explanation
Correct Answer
B:Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain targets the observed failure: Agent treats an empty tool response as proof that the answer is no. Transport failure is not equivalent to a negative result in business logic. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Injected timeout returns a transparent transient-error message, not a fabricated fact.
Incorrect Answers
A:“Benchmark supported index types against collection size, update cadence, query latency and cost” is associated with this technical property: Index architecture is a workload tradeoff, not solely a storage-price decision. The question instead turns on “Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain”: Transport failure is not equivalent to a negative result in business logic.
C:“Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters” is associated with this technical property: Model-serving authentication alone does not automatically implement row-level retrieval access. The question instead turns on “Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain”: Transport failure is not equivalent to a negative result in business logic.
D:“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 “Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain”: Transport failure is not equivalent to a negative result in business logic.
Question 150
A Databricks generative AI team is designing a solution with this requirement: Users request a one-line summary of an already verified technical explanation. Which engineering approach should it select first?
- Review model-card licensing and usage restrictions before selection
- Add a bounded summary instruction preserving critical qualifier and context
- Treat user text as untrusted, enforce tool authorization outside model prompts and test injection
- Compare validated retrieval quality against vector dimensionality and compute cost
Explanation
Correct Answer
B:Add a bounded summary instruction preserving critical qualifier and context directly addresses the described Databricks GenAI architecture: Users request a one-line summary of an already verified technical explanation. Prompt editing can adjust expression without replacing underlying evidence. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Summaries fit configured length and retain key safety caveat.
Incorrect Answers
A:“Review model-card licensing and usage restrictions before selection” is associated with this technical property: Technical suitability does not grant legal permission for deployment. 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:“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 “Add a bounded summary instruction preserving critical qualifier and context”: Prompt editing can adjust expression without replacing underlying evidence.
D:“Compare validated retrieval quality against vector dimensionality and compute cost” is associated with this technical property: Larger embedding dimension increases storage and index work without universal quality improvement. The question instead turns on “Add a bounded summary instruction preserving critical qualifier and context”: Prompt editing can adjust expression without replacing underlying evidence.