Certified Generative AI Engineer Associate Practice Test 57
Question 560
For the requirement that A case-management screen needs a one-sentence gist of a multi-paragraph incident, the team proposes this change: Choose and evaluate a summarization-capable text generation model with a length instruction. Which technical principle explains why it is appropriate?
- Explicit data contracts make evaluation and downstream workflow integration possible
- Task fit matters because extraction and summarization preserve different information
- Matching a source paragraph is not equivalent to structured field extraction
- State-changing operations require authorization gates distinct from read-only retrieval
Explanation
Correct Answer
B:Task fit matters because extraction and summarization preserve different information. The proposed engineering step is to Choose and evaluate a summarization-capable text generation model with a length instruction. It directly supports the requirement that A case-management screen needs a one-sentence gist of a multi-paragraph incident. The operational test is that Evaluation confirms central incident facts survive compression within the sentence limit. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“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 “Task fit matters because extraction and summarization preserve different information”: It directly supports the requirement that A case-management screen needs a one-sentence gist of a multi-paragraph incident.
C:“Matching a source paragraph is not equivalent to structured field extraction” is associated with this technical property: It directly supports the requirement that A claims project requires exact claim amount fields, not narrative document search. The question instead turns on “Task fit matters because extraction and summarization preserve different information”: It directly supports the requirement that A case-management screen needs a one-sentence gist of a multi-paragraph incident.
D:“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 “Task fit matters because extraction and summarization preserve different information”: It directly supports the requirement that A case-management screen needs a one-sentence gist of a multi-paragraph incident.
Question 561
An application intended to satisfy this requirement, An expense agent can draft reimbursement requests but must not submit without consent, instead experiences: The model invokes payment submission immediately after interpreting a natural-language request. Which targeted engineering correction resolves this failure?
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Connect retrieval to a deterministic aggregation tool before final narrative generation
- Separate draft, validation, human approval and side-effecting submit tool calls
- Specify explicit JSON fields and enforce a structured output schema with validation
Explanation
Correct Answer
C:Separate draft, validation, human approval and side-effecting submit tool calls targets the observed failure: The model invokes payment submission immediately after interpreting a natural-language request. State-changing operations require authorization gates distinct from read-only retrieval. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that No submit call occurs without approval token and audit records exact submitted payload.
Incorrect Answers
A:“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 “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
B:“Connect retrieval to a deterministic aggregation tool before final narrative generation” is associated with this technical property: Deterministic computation should handle precise arithmetic while an LLM explains the result. The question instead turns on “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
D:“Specify explicit JSON fields and enforce a structured output schema with validation” is associated with this technical property: Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The question instead turns on “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
Question 562
A Databricks generative AI team is designing a solution with this requirement: A team registers a question-answer agent that expects query and user context. Which engineering approach should it select first?
- Use governed model versions and aliases or equivalent approved promotion controls
- Log a model signature and representative input example matching real requests
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Grant serving endpoint invocation only to approved service principals and groups
Explanation
Correct Answer
B:Log a model signature and representative input example matching real requests directly addresses the described Databricks GenAI architecture: A team registers a question-answer agent that expects query and user context. A declared model interface allows serving validation and client integration. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Validation accepts correct query/context records and rejects unsupported fields.
Incorrect Answers
A:“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 “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.
C:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.
D:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “Log a model signature and representative input example matching real requests”: A declared model interface allows serving validation and client integration.
Question 563
An application intended to satisfy this requirement, A medium-size knowledge base needs affordable index storage and fast search, instead experiences: Team chooses maximal embedding dimension without measuring relevance gain. Which targeted engineering correction resolves this failure?
- Compare validated retrieval quality against vector dimensionality and compute cost
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Evaluate coverage of all required reference facts with a checklist or calibrated scorer
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
Explanation
Correct Answer
A:Compare validated retrieval quality against vector dimensionality and compute cost targets the observed failure: Team chooses maximal embedding dimension without measuring relevance gain. Larger embedding dimension increases storage and index work without universal quality improvement. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Chosen model meets recall target with lower measured index bytes and latency.
Incorrect Answers
B:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Compare validated retrieval quality against vector dimensionality and compute cost”: Larger embedding dimension increases storage and index work without universal quality improvement.
C:“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 “Compare validated retrieval quality against vector dimensionality and compute cost”: Larger embedding dimension increases storage and index work without universal quality improvement.
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 “Compare validated retrieval quality against vector dimensionality and compute cost”: Larger embedding dimension increases storage and index work without universal quality improvement.
Question 564
The team observes this failure in a GenAI application: Retrieved text has garbled words that degrade grounded answers. After implementing the fix to Normalize encoding, repair OCR where justified and retain original source reference, which measurement or test most directly demonstrates success?
- Injected document cannot trigger restricted actions and answers cite safe evidence only
- Quality sample demonstrates accurate text and intact provenance metadata
- Authorized investigation correlates cases while general readers cannot recover identity
- Data flow diagram and processing logs show approved region and retention
Explanation
Correct Answer
B:Quality sample demonstrates accurate text and intact provenance metadata. This specifically validates the remediation to Normalize encoding, repair OCR where justified and retain original source reference for the failure that Retrieved text has garbled words that degrade grounded answers. Data quality repair must preserve evidence and not silently change meaning. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Injected document cannot trigger restricted actions and answers cite safe evidence only” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Quality sample demonstrates accurate text and intact provenance metadata”: Data quality repair must preserve evidence and not silently change meaning.
C:“Authorized investigation correlates cases while general readers cannot recover identity” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Quality sample demonstrates accurate text and intact provenance metadata”: Data quality repair must preserve evidence and not silently change meaning.
D:“Data flow diagram and processing logs show approved region and retention” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. The question instead turns on “Quality sample demonstrates accurate text and intact provenance metadata”: Data quality repair must preserve evidence and not silently change meaning.
Question 565
An application intended to satisfy this requirement, A triage model outputs inconsistent date and severity field formats, instead experiences: A plain request for structured text yields variable delimiters. Which targeted engineering correction resolves this failure?
- Provide validated examples and a machine-enforced output schema for the target shape
- Compare model-card context limits with realistic inputs and adjust architecture
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
Explanation
Correct Answer
A:Provide validated examples and a machine-enforced output schema for the target shape targets the observed failure: A plain request for structured text yields variable delimiters. Examples can guide style while schema checks enforce contract. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Parse success and normalized severity values meet acceptance criteria.
Incorrect Answers
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 “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
C:“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 “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
D:“Run offline evaluation on labeled cases before deployment and use live monitoring afterward” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “Provide validated examples and a machine-enforced output schema for the target shape”: Examples can guide style while schema checks enforce contract.
Question 566
A Databricks generative AI team is designing a solution with this requirement: Two LLM candidates have equal average test accuracy but differ on high-risk financial queries. Which engineering approach should it select first?
- Monitor groundedness and citation coverage alongside response latency
- Weight critical evaluation strata and set nonnegotiable failure limits
- Write a code-based scorer that compares expected identifiers and formats
- Enable governed inference tables and correlate request IDs with MLflow traces
Explanation
Correct Answer
B:Weight critical evaluation strata and set nonnegotiable failure limits directly addresses the described Databricks GenAI architecture: Two LLM candidates have equal average test accuracy but differ on high-risk financial queries. Risk-weighted model selection prevents average scores masking unacceptable errors. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: The chosen model passes critical high-risk cases and baseline quality.
Incorrect Answers
A:“Monitor groundedness and citation coverage alongside response latency” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
C:“Write a code-based scorer that compares expected identifiers and formats” is associated with this technical property: Exact-data correctness requires deterministic comparison not just prose similarity. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
D:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Weight critical evaluation strata and set nonnegotiable failure limits”: Risk-weighted model selection prevents average scores masking unacceptable errors.
Question 567
An application intended to satisfy this requirement, An internal summarizer endpoint contains confidential financial reports, instead experiences: Any workspace member can invoke it despite not being on the finance team. Which targeted engineering correction resolves this failure?
- Configure supported sync/refresh behavior and verify index freshness
- Choose a stable unique primary key and valid text/embedding fields for the index
- Grant serving endpoint invocation only to approved service principals and groups
- Record representative input schema including tenant context in MLflow
Explanation
Correct Answer
C:Grant serving endpoint invocation only to approved service principals and groups targets the observed failure: Any workspace member can invoke it despite not being on the finance team. Inference endpoint permissions should reflect least privilege and source sensitivity. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Authorized clients succeed while unrelated identities receive access denied.
Incorrect Answers
A:“Configure supported sync/refresh behavior and verify index freshness” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
B:“Choose a stable unique primary key and valid text/embedding fields for the index” is associated with this technical property: A vector index needs consistent row identity to synchronize source mutations. The question instead turns on “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
D:“Record representative input schema including tenant context in MLflow” is associated with this technical property: Model packaging must preserve fields required to enforce data boundaries. The question instead turns on “Grant serving endpoint invocation only to approved service principals and groups”: Inference endpoint permissions should reflect least privilege and source sensitivity.
Question 568
A Databricks generative AI team is designing a solution with this requirement: A case-management screen needs a one-sentence gist of a multi-paragraph incident. Which engineering approach should it select first?
- Build a retrieval step that selects authorized passages before prompting the answer model
- Choose the Information Extraction capability and define stable target schema
- Select information extraction with validation and optional citations before using generative prose
- Choose and evaluate a summarization-capable text generation model with a length instruction
Explanation
Correct Answer
D:Choose and evaluate a summarization-capable text generation model with a length instruction directly addresses the described Databricks GenAI architecture: A case-management screen needs a one-sentence gist of a multi-paragraph incident. Task fit matters because extraction and summarization preserve different information. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Evaluation confirms central incident facts survive compression within the sentence limit.
Incorrect Answers
A:“Build a retrieval step that selects authorized passages before prompting the answer model” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
B:“Choose the Information Extraction capability and define stable target schema” is associated with this technical property: Structured extraction differs from open-ended multi-step research orchestration. The question instead turns on “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
C:“Select information extraction with validation and optional citations before using generative prose” is associated with this technical property: Matching a source paragraph is not equivalent to structured field extraction. The question instead turns on “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
Question 569
An engineering review considers a safeguard for this situation: A malicious policy PDF contains text pretending to be a system command. The proposed action is: Treat retrieved passages as untrusted data and enforce tool policies outside prompts. Which observed failure most strongly justifies that action?
- The agent follows document instructions to call a privileged tool
- Developers assume technical download access means commercial redistribution permission
- A summarizer merges both and issues a false combined instruction
- Raw prompt logging includes unneeded national identifiers in long-retention tables
Explanation
Correct Answer
A:The agent follows document instructions to call a privileged tool. This observation motivates the specific control to Treat retrieved passages as untrusted data and enforce tool policies outside prompts. External context must not override trusted instructions or tool authorization. The follow-up evidence would be: Injected document cannot trigger restricted actions and answers cite safe evidence only. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Developers assume technical download access means commercial redistribution permission” is associated with this technical property: This observation motivates the specific control to Check data provenance, license terms and documented permissible uses before training. The question instead turns on “The agent follows document instructions to call a privileged tool”: This observation motivates the specific control to Treat retrieved passages as untrusted data and enforce tool policies outside prompts.
C:“A summarizer merges both and issues a false combined instruction” is associated with this technical property: This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction. The question instead turns on “The agent follows document instructions to call a privileged tool”: This observation motivates the specific control to Treat retrieved passages as untrusted data and enforce tool policies outside prompts.
D:“Raw prompt logging includes unneeded national identifiers in long-retention tables” is associated with this technical property: This observation motivates the specific control to Choose supported masking/redaction or logging minimization before persisted telemetry. The question instead turns on “The agent follows document instructions to call a privileged tool”: This observation motivates the specific control to Treat retrieved passages as untrusted data and enforce tool policies outside prompts.
Question 570
The team observes this failure in a GenAI application: Team repeats old tests without incorporating reviewed failure examples. After implementing the fix to Convert adjudicated production failures into regression and evaluation cases, which measurement or test most directly demonstrates success?
- New test case fails old version and passes revised version
- Precision at k improves while required step sequences remain intact
- Prohibited requests are rejected consistently while harmless alternatives remain supported
- Multi-turn tests use the correct authorized incident and reset state between users
Explanation
Correct Answer
A:New test case fails old version and passes revised version. This specifically validates the remediation to Convert adjudicated production failures into regression and evaluation cases for the failure that Team repeats old tests without incorporating reviewed failure examples. Monitoring observations should feed iterative development evaluation. 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 “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.
C:“Prohibited requests are rejected consistently while harmless alternatives remain supported” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.
D:“Multi-turn tests use the correct authorized incident and reset state between users” 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 “New test case fails old version and passes revised version”: Monitoring observations should feed iterative development evaluation.