Certified Generative AI Engineer Associate Practice Test 72
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.
Question 711
The team observes this failure in a GenAI application: Search returns incompatible products due to inconsistent query strings. After implementing the fix to Normalize supported aliases to canonical product ID before retrieval, which measurement or test most directly demonstrates success?
- Both alias and SKU lead to same permitted record with exact inventory result
- Release includes benchmark scores and post-launch drift dashboard
- A test mock retriever can replace the production vector backend without changing prompts
- Selection record includes measured accuracy, costs and failures
Explanation
Correct Answer
A:Both alias and SKU lead to same permitted record with exact inventory result. This specifically validates the remediation to Normalize supported aliases to canonical product ID before retrieval for the failure that Search returns incompatible products due to inconsistent query strings. Stable entity keys are safer than free-text guessing for structured tool use. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Release includes benchmark scores and post-launch drift dashboard” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “Both alias and SKU lead to same permitted record with exact inventory result”: Stable entity keys are safer than free-text guessing for structured tool use.
C:“A test mock retriever can replace the production vector backend without changing prompts” is associated with this technical property: Separating retrieval contract from storage implementation reduces migration coupling. The question instead turns on “Both alias and SKU lead to same permitted record with exact inventory result”: Stable entity keys are safer than free-text guessing for structured tool use.
D:“Selection record includes measured accuracy, costs and failures” is associated with this technical property: Published benchmarks do not guarantee performance on a specialized dataset. The question instead turns on “Both alias and SKU lead to same permitted record with exact inventory result”: Stable entity keys are safer than free-text guessing for structured tool use.
Question 712
For the requirement that A live chatbot begins producing less useful answers after corpus refresh, the team proposes this change: Apply production monitoring with quality scorers and sampling policies. Which technical principle explains why it is appropriate?
- Traces connect observed errors to intermediate model and tool activity
- Application quality requires outcome metrics beyond uptime
- Token use diagnostics reveal cost regressions invisible in request counts
- Operational availability and response correctness require separate tracking
Explanation
Correct Answer
D:Operational availability and response correctness require separate tracking. The proposed engineering step is to Apply production monitoring with quality scorers and sampling policies. It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh. The operational test is that Monitoring detects groundedness regression following index refresh. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Traces connect observed errors to intermediate model and tool activity” is associated with this technical property: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer. The question instead turns on “Operational availability and response correctness require separate tracking”: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh.
B:“Application quality requires outcome metrics beyond uptime” is associated with this technical property: Application quality requires outcome metrics beyond uptime. The question instead turns on “Operational availability and response correctness require separate tracking”: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh.
C:“Token use diagnostics reveal cost regressions invisible in request counts” is associated with this technical property: It directly supports the requirement that An agent's token consumption suddenly doubles after a retrieval change. The question instead turns on “Operational availability and response correctness require separate tracking”: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh.
Question 713
A Databricks generative AI team is designing a solution with this requirement: A regulated organization has a contractual requirement to keep personal data in a designated region. Which engineering approach should it select first?
- Select compliant deployment and data-processing path after checking vendor terms
- Normalize encoding, repair OCR where justified and retain original source reference
- Treat retrieved passages as untrusted data and enforce tool policies outside prompts
- Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed
Explanation
Correct Answer
A:Select compliant deployment and data-processing path after checking vendor terms directly addresses the described Databricks GenAI architecture: A regulated organization has a contractual requirement to keep personal data in a designated region. Deployment architecture must respect jurisdictional and contractual data handling. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Data flow diagram and processing logs show approved region and retention.
Incorrect Answers
B:“Normalize encoding, repair OCR where justified and retain original source reference” is associated with this technical property: Data quality repair must preserve evidence and not silently change meaning. The question instead turns on “Select compliant deployment and data-processing path after checking vendor terms”: Deployment architecture must respect jurisdictional and contractual data handling.
C:“Treat retrieved passages as untrusted data and enforce tool policies outside prompts” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Select compliant deployment and data-processing path after checking vendor terms”: Deployment architecture must respect jurisdictional and contractual data handling.
D:“Mask or tokenize restricted fields before indexing and apply access-aware lookup where needed” is associated with this technical property: Masking is more reliable at ingestion than hoping an output prompt hides every identifier. The question instead turns on “Select compliant deployment and data-processing path after checking vendor terms”: Deployment architecture must respect jurisdictional and contractual data handling.
Question 714
A Databricks generative AI team is designing a solution with this requirement: A production retriever depends on a Delta sync index updated with the corpus. Which engineering approach should it select first?
- Choose supported index synchronization mode and verify freshness SLA under updates
- Choose a stable unique primary key and valid text/embedding fields for the index
- Test source table and index sync before promoting agent to production
- Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota
Explanation
Correct Answer
C:Test source table and index sync before promoting agent to production directly addresses the described Databricks GenAI architecture: A production retriever depends on a Delta sync index updated with the corpus. A chain release depends on compatible data and index readiness. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Smoke tests retrieve newly approved documents before production traffic switch.
Incorrect Answers
A:“Choose supported index synchronization mode and verify freshness SLA under updates” is associated with this technical property: Update frequency is a key design input for choosing index deployment. The question instead turns on “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
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 “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
D:“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 “Test source table and index sync before promoting agent to production”: A chain release depends on compatible data and index readiness.
Question 715
An application intended to satisfy this requirement, A security reviewer finds an unsafe tool action that automated tests missed, instead experiences: Feedback stays in a comment thread and is not included in future evaluations. Which targeted engineering correction resolves this failure?
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
- Compare per-slice quality, token cost and latency against release thresholds
- Convert reviewed failure into a labeled regression case and rerun on new versions
- Monitor groundedness and citation coverage alongside response latency
Explanation
Correct Answer
C:Convert reviewed failure into a labeled regression case and rerun on new versions targets the observed failure: Feedback stays in a comment thread and is not included in future evaluations. Expert feedback improves quality only when incorporated into repeatable release gates. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that New evaluation fails unsafe old version and passes remediated agent.
Incorrect Answers
A:“Build a deterministic custom scorer for required phrase presence in addition to semantic judges” is associated with this technical property: Code-based scoring is suitable for exact business-rule invariants. The question instead turns on “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
B:“Compare per-slice quality, token cost and latency against release thresholds” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
D:“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 “Convert reviewed failure into a labeled regression case and rerun on new versions”: Expert feedback improves quality only when incorporated into repeatable release gates.
Question 716
The team observes this failure in a GenAI application: Costs rise despite stable source documents and no personalization need. After implementing the fix to Cache eligible nonprivate responses with document-version invalidation, which measurement or test most directly demonstrates success?
- Repeat requests show lower token spend without serving stale or cross-user data
- The scorer rejects every missing-disclaimer case regardless of writing style
- Selected model clears safety and correctness gates at sustainable cost
- Incident trace reconstructs endpoint version and tool error for sampled request
Explanation
Correct Answer
A:Repeat requests show lower token spend without serving stale or cross-user data. This specifically validates the remediation to Cache eligible nonprivate responses with document-version invalidation for the failure that Costs rise despite stable source documents and no personalization need. Caching saves inference cost only when response scope and freshness permit reuse. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“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 requests show lower token spend without serving stale or cross-user data”: Caching saves inference cost only when response scope and freshness permit reuse.
C:“Selected model clears safety and correctness gates at sustainable cost” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Repeat requests show lower token spend without serving stale or cross-user data”: Caching saves inference cost only when response scope and freshness permit reuse.
D:“Incident trace reconstructs endpoint version and tool error for sampled request” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Repeat requests show lower token spend without serving stale or cross-user data”: Caching saves inference cost only when response scope and freshness permit reuse.
Question 717
For the requirement that A retrieved document contains an instruction telling the assistant to reveal secrets, the team proposes this change: Evaluate retrieval-boundary instruction-following and add untrusted-context handling. Which technical principle explains why it is appropriate?
- Context-window size alone is insufficient; long-range reasoning quality must be measured
- Genie-style analytics is suited to structured data rather than ungrounded numeric text generation
- Retrieved text is evidence, not a higher-priority instruction
- Typed interfaces constrain model actions and separate credentials from prompt text
Explanation
Correct Answer
C:Retrieved text is evidence, not a higher-priority instruction. The proposed engineering step is to Evaluate retrieval-boundary instruction-following and add untrusted-context handling. It directly supports the requirement that A retrieved document contains an instruction telling the assistant to reveal secrets. The operational test is that Adversarial documents fail to redirect tools or disclose restricted content. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Context-window size alone is insufficient; long-range reasoning quality must be measured” is associated with this technical property: It directly supports the requirement that Analysts compare dozens of clauses across a lengthy contract set. The question instead turns on “Retrieved text is evidence, not a higher-priority instruction”: It directly supports the requirement that A retrieved document contains an instruction telling the assistant to reveal secrets.
B:“Genie-style analytics is suited to structured data rather than ungrounded numeric text generation” is associated with this technical property: It directly supports the requirement that An operations agent must answer questions requiring aggregations over governed BI tables. The question instead turns on “Retrieved text is evidence, not a higher-priority instruction”: It directly supports the requirement that A retrieved document contains an instruction telling the assistant to reveal secrets.
D:“Typed interfaces constrain model actions and separate credentials from prompt text” is associated with this technical property: It directly supports the requirement that An assistant may fetch approved weather data from a licensed external API. The question instead turns on “Retrieved text is evidence, not a higher-priority instruction”: It directly supports the requirement that A retrieved document contains an instruction telling the assistant to reveal secrets.
Question 718
A Databricks generative AI team is designing a solution with this requirement: An application receives a user question and must return an answer based on a private wiki. Which engineering approach should it select first?
- Select batch SQL inference with controlled data volume and validation
- Register external MCP connection and keep credentials in governed secret storage
- Add typed output parsing and schema validation in the pyfunc predict path
- Implement explicit retrieve, evidence selection and answer generation stages
Explanation
Correct Answer
D:Implement explicit retrieve, evidence selection and answer generation stages directly addresses the described Databricks GenAI architecture: An application receives a user question and must return an answer based on a private wiki. An executable chain defines data dependencies instead of hoping prompting implies them. 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 evidence retrieval before every grounded answer.
Incorrect Answers
A:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Implement explicit retrieve, evidence selection and answer generation stages”: An executable chain defines data dependencies instead of hoping prompting implies them.
B:“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 “Implement explicit retrieve, evidence selection and answer generation stages”: An executable chain defines data dependencies instead of hoping prompting implies them.
C:“Add typed output parsing and schema validation in the pyfunc predict path” is associated with this technical property: Preprocessing and postprocessing are deployable model behavior and need independent tests. The question instead turns on “Implement explicit retrieve, evidence selection and answer generation stages”: An executable chain defines data dependencies instead of hoping prompting implies them.
Question 719
The team observes this failure in a GenAI application: Code deployment succeeds while new documents are absent from search. After implementing the fix to Test source table and index sync before promoting agent to production, which measurement or test most directly demonstrates success?
- Browser code has no credentials and authenticated authorized requests succeed
- Smoke tests retrieve newly approved documents before production traffic switch
- Results are reproducibly attached to rows and retries avoid duplicate output
- After controlled update, intended new record becomes retrievable within approved delay
Explanation
Correct Answer
B:Smoke tests retrieve newly approved documents before production traffic switch. This specifically validates the remediation to Test source table and index sync before promoting agent to production for the failure that Code deployment succeeds while new documents are absent from search. A chain release depends on compatible data and index readiness. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Smoke tests retrieve newly approved documents before production traffic switch”: A chain release depends on compatible data and index readiness.
C:“Results are reproducibly attached to rows and retries avoid duplicate output” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Smoke tests retrieve newly approved documents before production traffic switch”: A chain release depends on compatible data and index readiness.
D:“After controlled update, intended new record becomes retrievable within approved delay” is associated with this technical property: Index results reflect a materialized view whose update cadence must match source changes. The question instead turns on “Smoke tests retrieve newly approved documents before production traffic switch”: A chain release depends on compatible data and index readiness.
Question 720
An engineering review considers a safeguard for this situation: An internal summarizer endpoint contains confidential financial reports. The proposed action is: Grant serving endpoint invocation only to approved service principals and groups. Which observed failure most strongly justifies that action?
- Any workspace member can invoke it despite not being on the finance team
- Conversation memory stored only in the process disappears on deployment rollover
- The vector index refreshes once per day and returns stale inventory summaries
- Semantic search finds related explanations but misses exact error code
Explanation
Correct Answer
A:Any workspace member can invoke it despite not being on the finance team. This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. Inference endpoint permissions should reflect least privilege and source sensitivity. The follow-up evidence would be: Authorized clients succeed while unrelated identities receive access denied. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“Conversation memory stored only in the process disappears on deployment rollover” is associated with this technical property: This observation motivates the specific control to Persist scoped state in an approved durable datastore with expiry and access policy. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.
C:“The vector index refreshes once per day and returns stale inventory summaries” is associated with this technical property: This observation motivates the specific control to Choose supported index synchronization mode and verify freshness SLA under updates. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.
D:“Semantic search finds related explanations but misses exact error code” is associated with this technical property: This observation motivates the specific control to Use hybrid lexical and dense search with measured relevance for the workload. The question instead turns on “Any workspace member can invoke it despite not being on the finance team”: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups.