Certified Generative AI Engineer Associate Practice Test 6
Question 50
The team observes this failure in a GenAI application: Billing increases but response count is stable. After implementing the fix to Record prompt/response token metrics by route, version and retrieval depth, which measurement or test most directly demonstrates success?
- Abusive burst is throttled and other tenant traffic remains within SLO
- The chosen model passes critical high-risk cases and baseline quality
- Repeat requests show lower token spend without serving stale or cross-user data
- Dashboard identifies the responsible version and oversized prompt stage
Explanation
Correct Answer
D:Dashboard identifies the responsible version and oversized prompt stage. This specifically validates the remediation to Record prompt/response token metrics by route, version and retrieval depth for the failure that Billing increases but response count is stable. Token use diagnostics reveal cost regressions invisible in request counts. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Dashboard identifies the responsible version and oversized prompt stage”: Token use diagnostics reveal cost regressions invisible in request counts.
B:“The chosen model passes critical high-risk cases and baseline quality” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Dashboard identifies the responsible version and oversized prompt stage”: Token use diagnostics reveal cost regressions invisible in request counts.
C:“Repeat requests show lower token spend without serving stale or cross-user data” is associated with this technical property: Caching saves inference cost only when response scope and freshness permit reuse. The question instead turns on “Dashboard identifies the responsible version and oversized prompt stage”: Token use diagnostics reveal cost regressions invisible in request counts.
Question 51
An application intended to satisfy this requirement, Two approved policy versions disagree about the same reimbursement rule, instead experiences: A summarizer merges both and issues a false combined instruction. Which targeted engineering correction resolves this failure?
- Check data provenance, license terms and documented permissible uses before training
- Prioritize effective approved source versions and surface unresolved contradiction
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Validate and bind tenant scope server-side for every tool call
Explanation
Correct Answer
B:Prioritize effective approved source versions and surface unresolved contradiction targets the observed failure: A summarizer merges both and issues a false combined instruction. Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Ambiguous cases cite controlling version or clearly flag the disagreement.
Incorrect Answers
A:“Check data provenance, license terms and documented permissible uses before training” is associated with this technical property: Availability of source data does not imply redistribution or model-training rights. The question instead turns on “Prioritize effective approved source versions and surface unresolved contradiction”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
C:“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 “Prioritize effective approved source versions and surface unresolved contradiction”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
D:“Validate and bind tenant scope server-side for every tool call” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Prioritize effective approved source versions and surface unresolved contradiction”: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis.
Question 52
A solution architect must balance this requirement: Daily product feeds must be re-embedded after validated text cleanup. During review the team anticipates the failure that A notebook overwrites raw data when producing chunks, losing rollback. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- 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
Explanation
Correct Answer
D:Store raw records and curated chunk tables separately in governed Delta with lineage directly addresses the described Databricks GenAI architecture: Daily product feeds must be re-embedded after validated text cleanup. Layered data preparation supports reproducible source-to-chunk transformations. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Rebuild can trace each chunk to original record/version and transformation.
Incorrect Answers
A:“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 raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
B:“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 “Store raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
C:“Retrieve transaction-specific facts through governed structured data in addition to policy text” is associated with this technical property: Source completeness matters more than a persuasive prompt for operational answers. The question instead turns on “Store raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
Question 53
A Databricks generative AI team is designing a solution with this requirement: A maintenance assistant must retrieve failure records then compute average downtime. Which engineering approach should it select first?
- Connect retrieval to a deterministic aggregation tool before final narrative generation
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Refresh external result at the final decision point and label timestamped availability
- Use retrieval-grounded question answering with a suitable generative model
Explanation
Correct Answer
A:Connect retrieval to a deterministic aggregation tool before final narrative generation directly addresses the described Databricks GenAI architecture: A maintenance assistant must retrieve failure records then compute average downtime. Deterministic computation should handle precise arithmetic while an LLM explains the result. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Recomputed averages match source event durations and generated prose.
Incorrect Answers
B:“Use schema-guided extraction with explicit missing-value handling rather than creative completion” is associated with this technical property: Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The question instead turns on “Connect retrieval to a deterministic aggregation tool before final narrative generation”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
C:“Refresh external result at the final decision point and label timestamped availability” is associated with this technical property: Tool freshness is a dependency of time-sensitive reasoning and action. The question instead turns on “Connect retrieval to a deterministic aggregation tool before final narrative generation”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
D:“Use retrieval-grounded question answering with a suitable generative model” is associated with this technical property: Answer generation and sentiment classification optimize distinct model tasks. The question instead turns on “Connect retrieval to a deterministic aggregation tool before final narrative generation”: Deterministic computation should handle precise arithmetic while an LLM explains the result.
Question 54
A Databricks generative AI team is designing a solution with this requirement: A search index includes obscure error identifiers and natural-language descriptions. Which engineering approach should it select first?
- Add typed output parsing and schema validation in the pyfunc predict path
- Grant serving endpoint invocation only to approved service principals and groups
- Use hybrid lexical and dense search with measured relevance for the workload
- Implement approved retry, quota handling and optional validated alternative model path
Explanation
Correct Answer
C:Use hybrid lexical and dense search with measured relevance for the workload directly addresses the described Databricks GenAI architecture: A search index includes obscure error identifiers and natural-language descriptions. Keyword and dense methods retrieve complementary kinds of evidence. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Test set improves exact error-code recall and paraphrase relevance.
Incorrect Answers
A:“Add typed output parsing and schema validation in the pyfunc predict path” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. The question instead turns on “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
B:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
D:“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 “Use hybrid lexical and dense search with measured relevance for the workload”: Keyword and dense methods retrieve complementary kinds of evidence.
Question 55
An application intended to satisfy this requirement, A deployed agent calls a governed knowledge index using a shared engineer token, instead experiences: Revoking the engineer's personal token unexpectedly breaks production access. Which targeted engineering correction resolves this failure?
- Configure supported workload identity and scoped service credentials for the endpoint
- Test source table and index sync before promoting agent to production
- Connect typed retrieval and date calculation components before the prose stage
- Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements
Explanation
Correct Answer
A:Configure supported workload identity and scoped service credentials for the endpoint targets the observed failure: Revoking the engineer's personal token unexpectedly breaks production access. Production service identities should not depend on individual user credentials. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Endpoint retrieves approved documents after employee token revocation with auditable service identity.
Incorrect Answers
B:“Test source table and index sync before promoting agent to production” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
C:“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 “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
D:“Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements” is associated with this technical property: Model logging format must represent the callable application's full behavior. The question instead turns on “Configure supported workload identity and scoped service credentials for the endpoint”: Production service identities should not depend on individual user credentials.
Question 56
An application intended to satisfy this requirement, An agent must connect retrieval, a calculation tool and a final conversational response, instead experiences: Custom string concatenation makes it hard to inspect tool invocations or handle failure. Which targeted engineering correction resolves this failure?
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
- Compare validated retrieval quality against vector dimensionality and compute cost
- Plot cost, latency and quality tradeoffs under expected traffic mix
Explanation
Correct Answer
B:Use an agent orchestration framework with explicit typed tool definitions and execution traces targets the observed failure: Custom string concatenation makes it hard to inspect tool invocations or handle failure. Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Traces show a retrieval call, calculation result and final text with handled tool errors.
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 “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:“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 “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:“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 “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 57
A Databricks generative AI team is designing a solution with this requirement: A small team wants fast deployment of a conventional knowledge assistant. Which engineering approach should it select first?
- Require authenticated lookup before answer composition, with missing-data branch
- Compose a governed data-query tool followed by a separate response-generation step
- Start with a managed Agent Bricks capability and justify custom code only for unmet requirements
- Define output quality and latency objectives and budget stage latency before choosing chain topology
Explanation
Correct Answer
C:Start with a managed Agent Bricks capability and justify custom code only for unmet requirements directly addresses the described Databricks GenAI architecture: A small team wants fast deployment of a conventional knowledge assistant. Managed building blocks can reduce lifecycle work when their capabilities fit. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Pilot covers required access, answer and evaluation functions with low operational burden.
Incorrect Answers
A:“Require authenticated lookup before answer composition, with missing-data branch” is associated with this technical property: Tool ordering matters when facts are volatile and cannot be inferred safely. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
B:“Compose a governed data-query tool followed by a separate response-generation step” is associated with this technical property: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
D:“Define output quality and latency objectives and budget stage latency before choosing chain topology” is associated with this technical property: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
Question 58
An application intended to satisfy this requirement, Daily product feeds must be re-embedded after validated text cleanup, instead experiences: A notebook overwrites raw data when producing chunks, losing rollback. Which targeted engineering correction resolves this failure?
- Reduce excessive overlap while checking boundary-question recall
- Store raw records and curated chunk tables separately in governed Delta with lineage
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
Explanation
Correct Answer
B:Store raw records and curated chunk tables separately in governed Delta with lineage targets the observed failure: A notebook overwrites raw data when producing chunks, losing rollback. Layered data preparation supports reproducible source-to-chunk transformations. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Rebuild can trace each chunk to original record/version and transformation.
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 “Store raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
C:“Retrieve transaction-specific facts through governed structured data in addition to policy text” is associated with this technical property: Source completeness matters more than a persuasive prompt for operational answers. The question instead turns on “Store raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
D:“Deduplicate overlapping candidates or use maximal marginal relevance before context assembly” is associated with this technical property: Redundant retrieval reduces useful evidence diversity under a token budget. The question instead turns on “Store raw records and curated chunk tables separately in governed Delta with lineage”: Layered data preparation supports reproducible source-to-chunk transformations.
Question 59
An application intended to satisfy this requirement, A public assistant receives abusive requests and attempts to produce harmful content, instead experiences: Generic content classification misses context-specific prohibited procedures. Which targeted engineering correction resolves this failure?
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
- Benchmark smaller capable candidates on quality and latency for actual workload
- Require the governed Genie result and query provenance before final response
- Provide validated examples and a machine-enforced output schema for the target shape
Explanation
Correct Answer
A:Implement task-aware moderation and safe-refusal handling with reviewable thresholds targets the observed failure: Generic content classification misses context-specific prohibited procedures. Guardrails should consider both user intent and produced content. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Red-team prompts trigger refusal and benign requests remain available.
Incorrect Answers
B:“Benchmark smaller capable candidates on quality and latency for actual workload” is associated with this technical property: Model size and cost should match task complexity rather than marketing labels. The question instead turns on “Implement task-aware moderation and safe-refusal handling with reviewable thresholds”: Guardrails should consider both user intent and produced content.
C:“Require the governed Genie result and query provenance before final response” is associated with this technical property: Structured analytics should be traceable to actual authorized data access. The question instead turns on “Implement task-aware moderation and safe-refusal handling with reviewable thresholds”: Guardrails should consider both user intent and produced content.
D:“Provide validated examples and a machine-enforced output schema for the target shape” is associated with this technical property: Examples can guide style while schema checks enforce contract. The question instead turns on “Implement task-aware moderation and safe-refusal handling with reviewable thresholds”: Guardrails should consider both user intent and produced content.
Question 60
A Databricks generative AI team is designing a solution with this requirement: A corpus produces too many nearly identical chunks and index cost exceeds budget. Which engineering approach should it select first?
- Remove irrelevant repeated chrome before chunking and index creation
- Reduce excessive overlap while checking boundary-question recall
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
- Rerank the candidate set against the full query with a suitable reranker
Explanation
Correct Answer
B:Reduce excessive overlap while checking boundary-question recall directly addresses the described Databricks GenAI architecture: A corpus produces too many nearly identical chunks and index cost exceeds budget. Overlap trades continuity against duplication, latency and storage footprint. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Index count falls and boundary reference questions remain answerable.
Incorrect Answers
A:“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 “Reduce excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.
C:“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 “Reduce excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.
D:“Rerank the candidate set against the full query with a suitable reranker” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Reduce excessive overlap while checking boundary-question recall”: Overlap trades continuity against duplication, latency and storage footprint.