Certified Generative AI Engineer Associate Practice Test 71
Question 700
The team observes this failure in a GenAI application: Model emits an answer before any retrieval call is made. After implementing the fix to Implement explicit retrieve, evidence selection and answer generation stages, which measurement or test most directly demonstrates success?
- Trace shows evidence retrieval before every grounded answer
- Browser code has no credentials and authenticated authorized requests succeed
- Endpoint retrieves approved documents after employee token revocation with auditable service identity
- Smoke tests retrieve newly approved documents before production traffic switch
Explanation
Correct Answer
A:Trace shows evidence retrieval before every grounded answer. This specifically validates the remediation to Implement explicit retrieve, evidence selection and answer generation stages for the failure that Model emits an answer before any retrieval call is made. An executable chain defines data dependencies instead of hoping prompting implies them. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Browser code has no credentials and authenticated authorized requests succeed” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.
C:“Endpoint retrieves approved documents after employee token revocation with auditable service identity” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.
D:“Smoke tests retrieve newly approved documents before production traffic switch” is associated with this technical property: A chain release depends on compatible data and index readiness. The question instead turns on “Trace shows evidence retrieval before every grounded answer”: An executable chain defines data dependencies instead of hoping prompting implies them.
Question 701
The team observes this failure in a GenAI application: Developers assume technical download access means commercial redistribution permission. After implementing the fix to Check data provenance, license terms and documented permissible uses before training, which measurement or test most directly demonstrates success?
- Approved dataset manifest contains rights status for each source
- Usage totals remain available while sampled logs exclude restricted values
- Quality sample demonstrates accurate text and intact provenance metadata
- Injection attempts fail and approved parameter values return scoped results
Explanation
Correct Answer
A:Approved dataset manifest contains rights status for each source. This specifically validates the remediation to Check data provenance, license terms and documented permissible uses before training for the failure that Developers assume technical download access means commercial redistribution permission. Availability of source data does not imply redistribution or model-training rights. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Usage totals remain available while sampled logs exclude restricted values” is associated with this technical property: Operational metrics should avoid storing unnecessary sensitive payloads. The question instead turns on “Approved dataset manifest contains rights status for each source”: Availability of source data does not imply redistribution or model-training rights.
C:“Quality sample demonstrates accurate text and intact provenance metadata” is associated with this technical property: Data quality repair must preserve evidence and not silently change meaning. The question instead turns on “Approved dataset manifest contains rights status for each source”: Availability of source data does not imply redistribution or model-training rights.
D:“Injection attempts fail and approved parameter values return scoped results” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Approved dataset manifest contains rights status for each source”: Availability of source data does not imply redistribution or model-training rights.
Question 702
An application intended to satisfy this requirement, A temporary evaluation set contains employee complaints and account details, instead experiences: Experiment logging retains raw examples indefinitely with broad access. Which targeted engineering correction resolves this failure?
- Use parameterized queries with governed read-only permissions and validation
- Constrain external tools, allowlisted destinations and approval for data egress
- Apply policy-based redaction to tool output and answer rendering
- Apply retention, redaction and deletion rules to evaluation artifacts
Explanation
Correct Answer
D:Apply retention, redaction and deletion rules to evaluation artifacts targets the observed failure: Experiment logging retains raw examples indefinitely with broad access. Evaluation data requires the same governance scrutiny as production data. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Expired sensitive experiment examples are removed under audited policy.
Incorrect Answers
A:“Use parameterized queries with governed read-only permissions and validation” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
B:“Constrain external tools, allowlisted destinations and approval for data egress” is associated with this technical property: Prompt injection becomes dangerous when untrusted content controls tool side effects. The question instead turns on “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
C:“Apply policy-based redaction to tool output and answer rendering” is associated with this technical property: Data minimization is a separate control from model answer quality. The question instead turns on “Apply retention, redaction and deletion rules to evaluation artifacts”: Evaluation data requires the same governance scrutiny as production data.
Question 703
An application intended to satisfy this requirement, A nightly source refresh modifies a subset of documents, instead experiences: Pipeline reprocesses every item and generates expensive duplicate embeddings. Which targeted engineering correction resolves this failure?
- Use stable document and chunk IDs with change detection and Delta merge semantics
- Chunk along semantic boundaries, carrying heading metadata into retrieval
- Store child chunks for fine search with parent-section expansion for answer context
- Reduce excessive overlap while checking boundary-question recall
Explanation
Correct Answer
A:Use stable document and chunk IDs with change detection and Delta merge semantics targets the observed failure: Pipeline reprocesses every item and generates expensive duplicate embeddings. Idempotent updates prevent duplicate indexed chunks and limit processing cost. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Second run without changes adds no duplicates and changed documents re-embed.
Incorrect Answers
B:“Chunk along semantic boundaries, carrying heading metadata into retrieval” is associated with this technical property: Structure-aware chunking preserves context and filters better than indiscriminate splitting. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
C:“Store child chunks for fine search with parent-section expansion for answer context” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
D:“Reduce excessive overlap while checking boundary-question recall” is associated with this technical property: Overlap trades continuity against duplication, latency and storage footprint. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
Question 704
An engineering review considers a safeguard for this situation: An agent retrieves five chunks and produces an incorrect answer. The proposed action is: Capture MLflow retriever and LLM spans and apply groundedness scorers. Which observed failure most strongly justifies that action?
- Generic evaluation rewards fluent external knowledge without source evidence
- Semantic similarity judges overlook a single wrong identifier
- Team monitors only mean latency, concealing long-tail outliers
- Only final output is logged so engineers cannot diagnose retrieval versus generation
Explanation
Correct Answer
D:Only final output is logged so engineers cannot diagnose retrieval versus generation. This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers. Traces connect observed errors to intermediate model and tool activity. The follow-up evidence would be: Reviewers identify the wrong source chunk and reproduce failure. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Generic evaluation rewards fluent external knowledge without source evidence” is associated with this technical property: This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers. The question instead turns on “Only final output is logged so engineers cannot diagnose retrieval versus generation”: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers.
B:“Semantic similarity judges overlook a single wrong identifier” is associated with this technical property: This observation motivates the specific control to Write a code-based scorer that compares expected identifiers and formats. The question instead turns on “Only final output is logged so engineers cannot diagnose retrieval versus generation”: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers.
C:“Team monitors only mean latency, concealing long-tail outliers” is associated with this technical property: This observation motivates the specific control to Track p95/p99 latency and relevant request slices. The question instead turns on “Only final output is logged so engineers cannot diagnose retrieval versus generation”: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers.
Question 705
An engineering review considers a safeguard for this situation: An agent proposes updating customer credit limits from a chat message. The proposed action is: Verify authenticated user authority and explicit approval in the action service. Which observed failure most strongly justifies that action?
- No one can reconstruct which model configuration produced a regression
- The pipeline truncates product recalls and produces misleading summaries
- The model fabricates endpoint paths and sends free-text instead of typed parameters
- A guardrail prompt says to ask permission but backend accepts unauthorized calls
Explanation
Correct Answer
D:A guardrail prompt says to ask permission but backend accepts unauthorized calls. This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service. Authorization enforced at tools cannot be bypassed by generated text. The follow-up evidence would be: API rejects unapproved write calls regardless of model phrasing. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“No one can reconstruct which model configuration produced a regression” is associated with this technical property: This observation motivates the specific control to Track model, code, prompt and evaluation datasets with versioned experiment artifacts. The question instead turns on “A guardrail prompt says to ask permission but backend accepts unauthorized calls”: This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service.
B:“The pipeline truncates product recalls and produces misleading summaries” is associated with this technical property: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. The question instead turns on “A guardrail prompt says to ask permission but backend accepts unauthorized calls”: This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service.
C:“The model fabricates endpoint paths and sends free-text instead of typed parameters” is associated with this technical property: This observation motivates the specific control to Expose the API as a validated tool with constrained arguments and secrets management. The question instead turns on “A guardrail prompt says to ask permission but backend accepts unauthorized calls”: This observation motivates the specific control to Verify authenticated user authority and explicit approval in the action service.
Question 706
For the requirement that A high-volume FAQ agent has a strict 500 ms response budget, the team proposes this change: Benchmark smaller capable candidates on quality and latency for actual workload. Which technical principle explains why it is appropriate?
- Structured analytics should be traceable to actual authorized data access
- Authorization enforced at tools cannot be bypassed by generated text
- End-to-end traces reveal which step failed and support reproducible evaluation
- Model size and cost should match task complexity rather than marketing labels
Explanation
Correct Answer
D:Model size and cost should match task complexity rather than marketing labels. The proposed engineering step is to Benchmark smaller capable candidates on quality and latency for actual workload. It directly supports the requirement that A high-volume FAQ agent has a strict 500 ms response budget. The operational test is that Selected candidate meets held-out accuracy and p95 latency thresholds. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Structured analytics should be traceable to actual authorized data access” is associated with this technical property: It directly supports the requirement that A finance user asks for actual spend across departments. The question instead turns on “Model size and cost should match task complexity rather than marketing labels”: It directly supports the requirement that A high-volume FAQ agent has a strict 500 ms response budget.
B:“Authorization enforced at tools cannot be bypassed by generated text” is associated with this technical property: It directly supports the requirement that An agent proposes updating customer credit limits from a chat message. The question instead turns on “Model size and cost should match task complexity rather than marketing labels”: It directly supports the requirement that A high-volume FAQ agent has a strict 500 ms response budget.
C:“End-to-end traces reveal which step failed and support reproducible evaluation” is associated with this technical property: It directly supports the requirement that A RAG agent retrieves, calls a SQL tool and summarizes results. The question instead turns on “Model size and cost should match task complexity rather than marketing labels”: It directly supports the requirement that A high-volume FAQ agent has a strict 500 ms response budget.
Question 707
An application intended to satisfy this requirement, Price availability text changes many times daily and must affect semantic search rapidly, instead experiences: The vector index refreshes once per day and returns stale inventory summaries. Which targeted engineering correction resolves this failure?
- Use hybrid lexical and dense search with measured relevance for the workload
- Choose supported index synchronization mode and verify freshness SLA under updates
- Register external MCP connection and keep credentials in governed secret storage
- Choose a stable unique primary key and valid text/embedding fields for the index
Explanation
Correct Answer
B:Choose supported index synchronization mode and verify freshness SLA under updates targets the observed failure: The vector index refreshes once per day and returns stale inventory summaries. Update frequency is a key design input for choosing index deployment. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that A changed catalog record appears in results within agreed refresh window.
Incorrect Answers
A:“Use hybrid lexical and dense search with measured relevance for the workload” is associated with this technical property: Keyword and dense methods retrieve complementary kinds of evidence. The question instead turns on “Choose supported index synchronization mode and verify freshness SLA under updates”: Update frequency is a key design input for choosing index deployment.
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 “Choose supported index synchronization mode and verify freshness SLA under updates”: Update frequency is a key design input for choosing index deployment.
D:“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 “Choose supported index synchronization mode and verify freshness SLA under updates”: Update frequency is a key design input for choosing index deployment.
Question 708
A Databricks generative AI team is designing a solution with this requirement: An assistant retrieves account records after a user's vague request about their invoice. Which engineering approach should it select first?
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Pass authenticated account ID and resolved invoice ID as structured retrieval filters
- Choose a model evaluated on structured tool-use success and error recovery
Explanation
Correct Answer
C:Pass authenticated account ID and resolved invoice ID as structured retrieval filters directly addresses the described Databricks GenAI architecture: An assistant retrieves account records after a user's vague request about their invoice. User intent must be coupled to trusted entity context before private lookup. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Trace shows scoped retrieval and no cross-account data exposure.
Incorrect Answers
A:“Increase chunk continuity or retrieve adjacent parent context based on evaluation failures” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
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 “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
D:“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 “Pass authenticated account ID and resolved invoice ID as structured retrieval filters”: User intent must be coupled to trusted entity context before private lookup.
Question 709
An engineering review considers a safeguard for this situation: A security reviewer finds an unsafe tool action that automated tests missed. The proposed action is: Convert reviewed failure into a labeled regression case and rerun on new versions. Which observed failure most strongly justifies that action?
- Feedback stays in a comment thread and is not included in future evaluations
- Team demands an exact answer string for every possible response
- Costs rise despite stable source documents and no personalization need
- Only final output is logged so engineers cannot diagnose retrieval versus generation
Explanation
Correct Answer
A:Feedback stays in a comment thread and is not included in future evaluations. This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions. Expert feedback improves quality only when incorporated into repeatable release gates. The follow-up evidence would be: New evaluation fails unsafe old version and passes remediated agent. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Team demands an exact answer string for every possible response” is associated with this technical property: This observation motivates the specific control to Use a rubric-based safety judge with calibrated examples when no single reference exists. The question instead turns on “Feedback stays in a comment thread and is not included in future evaluations”: This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions.
C:“Costs rise despite stable source documents and no personalization need” is associated with this technical property: This observation motivates the specific control to Cache eligible nonprivate responses with document-version invalidation. The question instead turns on “Feedback stays in a comment thread and is not included in future evaluations”: This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions.
D:“Only final output is logged so engineers cannot diagnose retrieval versus generation” is associated with this technical property: This observation motivates the specific control to Capture MLflow retriever and LLM spans and apply groundedness scorers. The question instead turns on “Feedback stays in a comment thread and is not included in future evaluations”: This observation motivates the specific control to Convert reviewed failure into a labeled regression case and rerun on new versions.
Question 710
A Databricks generative AI team is designing a solution with this requirement: A finance user asks for actual spend across departments. Which engineering approach should it select first?
- Apply output redaction/masking under policy before responding
- Instrument MLflow traces across retriever, tools and model spans
- Choose a model evaluated on structured tool-use success and error recovery
- Require the governed Genie result and query provenance before final response
Explanation
Correct Answer
D:Require the governed Genie result and query provenance before final response directly addresses the described Databricks GenAI architecture: A finance user asks for actual spend across departments. Structured analytics should be traceable to actual authorized data access. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Response amounts reconcile with query output and user role scope.
Incorrect Answers
A:“Apply output redaction/masking under policy before responding” is associated with this technical property: Data minimization applies to model outputs as well as retrieval. The question instead turns on “Require the governed Genie result and query provenance before final response”: Structured analytics should be traceable to actual authorized data access.
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 “Require the governed Genie result and query provenance before final response”: Structured analytics should be traceable to actual authorized data access.
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 “Require the governed Genie result and query provenance before final response”: Structured analytics should be traceable to actual authorized data access.