Certified Generative AI Engineer Associate Practice Test 17
Question 160
An engineering review considers a safeguard for this situation: A summarization model has promising scores but maximum input shorter than user documents. The proposed action is: Compare model-card context limits with realistic inputs and adjust architecture. Which observed failure most strongly justifies that action?
- The deployment chooses the premium model without considering volume
- Long-form generation ignores the requested output length
- General embeddings match semantically adjacent manuals but miss exact code passages
- The pipeline truncates product recalls and produces misleading summaries
Explanation
Correct Answer
D:The pipeline truncates product recalls and produces misleading summaries. This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. Model metadata constraints must shape processing and evaluation. The follow-up evidence would be: Test documents are within supported input bounds or split with faithful recombination. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The deployment chooses the premium model without considering volume” is associated with this technical property: This observation motivates the specific control to Plot cost, latency and quality tradeoffs under expected traffic mix. The question instead turns on “The pipeline truncates product recalls and produces misleading summaries”: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture.
B:“Long-form generation ignores the requested output length” is associated with this technical property: This observation motivates the specific control to Add a bounded summary instruction preserving critical qualifier and context. The question instead turns on “The pipeline truncates product recalls and produces misleading summaries”: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture.
C:“General embeddings match semantically adjacent manuals but miss exact code passages” is associated with this technical property: This observation motivates the specific control to Pair appropriate embedding model with keyword/hybrid matching for identifiers. The question instead turns on “The pipeline truncates product recalls and produces misleading summaries”: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture.
Question 161
The team observes this failure in a GenAI application: The agent sends reassuring delivery dates without invoking tracking. After implementing the fix to Require authenticated lookup before answer composition, with missing-data branch, which measurement or test most directly demonstrates success?
- Audit trace shows lookup then formatted response, or explicit unavailable status
- Test tickets yield only authorized labels and ambiguous inputs trigger defined fallback behavior
- Batch outputs validate schema and field accuracy against reviewed invoice samples
- Prototype output includes traceable clauses, stable identifiers and required risk fields
Explanation
Correct Answer
A:Audit trace shows lookup then formatted response, or explicit unavailable status. This specifically validates the remediation to Require authenticated lookup before answer composition, with missing-data branch for the failure that The agent sends reassuring delivery dates without invoking tracking. Tool ordering matters when facts are volatile and cannot be inferred safely. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Test tickets yield only authorized labels and ambiguous inputs trigger defined fallback behavior” is associated with this technical property: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The question instead turns on “Audit trace shows lookup then formatted response, or explicit unavailable status”: Tool ordering matters when facts are volatile and cannot be inferred safely.
C:“Batch outputs validate schema and field accuracy against reviewed invoice samples” is associated with this technical property: Structured extraction differs from open-ended multi-step research orchestration. The question instead turns on “Audit trace shows lookup then formatted response, or explicit unavailable status”: Tool ordering matters when facts are volatile and cannot be inferred safely.
D:“Prototype output includes traceable clauses, stable identifiers and required risk fields” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Audit trace shows lookup then formatted response, or explicit unavailable status”: Tool ordering matters when facts are volatile and cannot be inferred safely.
Question 162
An engineering review considers a safeguard for this situation: A production retriever depends on a Delta sync index updated with the corpus. The proposed action is: Test source table and index sync before promoting agent to production. Which observed failure most strongly justifies that action?
- Code deployment succeeds while new documents are absent from search
- Newly published answers are missing because source changes were never propagated
- Team provisions high-concurrency interactive serving for a one-time job
- Engineers build redundant custom REST wrappers for services already managed
Explanation
Correct Answer
A:Code deployment succeeds while new documents are absent from search. This observation motivates the specific control to Test source table and index sync before promoting agent to production. A chain release depends on compatible data and index readiness. The follow-up evidence would be: Smoke tests retrieve newly approved documents before production traffic switch. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“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 “Code deployment succeeds while new documents are absent from search”: This observation motivates the specific control to Test source table and index sync before promoting agent to production.
C:“Team provisions high-concurrency interactive serving for a one-time job” is associated with this technical property: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation. The question instead turns on “Code deployment succeeds while new documents are absent from search”: This observation motivates the specific control to Test source table and index sync before promoting agent to production.
D:“Engineers build redundant custom REST wrappers for services already managed” is associated with this technical property: This observation motivates the specific control to Prefer supported managed MCP servers when their existing tools fit the task. The question instead turns on “Code deployment succeeds while new documents are absent from search”: This observation motivates the specific control to Test source table and index sync before promoting agent to production.
Question 163
For the requirement that A claims project requires exact claim amount fields, not narrative document search, the team proposes this change: Select information extraction with validation and optional citations before using generative prose. Which technical principle explains why it is appropriate?
- Tool freshness is a dependency of time-sensitive reasoning and action
- Matching a source paragraph is not equivalent to structured field extraction
- State-changing operations require authorization gates distinct from read-only retrieval
- Data boundaries are part of application design rather than optional prompt decoration
Explanation
Correct Answer
B:Matching a source paragraph is not equivalent to structured field extraction. The proposed engineering step is to Select information extraction with validation and optional citations before using generative prose. It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search. The operational test is that Output carries validated decimal amount and provenance for reviewed claims. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Tool freshness is a dependency of time-sensitive reasoning and action” is associated with this technical property: It directly supports the requirement that An agent plans flights using external availability that may expire. The question instead turns on “Matching a source paragraph is not equivalent to structured field extraction”: It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search.
C:“State-changing operations require authorization gates distinct from read-only retrieval” is associated with this technical property: It directly supports the requirement that An expense agent can draft reimbursement requests but must not submit without consent. The question instead turns on “Matching a source paragraph is not equivalent to structured field extraction”: It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search.
D:“Data boundaries are part of application design rather than optional prompt decoration” is associated with this technical property: It directly supports the requirement that A customer-facing assistant may use only records for the authenticated account. The question instead turns on “Matching a source paragraph is not equivalent to structured field extraction”: It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search.
Question 164
The team observes this failure in a GenAI application: Feedback stays in a comment thread and is not included in future evaluations. After implementing the fix to Convert reviewed failure into a labeled regression case and rerun on new versions, which measurement or test most directly demonstrates success?
- New evaluation fails unsafe old version and passes remediated agent
- Online p95 improves while nightly job finishes within budget
- Monitoring detects groundedness regression following index refresh
- The chosen model passes critical high-risk cases and baseline quality
Explanation
Correct Answer
A:New evaluation fails unsafe old version and passes remediated agent. This specifically validates the remediation to Convert reviewed failure into a labeled regression case and rerun on new versions for the failure that Feedback stays in a comment thread and is not included in future evaluations. Expert feedback improves quality only when incorporated into repeatable release gates. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Online p95 improves while nightly job finishes within budget” is associated with this technical property: Batch workloads can be decoupled from latency-critical online traffic. The question instead turns on “New evaluation fails unsafe old version and passes remediated agent”: Expert feedback improves quality only when incorporated into repeatable release gates.
C:“Monitoring detects groundedness regression following index refresh” is associated with this technical property: Operational availability and response correctness require separate tracking. The question instead turns on “New evaluation fails unsafe old version and passes remediated agent”: Expert feedback improves quality only when incorporated into repeatable release gates.
D:“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 “New evaluation fails unsafe old version and passes remediated agent”: Expert feedback improves quality only when incorporated into repeatable release gates.
Question 165
An application intended to satisfy this requirement, A compliance assistant cites one correct requirement but omits a second mandatory approval, instead experiences: A simple answer-relevance score passes a dangerously incomplete response. Which targeted engineering correction resolves this failure?
- Evaluate coverage of all required reference facts with a checklist or calibrated scorer
- Expose the API as a validated tool with constrained arguments and secrets management
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
- Require the governed Genie result and query provenance before final response
Explanation
Correct Answer
A:Evaluate coverage of all required reference facts with a checklist or calibrated scorer targets the observed failure: A simple answer-relevance score passes a dangerously incomplete response. Correctness and completeness are separate response quality dimensions. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Multi-clause test cases detect missing mandatory steps and trigger remediation.
Incorrect Answers
B:“Expose the API as a validated tool with constrained arguments and secrets management” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: Changing a different model component would not resolve this identified mechanism.
C:“Use an agent orchestration framework with explicit typed tool definitions and execution traces” is associated with this technical property: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The question instead turns on “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: Changing a different model component would not resolve this identified mechanism.
D:“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 “Evaluate coverage of all required reference facts with a checklist or calibrated scorer”: Changing a different model component would not resolve this identified mechanism.
Question 166
The team observes this failure in a GenAI application: Short isolated chunks omit the parent procedure or prerequisites. After implementing the fix to Store child chunks for fine search with parent-section expansion for answer context, which measurement or test most directly demonstrates success?
- Rebuild can trace each chunk to original record/version and transformation
- Index audits find no unmasked sample account numbers and authorized workflow still functions
- Answer can cite both matching step and applicable prerequisite section
- Second run without changes adds no duplicates and changed documents re-embed
Explanation
Correct Answer
C:Answer can cite both matching step and applicable prerequisite section. This specifically validates the remediation to Store child chunks for fine search with parent-section expansion for answer context for the failure that Short isolated chunks omit the parent procedure or prerequisites. Hierarchical retrieval combines search granularity with coherent generation context. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Rebuild can trace each chunk to original record/version and transformation” is associated with this technical property: Layered data preparation supports reproducible source-to-chunk transformations. The question instead turns on “Answer can cite both matching step and applicable prerequisite section”: Hierarchical retrieval combines search granularity with coherent generation context.
B:“Index audits find no unmasked sample account numbers and authorized workflow still functions” is associated with this technical property: Data minimization should be applied at ingestion, not left to answer prompts. The question instead turns on “Answer can cite both matching step and applicable prerequisite section”: Hierarchical retrieval combines search granularity with coherent generation context.
D:“Second run without changes adds no duplicates and changed documents re-embed” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Answer can cite both matching step and applicable prerequisite section”: Hierarchical retrieval combines search granularity with coherent generation context.
Question 167
An application intended to satisfy this requirement, A support assistant has good average latency but times out for a minority of customers, instead experiences: Team monitors only mean latency, concealing long-tail outliers. Which targeted engineering correction resolves this failure?
- Use AI Gateway usage telemetry with endpoint/team attribution
- Apply production monitoring with quality scorers and sampling policies
- Track p95/p99 latency and relevant request slices
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
Explanation
Correct Answer
C:Track p95/p99 latency and relevant request slices targets the observed failure: Team monitors only mean latency, concealing long-tail outliers. Tail latency controls user experience for strict response-time services. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that SLO alerts fire on sustained tail-latency breach.
Incorrect Answers
A:“Use AI Gateway usage telemetry with endpoint/team attribution” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “Track p95/p99 latency and relevant request slices”: Tail latency controls user experience for strict response-time services.
B:“Apply production monitoring with quality scorers and sampling policies” is associated with this technical property: Operational availability and response correctness require separate tracking. The question instead turns on “Track p95/p99 latency and relevant request slices”: Tail latency controls user experience for strict response-time services.
D:“Build a deterministic custom scorer for required phrase presence in addition to semantic judges” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Track p95/p99 latency and relevant request slices”: Tail latency controls user experience for strict response-time services.
Question 168
An engineering review considers a safeguard for this situation: An application receives a user question and must return an answer based on a private wiki. The proposed action is: Implement explicit retrieve, evidence selection and answer generation stages. Which observed failure most strongly justifies that action?
- Model serving infers a bare-string input and rejects client dictionaries
- One global memory table stores both without retention or purpose separation
- Semantic search finds related explanations but misses exact error code
- Model emits an answer before any retrieval call is made
Explanation
Correct Answer
D:Model emits an answer before any retrieval call is made. This observation motivates the specific control to Implement explicit retrieve, evidence selection and answer generation stages. An executable chain defines data dependencies instead of hoping prompting implies them. The follow-up evidence would be: Trace shows evidence retrieval before every grounded answer. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Model serving infers a bare-string input and rejects client dictionaries” is associated with this technical property: This observation motivates the specific control to Log a model signature and representative input example matching real requests. The question instead turns on “Model emits an answer before any retrieval call is made”: This observation motivates the specific control to Implement explicit retrieve, evidence selection and answer generation stages.
B:“One global memory table stores both without retention or purpose separation” is associated with this technical property: This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences. The question instead turns on “Model emits an answer before any retrieval call is made”: This observation motivates the specific control to Implement explicit retrieve, evidence selection and answer generation stages.
C:“Semantic search finds related explanations but misses exact error code” is associated with this technical property: This observation motivates the specific control to Use hybrid lexical and dense search with measured relevance for the workload. The question instead turns on “Model emits an answer before any retrieval call is made”: This observation motivates the specific control to Implement explicit retrieve, evidence selection and answer generation stages.
Question 169
An engineering review considers a safeguard for this situation: A team needs a supported hosted language model for summarization without managing GPUs. The proposed action is: Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota. Which observed failure most strongly justifies that action?
- Any workspace member can invoke it despite not being on the finance team
- Directly passing raw request dictionaries causes downstream chain errors
- One global memory table stores both without retention or purpose separation
- They provision self-managed inference nodes for a straightforward hosted API workload
Explanation
Correct Answer
D:They provision self-managed inference nodes for a straightforward hosted API workload. This observation motivates the specific control to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota. Hosted model APIs separate application logic from model infrastructure operations. The follow-up evidence would be: Authorized API calls return summaries and quota/latency behavior is monitored. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“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 “They provision self-managed inference nodes for a straightforward hosted API workload”: This observation motivates the specific control to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota.
B:“Directly passing raw request dictionaries causes downstream chain errors” is associated with this technical property: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper. The question instead turns on “They provision self-managed inference nodes for a straightforward hosted API workload”: This observation motivates the specific control to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota.
C:“One global memory table stores both without retention or purpose separation” is associated with this technical property: This observation motivates the specific control to Store short-lived workflow state separately from approved persistent preferences. The question instead turns on “They provision self-managed inference nodes for a straightforward hosted API workload”: This observation motivates the specific control to Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota.
Question 170
A Databricks generative AI team is designing a solution with this requirement: Many users ask identical public policy questions but the app calls LLM each time. Which engineering approach should it select first?
- Compare per-slice quality, token cost and latency against release thresholds
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
- Build a custom scorer that checks authorized source support and required qualifiers
- Cache eligible nonprivate responses with document-version invalidation
Explanation
Correct Answer
D:Cache eligible nonprivate responses with document-version invalidation directly addresses the described Databricks GenAI architecture: Many users ask identical public policy questions but the app calls LLM each time. Caching saves inference cost only when response scope and freshness permit reuse. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Repeat requests show lower token spend without serving stale or cross-user data.
Incorrect Answers
A:“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.
B:“Build a deterministic custom scorer for required phrase presence in addition to semantic judges” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Cache eligible nonprivate responses with document-version invalidation”: Caching saves inference cost only when response scope and freshness permit reuse.
C:“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 “Cache eligible nonprivate responses with document-version invalidation”: Caching saves inference cost only when response scope and freshness permit reuse.