Certified Generative AI Engineer Associate Practice Test 25
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.
Question 241
An engineering review considers a safeguard for this situation: A lengthy engineering manual has chapters, headings and steps. The proposed action is: Store child chunks for fine search with parent-section expansion for answer context. Which observed failure most strongly justifies that action?
- Short isolated chunks omit the parent procedure or prerequisites
- The retriever includes superseded procedures that rank above current instructions
- Vector-only search misses documents mentioning a rare literal error identifier
- High semantic similarity alone ranks a misleading policy clause first
Explanation
Correct Answer
A:Short isolated chunks omit the parent procedure or prerequisites. This observation motivates the specific control to Store child chunks for fine search with parent-section expansion for answer context. Hierarchical retrieval combines search granularity with coherent generation context. The follow-up evidence would be: Answer can cite both matching step and applicable prerequisite section. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The retriever includes superseded procedures that rank above current instructions” is associated with this technical property: This observation motivates the specific control to Filter or version source records by approval status and effective date. The question instead turns on “Short isolated chunks omit the parent procedure or prerequisites”: This observation motivates the specific control to Store child chunks for fine search with parent-section expansion for answer context.
C:“Vector-only search misses documents mentioning a rare literal error identifier” is associated with this technical property: This observation motivates the specific control to Combine keyword and semantic retrieval, then optionally rerank shortlisted results. The question instead turns on “Short isolated chunks omit the parent procedure or prerequisites”: This observation motivates the specific control to Store child chunks for fine search with parent-section expansion for answer context.
D:“High semantic similarity alone ranks a misleading policy clause first” is associated with this technical property: This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker. The question instead turns on “Short isolated chunks omit the parent procedure or prerequisites”: This observation motivates the specific control to Store child chunks for fine search with parent-section expansion for answer context.
Question 242
An engineering review considers a safeguard for this situation: A support portal must call an agent endpoint without leaking tokens into browser code. The proposed action is: Use an authenticated Databricks App backend that holds server-side endpoint credentials. Which observed failure most strongly justifies that action?
- Frontend embeds a permanent access token in JavaScript
- Team uses the cheapest index option without evaluating latency and capacity
- Developers attempt exact equality joins on free-text questions
- A quality regression cannot be attributed to the responsible component
Explanation
Correct Answer
A:Frontend embeds a permanent access token in JavaScript. This observation motivates the specific control to Use an authenticated Databricks App backend that holds server-side endpoint credentials. Browser-side secrets undermine tenant isolation and can be extracted by users. The follow-up evidence would be: Browser code has no credentials and authenticated authorized requests succeed. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Team uses the cheapest index option without evaluating latency and capacity” is associated with this technical property: This observation motivates the specific control to Benchmark supported index types against collection size, update cadence, query latency and cost. The question instead turns on “Frontend embeds a permanent access token in JavaScript”: This observation motivates the specific control to Use an authenticated Databricks App backend that holds server-side endpoint credentials.
C:“Developers attempt exact equality joins on free-text questions” is associated with this technical property: This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters. The question instead turns on “Frontend embeds a permanent access token in JavaScript”: This observation motivates the specific control to Use an authenticated Databricks App backend that holds server-side endpoint credentials.
D:“A quality regression cannot be attributed to the responsible component” is associated with this technical property: This observation motivates the specific control to Version and test retriever, prompt and answer model independently before combined rollout. The question instead turns on “Frontend embeds a permanent access token in JavaScript”: This observation motivates the specific control to Use an authenticated Databricks App backend that holds server-side endpoint credentials.
Question 243
The team observes this failure in a GenAI application: General embeddings match semantically adjacent manuals but miss exact code passages. After implementing the fix to Pair appropriate embedding model with keyword/hybrid matching for identifiers, which measurement or test most directly demonstrates success?
- Exact serial and protocol error questions retrieve matching documents
- Precision at k improves while required step sequences remain intact
- Retrieved row carries its period and unit and is matched to reviewed answer keys
- Captured tool calls conform to schema and unauthorized API routes are never invoked
Explanation
Correct Answer
A:Exact serial and protocol error questions retrieve matching documents. This specifically validates the remediation to Pair appropriate embedding model with keyword/hybrid matching for identifiers for the failure that General embeddings match semantically adjacent manuals but miss exact code passages. Dense vectors and lexical matching capture complementary signals. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Precision at k improves while required step sequences remain intact” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “Exact serial and protocol error questions retrieve matching documents”: Dense vectors and lexical matching capture complementary signals.
C:“Retrieved row carries its period and unit and is matched to reviewed answer keys” is associated with this technical property: Tables require contextual labels for safe semantic interpretation. The question instead turns on “Exact serial and protocol error questions retrieve matching documents”: Dense vectors and lexical matching capture complementary signals.
D:“Captured tool calls conform to schema and unauthorized API routes are never invoked” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Exact serial and protocol error questions retrieve matching documents”: Dense vectors and lexical matching capture complementary signals.
Question 244
For the requirement that An assistant retains transient order selections and a separate verified customer preference, the team proposes this change: Store short-lived workflow state separately from approved persistent preferences. Which technical principle explains why it is appropriate?
- Index results reflect a materialized view whose update cadence must match source changes
- A declared model interface allows serving validation and client integration
- Different memory lifetimes require different access, consent and deletion controls
- Inference service reliability requires explicit rate-limit and failure controls
Explanation
Correct Answer
C:Different memory lifetimes require different access, consent and deletion controls. The proposed engineering step is to Store short-lived workflow state separately from approved persistent preferences. It directly supports the requirement that An assistant retains transient order selections and a separate verified customer preference. The operational test is that Short-lived task state expires and verified preference remains only under policy. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Index results reflect a materialized view whose update cadence must match source changes” is associated with this technical property: It directly supports the requirement that A Delta sync index is built from a frequently updated FAQ table. The question instead turns on “Different memory lifetimes require different access, consent and deletion controls”: It directly supports the requirement that An assistant retains transient order selections and a separate verified customer preference.
B:“A declared model interface allows serving validation and client integration” is associated with this technical property: It directly supports the requirement that A team registers a question-answer agent that expects query and user context. The question instead turns on “Different memory lifetimes require different access, consent and deletion controls”: It directly supports the requirement that An assistant retains transient order selections and a separate verified customer preference.
D:“Inference service reliability requires explicit rate-limit and failure controls” is associated with this technical property: It directly supports the requirement that An application depends on a particular foundation model endpoint whose quota may be exhausted. The question instead turns on “Different memory lifetimes require different access, consent and deletion controls”: It directly supports the requirement that An assistant retains transient order selections and a separate verified customer preference.
Question 245
A Databricks generative AI team is designing a solution with this requirement: A temporary evaluation set contains employee complaints and account details. Which engineering approach should it select first?
- Apply retention, redaction and deletion rules to evaluation artifacts
- Parse, label and isolate untrusted document instructions while preserving legitimate factual content
- Validate and bind tenant scope server-side for every tool call
- Treat retrieved passages as untrusted data and enforce tool policies outside prompts
Explanation
Correct Answer
A:Apply retention, redaction and deletion rules to evaluation artifacts directly addresses the described Databricks GenAI architecture: A temporary evaluation set contains employee complaints and account details. Evaluation data requires the same governance scrutiny as production data. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Expired sensitive experiment examples are removed under audited policy.
Incorrect Answers
B:“Parse, label and isolate untrusted document instructions while preserving legitimate factual content” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
C:“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 “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
D:“Treat retrieved passages as untrusted data and enforce tool policies outside prompts” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
Question 246
An application intended to satisfy this requirement, An agent API must enforce tenant-specific token and request budgets, instead experiences: One noisy tenant exhausts shared capacity and harms others. Which targeted engineering correction resolves this failure?
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
- Move eligible bulk requests to governed batch inference with appropriate quotas
- Track p95/p99 latency and relevant request slices
- Build a custom scorer that checks authorized source support and required qualifiers
Explanation
Correct Answer
A:Configure supported AI Gateway rate limits and usage monitoring by authorized identity targets the observed failure: One noisy tenant exhausts shared capacity and harms others. Gateway controls can govern resource consumption across model invocations. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Abusive burst is throttled and other tenant traffic remains within SLO.
Incorrect Answers
B:“Move eligible bulk requests to governed batch inference with appropriate quotas” is associated with this technical property: Batch workloads can be decoupled from latency-critical online traffic. 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:“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 “Configure supported AI Gateway rate limits and usage monitoring by authorized identity”: Gateway controls can govern resource consumption across model invocations.
D:“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.
Question 247
A Databricks generative AI team is designing a solution with this requirement: A knowledge agent asks meaning-based questions over incident narratives. Which engineering approach should it select first?
- Select batch SQL inference with controlled data volume and validation
- Use governed model versions and aliases or equivalent approved promotion controls
- Persist scoped state in an approved durable datastore with expiry and access policy
- Use semantic embedding similarity for unstructured retrieval while preserving structured filters
Explanation
Correct Answer
D:Use semantic embedding similarity for unstructured retrieval while preserving structured filters directly addresses the described Databricks GenAI architecture: A knowledge agent asks meaning-based questions over incident narratives. Vector search ranks related text even when literal wording differs. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Paraphrase queries retrieve relevant incidents beyond exact-match keywords.
Incorrect Answers
A:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Use semantic embedding similarity for unstructured retrieval while preserving structured filters”: Vector search ranks related text even when literal wording differs.
B:“Use governed model versions and aliases or equivalent approved promotion controls” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Use semantic embedding similarity for unstructured retrieval while preserving structured filters”: Vector search ranks related text even when literal wording differs.
C:“Persist scoped state in an approved durable datastore with expiry and access policy” is associated with this technical property: Durable application memory needs storage and governance beyond model context. The question instead turns on “Use semantic embedding similarity for unstructured retrieval while preserving structured filters”: Vector search ranks related text even when literal wording differs.
Question 248
An application intended to satisfy this requirement, A support assistant handles Arabic and German questions with domain terminology, instead experiences: English-only evaluation hides poor translation and answer quality. Which targeted engineering correction resolves this failure?
- Select a model with measured multilingual task performance and adequate tokenization
- Track model, code, prompt and evaluation datasets with versioned experiment artifacts
- Provide validated examples and a machine-enforced output schema for the target shape
- Prompt for evidence-conditioned answers and explicit unsupported-status handling
Explanation
Correct Answer
A:Select a model with measured multilingual task performance and adequate tokenization targets the observed failure: English-only evaluation hides poor translation and answer quality. Language capability must be validated on representative user inputs. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Human-reviewed multilingual scenarios meet answer relevance and language constraints.
Incorrect Answers
B:“Track model, code, prompt and evaluation datasets with versioned experiment artifacts” is associated with this technical property: Reproducibility requires linking outputs to immutable evaluated versions. The question instead turns on “Select a model with measured multilingual task performance and adequate tokenization”: Language capability must be validated on representative user inputs.
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 “Select a model with measured multilingual task performance and adequate tokenization”: Language capability must be validated on representative user inputs.
D:“Prompt for evidence-conditioned answers and explicit unsupported-status handling” is associated with this technical property: Abstention is preferable to fabricated specifics when retrieval lacks support. The question instead turns on “Select a model with measured multilingual task performance and adequate tokenization”: Language capability must be validated on representative user inputs.
Question 249
The team observes this failure in a GenAI application: Serving accepts inputs but loses access scope in downstream tool execution. After implementing the fix to Record representative input schema including tenant context in MLflow, which measurement or test most directly demonstrates success?
- Injected timeout returns a transparent transient-error message, not a fabricated fact
- After controlled update, intended new record becomes retrievable within approved delay
- Serving test shows scoped retrieval and rejects missing mandatory scope
- Paraphrase queries retrieve relevant incidents beyond exact-match keywords
Explanation
Correct Answer
C:Serving test shows scoped retrieval and rejects missing mandatory scope. This specifically validates the remediation to Record representative input schema including tenant context in MLflow for the failure that Serving accepts inputs but loses access scope in downstream tool execution. Model packaging must preserve fields required to enforce data boundaries. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Injected timeout returns a transparent transient-error message, not a fabricated fact” is associated with this technical property: Transport failure is not equivalent to a negative result in business logic. The question instead turns on “Serving test shows scoped retrieval and rejects missing mandatory scope”: Model packaging must preserve fields required to enforce data boundaries.
B:“After controlled update, intended new record becomes retrievable within approved delay” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Serving test shows scoped retrieval and rejects missing mandatory scope”: Model packaging must preserve fields required to enforce data boundaries.
D:“Paraphrase queries retrieve relevant incidents beyond exact-match keywords” is associated with this technical property: Vector search ranks related text even when literal wording differs. The question instead turns on “Serving test shows scoped retrieval and rejects missing mandatory scope”: Model packaging must preserve fields required to enforce data boundaries.
Question 250
An engineering review considers a safeguard for this situation: Two LLM candidates have equal average test accuracy but differ on high-risk financial queries. The proposed action is: Weight critical evaluation strata and set nonnegotiable failure limits. Which observed failure most strongly justifies that action?
- Aggregate throughput metrics stay healthy and operators miss factual drift
- Overall mean hides severe unauthorized transaction advice from one model
- A generic relevance judge scores a plausible but wrong amount as good
- Team demands an exact answer string for every possible response
Explanation
Correct Answer
B:Overall mean hides severe unauthorized transaction advice from one model. This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits. Risk-weighted model selection prevents average scores masking unacceptable errors. The follow-up evidence would be: The chosen model passes critical high-risk cases and baseline quality. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Aggregate throughput metrics stay healthy and operators miss factual drift” is associated with this technical property: This observation motivates the specific control to Monitor groundedness and citation coverage alongside response latency. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.
C:“A generic relevance judge scores a plausible but wrong amount as good” is associated with this technical property: This observation motivates the specific control to Choose an evaluator using verified ground-truth expected values for numerical correctness. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.
D:“Team demands an exact answer string for every possible response” is associated with this technical property: This observation motivates the specific control to Use a rubric-based safety judge with calibrated examples when no single reference exists. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.