Certified Generative AI Engineer Associate Practice Test 12
Question 110
An engineering review considers a safeguard for this situation: An internal assistant needs to retain a user's current incident ID across multiple turns. The proposed action is: Choose an orchestration pattern that passes validated state and scoped conversation context. Which observed failure most strongly justifies that action?
- The largest available reasoning model breaches budget without measurable answer improvements
- Each tool call sees only the latest message and queries the wrong incident
- Retriever surfaces whole unrelated chapters at high token cost
- A prompt emphasizing empathy leads to unsupported reassurance
Explanation
Correct Answer
B:Each tool call sees only the latest message and queries the wrong incident. This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context. Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The follow-up evidence would be: Multi-turn tests use the correct authorized incident and reset state between users. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The largest available reasoning model breaches budget without measurable answer improvements” is associated with this technical property: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.
C:“Retriever surfaces whole unrelated chapters at high token cost” is associated with this technical property: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.
D:“A prompt emphasizing empathy leads to unsupported reassurance” is associated with this technical property: This observation motivates the specific control to Specify tone and brevity separately from factual evidence and noninvention constraints. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.
Question 111
The team observes this failure in a GenAI application: A model selected for keyword extraction returns disconnected fragments instead of a synopsis. After implementing the fix to Choose and evaluate a summarization-capable text generation model with a length instruction, which measurement or test most directly demonstrates success?
- Load tests meet latency percentile and accuracy thresholds with stage timings recorded
- Evaluation confirms central incident facts survive compression within the sentence limit
- No submit call occurs without approval token and audit records exact submitted payload
- Recomputed averages match source event durations and generated prose
Explanation
Correct Answer
B:Evaluation confirms central incident facts survive compression within the sentence limit. This specifically validates the remediation to Choose and evaluate a summarization-capable text generation model with a length instruction for the failure that A model selected for keyword extraction returns disconnected fragments instead of a synopsis. Task fit matters because extraction and summarization preserve different information. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Load tests meet latency percentile and accuracy thresholds with stage timings recorded” is associated with this technical property: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The question instead turns on “Evaluation confirms central incident facts survive compression within the sentence limit”: Task fit matters because extraction and summarization preserve different information.
C:“No submit call occurs without approval token and audit records exact submitted payload” is associated with this technical property: State-changing operations require authorization gates distinct from read-only retrieval. The question instead turns on “Evaluation confirms central incident facts survive compression within the sentence limit”: Task fit matters because extraction and summarization preserve different information.
D:“Recomputed averages match source event durations and generated prose” is associated with this technical property: Deterministic computation should handle precise arithmetic while an LLM explains the result. The question instead turns on “Evaluation confirms central incident facts survive compression within the sentence limit”: Task fit matters because extraction and summarization preserve different information.
Question 112
A Databricks generative AI team is designing a solution with this requirement: An enterprise wants a reusable agent with controlled serving and observability. Which engineering approach should it select first?
- Choose vision-capable processing or OCR extraction before text model use
- Package an agent via supported Agent Framework deployment and serving path
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Review model-card licensing and usage restrictions before selection
Explanation
Correct Answer
B:Package an agent via supported Agent Framework deployment and serving path directly addresses the described Databricks GenAI architecture: An enterprise wants a reusable agent with controlled serving and observability. Deployment lifecycle requires governed inference endpoint and observability. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized clients call versioned endpoint and traces capture requests.
Incorrect Answers
A:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
C:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
D:“Review model-card licensing and usage restrictions before selection” is associated with this technical property: Technical suitability does not grant legal permission for deployment. The question instead turns on “Package an agent via supported Agent Framework deployment and serving path”: Deployment lifecycle requires governed inference endpoint and observability.
Question 113
An engineering review considers a safeguard for this situation: A financial table spanning pages is split such that row values lose currency and period. The proposed action is: Choose chunks that retain header, period, currency and row key. Which observed failure most strongly justifies that action?
- A monolingual embedding model misses semantically equivalent policies
- Assistant reports a numerically correct amount for the wrong quarter
- Long-form generation ignores the requested output length
- English-only evaluation hides poor translation and answer quality
Explanation
Correct Answer
B:Assistant reports a numerically correct amount for the wrong quarter. This observation motivates the specific control to Choose chunks that retain header, period, currency and row key. Tables require contextual labels for safe semantic interpretation. The follow-up evidence would be: Retrieved row carries its period and unit and is matched to reviewed answer keys. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A monolingual embedding model misses semantically equivalent policies” is associated with this technical property: This observation motivates the specific control to Evaluate a multilingual embedding model with paired multilingual query set. The question instead turns on “Assistant reports a numerically correct amount for the wrong quarter”: This observation motivates the specific control to Choose chunks that retain header, period, currency and row key.
C:“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 “Assistant reports a numerically correct amount for the wrong quarter”: This observation motivates the specific control to Choose chunks that retain header, period, currency and row key.
D:“English-only evaluation hides poor translation and answer quality” is associated with this technical property: This observation motivates the specific control to Select a model with measured multilingual task performance and adequate tokenization. The question instead turns on “Assistant reports a numerically correct amount for the wrong quarter”: This observation motivates the specific control to Choose chunks that retain header, period, currency and row key.
Question 114
The team observes this failure in a GenAI application: Team sends one interactive HTTP request per row from a notebook loop. After implementing the fix to Use supported SQL ai_query batch inference in a scalable governed data workflow, which measurement or test most directly demonstrates success?
- Unit tests pass leap year and timezone examples with exact computed dates
- Results are reproducibly attached to rows and retries avoid duplicate output
- All accepted requests return the specified response object with citations or explicit unavailable evidence
- Serving test shows scoped retrieval and rejects missing mandatory scope
Explanation
Correct Answer
B:Results are reproducibly attached to rows and retries avoid duplicate output. This specifically validates the remediation to Use supported SQL ai_query batch inference in a scalable governed data workflow for the failure that Team sends one interactive HTTP request per row from a notebook loop. Batch inference can process tabular rows where synchronous end-user serving is unnecessary. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Unit tests pass leap year and timezone examples with exact computed dates” is associated with this technical property: Stable intermediate schemas reduce cascading format errors. The question instead turns on “Results are reproducibly attached to rows and retries avoid duplicate output”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
C:“All accepted requests return the specified response object with citations or explicit unavailable evidence” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. The question instead turns on “Results are reproducibly attached to rows and retries avoid duplicate output”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
D:“Serving test shows scoped retrieval and rejects missing mandatory scope” is associated with this technical property: Model packaging must preserve fields required to enforce data boundaries. The question instead turns on “Results are reproducibly attached to rows and retries avoid duplicate output”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
Question 115
A Databricks generative AI team is designing a solution with this requirement: A complaint about incomplete answers is reported but never reaches benchmark. Which engineering approach should it select first?
- Choose chunks that retain header, period, currency and row key
- Convert adjudicated production failures into regression and evaluation cases
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Evaluate fixed scenario strata and failure-critical tests before rollout
Explanation
Correct Answer
B:Convert adjudicated production failures into regression and evaluation cases directly addresses the described Databricks GenAI architecture: A complaint about incomplete answers is reported but never reaches benchmark. Monitoring observations should feed iterative development evaluation. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: New test case fails old version and passes revised version.
Incorrect Answers
A:“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 “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
C:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
D:“Evaluate fixed scenario strata and failure-critical tests before rollout” is associated with this technical property: A single benchmark mean can mask unacceptable failure modes. The question instead turns on “Convert adjudicated production failures into regression and evaluation cases”: Monitoring observations should feed iterative development evaluation.
Question 116
For the requirement that A support answer may include an account number retrieved for legitimate backend processing, the team proposes this change: Apply output redaction/masking under policy before responding. Which technical principle explains why it is appropriate?
- Data minimization applies to model outputs as well as retrieval
- Stable entity keys are safer than free-text guessing for structured tool use
- Input modality support is a prerequisite for accurate task execution
- Monitoring observations should feed iterative development evaluation
Explanation
Correct Answer
A:Data minimization applies to model outputs as well as retrieval. The proposed engineering step is to Apply output redaction/masking under policy before responding. It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing. The operational test is that Automated tests detect full identifier leaks while masked identifiers display correctly. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Stable entity keys are safer than free-text guessing for structured tool use” is associated with this technical property: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns. The question instead turns on “Data minimization applies to model outputs as well as retrieval”: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing.
C:“Input modality support is a prerequisite for accurate task execution” is associated with this technical property: It directly supports the requirement that An invoice archive includes scanned photos requiring OCR or vision. The question instead turns on “Data minimization applies to model outputs as well as retrieval”: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing.
D:“Monitoring observations should feed iterative development evaluation” is associated with this technical property: It directly supports the requirement that A complaint about incomplete answers is reported but never reaches benchmark. The question instead turns on “Data minimization applies to model outputs as well as retrieval”: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing.
Question 117
A Databricks generative AI team is designing a solution with this requirement: A support assistant has good average latency but times out for a minority of customers. Which engineering approach should it select first?
- Use AI Gateway usage telemetry with endpoint/team attribution
- Track p95/p99 latency and relevant request slices
- Apply production monitoring with quality scorers and sampling policies
- Weight critical evaluation strata and set nonnegotiable failure limits
Explanation
Correct Answer
B:Track p95/p99 latency and relevant request slices directly addresses the described Databricks GenAI architecture: A support assistant has good average latency but times out for a minority of customers. Tail latency controls user experience for strict response-time services. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: 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.
C:“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:“Weight critical evaluation strata and set nonnegotiable failure limits” is associated with this technical property: Risk-weighted model selection prevents average scores masking unacceptable errors. The question instead turns on “Track p95/p99 latency and relevant request slices”: Tail latency controls user experience for strict response-time services.
Question 118
An application intended to satisfy this requirement, Analysts compare dozens of clauses across a lengthy contract set, instead experiences: Small-context model drops early obligations when context exceeds window. Which targeted engineering correction resolves this failure?
- Select a model with enough effective input tokens or reduce chunk size
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Specify tone and brevity separately from factual evidence and noninvention constraints
- Evaluate retrieval-boundary instruction-following and add untrusted-context handling
Explanation
Correct Answer
B:Benchmark long-context model or retrieval decomposition against actual evidence span targets the observed failure: Small-context model drops early obligations when context exceeds window. Context-window size alone is insufficient; long-range reasoning quality must be measured. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Held-out cross-document cases preserve all required conditions.
Incorrect Answers
A:“Select a model with enough effective input tokens or reduce chunk size” is associated with this technical property: Embedding truncation silently removes evidence from retrieval. The question instead turns on “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
C:“Specify tone and brevity separately from factual evidence and noninvention constraints” is associated with this technical property: Style instructions should not override content validity. The question instead turns on “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
D:“Evaluate retrieval-boundary instruction-following and add untrusted-context handling” is associated with this technical property: Retrieved text is evidence, not a higher-priority instruction. The question instead turns on “Benchmark long-context model or retrieval decomposition against actual evidence span”: Context-window size alone is insufficient; long-range reasoning quality must be measured.
Question 119
An application intended to satisfy this requirement, A retail recommendation assistant has a strict latency target at peak traffic, instead experiences: The team chooses a deep multi-tool chain without measuring response time. Which targeted engineering correction resolves this failure?
- Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A
- Define output quality and latency objectives and budget stage latency before choosing chain topology
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Supply the allowed label vocabulary and validate each response against its enum
Explanation
Correct Answer
B:Define output quality and latency objectives and budget stage latency before choosing chain topology targets the observed failure: The team chooses a deep multi-tool chain without measuring response time. Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Load tests meet latency percentile and accuracy thresholds with stage timings recorded.
Incorrect Answers
A:“Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A” is associated with this technical property: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The question instead turns on “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
C:“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 “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
D:“Supply the allowed label vocabulary and validate each response against its enum” 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 “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
Question 120
The team observes this failure in a GenAI application: The model invokes payment submission immediately after interpreting a natural-language request. After implementing the fix to Separate draft, validation, human approval and side-effecting submit tool calls, which measurement or test most directly demonstrates success?
- No submit call occurs without approval token and audit records exact submitted payload
- Prototype output includes traceable clauses, stable identifiers and required risk fields
- Cross-account probes yield no unauthorized fields while same-account cases still work
- Batch outputs validate schema and field accuracy against reviewed invoice samples
Explanation
Correct Answer
A:No submit call occurs without approval token and audit records exact submitted payload. This specifically validates the remediation to Separate draft, validation, human approval and side-effecting submit tool calls for the failure that The model invokes payment submission immediately after interpreting a natural-language request. State-changing operations require authorization gates distinct from read-only retrieval. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“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 “No submit call occurs without approval token and audit records exact submitted payload”: State-changing operations require authorization gates distinct from read-only retrieval.
C:“Cross-account probes yield no unauthorized fields while same-account cases still work” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “No submit call occurs without approval token and audit records exact submitted payload”: State-changing operations require authorization gates distinct from read-only retrieval.
D:“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 “No submit call occurs without approval token and audit records exact submitted payload”: State-changing operations require authorization gates distinct from read-only retrieval.