Certified Generative AI Engineer Associate Practice Test 13
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.
Question 121
An engineering review considers a safeguard for this situation: An order-status agent must check current shipment events before writing a reply. The proposed action is: Require authenticated lookup before answer composition, with missing-data branch. Which observed failure most strongly justifies that action?
- One single-purpose document agent routes payroll queries into IT answers
- The agent sends reassuring delivery dates without invoking tracking
- A sentiment classifier returns positive or negative labels instead of answers
- LLM replies cite nonexistent paragraphs because no authoritative text is supplied
Explanation
Correct Answer
B:The agent sends reassuring delivery dates without invoking tracking. This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch. Tool ordering matters when facts are volatile and cannot be inferred safely. The follow-up evidence would be: Audit trace shows lookup then formatted response, or explicit unavailable status. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“One single-purpose document agent routes payroll queries into IT answers” is associated with this technical property: This observation motivates the specific control to Use a Multiagent Supervisor to delegate to narrowly scoped specialists. The question instead turns on “The agent sends reassuring delivery dates without invoking tracking”: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch.
C:“A sentiment classifier returns positive or negative labels instead of answers” is associated with this technical property: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model. The question instead turns on “The agent sends reassuring delivery dates without invoking tracking”: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch.
D:“LLM replies cite nonexistent paragraphs because no authoritative text is supplied” is associated with this technical property: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model. The question instead turns on “The agent sends reassuring delivery dates without invoking tracking”: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch.
Question 122
The team observes this failure in a GenAI application: Team averages disagreement into a misleading quality benchmark. After implementing the fix to Define shared scoring rubric, run calibration rounds and resolve large disagreements, which measurement or test most directly demonstrates success?
- Usage reports reconcile agent tokens and billed amount by team
- SLO alerts fire on sustained tail-latency breach
- Repeat scoring shows improved agreement and adjudicated benchmark cases
- The scorer rejects every missing-disclaimer case regardless of writing style
Explanation
Correct Answer
C:Repeat scoring shows improved agreement and adjudicated benchmark cases. This specifically validates the remediation to Define shared scoring rubric, run calibration rounds and resolve large disagreements for the failure that Team averages disagreement into a misleading quality benchmark. Human judgments need inter-rater consistency for reliable model comparisons. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Usage reports reconcile agent tokens and billed amount by team” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “Repeat scoring shows improved agreement and adjudicated benchmark cases”: Human judgments need inter-rater consistency for reliable model comparisons.
B:“SLO alerts fire on sustained tail-latency breach” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Repeat scoring shows improved agreement and adjudicated benchmark cases”: Human judgments need inter-rater consistency for reliable model comparisons.
D:“The scorer rejects every missing-disclaimer case regardless of writing style” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Repeat scoring shows improved agreement and adjudicated benchmark cases”: Human judgments need inter-rater consistency for reliable model comparisons.
Question 123
The team observes this failure in a GenAI application: Model serving fails with module not found even though local tests pass. After implementing the fix to Declare needed Python packages and artifacts when logging and packaging the pyfunc model, which measurement or test most directly demonstrates success?
- Short-lived task state expires and verified preference remains only under policy
- Unit tests pass leap year and timezone examples with exact computed dates
- Clean deployment starts successfully without relying on notebook-local imports
- The overnight job completes within window and no real-time endpoint is required
Explanation
Correct Answer
C:Clean deployment starts successfully without relying on notebook-local imports. This specifically validates the remediation to Declare needed Python packages and artifacts when logging and packaging the pyfunc model for the failure that Model serving fails with module not found even though local tests pass. A model artifact must include compatible runtime dependencies for reproducible serving. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Clean deployment starts successfully without relying on notebook-local imports”: A model artifact must include compatible runtime dependencies for reproducible serving.
B:“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 “Clean deployment starts successfully without relying on notebook-local imports”: A model artifact must include compatible runtime dependencies for reproducible serving.
D:“The overnight job completes within window and no real-time endpoint is required” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Clean deployment starts successfully without relying on notebook-local imports”: A model artifact must include compatible runtime dependencies for reproducible serving.
Question 124
An engineering review considers a safeguard for this situation: A high-volume FAQ agent has a strict 500 ms response budget. The proposed action is: Benchmark smaller capable candidates on quality and latency for actual workload. Which observed failure most strongly justifies that action?
- The last paragraph of some chunks never contributes to the vectors
- The largest available reasoning model breaches budget without measurable answer improvements
- The model answers with the general rule and misses the required exception
- Team deploys a model whose license prohibits the desired use
Explanation
Correct Answer
B:The largest available reasoning model breaches budget without measurable answer improvements. This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload. Model size and cost should match task complexity rather than marketing labels. The follow-up evidence would be: Selected candidate meets held-out accuracy and p95 latency thresholds. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The last paragraph of some chunks never contributes to the vectors” is associated with this technical property: This observation motivates the specific control to Select a model with enough effective input tokens or reduce chunk size. The question instead turns on “The largest available reasoning model breaches budget without measurable answer improvements”: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload.
C:“The model answers with the general rule and misses the required exception” is associated with this technical property: This observation motivates the specific control to Increase chunk continuity or retrieve adjacent parent context based on evaluation failures. The question instead turns on “The largest available reasoning model breaches budget without measurable answer improvements”: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload.
D:“Team deploys a model whose license prohibits the desired use” is associated with this technical property: This observation motivates the specific control to Review model-card licensing and usage restrictions before selection. The question instead turns on “The largest available reasoning model breaches budget without measurable answer improvements”: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload.
Question 125
An application intended to satisfy this requirement, A summarization model has promising scores but maximum input shorter than user documents, instead experiences: The pipeline truncates product recalls and produces misleading summaries. Which targeted engineering correction resolves this failure?
- Convert adjudicated production failures into regression and evaluation cases
- Instrument MLflow traces across retriever, tools and model spans
- Compare model-card context limits with realistic inputs and adjust architecture
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
Explanation
Correct Answer
C:Compare model-card context limits with realistic inputs and adjust architecture targets the observed failure: The pipeline truncates product recalls and produces misleading summaries. Model metadata constraints must shape processing and evaluation. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Test documents are within supported input bounds or split with faithful recombination.
Incorrect Answers
A:“Convert adjudicated production failures into regression and evaluation cases” is associated with this technical property: Monitoring observations should feed iterative development evaluation. The question instead turns on “Compare model-card context limits with realistic inputs and adjust architecture”: Model metadata constraints must shape processing and evaluation.
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 “Compare model-card context limits with realistic inputs and adjust architecture”: Model metadata constraints must shape processing and evaluation.
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 model-card context limits with realistic inputs and adjust architecture”: Model metadata constraints must shape processing and evaluation.
Question 126
For the requirement that Contracts have headings, numbered clauses and definitions referenced together, the team proposes this change: Chunk along semantic boundaries, carrying heading metadata into retrieval. Which technical principle explains why it is appropriate?
- Structured APIs should be read as structures rather than rendered web text
- High-frequency irrelevant text dilutes retrieval quality and raises noise
- Structure-aware chunking preserves context and filters better than indiscriminate splitting
- Hierarchical retrieval combines search granularity with coherent generation context
Explanation
Correct Answer
C:Structure-aware chunking preserves context and filters better than indiscriminate splitting. The proposed engineering step is to Chunk along semantic boundaries, carrying heading metadata into retrieval. It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together. The operational test is that Test queries retrieve full clause meaning with original heading metadata. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Structured APIs should be read as structures rather than rendered web text” is associated with this technical property: It directly supports the requirement that The product database supplies structured API responses with nested fields. The question instead turns on “Structure-aware chunking preserves context and filters better than indiscriminate splitting”: It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together.
B:“High-frequency irrelevant text dilutes retrieval quality and raises noise” is associated with this technical property: It directly supports the requirement that Every policy page includes a long navigation footer repeated hundreds of times. The question instead turns on “Structure-aware chunking preserves context and filters better than indiscriminate splitting”: It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together.
D:“Hierarchical retrieval combines search granularity with coherent generation context” is associated with this technical property: It directly supports the requirement that A lengthy engineering manual has chapters, headings and steps. The question instead turns on “Structure-aware chunking preserves context and filters better than indiscriminate splitting”: It directly supports the requirement that Contracts have headings, numbered clauses and definitions referenced together.
Question 127
An engineering review considers a safeguard for this situation: Two approved policy versions disagree about the same reimbursement rule. The proposed action is: Prioritize effective approved source versions and surface unresolved contradiction. Which observed failure most strongly justifies that action?
- A summarizer merges both and issues a false combined instruction
- Raw prompt logging includes unneeded national identifiers in long-retention tables
- The LLM includes the full payment token in a support response
- The assistant could disclose licensed material to users without viewing rights
Explanation
Correct Answer
A:A summarizer merges both and issues a false combined instruction. This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction. Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The follow-up evidence would be: Ambiguous cases cite controlling version or clearly flag the disagreement. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“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 “A summarizer merges both and issues a false combined instruction”: This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction.
C:“The LLM includes the full payment token in a support response” is associated with this technical property: This observation motivates the specific control to Apply policy-based redaction to tool output and answer rendering. The question instead turns on “A summarizer merges both and issues a false combined instruction”: This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction.
D:“The assistant could disclose licensed material to users without viewing rights” is associated with this technical property: This observation motivates the specific control to Enforce entitlements and output-length constraints for licensed sources. The question instead turns on “A summarizer merges both and issues a false combined instruction”: This observation motivates the specific control to Prioritize effective approved source versions and surface unresolved contradiction.
Question 128
The team observes this failure in a GenAI application: The team relies on deployment success alone to declare healthy service. After implementing the fix to Apply production monitoring with quality scorers and sampling policies, which measurement or test most directly demonstrates success?
- Reviewers identify the wrong source chunk and reproduce failure
- The chosen model passes critical high-risk cases and baseline quality
- Monitoring detects groundedness regression following index refresh
- Dashboard flags unsupported answer rate before broad user complaints
Explanation
Correct Answer
C:Monitoring detects groundedness regression following index refresh. This specifically validates the remediation to Apply production monitoring with quality scorers and sampling policies for the failure that The team relies on deployment success alone to declare healthy service. Operational availability and response correctness require separate tracking. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Reviewers identify the wrong source chunk and reproduce failure” is associated with this technical property: Traces connect observed errors to intermediate model and tool activity. The question instead turns on “Monitoring detects groundedness regression following index refresh”: Operational availability and response correctness require separate tracking.
B:“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 “Monitoring detects groundedness regression following index refresh”: Operational availability and response correctness require separate tracking.
D:“Dashboard flags unsupported answer rate before broad user complaints” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “Monitoring detects groundedness regression following index refresh”: Operational availability and response correctness require separate tracking.
Question 129
An application intended to satisfy this requirement, A deployment changes prompt, retriever and model together, instead experiences: A quality regression cannot be attributed to the responsible component. Which targeted engineering correction resolves this failure?
- Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper
- Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota
- Register external MCP connection and keep credentials in governed secret storage
- Version and test retriever, prompt and answer model independently before combined rollout
Explanation
Correct Answer
D:Version and test retriever, prompt and answer model independently before combined rollout targets the observed failure: A quality regression cannot be attributed to the responsible component. Component-level CI isolates root causes that end-to-end scores may hide. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Release report identifies changed component and passes regression cases.
Incorrect Answers
A:“Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper” is associated with this technical property: A serving wrapper should enforce a stable input contract independent of model behavior. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
B:“Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota” is associated with this technical property: Hosted model APIs separate application logic from model infrastructure operations. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
C:“Register external MCP connection and keep credentials in governed secret storage” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
Question 130
A Databricks generative AI team is designing a solution with this requirement: An incident agent posts summaries into an internal Slack channel. Which engineering approach should it select first?
- Gate prompt promotion on fixed accuracy, completeness, safety and cost tests
- Use approved Slack integration with channel allowlists and action confirmation
- Prefer supported managed MCP servers when their existing tools fit the task
- Use governed model versions and aliases or equivalent approved promotion controls
Explanation
Correct Answer
B:Use approved Slack integration with channel allowlists and action confirmation directly addresses the described Databricks GenAI architecture: An incident agent posts summaries into an internal Slack channel. User-interface integration requires target validation and side-effect controls. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Only approved channels receive posts after verified user action.
Incorrect Answers
A:“Gate prompt promotion on fixed accuracy, completeness, safety and cost tests” is associated with this technical property: Prompt changes can alter functional correctness and require quality control. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.
C:“Prefer supported managed MCP servers when their existing tools fit the task” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.
D:“Use governed model versions and aliases or equivalent approved promotion controls” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Use approved Slack integration with channel allowlists and action confirmation”: User-interface integration requires target validation and side-effect controls.