Certified Generative AI Engineer Associate Practice Test 33
Question 320
An engineering review considers a safeguard for this situation: The agent must query governed data and call a custom exception-check API. The proposed action is: Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities. Which observed failure most strongly justifies that action?
- A single managed assistant answers documents but cannot complete the action workflow
- The assistant sometimes emits markdown prose that breaks the consuming parser
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- A generic conversation design accepts account IDs supplied by untrusted users
Explanation
Correct Answer
A:A single managed assistant answers documents but cannot complete the action workflow. This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities. Tool requirements should determine orchestration rather than choosing components by popularity. The follow-up evidence would be: Functional tests show governed data query and approved custom exception tool execute in sequence. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The assistant sometimes emits markdown prose that breaks the consuming parser” is associated with this technical property: This observation motivates the specific control to Specify explicit JSON fields and enforce a structured output schema with validation. The question instead turns on “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.
C:“A model selected for keyword extraction returns disconnected fragments instead of a synopsis” is associated with this technical property: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. The question instead turns on “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.
D:“A generic conversation design accepts account IDs supplied by untrusted users” is associated with this technical property: This observation motivates the specific control to Define authenticated identity context as input and tenant-scoped answer objects as output. The question instead turns on “A single managed assistant answers documents but cannot complete the action workflow”: This observation motivates the specific control to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities.
Question 321
For the requirement that An assistant retrieves account records after a user's vague request about their invoice, the team proposes this change: Pass authenticated account ID and resolved invoice ID as structured retrieval filters. Which technical principle explains why it is appropriate?
- Explicit state management is safer than assuming an isolated LLM call remembers prior inputs
- User intent must be coupled to trusted entity context before private lookup
- Chunk size and parent context should be tuned against grounded-answer error patterns
- Search granularity can improve precision when documents mix unrelated topics
Explanation
Correct Answer
B:User intent must be coupled to trusted entity context before private lookup. The proposed engineering step is to Pass authenticated account ID and resolved invoice ID as structured retrieval filters. It directly supports the requirement that An assistant retrieves account records after a user's vague request about their invoice. The operational test is that Trace shows scoped retrieval and no cross-account data exposure. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Explicit state management is safer than assuming an isolated LLM call remembers prior inputs” is associated with this technical property: It directly supports the requirement that An internal assistant needs to retain a user's current incident ID across multiple turns. The question instead turns on “User intent must be coupled to trusted entity context before private lookup”: It directly supports the requirement that An assistant retrieves account records after a user's vague request about their invoice.
C:“Chunk size and parent context should be tuned against grounded-answer error patterns” is associated with this technical property: It directly supports the requirement that An FAQ retriever delivers one sentence without the exception in the next paragraph. The question instead turns on “User intent must be coupled to trusted entity context before private lookup”: It directly supports the requirement that An assistant retrieves account records after a user's vague request about their invoice.
D:“Search granularity can improve precision when documents mix unrelated topics” is associated with this technical property: It directly supports the requirement that A product manual is embedded in huge sections and short troubleshooting queries match poorly. The question instead turns on “User intent must be coupled to trusted entity context before private lookup”: It directly supports the requirement that An assistant retrieves account records after a user's vague request about their invoice.
Question 322
For the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus, the team proposes this change: Build a custom scorer that checks authorized source support and required qualifiers. Which technical principle explains why it is appropriate?
- Attribution requires identity and endpoint dimensions beyond total invoices
- Domain quality criteria should be explicit, testable and tied to allowed evidence
- A single composite score cannot capture cost-quality constraints
- Request-level observability supports diagnosis while usage aggregates support planning
Explanation
Correct Answer
B:Domain quality criteria should be explicit, testable and tied to allowed evidence. The proposed engineering step is to Build a custom scorer that checks authorized source support and required qualifiers. It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus. The operational test is that Unsupported medical advice fails even when fluent. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Attribution requires identity and endpoint dimensions beyond total invoices” is associated with this technical property: It directly supports the requirement that Finance needs per-team spend for several deployed agent endpoints. The question instead turns on “Domain quality criteria should be explicit, testable and tied to allowed evidence”: It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus.
C:“A single composite score cannot capture cost-quality constraints” is associated with this technical property: A single composite score cannot capture cost-quality constraints. The question instead turns on “Domain quality criteria should be explicit, testable and tied to allowed evidence”: It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus.
D:“Request-level observability supports diagnosis while usage aggregates support planning” is associated with this technical property: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response. The question instead turns on “Domain quality criteria should be explicit, testable and tied to allowed evidence”: It directly supports the requirement that A pharmaceutical assistant must explain answers only from an approved product corpus.
Question 323
An engineering review considers a safeguard for this situation: A pharmaceutical assistant must explain answers only from an approved product corpus. The proposed action is: Build a custom scorer that checks authorized source support and required qualifiers. Which observed failure most strongly justifies that action?
- Generic evaluation rewards fluent external knowledge without source evidence
- The team lacks requests and tool spans for production failures
- Team monitors only mean latency, concealing long-tail outliers
- The team relies on deployment success alone to declare healthy service
Explanation
Correct Answer
A:Generic evaluation rewards fluent external knowledge without source evidence. This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers. Domain quality criteria should be explicit, testable and tied to allowed evidence. The follow-up evidence would be: Unsupported medical advice fails even when fluent. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The team lacks requests and tool spans for production failures” is associated with this technical property: This observation motivates the specific control to Enable appropriately governed inference logging and trace retention. The question instead turns on “Generic evaluation rewards fluent external knowledge without source evidence”: This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers.
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 “Generic evaluation rewards fluent external knowledge without source evidence”: This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers.
D:“The team relies on deployment success alone to declare healthy service” is associated with this technical property: This observation motivates the specific control to Apply production monitoring with quality scorers and sampling policies. The question instead turns on “Generic evaluation rewards fluent external knowledge without source evidence”: This observation motivates the specific control to Build a custom scorer that checks authorized source support and required qualifiers.
Question 324
The team observes this failure in a GenAI application: Answer context is crowded by false positives and displaces correct facts. After implementing the fix to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted, which measurement or test most directly demonstrates success?
- Second run without changes adds no duplicates and changed documents re-embed
- Sample entities retain IDs, numeric types and provenance fields
- Irrelevant passages decrease while target evidence remains in top results
- Parsed heading and FAQ answer match the original DOM without menus
Explanation
Correct Answer
C:Irrelevant passages decrease while target evidence remains in top results. This specifically validates the remediation to Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted for the failure that Answer context is crowded by false positives and displaces correct facts. Retrieval precision controls the fraction of presented evidence that is relevant. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Second run without changes adds no duplicates and changed documents re-embed” is associated with this technical property: Idempotent updates prevent duplicate indexed chunks and limit processing cost. The question instead turns on “Irrelevant passages decrease while target evidence remains in top results”: Retrieval precision controls the fraction of presented evidence that is relevant.
B:“Sample entities retain IDs, numeric types and provenance fields” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. The question instead turns on “Irrelevant passages decrease while target evidence remains in top results”: Retrieval precision controls the fraction of presented evidence that is relevant.
D:“Parsed heading and FAQ answer match the original DOM without menus” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Irrelevant passages decrease while target evidence remains in top results”: Retrieval precision controls the fraction of presented evidence that is relevant.
Question 325
A Databricks generative AI team is designing a solution with this requirement: A summarization model has promising scores but maximum input shorter than user documents. Which engineering approach should it select first?
- Evaluate a multilingual embedding model with paired multilingual query set
- Compare model-card context limits with realistic inputs and adjust architecture
- Select a model with enough effective input tokens or reduce chunk size
- Prompt for evidence-conditioned answers and explicit unsupported-status handling
Explanation
Correct Answer
B:Compare model-card context limits with realistic inputs and adjust architecture directly addresses the described Databricks GenAI architecture: A summarization model has promising scores but maximum input shorter than user documents. Model metadata constraints must shape processing and evaluation. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Test documents are within supported input bounds or split with faithful recombination.
Incorrect Answers
A:“Evaluate a multilingual embedding model with paired multilingual query set” is associated with this technical property: Cross-lingual embedding performance cannot be assumed from English benchmarks. The question instead turns on “Compare model-card context limits with realistic inputs and adjust architecture”: Model metadata constraints must shape processing and evaluation.
C:“Select a model with enough effective input tokens or reduce chunk size” is associated with this technical property: Embedding truncation silently removes evidence from retrieval. 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:“Prompt for evidence-conditioned answers and explicit unsupported-status handling” is associated with this technical property: Abstention is preferable to fabricated specifics when retrieval lacks support. 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 326
An engineering review considers a safeguard for this situation: A research agent calls an external ticket API requiring a provider key. The proposed action is: Register external MCP connection and keep credentials in governed secret storage. Which observed failure most strongly justifies that action?
- Model serving infers a bare-string input and rejects client dictionaries
- Team provisions high-concurrency interactive serving for a one-time job
- Any workspace member can invoke it despite not being on the finance team
- The API key is copied into prompts and client-side source code
Explanation
Correct Answer
D:The API key is copied into prompts and client-side source code. This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage. Tool connection credentials must be isolated from model-generated content. The follow-up evidence would be: Tool calls succeed under approved identity and red-team prompts cannot disclose key. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Model serving infers a bare-string input and rejects client dictionaries” is associated with this technical property: This observation motivates the specific control to Log a model signature and representative input example matching real requests. The question instead turns on “The API key is copied into prompts and client-side source code”: This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage.
B:“Team provisions high-concurrency interactive serving for a one-time job” is associated with this technical property: This observation motivates the specific control to Select batch SQL inference with controlled data volume and validation. The question instead turns on “The API key is copied into prompts and client-side source code”: This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage.
C:“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 “The API key is copied into prompts and client-side source code”: This observation motivates the specific control to Register external MCP connection and keep credentials in governed secret storage.
Question 327
For the requirement that An agent retrieves five chunks and produces an incorrect answer, the team proposes this change: Capture MLflow retriever and LLM spans and apply groundedness scorers. 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
- Request-level observability supports diagnosis while usage aggregates support planning
- Operational availability and response correctness require separate tracking
Explanation
Correct Answer
A:Traces connect observed errors to intermediate model and tool activity. The proposed engineering step is to Capture MLflow retriever and LLM spans and apply groundedness scorers. It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer. The operational test is that Reviewers identify the wrong source chunk and reproduce failure. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
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 “Traces connect observed errors to intermediate model and tool activity”: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer.
C:“Request-level observability supports diagnosis while usage aggregates support planning” is associated with this technical property: It directly supports the requirement that Operators want to connect individual serving failures to the model version and response. The question instead turns on “Traces connect observed errors to intermediate model and tool activity”: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer.
D:“Operational availability and response correctness require separate tracking” is associated with this technical property: It directly supports the requirement that A live chatbot begins producing less useful answers after corpus refresh. The question instead turns on “Traces connect observed errors to intermediate model and tool activity”: It directly supports the requirement that An agent retrieves five chunks and produces an incorrect answer.
Question 328
An application intended to satisfy this requirement, An attacker sends a user message containing fake system tags to disable audit logging, instead experiences: A naive tool agent treats those tags as privileged instructions. Which targeted engineering correction resolves this failure?
- Benchmark long-context model or retrieval decomposition against actual evidence span
- Package an agent via supported Agent Framework deployment and serving path
- Treat user text as untrusted, enforce tool authorization outside model prompts and test injection
- Plot cost, latency and quality tradeoffs under expected traffic mix
Explanation
Correct Answer
C:Treat user text as untrusted, enforce tool authorization outside model prompts and test injection targets the observed failure: A naive tool agent treats those tags as privileged instructions. Prompt-level safeguards must be backed by code-level privilege checks. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Attack strings cannot call restricted tools or bypass approval controls.
Incorrect Answers
A:“Benchmark long-context model or retrieval decomposition against actual evidence span” is associated with this technical property: Context-window size alone is insufficient; long-range reasoning quality must be measured. The question instead turns on “Treat user text as untrusted, enforce tool authorization outside model prompts and test injection”: Prompt-level safeguards must be backed by code-level privilege checks.
B:“Package an agent via supported Agent Framework deployment and serving path” is associated with this technical property: Deployment lifecycle requires governed inference endpoint and observability. The question instead turns on “Treat user text as untrusted, enforce tool authorization outside model prompts and test injection”: Prompt-level safeguards must be backed by code-level privilege checks.
D:“Plot cost, latency and quality tradeoffs under expected traffic mix” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Treat user text as untrusted, enforce tool authorization outside model prompts and test injection”: Prompt-level safeguards must be backed by code-level privilege checks.
Question 329
A Databricks generative AI team is designing a solution with this requirement: A premium LLM improves accuracy slightly while multiplying cost per request. Which engineering approach should it select first?
- Choose vision-capable processing or OCR extraction before text model use
- Benchmark smaller capable candidates on quality and latency for actual workload
- Plot cost, latency and quality tradeoffs under expected traffic mix
- Apply output redaction/masking under policy before responding
Explanation
Correct Answer
C:Plot cost, latency and quality tradeoffs under expected traffic mix directly addresses the described Databricks GenAI architecture: A premium LLM improves accuracy slightly while multiplying cost per request. Model selection is a multi-objective optimization with service constraints. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Chosen variant meets minimum quality at sustainable expected monthly cost.
Incorrect Answers
A:“Choose vision-capable processing or OCR extraction before text model use” is associated with this technical property: Input modality support is a prerequisite for accurate task execution. The question instead turns on “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
B:“Benchmark smaller capable candidates on quality and latency for actual workload” is associated with this technical property: Model size and cost should match task complexity rather than marketing labels. The question instead turns on “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
D:“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 “Plot cost, latency and quality tradeoffs under expected traffic mix”: Model selection is a multi-objective optimization with service constraints.
Question 330
A Databricks generative AI team is designing a solution with this requirement: A merchandise catalog needs search over 80 million embedding rows. Which engineering approach should it select first?
- Implement approved retry, quota handling and optional validated alternative model path
- Connect typed retrieval and date calculation components before the prose stage
- Benchmark supported index types against collection size, update cadence, query latency and cost
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
Explanation
Correct Answer
C:Benchmark supported index types against collection size, update cadence, query latency and cost directly addresses the described Databricks GenAI architecture: A merchandise catalog needs search over 80 million embedding rows. Index architecture is a workload tradeoff, not solely a storage-price decision. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Chosen design meets measured throughput and p95 response targets at expected scale.
Incorrect Answers
A:“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 “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.
B:“Connect typed retrieval and date calculation components before the prose stage” is associated with this technical property: Stable intermediate schemas reduce cascading format errors. The question instead turns on “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.
D:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Benchmark supported index types against collection size, update cadence, query latency and cost”: Index architecture is a workload tradeoff, not solely a storage-price decision.