Certified Generative AI Engineer Associate Practice Test 24
Question 230
The team observes this failure in a GenAI application: A standalone notebook prototype cannot be accessed consistently by app clients. After implementing the fix to Package an agent via supported Agent Framework deployment and serving path, which measurement or test most directly demonstrates success?
- Authorized clients call versioned endpoint and traces capture requests
- Human-reviewed multilingual scenarios meet answer relevance and language constraints
- Both alias and SKU lead to same permitted record with exact inventory result
- Mixed-intent tests route to the intended specialist and enforce permissions
Explanation
Correct Answer
A:Authorized clients call versioned endpoint and traces capture requests. This specifically validates the remediation to Package an agent via supported Agent Framework deployment and serving path for the failure that A standalone notebook prototype cannot be accessed consistently by app clients. Deployment lifecycle requires governed inference endpoint and observability. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Human-reviewed multilingual scenarios meet answer relevance and language constraints” is associated with this technical property: Language capability must be validated on representative user inputs. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.
C:“Both alias and SKU lead to same permitted record with exact inventory result” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.
D:“Mixed-intent tests route to the intended specialist and enforce permissions” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.
Question 231
An application intended to satisfy this requirement, Many users ask identical public policy questions but the app calls LLM each time, instead experiences: Costs rise despite stable source documents and no personalization need. Which targeted engineering correction resolves this failure?
- Cache eligible nonprivate responses with document-version invalidation
- Compare per-slice quality, token cost and latency against release thresholds
- Capture MLflow retriever and LLM spans and apply groundedness scorers
- Convert reviewed failure into a labeled regression case and rerun on new versions
Explanation
Correct Answer
A:Cache eligible nonprivate responses with document-version invalidation targets the observed failure: Costs rise despite stable source documents and no personalization need. Caching saves inference cost only when response scope and freshness permit reuse. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Repeat requests show lower token spend without serving stale or cross-user data.
Incorrect Answers
B:“Compare per-slice quality, token cost and latency against release thresholds” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Cache eligible nonprivate responses with document-version invalidation”: Caching saves inference cost only when response scope and freshness permit reuse.
C:“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 “Cache eligible nonprivate responses with document-version invalidation”: Caching saves inference cost only when response scope and freshness permit reuse.
D:“Convert reviewed failure into a labeled regression case and rerun on new versions” is associated with this technical property: Expert feedback improves quality only when incorporated into repeatable release gates. The question instead turns on “Cache eligible nonprivate responses with document-version invalidation”: Caching saves inference cost only when response scope and freshness permit reuse.
Question 232
An engineering review considers a safeguard for this situation: An inventory assistant needs live stock totals and a readable customer explanation. The proposed action is: Compose a governed data-query tool followed by a separate response-generation step. Which observed failure most strongly justifies that action?
- The assistant sometimes emits markdown prose that breaks the consuming parser
- The agent sends reassuring delivery dates without invoking tracking
- The agent writes plausible quantities without querying the inventory system
- A conversational assistant returns inconsistent key names across batches
Explanation
Correct Answer
C:The agent writes plausible quantities without querying the inventory system. This observation motivates the specific control to Compose a governed data-query tool followed by a separate response-generation step. Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The follow-up evidence would be: Trace links each displayed stock number to a successful scoped query result. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The assistant sometimes emits markdown prose that breaks the consuming parser” is associated with this technical property: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation. The question instead turns on “The agent writes plausible quantities without querying the inventory system”: This observation motivates the specific control to Compose a governed data-query tool followed by a separate response-generation step.
B:“The agent sends reassuring delivery dates without invoking tracking” is associated with this technical property: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch. The question instead turns on “The agent writes plausible quantities without querying the inventory system”: This observation motivates the specific control to Compose a governed data-query tool followed by a separate response-generation step.
D:“A conversational assistant returns inconsistent key names across batches” is associated with this technical property: This observation motivates the specific control to Choose the Information Extraction capability and define stable target schema. The question instead turns on “The agent writes plausible quantities without querying the inventory system”: This observation motivates the specific control to Compose a governed data-query tool followed by a separate response-generation step.
Question 233
A Databricks generative AI team is designing a solution with this requirement: An engineering search system includes serial numbers and obscure device codes. Which engineering approach should it select first?
- Pair appropriate embedding model with keyword/hybrid matching for identifiers
- Add a bounded summary instruction preserving critical qualifier and context
- Provide validated examples and a machine-enforced output schema for the target shape
- Use a retriever abstraction around the approved vector search implementation
Explanation
Correct Answer
A:Pair appropriate embedding model with keyword/hybrid matching for identifiers directly addresses the described Databricks GenAI architecture: An engineering search system includes serial numbers and obscure device codes. Dense vectors and lexical matching capture complementary signals. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Exact serial and protocol error questions retrieve matching documents.
Incorrect Answers
B:“Add a bounded summary instruction preserving critical qualifier and context” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
C:“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 “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
D:“Use a retriever abstraction around the approved vector search implementation” is associated with this technical property: Separating retrieval contract from storage implementation reduces migration coupling. The question instead turns on “Pair appropriate embedding model with keyword/hybrid matching for identifiers”: Dense vectors and lexical matching capture complementary signals.
Question 234
An engineering review considers a safeguard for this situation: The support router must classify tickets into one of four named categories. The proposed action is: Supply the allowed label vocabulary and validate each response against its enum. Which observed failure most strongly justifies that action?
- The model invents labels that the dispatch workflow cannot handle
- The agent reuses an old price after a long conversation
- The model guesses numeric averages from sample text instead of executing arithmetic
- The agent sends reassuring delivery dates without invoking tracking
Explanation
Correct Answer
A:The model invents labels that the dispatch workflow cannot handle. This observation motivates the specific control to Supply the allowed label vocabulary and validate each response against its enum. Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The follow-up evidence would be: Test tickets yield only authorized labels and ambiguous inputs trigger defined fallback behavior. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The agent reuses an old price after a long conversation” is associated with this technical property: This observation motivates the specific control to Refresh external result at the final decision point and label timestamped availability. The question instead turns on “The model invents labels that the dispatch workflow cannot handle”: This observation motivates the specific control to Supply the allowed label vocabulary and validate each response against its enum.
C:“The model guesses numeric averages from sample text instead of executing arithmetic” is associated with this technical property: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation. The question instead turns on “The model invents labels that the dispatch workflow cannot handle”: This observation motivates the specific control to Supply the allowed label vocabulary and validate each response against its enum.
D:“The agent sends reassuring delivery dates without invoking tracking” is associated with this technical property: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch. The question instead turns on “The model invents labels that the dispatch workflow cannot handle”: This observation motivates the specific control to Supply the allowed label vocabulary and validate each response against its enum.
Question 235
A solution architect must balance this requirement: An order-status agent must check current shipment events before writing a reply. During review the team anticipates the failure that The agent sends reassuring delivery dates without invoking tracking. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Connect retrieval to a deterministic aggregation tool before final narrative generation
- Start with a managed Agent Bricks capability and justify custom code only for unmet requirements
- Require authenticated lookup before answer composition, with missing-data branch
Explanation
Correct Answer
D:Require authenticated lookup before answer composition, with missing-data branch directly addresses the described Databricks GenAI architecture: An order-status agent must check current shipment events before writing a reply. Tool ordering matters when facts are volatile and cannot be inferred safely. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Audit trace shows lookup then formatted response, or explicit unavailable status.
Incorrect Answers
A:“Define authenticated identity context as input and tenant-scoped answer objects as output” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
B:“Connect retrieval to a deterministic aggregation tool before final narrative generation” is associated with this technical property: Deterministic computation should handle precise arithmetic while an LLM explains the result. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
C:“Start with a managed Agent Bricks capability and justify custom code only for unmet requirements” is associated with this technical property: Managed building blocks can reduce lifecycle work when their capabilities fit. The question instead turns on “Require authenticated lookup before answer composition, with missing-data branch”: Tool ordering matters when facts are volatile and cannot be inferred safely.
Question 236
An application intended to satisfy this requirement, Retrieval returns no passages on a newly launched internal feature, instead experiences: The answer model invents undocumented steps to appear helpful. Which targeted engineering correction resolves this failure?
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
- Evaluate a multilingual embedding model with paired multilingual query set
- Choose chunks that retain header, period, currency and row key
- Prompt for evidence-conditioned answers and explicit unsupported-status handling
Explanation
Correct Answer
D:Prompt for evidence-conditioned answers and explicit unsupported-status handling targets the observed failure: The answer model invents undocumented steps to appear helpful. Abstention is preferable to fabricated specifics when retrieval lacks support. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Unknown-feature test prompts yield no false procedure and request approved documentation.
Incorrect Answers
A:“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 “Prompt for evidence-conditioned answers and explicit unsupported-status handling”: Abstention is preferable to fabricated specifics when retrieval lacks support.
B:“Evaluate a multilingual embedding model with paired multilingual query set” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Prompt for evidence-conditioned answers and explicit unsupported-status handling”: Abstention is preferable to fabricated specifics when retrieval lacks support.
C:“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 “Prompt for evidence-conditioned answers and explicit unsupported-status handling”: Abstention is preferable to fabricated specifics when retrieval lacks support.
Question 237
A Databricks generative AI team is designing a solution with this requirement: A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval. Which engineering approach should it select first?
- Implement task-aware moderation and safe-refusal handling with reviewable thresholds
- Validate model-card claims on an application-specific held-out dataset
- Score factual support against retrieved passages and flag unsupported claims
- Add a bounded summary instruction preserving critical qualifier and context
Explanation
Correct Answer
C:Score factual support against retrieved passages and flag unsupported claims directly addresses the described Databricks GenAI architecture: A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval. Fluency is not evidence of grounded correctness. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Reviewers can trace each material claim to a passage or a documented abstention.
Incorrect Answers
A:“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 “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
B:“Validate model-card claims on an application-specific held-out dataset” is associated with this technical property: Published benchmarks do not guarantee performance on a specialized dataset. The question instead turns on “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
D:“Add a bounded summary instruction preserving critical qualifier and context” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Score factual support against retrieved passages and flag unsupported claims”: Fluency is not evidence of grounded correctness.
Question 238
An application intended to satisfy this requirement, A customer-facing assistant may use only records for the authenticated account, instead experiences: A generic conversation design accepts account IDs supplied by untrusted users. Which targeted engineering correction resolves this failure?
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities
- Build a retrieval step that selects authorized passages before prompting the answer model
- Start with a managed Agent Bricks capability and justify custom code only for unmet requirements
Explanation
Correct Answer
A:Define authenticated identity context as input and tenant-scoped answer objects as output targets the observed failure: A generic conversation design accepts account IDs supplied by untrusted users. Data boundaries are part of application design rather than optional prompt decoration. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Cross-account probes yield no unauthorized fields while same-account cases still work.
Incorrect Answers
B:“Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities” is associated with this technical property: Tool requirements should determine orchestration rather than choosing components by popularity. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
C:“Build a retrieval step that selects authorized passages before prompting the answer model” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
D:“Start with a managed Agent Bricks capability and justify custom code only for unmet requirements” is associated with this technical property: Managed building blocks can reduce lifecycle work when their capabilities fit. The question instead turns on “Define authenticated identity context as input and tenant-scoped answer objects as output”: Data boundaries are part of application design rather than optional prompt decoration.
Question 239
An engineering review considers a safeguard for this situation: A model hub lists several capable text models for a commercial support service. The proposed action is: Review model-card licensing and usage restrictions before selection. Which observed failure most strongly justifies that action?
- Team chooses by satisfaction score without evidence-groundedness tests
- Tone evaluation marks the reply helpful although it violates policy
- Team deploys a model whose license prohibits the desired use
- Team chooses maximal embedding dimension without measuring relevance gain
Explanation
Correct Answer
C:Team deploys a model whose license prohibits the desired use. This observation motivates the specific control to Review model-card licensing and usage restrictions before selection. Technical suitability does not grant legal permission for deployment. The follow-up evidence would be: Selected model has documented permitted use and recorded provenance. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Team chooses by satisfaction score without evidence-groundedness tests” is associated with this technical property: This observation motivates the specific control to Compare groundedness and factuality on verified reference examples. The question instead turns on “Team deploys a model whose license prohibits the desired use”: This observation motivates the specific control to Review model-card licensing and usage restrictions before selection.
B:“Tone evaluation marks the reply helpful although it violates policy” is associated with this technical property: This observation motivates the specific control to Add task-specific safety and authorization checks beyond stylistic quality scoring. The question instead turns on “Team deploys a model whose license prohibits the desired use”: This observation motivates the specific control to Review model-card licensing and usage restrictions before selection.
D:“Team chooses maximal embedding dimension without measuring relevance gain” is associated with this technical property: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost. The question instead turns on “Team deploys a model whose license prohibits the desired use”: This observation motivates the specific control to Review model-card licensing and usage restrictions before selection.
Question 240
The team observes this failure in a GenAI application: Agent treats an empty tool response as proof that the answer is no. After implementing the fix to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain, which measurement or test most directly demonstrates success?
- Chosen design meets measured throughput and p95 response targets at expected scale
- Injected timeout returns a transparent transient-error message, not a fabricated fact
- Production alias maps to approved version and can be restored to known-safe revision
- Browser code has no credentials and authenticated authorized requests succeed
Explanation
Correct Answer
B:Injected timeout returns a transparent transient-error message, not a fabricated fact. This specifically validates the remediation to Handle tool timeout, retry boundaries and explicit unknown-answer fallback in the chain for the failure that 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. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Chosen design meets measured throughput and p95 response targets at expected scale” is associated with this technical property: Index architecture is a workload tradeoff, not solely a storage-price decision. The question instead turns on “Injected timeout returns a transparent transient-error message, not a fabricated fact”: Transport failure is not equivalent to a negative result in business logic.
C:“Production alias maps to approved version and can be restored to known-safe revision” is associated with this technical property: Versioned prompts support audit, repeatability and rollback. The question instead turns on “Injected timeout returns a transparent transient-error message, not a fabricated fact”: Transport failure is not equivalent to a negative result in business logic.
D:“Browser code has no credentials and authenticated authorized requests succeed” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Injected timeout returns a transparent transient-error message, not a fabricated fact”: Transport failure is not equivalent to a negative result in business logic.