Certified Generative AI Engineer Associate Practice Test 14
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.
Question 131
An application intended to satisfy this requirement, An inventory assistant needs live stock totals and a readable customer explanation, instead experiences: The agent writes plausible quantities without querying the inventory system. Which targeted engineering correction resolves this failure?
- Require authenticated lookup before answer composition, with missing-data branch
- Choose the Information Extraction capability and define stable target schema
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Compose a governed data-query tool followed by a separate response-generation step
Explanation
Correct Answer
D:Compose a governed data-query tool followed by a separate response-generation step targets the observed failure: The agent writes plausible quantities without querying the inventory system. Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Trace links each displayed stock number to a successful scoped query result.
Incorrect Answers
A:“Require authenticated lookup before answer composition, with missing-data branch” is associated with this technical property: Tool ordering matters when facts are volatile and cannot be inferred safely. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
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 “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
C:“Use schema-guided extraction with explicit missing-value handling rather than creative completion” is associated with this technical property: Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
Question 132
An engineering review considers a safeguard for this situation: A team registers a question-answer agent that expects query and user context. The proposed action is: Log a model signature and representative input example matching real requests. Which observed failure most strongly justifies that action?
- Any workspace member can invoke it despite not being on the finance team
- A deployment hardcodes an artifact path and cannot roll back quickly
- Model serving infers a bare-string input and rejects client dictionaries
- Developers attempt exact equality joins on free-text questions
Explanation
Correct Answer
C:Model serving infers a bare-string input and rejects client dictionaries. This observation motivates the specific control to Log a model signature and representative input example matching real requests. A declared model interface allows serving validation and client integration. The follow-up evidence would be: Validation accepts correct query/context records and rejects unsupported fields. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Any workspace member can invoke it despite not being on the finance team” is associated with this technical property: This observation motivates the specific control to Grant serving endpoint invocation only to approved service principals and groups. The question instead turns on “Model serving infers a bare-string input and rejects client dictionaries”: This observation motivates the specific control to Log a model signature and representative input example matching real requests.
B:“A deployment hardcodes an artifact path and cannot roll back quickly” is associated with this technical property: This observation motivates the specific control to Use governed model versions and aliases or equivalent approved promotion controls. The question instead turns on “Model serving infers a bare-string input and rejects client dictionaries”: This observation motivates the specific control to Log a model signature and representative input example matching real requests.
D:“Developers attempt exact equality joins on free-text questions” is associated with this technical property: This observation motivates the specific control to Use semantic embedding similarity for unstructured retrieval while preserving structured filters. The question instead turns on “Model serving infers a bare-string input and rejects client dictionaries”: This observation motivates the specific control to Log a model signature and representative input example matching real requests.
Question 133
A Databricks generative AI team is designing a solution with this requirement: A reports pipeline needs sentiment labels before an overnight dashboard refresh. Which engineering approach should it select first?
- Use an eligible Foundation Model API or serving endpoint with appropriate auth and quota
- Use approved Slack integration with channel allowlists and action confirmation
- Select batch SQL inference with controlled data volume and validation
- Implement approved retry, quota handling and optional validated alternative model path
Explanation
Correct Answer
C:Select batch SQL inference with controlled data volume and validation directly addresses the described Databricks GenAI architecture: A reports pipeline needs sentiment labels before an overnight dashboard refresh. Workload latency requirements should determine batch versus online architecture. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: The overnight job completes within window and no real-time endpoint is required.
Incorrect Answers
A:“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 “Select batch SQL inference with controlled data volume and validation”: Workload latency requirements should determine batch versus online architecture.
B:“Use approved Slack integration with channel allowlists and action confirmation” is associated with this technical property: User-interface integration requires target validation and side-effect controls. The question instead turns on “Select batch SQL inference with controlled data volume and validation”: Workload latency requirements should determine batch versus online architecture.
D:“Implement approved retry, quota handling and optional validated alternative model path” is associated with this technical property: Inference service reliability requires explicit rate-limit and failure controls. The question instead turns on “Select batch SQL inference with controlled data volume and validation”: Workload latency requirements should determine batch versus online architecture.
Question 134
A Databricks generative AI team is designing a solution with this requirement: Investigators need to link repeated incidents without exposing original account numbers. Which engineering approach should it select first?
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Prioritize effective approved source versions and surface unresolved contradiction
- Constrain external tools, allowlisted destinations and approval for data egress
- Normalize encoding, repair OCR where justified and retain original source reference
Explanation
Correct Answer
A:Use controlled pseudonymous tokens with restricted reidentification rights where appropriate directly addresses the described Databricks GenAI architecture: Investigators need to link repeated incidents without exposing original account numbers. Privacy techniques must preserve only the minimum analytics purpose. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Authorized investigation correlates cases while general readers cannot recover identity.
Incorrect Answers
B:“Prioritize effective approved source versions and surface unresolved contradiction” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
C:“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 “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
D:“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 “Use controlled pseudonymous tokens with restricted reidentification rights where appropriate”: Privacy techniques must preserve only the minimum analytics purpose.
Question 135
For the requirement that Four subject experts grade the same RAG answer very differently, the team proposes this change: Define shared scoring rubric, run calibration rounds and resolve large disagreements. Which technical principle explains why it is appropriate?
- Human judgments need inter-rater consistency for reliable model comparisons
- Caching saves inference cost only when response scope and freshness permit reuse
- Production debugging depends on evidence of actual invocation payloads
- Code-based scoring is suitable for exact business-rule invariants
Explanation
Correct Answer
A:Human judgments need inter-rater consistency for reliable model comparisons. The proposed engineering step is to Define shared scoring rubric, run calibration rounds and resolve large disagreements. It directly supports the requirement that Four subject experts grade the same RAG answer very differently. The operational test is that Repeat scoring shows improved agreement and adjudicated benchmark cases. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Caching saves inference cost only when response scope and freshness permit reuse” is associated with this technical property: It directly supports the requirement that Many users ask identical public policy questions but the app calls LLM each time. The question instead turns on “Human judgments need inter-rater consistency for reliable model comparisons”: It directly supports the requirement that Four subject experts grade the same RAG answer very differently.
C:“Production debugging depends on evidence of actual invocation payloads” is associated with this technical property: It directly supports the requirement that An agent endpoint has intermittent malformed tool calls after a model update. The question instead turns on “Human judgments need inter-rater consistency for reliable model comparisons”: It directly supports the requirement that Four subject experts grade the same RAG answer very differently.
D:“Code-based scoring is suitable for exact business-rule invariants” is associated with this technical property: It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds. The question instead turns on “Human judgments need inter-rater consistency for reliable model comparisons”: It directly supports the requirement that Four subject experts grade the same RAG answer very differently.
Question 136
The team observes this failure in a GenAI application: The agent follows document instructions to call a privileged tool. After implementing the fix to Treat retrieved passages as untrusted data and enforce tool policies outside prompts, which measurement or test most directly demonstrates success?
- Data flow diagram and processing logs show approved region and retention
- Ambiguous cases cite controlling version or clearly flag the disagreement
- Usage totals remain available while sampled logs exclude restricted values
- Injected document cannot trigger restricted actions and answers cite safe evidence only
Explanation
Correct Answer
D:Injected document cannot trigger restricted actions and answers cite safe evidence only. This specifically validates the remediation to Treat retrieved passages as untrusted data and enforce tool policies outside prompts for the failure that The agent follows document instructions to call a privileged tool. External context must not override trusted instructions or tool authorization. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Injected document cannot trigger restricted actions and answers cite safe evidence only”: External context must not override trusted instructions or tool authorization.
B:“Ambiguous cases cite controlling version or clearly flag the disagreement” is associated with this technical property: Conflicting sources require precedence or explicit uncertainty rather than fabricated synthesis. The question instead turns on “Injected document cannot trigger restricted actions and answers cite safe evidence only”: External context must not override trusted instructions or tool authorization.
C:“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 “Injected document cannot trigger restricted actions and answers cite safe evidence only”: External context must not override trusted instructions or tool authorization.
Question 137
A Databricks generative AI team is designing a solution with this requirement: A retail recommendation assistant has a strict latency target at peak traffic. Which engineering approach should it select first?
- Refresh external result at the final decision point and label timestamped availability
- Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A
- Choose the Information Extraction capability and define stable target schema
- Define output quality and latency objectives and budget stage latency before choosing chain topology
Explanation
Correct Answer
D:Define output quality and latency objectives and budget stage latency before choosing chain topology directly addresses the described Databricks GenAI architecture: A retail recommendation assistant has a strict latency target at peak traffic. Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Load tests meet latency percentile and accuracy thresholds with stage timings recorded.
Incorrect Answers
A:“Refresh external result at the final decision point and label timestamped availability” is associated with this technical property: Tool freshness is a dependency of time-sensitive reasoning and action. The question instead turns on “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
B:“Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A” is associated with this technical property: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The question instead turns on “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
C:“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 “Define output quality and latency objectives and budget stage latency before choosing chain topology”: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises.
Question 138
A Databricks generative AI team is designing a solution with this requirement: A medium-size knowledge base needs affordable index storage and fast search. Which engineering approach should it select first?
- Compare validated retrieval quality against vector dimensionality and compute cost
- Verify authenticated user authority and explicit approval in the action service
- Require the governed Genie result and query provenance before final response
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
Explanation
Correct Answer
A:Compare validated retrieval quality against vector dimensionality and compute cost directly addresses the described Databricks GenAI architecture: A medium-size knowledge base needs affordable index storage and fast search. Larger embedding dimension increases storage and index work without universal quality improvement. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Chosen model meets recall target with lower measured index bytes and latency.
Incorrect Answers
B:“Verify authenticated user authority and explicit approval in the action service” is associated with this technical property: Authorization enforced at tools cannot be bypassed by generated text. 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:“Require the governed Genie result and query provenance before final response” is associated with this technical property: Structured analytics should be traceable to actual authorized data access. 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:“Use an agent orchestration framework with explicit typed tool definitions and execution traces” is associated with this technical property: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. 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 139
The team observes this failure in a GenAI application: Naive masking replaces every identifier with same stars and destroys correlation. After implementing the fix to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate, which measurement or test most directly demonstrates success?
- Data flow diagram and processing logs show approved region and retention
- Authorized investigation correlates cases while general readers cannot recover identity
- Injection attempts fail and approved parameter values return scoped results
- Injection benchmark fails to redirect agent behavior but still retrieves relevant facts
Explanation
Correct Answer
B:Authorized investigation correlates cases while general readers cannot recover identity. This specifically validates the remediation to Use controlled pseudonymous tokens with restricted reidentification rights where appropriate for the failure that Naive masking replaces every identifier with same stars and destroys correlation. Privacy techniques must preserve only the minimum analytics purpose. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“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 “Authorized investigation correlates cases while general readers cannot recover identity”: Privacy techniques must preserve only the minimum analytics purpose.
C:“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 “Authorized investigation correlates cases while general readers cannot recover identity”: Privacy techniques must preserve only the minimum analytics purpose.
D:“Injection benchmark fails to redirect agent behavior but still retrieves relevant facts” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. The question instead turns on “Authorized investigation correlates cases while general readers cannot recover identity”: Privacy techniques must preserve only the minimum analytics purpose.
Question 140
A Databricks generative AI team is designing a solution with this requirement: An agent must connect retrieval, a calculation tool and a final conversational response. Which engineering approach should it select first?
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Use an agent orchestration framework with explicit typed tool definitions and execution traces
- Choose a model evaluated on structured tool-use success and error recovery
- Choose chunks that retain header, period, currency and row key
Explanation
Correct Answer
B:Use an agent orchestration framework with explicit typed tool definitions and execution traces directly addresses the described Databricks GenAI architecture: An agent must connect retrieval, a calculation tool and a final conversational response. Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Traces show a retrieval call, calculation result and final text with handled tool errors.
Incorrect Answers
A:“Add task-specific safety and authorization checks beyond stylistic quality scoring” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “Use an agent orchestration framework with explicit typed tool definitions and execution traces”: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing.
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 “Use an agent orchestration framework with explicit typed tool definitions and execution traces”: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing.
D:“Choose chunks that retain header, period, currency and row key” is associated with this technical property: Tables require contextual labels for safe semantic interpretation. The question instead turns on “Use an agent orchestration framework with explicit typed tool definitions and execution traces”: Reusable agent components manage messages, tool calling and state more reliably than ad hoc text parsing.