Certified Generative AI Engineer Associate Practice Test 28
Question 270
A Databricks generative AI team is designing a solution with this requirement: Several prompt and chain versions are trialed by different teams. Which engineering approach should it select first?
- Choose vision-capable processing or OCR extraction before text model use
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Track model, code, prompt and evaluation datasets with versioned experiment artifacts
- Benchmark smaller capable candidates on quality and latency for actual workload
Explanation
Correct Answer
C:Track model, code, prompt and evaluation datasets with versioned experiment artifacts directly addresses the described Databricks GenAI architecture: Several prompt and chain versions are trialed by different teams. Reproducibility requires linking outputs to immutable evaluated versions. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: A specific failed evaluation is replayable from recorded artifacts.
Incorrect Answers
A:“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 “Track model, code, prompt and evaluation datasets with versioned experiment artifacts”: Reproducibility requires linking outputs to immutable evaluated versions.
B:“Increase chunk continuity or retrieve adjacent parent context based on evaluation failures” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Track model, code, prompt and evaluation datasets with versioned experiment artifacts”: Reproducibility requires linking outputs to immutable evaluated versions.
D:“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 “Track model, code, prompt and evaluation datasets with versioned experiment artifacts”: Reproducibility requires linking outputs to immutable evaluated versions.
Question 271
An application intended to satisfy this requirement, A chain with custom preprocessors is recorded as a generic text-only artifact, instead experiences: Serving cannot reconstruct the retrieval and processing logic. Which targeted engineering correction resolves this failure?
- Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements
- Implement explicit retrieve, evidence selection and answer generation stages
- Add typed output parsing and schema validation in the pyfunc predict path
- Prefer supported managed MCP servers when their existing tools fit the task
Explanation
Correct Answer
A:Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements targets the observed failure: Serving cannot reconstruct the retrieval and processing logic. Model logging format must represent the callable application's full behavior. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Fresh environment can load and invoke the logged artifact identically.
Incorrect Answers
B:“Implement explicit retrieve, evidence selection and answer generation stages” is associated with this technical property: An executable chain defines data dependencies instead of hoping prompting implies them. The question instead turns on “Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements”: Model logging format must represent the callable application's full behavior.
C:“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 “Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements”: Model logging format must represent the callable application's full behavior.
D:“Prefer supported managed MCP servers when their existing tools fit the task” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements”: Model logging format must represent the callable application's full behavior.
Question 272
The team observes this failure in a GenAI application: One global memory table stores both without retention or purpose separation. After implementing the fix to Store short-lived workflow state separately from approved persistent preferences, which measurement or test most directly demonstrates success?
- Short-lived task state expires and verified preference remains only under policy
- Agent calls approved managed tools with recorded permissions and results
- Authorized team can resolve the registered version and view audit metadata
- Endpoint retrieves approved documents after employee token revocation with auditable service identity
Explanation
Correct Answer
A:Short-lived task state expires and verified preference remains only under policy. This specifically validates the remediation to Store short-lived workflow state separately from approved persistent preferences for the failure that One global memory table stores both without retention or purpose separation. Different memory lifetimes require different access, consent and deletion controls. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Agent calls approved managed tools with recorded permissions and results” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Short-lived task state expires and verified preference remains only under policy”: Different memory lifetimes require different access, consent and deletion controls.
C:“Authorized team can resolve the registered version and view audit metadata” is associated with this technical property: Unity Catalog provides governed namespace and access for registered models. The question instead turns on “Short-lived task state expires and verified preference remains only under policy”: Different memory lifetimes require different access, consent and deletion controls.
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 “Short-lived task state expires and verified preference remains only under policy”: Different memory lifetimes require different access, consent and deletion controls.
Question 273
An engineering review considers a safeguard for this situation: Customers refer to a product by nickname and catalog SKU in different turns. The proposed action is: Normalize supported aliases to canonical product ID before retrieval. Which observed failure most strongly justifies that action?
- Generic content classification misses context-specific prohibited procedures
- Search returns incompatible products due to inconsistent query strings
- One general tool selection executes an unsafe IT command for legal question
- A simple answer-relevance score passes a dangerously incomplete response
Explanation
Correct Answer
B:Search returns incompatible products due to inconsistent query strings. This observation motivates the specific control to Normalize supported aliases to canonical product ID before retrieval. Stable entity keys are safer than free-text guessing for structured tool use. The follow-up evidence would be: Both alias and SKU lead to same permitted record with exact inventory result. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Generic content classification misses context-specific prohibited procedures” is associated with this technical property: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds. The question instead turns on “Search returns incompatible products due to inconsistent query strings”: This observation motivates the specific control to Normalize supported aliases to canonical product ID before retrieval.
C:“One general tool selection executes an unsafe IT command for legal question” is associated with this technical property: This observation motivates the specific control to Use specialist agents with a supervisor and per-tool permission boundaries. The question instead turns on “Search returns incompatible products due to inconsistent query strings”: This observation motivates the specific control to Normalize supported aliases to canonical product ID before retrieval.
D:“A simple answer-relevance score passes a dangerously incomplete response” is associated with this technical property: This observation motivates the specific control to Evaluate coverage of all required reference facts with a checklist or calibrated scorer. The question instead turns on “Search returns incompatible products due to inconsistent query strings”: This observation motivates the specific control to Normalize supported aliases to canonical product ID before retrieval.
Question 274
An engineering review considers a safeguard for this situation: Every policy page includes a long navigation footer repeated hundreds of times. The proposed action is: Remove irrelevant repeated chrome before chunking and index creation. Which observed failure most strongly justifies that action?
- Short isolated chunks omit the parent procedure or prerequisites
- The response model hallucinates because top-k retrieval omitted the source
- Developers increase overlap despite redundant boundaries and hit capacity
- Top retrieved hits are identical legal and navigation boilerplate rather than substance
Explanation
Correct Answer
D:Top retrieved hits are identical legal and navigation boilerplate rather than substance. This observation motivates the specific control to Remove irrelevant repeated chrome before chunking and index creation. High-frequency irrelevant text dilutes retrieval quality and raises noise. The follow-up evidence would be: Sample retrieval hits prioritize policy sections and repeated footers are absent. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Short isolated chunks omit the parent procedure or prerequisites” is associated with this technical property: This observation motivates the specific control to Store child chunks for fine search with parent-section expansion for answer context. The question instead turns on “Top retrieved hits are identical legal and navigation boilerplate rather than substance”: This observation motivates the specific control to Remove irrelevant repeated chrome before chunking and index creation.
B:“The response model hallucinates because top-k retrieval omitted the source” is associated with this technical property: This observation motivates the specific control to Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval. The question instead turns on “Top retrieved hits are identical legal and navigation boilerplate rather than substance”: This observation motivates the specific control to Remove irrelevant repeated chrome before chunking and index creation.
C:“Developers increase overlap despite redundant boundaries and hit capacity” is associated with this technical property: This observation motivates the specific control to Reduce excessive overlap while checking boundary-question recall. The question instead turns on “Top retrieved hits are identical legal and navigation boilerplate rather than substance”: This observation motivates the specific control to Remove irrelevant repeated chrome before chunking and index creation.
Question 275
A Databricks generative AI team is designing a solution with this requirement: An invoice archive includes scanned photos requiring OCR or vision. Which engineering approach should it select first?
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
- Choose vision-capable processing or OCR extraction before text model use
- Use specialist agents with a supervisor and per-tool permission boundaries
Explanation
Correct Answer
C:Choose vision-capable processing or OCR extraction before text model use directly addresses the described Databricks GenAI architecture: An invoice archive includes scanned photos requiring OCR or vision. Input modality support is a prerequisite for accurate task execution. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Photo invoices yield verifiable extracted values and low-confidence flags.
Incorrect Answers
A:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Choose vision-capable processing or OCR extraction before text model use”: Input modality support is a prerequisite for accurate task execution.
B:“Run offline evaluation on labeled cases before deployment and use live monitoring afterward” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “Choose vision-capable processing or OCR extraction before text model use”: Input modality support is a prerequisite for accurate task execution.
D:“Use specialist agents with a supervisor and per-tool permission boundaries” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Choose vision-capable processing or OCR extraction before text model use”: Input modality support is a prerequisite for accurate task execution.
Question 276
An application intended to satisfy this requirement, A shipping assistant needs expected delivery dates for a specific transaction, instead experiences: The index contains generic shipping policy but not live tracking records. Which targeted engineering correction resolves this failure?
- Parse JSON directly and normalize documented nested keys
- Keep table captions and headers with row groups during structured extraction
- 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
Explanation
Correct Answer
D:Retrieve transaction-specific facts through governed structured data in addition to policy text targets the observed failure: The index contains generic shipping policy but not live tracking records. Source completeness matters more than a persuasive prompt for operational answers. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Order answers match current shipment data and reference the right transaction.
Incorrect Answers
A:“Parse JSON directly and normalize documented nested keys” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. 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.
B:“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 “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:“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 “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 277
An application intended to satisfy this requirement, An internal assistant needs to retain a user's current incident ID across multiple turns, instead experiences: Each tool call sees only the latest message and queries the wrong incident. Which targeted engineering correction resolves this failure?
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Choose an orchestration pattern that passes validated state and scoped conversation context
Explanation
Correct Answer
D:Choose an orchestration pattern that passes validated state and scoped conversation context targets the observed failure: Each tool call sees only the latest message and queries the wrong incident. Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Multi-turn tests use the correct authorized incident and reset state between users.
Incorrect Answers
A:“Increase chunk continuity or retrieve adjacent parent context based on evaluation failures” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
B:“Implement task-aware moderation and safe-refusal handling with reviewable thresholds” is associated with this technical property: Guardrails should consider both user intent and produced content. The question instead turns on “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
C:“Pass authenticated account ID and resolved invoice ID as structured retrieval filters” is associated with this technical property: User intent must be coupled to trusted entity context before private lookup. The question instead turns on “Choose an orchestration pattern that passes validated state and scoped conversation context”: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs.
Question 278
An application intended to satisfy this requirement, An agent needs governed Unity Catalog queries and Genie analytics, instead experiences: Engineers build redundant custom REST wrappers for services already managed. Which targeted engineering correction resolves this failure?
- Connect typed retrieval and date calculation components before the prose stage
- Prefer supported managed MCP servers when their existing tools fit the task
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Implement explicit retrieve, evidence selection and answer generation stages
Explanation
Correct Answer
B:Prefer supported managed MCP servers when their existing tools fit the task targets the observed failure: Engineers build redundant custom REST wrappers for services already managed. Managed service tools reduce custom hosting and leverage workspace authorization. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Agent calls approved managed tools with recorded permissions and results.
Incorrect Answers
A:“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 “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
C:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
D:“Implement explicit retrieve, evidence selection and answer generation stages” is associated with this technical property: An executable chain defines data dependencies instead of hoping prompting implies them. The question instead turns on “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
Question 279
An engineering review considers a safeguard for this situation: A document retrieval service intermittently times out. The proposed action is: Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain. Which observed failure most strongly justifies that action?
- Agent treats an empty tool response as proof that the answer is no
- Serving cannot reconstruct the retrieval and processing logic
- Any workspace member can invoke it despite not being on the finance team
- Newly published answers are missing because source changes were never propagated
Explanation
Correct Answer
A:Agent treats an empty tool response as proof that the answer is no. This observation motivates the specific control to 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. The follow-up evidence would be: Injected timeout returns a transparent transient-error message, not a fabricated fact. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Serving cannot reconstruct the retrieval and processing logic” is associated with this technical property: This observation motivates the specific control to Select a supported MLflow model flavor or pyfunc wrapper that packages code and runtime requirements. The question instead turns on “Agent treats an empty tool response as proof that the answer is no”: This observation motivates the specific control to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain.
C:“Any workspace member can invoke it despite not being on the finance team” is associated with this technical property: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. The question instead turns on “Agent treats an empty tool response as proof that the answer is no”: This observation motivates the specific control to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain.
D:“Newly published answers are missing because source changes were never propagated” is associated with this technical property: This observation motivates the specific control to Configure supported sync/refresh behavior and verify index freshness. The question instead turns on “Agent treats an empty tool response as proof that the answer is no”: This observation motivates the specific control to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain.
Question 280
An application intended to satisfy this requirement, An operations agent must answer questions requiring aggregations over governed BI tables, instead experiences: It uses vector retrieval from policy PDFs to guess numerical warehouse totals. Which targeted engineering correction resolves this failure?
- Choose a model evaluated on structured tool-use success and error recovery
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Try smaller heading-aware chunks and compare retrieval performance on labeled queries
- Route authorized structured questions to a governed Genie Space or conversational API
Explanation
Correct Answer
D:Route authorized structured questions to a governed Genie Space or conversational API targets the observed failure: It uses vector retrieval from policy PDFs to guess numerical warehouse totals. Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Agent trace shows permitted query and correct aggregated figures.
Incorrect Answers
A:“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 “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
B:“Pass authenticated account ID and resolved invoice ID as structured retrieval filters” is associated with this technical property: User intent must be coupled to trusted entity context before private lookup. The question instead turns on “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
C:“Try smaller heading-aware chunks and compare retrieval performance on labeled queries” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “Route authorized structured questions to a governed Genie Space or conversational API”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.