Certified Generative AI Engineer Associate Practice Test 59
Question 580
For the requirement that An operations team must extract purchase-order numbers and totals from vendor letters, the team proposes this change: Use schema-guided extraction with explicit missing-value handling rather than creative completion. Which technical principle explains why it is appropriate?
- Entity extraction should preserve evidence spans and avoid inventing unavailable fields
- Tool results can supply fresh structured facts that pretrained model memory cannot guarantee
- Explicit data contracts make evaluation and downstream workflow integration possible
- Decomposing requirements into measurable stage constraints prevents expensive architecture surprises
Explanation
Correct Answer
A:Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The proposed engineering step is to Use schema-guided extraction with explicit missing-value handling rather than creative completion. It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters. The operational test is that Checked sample letters have faithful fields and missing values remain missing. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Tool results can supply fresh structured facts that pretrained model memory cannot guarantee” is associated with this technical property: It directly supports the requirement that An inventory assistant needs live stock totals and a readable customer explanation. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.
C:“Explicit data contracts make evaluation and downstream workflow integration possible” is associated with this technical property: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.
D:“Decomposing requirements into measurable stage constraints prevents expensive architecture surprises” is associated with this technical property: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic. The question instead turns on “Entity extraction should preserve evidence spans and avoid inventing unavailable fields”: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters.
Question 581
An engineering review considers a safeguard for this situation: A deployed RAG endpoint accepts customer prompts with inconsistent whitespace and missing optional language fields. The proposed action is: Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper. Which observed failure most strongly justifies that action?
- A deployment hardcodes an artifact path and cannot roll back quickly
- Conversation memory stored only in the process disappears on deployment rollover
- Directly passing raw request dictionaries causes downstream chain errors
- Code deployment succeeds while new documents are absent from search
Explanation
Correct Answer
C:Directly passing raw request dictionaries causes downstream chain errors. This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper. A serving wrapper should enforce a stable input contract independent of model behavior. The follow-up evidence would be: Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A deployment hardcodes an artifact path and cannot roll back quickly” is associated with this technical property: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. The question instead turns on “Directly passing raw request dictionaries causes downstream chain errors”: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper.
B:“Conversation memory stored only in the process disappears on deployment rollover” is associated with this technical property: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy. The question instead turns on “Directly passing raw request dictionaries causes downstream chain errors”: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper.
D:“Code deployment succeeds while new documents are absent from search” is associated with this technical property: This observation motivates the specific control to Test source table and index sync before promoting agent to production. The question instead turns on “Directly passing raw request dictionaries causes downstream chain errors”: This observation motivates the specific control to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper.
Question 582
An application intended to satisfy this requirement, Operators want to connect individual serving failures to the model version and response, instead experiences: Aggregate usage table loses per-request debugging context. Which targeted engineering correction resolves this failure?
- Compare per-slice quality, token cost and latency against release thresholds
- Enable governed inference tables and correlate request IDs with MLflow traces
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Use a rubric-based safety judge with calibrated examples when no single reference exists
Explanation
Correct Answer
B:Enable governed inference tables and correlate request IDs with MLflow traces targets the observed failure: Aggregate usage table loses per-request debugging context. Request-level observability supports diagnosis while usage aggregates support planning. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Incident trace reconstructs endpoint version and tool error for sampled request.
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 “Enable governed inference tables and correlate request IDs with MLflow traces”: Request-level observability supports diagnosis while usage aggregates support planning.
C:“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 “Enable governed inference tables and correlate request IDs with MLflow traces”: Request-level observability supports diagnosis while usage aggregates support planning.
D:“Use a rubric-based safety judge with calibrated examples when no single reference exists” is associated with this technical property: Reference-free judgments can evaluate properties without one canonical text. The question instead turns on “Enable governed inference tables and correlate request IDs with MLflow traces”: Request-level observability supports diagnosis while usage aggregates support planning.
Question 583
For the requirement that Analysts compare dozens of clauses across a lengthy contract set, the team proposes this change: Benchmark long-context model or retrieval decomposition against actual evidence span. Which technical principle explains why it is appropriate?
- Answer correctness must be measured against source evidence, not just readability
- Context-window size alone is insufficient; long-range reasoning quality must be measured
- Search granularity can improve precision when documents mix unrelated topics
- Larger embedding dimension increases storage and index work without universal quality improvement
Explanation
Correct Answer
B:Context-window size alone is insufficient; long-range reasoning quality must be measured. The proposed engineering step is to Benchmark long-context model or retrieval decomposition against actual evidence span. It directly supports the requirement that Analysts compare dozens of clauses across a lengthy contract set. The operational test is that Held-out cross-document cases preserve all required conditions. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Answer correctness must be measured against source evidence, not just readability” is associated with this technical property: It directly supports the requirement that Two candidates give fluent answers but one invents unsupported policy details. The question instead turns on “Context-window size alone is insufficient; long-range reasoning quality must be measured”: It directly supports the requirement that Analysts compare dozens of clauses across a lengthy contract set.
C:“Search granularity can improve precision when documents mix unrelated topics” is associated with this technical property: It directly supports the requirement that A product manual is embedded in huge sections and short troubleshooting queries match poorly. The question instead turns on “Context-window size alone is insufficient; long-range reasoning quality must be measured”: It directly supports the requirement that Analysts compare dozens of clauses across a lengthy contract set.
D:“Larger embedding dimension increases storage and index work without universal quality improvement” is associated with this technical property: It directly supports the requirement that A medium-size knowledge base needs affordable index storage and fast search. The question instead turns on “Context-window size alone is insufficient; long-range reasoning quality must be measured”: It directly supports the requirement that Analysts compare dozens of clauses across a lengthy contract set.
Question 584
An application intended to satisfy this requirement, A team proposes the largest chunk size without analyzing retrieval failures, instead experiences: Benchmarks show answers with unrelated source passages and excessive prompt tokens. Which targeted engineering correction resolves this failure?
- Evaluate coverage of all required reference facts with a checklist or calibrated scorer
- Instrument MLflow traces across retriever, tools and model spans
- Choose a model evaluated on structured tool-use success and error recovery
- Select chunk size and overlap using recall, precision, groundedness and token budget together
Explanation
Correct Answer
D:Select chunk size and overlap using recall, precision, groundedness and token budget together targets the observed failure: Benchmarks show answers with unrelated source passages and excessive prompt tokens. Chunking is an empirical quality-cost decision rather than a universal fixed size. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Evaluation report shows balanced recall and cost on held-out questions.
Incorrect Answers
A:“Evaluate coverage of all required reference facts with a checklist or calibrated scorer” is associated with this technical property: Changing a different model component would not resolve this identified mechanism. The question instead turns on “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
B:“Instrument MLflow traces across retriever, tools and model spans” is associated with this technical property: End-to-end traces reveal which step failed and support reproducible evaluation. The question instead turns on “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
C:“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 “Select chunk size and overlap using recall, precision, groundedness and token budget together”: Chunking is an empirical quality-cost decision rather than a universal fixed size.
Question 585
The team observes this failure in a GenAI application: Team provisions high-concurrency interactive serving for a one-time job. After implementing the fix to Select batch SQL inference with controlled data volume and validation, which measurement or test most directly demonstrates success?
- Agent calls approved managed tools with recorded permissions and results
- Release report identifies changed component and passes regression cases
- The overnight job completes within window and no real-time endpoint is required
- After controlled update, intended new record becomes retrievable within approved delay
Explanation
Correct Answer
C:The overnight job completes within window and no real-time endpoint is required. This specifically validates the remediation to Select batch SQL inference with controlled data volume and validation for the failure that Team provisions high-concurrency interactive serving for a one-time job. Workload latency requirements should determine batch versus online architecture. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “The overnight job completes within window and no real-time endpoint is required”: Workload latency requirements should determine batch versus online architecture.
B:“Release report identifies changed component and passes regression cases” is associated with this technical property: Component-level CI isolates root causes that end-to-end scores may hide. The question instead turns on “The overnight job completes within window and no real-time endpoint is required”: Workload latency requirements should determine batch versus online architecture.
D:“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 “The overnight job completes within window and no real-time endpoint is required”: Workload latency requirements should determine batch versus online architecture.
Question 586
The team observes this failure in a GenAI application: Embedding and query retrieval quality falls for cross-language paraphrases. After implementing the fix to Evaluate multilingual embedding and optional query translation on representative pairs, which measurement or test most directly demonstrates success?
- Index audits find no unmasked sample account numbers and authorized workflow still functions
- Cross-language test set returns relevant approved procedures at target recall
- Sample retrieval hits prioritize policy sections and repeated footers are absent
- Labeled relevance ordering improves without discarding the true policy passage
Explanation
Correct Answer
B:Cross-language test set returns relevant approved procedures at target recall. This specifically validates the remediation to Evaluate multilingual embedding and optional query translation on representative pairs for the failure that Embedding and query retrieval quality falls for cross-language paraphrases. Query-language mismatch needs empirical retrieval coverage testing. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Cross-language test set returns relevant approved procedures at target recall”: Query-language mismatch needs empirical retrieval coverage testing.
C:“Sample retrieval hits prioritize policy sections and repeated footers are absent” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Cross-language test set returns relevant approved procedures at target recall”: Query-language mismatch needs empirical retrieval coverage testing.
D:“Labeled relevance ordering improves without discarding the true policy passage” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Cross-language test set returns relevant approved procedures at target recall”: Query-language mismatch needs empirical retrieval coverage testing.
Question 587
An application intended to satisfy this requirement, A high-volume FAQ agent has a strict 500 ms response budget, instead experiences: The largest available reasoning model breaches budget without measurable answer improvements. Which targeted engineering correction resolves this failure?
- Use specialist agents with a supervisor and per-tool permission boundaries
- Benchmark smaller capable candidates on quality and latency for actual workload
- Choose an orchestration pattern that passes validated state and scoped conversation context
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
Explanation
Correct Answer
B:Benchmark smaller capable candidates on quality and latency for actual workload targets the observed failure: The largest available reasoning model breaches budget without measurable answer improvements. Model size and cost should match task complexity rather than marketing labels. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Selected candidate meets held-out accuracy and p95 latency thresholds.
Incorrect Answers
A:“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 “Benchmark smaller capable candidates on quality and latency for actual workload”: Model size and cost should match task complexity rather than marketing labels.
C:“Choose an orchestration pattern that passes validated state and scoped conversation context” is associated with this technical property: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The question instead turns on “Benchmark smaller capable candidates on quality and latency for actual workload”: Model size and cost should match task complexity rather than marketing labels.
D:“Monitor live traces and perform periodic re-evaluation with refreshed ground truth” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “Benchmark smaller capable candidates on quality and latency for actual workload”: Model size and cost should match task complexity rather than marketing labels.
Question 588
A solution architect must balance this requirement: An invoice assistant must always return fields vendor and amount as valid JSON. During review the team anticipates the failure that The assistant sometimes emits markdown prose that breaks the consuming parser. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Choose and evaluate a summarization-capable text generation model with a length instruction
- Use retrieval-grounded question answering with a suitable generative model
- Specify explicit JSON fields and enforce a structured output schema with validation
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
Explanation
Correct Answer
C:Specify explicit JSON fields and enforce a structured output schema with validation directly addresses the described Databricks GenAI architecture: An invoice assistant must always return fields vendor and amount as valid JSON. Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Contract tests parse JSON and verify required fields and data types on diverse invoices.
Incorrect Answers
A:“Choose and evaluate a summarization-capable text generation model with a length instruction” is associated with this technical property: Task fit matters because extraction and summarization preserve different information. The question instead turns on “Specify explicit JSON fields and enforce a structured output schema with validation”: Structured constraints help guarantee downstream parseability instead of relying on a vague format request.
B:“Use retrieval-grounded question answering with a suitable generative model” is associated with this technical property: Answer generation and sentiment classification optimize distinct model tasks. The question instead turns on “Specify explicit JSON fields and enforce a structured output schema with validation”: Structured constraints help guarantee downstream parseability instead of relying on a vague format request.
D:“Use schema-guided extraction with explicit missing-value handling rather than creative completion” is associated with this technical property: Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The question instead turns on “Specify explicit JSON fields and enforce a structured output schema with validation”: Structured constraints help guarantee downstream parseability instead of relying on a vague format request.
Question 589
An application intended to satisfy this requirement, A financial table spanning pages is split such that row values lose currency and period, instead experiences: Assistant reports a numerically correct amount for the wrong quarter. Which targeted engineering correction resolves this failure?
- Select a model with measured multilingual task performance and adequate tokenization
- Compare model-card context limits with realistic inputs and adjust architecture
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Choose chunks that retain header, period, currency and row key
Explanation
Correct Answer
D:Choose chunks that retain header, period, currency and row key targets the observed failure: Assistant reports a numerically correct amount for the wrong quarter. Tables require contextual labels for safe semantic interpretation. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Retrieved row carries its period and unit and is matched to reviewed answer keys.
Incorrect Answers
A:“Select a model with measured multilingual task performance and adequate tokenization” is associated with this technical property: Language capability must be validated on representative user inputs. The question instead turns on “Choose chunks that retain header, period, currency and row key”: Tables require contextual labels for safe semantic interpretation.
B:“Compare model-card context limits with realistic inputs and adjust architecture” is associated with this technical property: Model metadata constraints must shape processing and evaluation. The question instead turns on “Choose chunks that retain header, period, currency and row key”: Tables require contextual labels for safe semantic interpretation.
C:“Plot cost, latency and quality tradeoffs under expected traffic mix” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Choose chunks that retain header, period, currency and row key”: Tables require contextual labels for safe semantic interpretation.
Question 590
The team observes this failure in a GenAI application: A quality regression cannot be attributed to the responsible component. After implementing the fix to Version and test retriever, prompt and answer model independently before combined rollout, which measurement or test most directly demonstrates success?
- Index queries return distinct expected records and change updates affect only intended ID
- Only approved channels receive posts after verified user action
- Short-lived task state expires and verified preference remains only under policy
- Release report identifies changed component and passes regression cases
Explanation
Correct Answer
D:Release report identifies changed component and passes regression cases. This specifically validates the remediation to Version and test retriever, prompt and answer model independently before combined rollout for the failure that A quality regression cannot be attributed to the responsible component. Component-level CI isolates root causes that end-to-end scores may hide. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Index queries return distinct expected records and change updates affect only intended ID” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Release report identifies changed component and passes regression cases”: Component-level CI isolates root causes that end-to-end scores may hide.
B:“Only approved channels receive posts after verified user action” is associated with this technical property: User-interface integration requires target validation and side-effect controls. The question instead turns on “Release report identifies changed component and passes regression cases”: Component-level CI isolates root causes that end-to-end scores may hide.
C:“Short-lived task state expires and verified preference remains only under policy” is associated with this technical property: Different memory lifetimes require different access, consent and deletion controls. The question instead turns on “Release report identifies changed component and passes regression cases”: Component-level CI isolates root causes that end-to-end scores may hide.