Certified Generative AI Engineer Associate Practice Test 23
Question 220
The team observes this failure in a GenAI application: A single managed assistant answers documents but cannot complete the action workflow. After implementing the fix to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities, which measurement or test most directly demonstrates success?
- Answer traces show relevant handbook evidence for each supported response
- Functional tests show governed data query and approved custom exception tool execute in sequence
- Contract tests parse JSON and verify required fields and data types on diverse invoices
- Checked sample letters have faithful fields and missing values remain missing
Explanation
Correct Answer
B:Functional tests show governed data query and approved custom exception tool execute in sequence. This specifically validates the remediation to Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities for the failure that A single managed assistant answers documents but cannot complete the action workflow. Tool requirements should determine orchestration rather than choosing components by popularity. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Answer traces show relevant handbook evidence for each supported response” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Functional tests show governed data query and approved custom exception tool execute in sequence”: Tool requirements should determine orchestration rather than choosing components by popularity.
C:“Contract tests parse JSON and verify required fields and data types on diverse invoices” is associated with this technical property: Structured constraints help guarantee downstream parseability instead of relying on a vague format request. The question instead turns on “Functional tests show governed data query and approved custom exception tool execute in sequence”: Tool requirements should determine orchestration rather than choosing components by popularity.
D:“Checked sample letters have faithful fields and missing values remain missing” is associated with this technical property: Entity extraction should preserve evidence spans and avoid inventing unavailable fields. The question instead turns on “Functional tests show governed data query and approved custom exception tool execute in sequence”: Tool requirements should determine orchestration rather than choosing components by popularity.
Question 221
An application intended to satisfy this requirement, A customer assistant gives courteous instructions for a prohibited account change, instead experiences: Tone evaluation marks the reply helpful although it violates policy. Which targeted engineering correction resolves this failure?
- Monitor live traces and perform periodic re-evaluation with refreshed ground truth
- Add task-specific safety and authorization checks beyond stylistic quality scoring
- Choose an orchestration pattern that passes validated state and scoped conversation context
- Pair appropriate embedding model with keyword/hybrid matching for identifiers
Explanation
Correct Answer
B:Add task-specific safety and authorization checks beyond stylistic quality scoring targets the observed failure: Tone evaluation marks the reply helpful although it violates policy. Helpful tone does not substitute for authorized and safe behavior. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Prohibited requests are rejected consistently while harmless alternatives remain supported.
Incorrect Answers
A:“Monitor live traces and perform periodic re-evaluation with refreshed ground truth” is associated with this technical property: Production monitoring detects data shifts missed by one-time release tests. The question instead turns on “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
C:“Choose an orchestration pattern that passes validated state and scoped conversation context” is associated with this technical property: Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The question instead turns on “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
D:“Pair appropriate embedding model with keyword/hybrid matching for identifiers” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Add task-specific safety and authorization checks beyond stylistic quality scoring”: Helpful tone does not substitute for authorized and safe behavior.
Question 222
For the requirement that An approved assistant's answers degrade after policies change in production, the team proposes this change: Monitor live traces and perform periodic re-evaluation with refreshed ground truth. Which technical principle explains why it is appropriate?
- Production monitoring detects data shifts missed by one-time release tests
- Style instructions should not override content validity
- Published benchmarks do not guarantee performance on a specialized dataset
- Embedding truncation silently removes evidence from retrieval
Explanation
Correct Answer
A:Production monitoring detects data shifts missed by one-time release tests. The proposed engineering step is to Monitor live traces and perform periodic re-evaluation with refreshed ground truth. It directly supports the requirement that An approved assistant's answers degrade after policies change in production. The operational test is that Trend shows policy mismatch and updated evaluation verifies remediation. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Style instructions should not override content validity” is associated with this technical property: It directly supports the requirement that A healthcare support bot must respond concisely without changing factual policy. The question instead turns on “Production monitoring detects data shifts missed by one-time release tests”: It directly supports the requirement that An approved assistant's answers degrade after policies change in production.
C:“Published benchmarks do not guarantee performance on a specialized dataset” is associated with this technical property: It directly supports the requirement that A marketplace model promises strong generic benchmark scores. The question instead turns on “Production monitoring detects data shifts missed by one-time release tests”: It directly supports the requirement that An approved assistant's answers degrade after policies change in production.
D:“Embedding truncation silently removes evidence from retrieval” is associated with this technical property: It directly supports the requirement that Document chunks peak at 600 tokens but candidate embedding model accepts 512. The question instead turns on “Production monitoring detects data shifts missed by one-time release tests”: It directly supports the requirement that An approved assistant's answers degrade after policies change in production.
Question 223
The team observes this failure in a GenAI application: The API key is copied into prompts and client-side source code. After implementing the fix to Register external MCP connection and keep credentials in governed secret storage, which measurement or test most directly demonstrates success?
- Release report identifies changed component and passes regression cases
- Paraphrase queries retrieve relevant incidents beyond exact-match keywords
- Tool calls succeed under approved identity and red-team prompts cannot disclose key
- Serving test shows scoped retrieval and rejects missing mandatory scope
Explanation
Correct Answer
C:Tool calls succeed under approved identity and red-team prompts cannot disclose key. This specifically validates the remediation to Register external MCP connection and keep credentials in governed secret storage for the failure that The API key is copied into prompts and client-side source code. Tool connection credentials must be isolated from model-generated content. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Release report identifies changed component and passes regression cases” is associated with this technical property: Component-level CI isolates root causes that end-to-end scores may hide. The question instead turns on “Tool calls succeed under approved identity and red-team prompts cannot disclose key”: Tool connection credentials must be isolated from model-generated content.
B:“Paraphrase queries retrieve relevant incidents beyond exact-match keywords” is associated with this technical property: Vector search ranks related text even when literal wording differs. The question instead turns on “Tool calls succeed under approved identity and red-team prompts cannot disclose key”: Tool connection credentials must be isolated from model-generated content.
D:“Serving test shows scoped retrieval and rejects missing mandatory scope” is associated with this technical property: Model packaging must preserve fields required to enforce data boundaries. The question instead turns on “Tool calls succeed under approved identity and red-team prompts cannot disclose key”: Tool connection credentials must be isolated from model-generated content.
Question 224
An application intended to satisfy this requirement, A small team wants fast deployment of a conventional knowledge assistant, instead experiences: Developers attempt to maintain bespoke routing and evaluation components without special requirements. Which targeted engineering correction resolves this failure?
- Build a retrieval step that selects authorized passages before prompting the answer model
- Define typed document inputs, risk labels, source offsets and output schema before design
- Define output quality and latency objectives and budget stage latency before choosing chain topology
- Start with a managed Agent Bricks capability and justify custom code only for unmet requirements
Explanation
Correct Answer
D:Start with a managed Agent Bricks capability and justify custom code only for unmet requirements targets the observed failure: Developers attempt to maintain bespoke routing and evaluation components without special requirements. Managed building blocks can reduce lifecycle work when their capabilities fit. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Pilot covers required access, answer and evaluation functions with low operational burden.
Incorrect Answers
A:“Build a retrieval step that selects authorized passages before prompting the answer model” is associated with this technical property: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
B:“Define typed document inputs, risk labels, source offsets and output schema before design” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
C:“Define output quality and latency objectives and budget stage latency before choosing chain topology” is associated with this technical property: Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The question instead turns on “Start with a managed Agent Bricks capability and justify custom code only for unmet requirements”: Managed building blocks can reduce lifecycle work when their capabilities fit.
Question 225
A Databricks generative AI team is designing a solution with this requirement: Global staff ask questions in Spanish about English maintenance manuals. Which engineering approach should it select first?
- Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval
- Parse JSON directly and normalize documented nested keys
- Evaluate multilingual embedding and optional query translation on representative pairs
- Rerank the candidate set against the full query with a suitable reranker
Explanation
Correct Answer
C:Evaluate multilingual embedding and optional query translation on representative pairs directly addresses the described Databricks GenAI architecture: Global staff ask questions in Spanish about English maintenance manuals. Query-language mismatch needs empirical retrieval coverage testing. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Cross-language test set returns relevant approved procedures at target recall.
Incorrect Answers
A:“Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval” is associated with this technical property: Retrieval recall is an upstream prerequisite for grounded answer generation. The question instead turns on “Evaluate multilingual embedding and optional query translation on representative pairs”: Query-language mismatch needs empirical retrieval coverage testing.
B:“Parse JSON directly and normalize documented nested keys” is associated with this technical property: Structured APIs should be read as structures rather than rendered web text. The question instead turns on “Evaluate multilingual embedding and optional query translation on representative pairs”: Query-language mismatch needs empirical retrieval coverage testing.
D:“Rerank the candidate set against the full query with a suitable reranker” is associated with this technical property: Second-stage reranking can improve relevance where first-stage vectors are approximate. The question instead turns on “Evaluate multilingual embedding and optional query translation on representative pairs”: Query-language mismatch needs empirical retrieval coverage testing.
Question 226
A Databricks generative AI team is designing a solution with this requirement: A claims project requires exact claim amount fields, not narrative document search. Which engineering approach should it select first?
- Compose a governed data-query tool followed by a separate response-generation step
- Require authenticated lookup before answer composition, with missing-data branch
- Select information extraction with validation and optional citations before using generative prose
- Define typed document inputs, risk labels, source offsets and output schema before design
Explanation
Correct Answer
C:Select information extraction with validation and optional citations before using generative prose directly addresses the described Databricks GenAI architecture: A claims project requires exact claim amount fields, not narrative document search. Matching a source paragraph is not equivalent to structured field extraction. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Output carries validated decimal amount and provenance for reviewed claims.
Incorrect Answers
A:“Compose a governed data-query tool followed by a separate response-generation step” is associated with this technical property: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The question instead turns on “Select information extraction with validation and optional citations before using generative prose”: Matching a source paragraph is not equivalent to structured field extraction.
B:“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 “Select information extraction with validation and optional citations before using generative prose”: Matching a source paragraph is not equivalent to structured field extraction.
D:“Define typed document inputs, risk labels, source offsets and output schema before design” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Select information extraction with validation and optional citations before using generative prose”: Matching a source paragraph is not equivalent to structured field extraction.
Question 227
For the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit, the team proposes this change: Reduce chunk tokens to fit effective embedding context with explicit truncation tests. Which technical principle explains why it is appropriate?
- Retrieval precision controls the fraction of presented evidence that is relevant
- Redundant retrieval reduces useful evidence diversity under a token budget
- Structured APIs should be read as structures rather than rendered web text
- Embedding input length bounds what content contributes to searchable vectors
Explanation
Correct Answer
D:Embedding input length bounds what content contributes to searchable vectors. The proposed engineering step is to Reduce chunk tokens to fit effective embedding context with explicit truncation tests. It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit. The operational test is that Retrieval evaluations confirm relevant tail passages are indexed and retrievable. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Retrieval precision controls the fraction of presented evidence that is relevant” is associated with this technical property: It directly supports the requirement that Top results contain many neighboring but irrelevant product descriptions. The question instead turns on “Embedding input length bounds what content contributes to searchable vectors”: It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit.
B:“Redundant retrieval reduces useful evidence diversity under a token budget” is associated with this technical property: It directly supports the requirement that An incident knowledge index retrieves repeated overlapping paragraphs. The question instead turns on “Embedding input length bounds what content contributes to searchable vectors”: It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit.
C:“Structured APIs should be read as structures rather than rendered web text” is associated with this technical property: It directly supports the requirement that The product database supplies structured API responses with nested fields. The question instead turns on “Embedding input length bounds what content contributes to searchable vectors”: It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit.
Question 228
An application intended to satisfy this requirement, An internal agent is asked to reproduce entire paid research reports, instead experiences: The assistant could disclose licensed material to users without viewing rights. Which targeted engineering correction resolves this failure?
- Prioritize effective approved source versions and surface unresolved contradiction
- Validate and bind tenant scope server-side for every tool call
- Treat retrieved passages as untrusted data and enforce tool policies outside prompts
- Enforce entitlements and output-length constraints for licensed sources
Explanation
Correct Answer
D:Enforce entitlements and output-length constraints for licensed sources targets the observed failure: The assistant could disclose licensed material to users without viewing rights. Retrieval authorization and permitted reproduction are distinct legal controls. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Unauthorized users cannot obtain report passages beyond policy limits.
Incorrect Answers
A:“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 “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
B:“Validate and bind tenant scope server-side for every tool call” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
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 “Enforce entitlements and output-length constraints for licensed sources”: Retrieval authorization and permitted reproduction are distinct legal controls.
Question 229
For the requirement that A retail recommendation assistant has a strict latency target at peak traffic, the team proposes this change: Define output quality and latency objectives and budget stage latency before choosing chain topology. Which technical principle explains why it is appropriate?
- Managed building blocks can reduce lifecycle work when their capabilities fit
- Decomposing requirements into measurable stage constraints prevents expensive architecture surprises
- Tool ordering matters when facts are volatile and cannot be inferred safely
- Deterministic computation should handle precise arithmetic while an LLM explains the result
Explanation
Correct Answer
B:Decomposing requirements into measurable stage constraints prevents expensive architecture surprises. The proposed engineering step is to Define output quality and latency objectives and budget stage latency before choosing chain topology. It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic. The operational test is that Load tests meet latency percentile and accuracy thresholds with stage timings recorded. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Managed building blocks can reduce lifecycle work when their capabilities fit” is associated with this technical property: It directly supports the requirement that A small team wants fast deployment of a conventional knowledge assistant. The question instead turns on “Decomposing requirements into measurable stage constraints prevents expensive architecture surprises”: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic.
C:“Tool ordering matters when facts are volatile and cannot be inferred safely” is associated with this technical property: It directly supports the requirement that An order-status agent must check current shipment events before writing a reply. The question instead turns on “Decomposing requirements into measurable stage constraints prevents expensive architecture surprises”: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic.
D:“Deterministic computation should handle precise arithmetic while an LLM explains the result” is associated with this technical property: It directly supports the requirement that A maintenance assistant must retrieve failure records then compute average downtime. The question instead turns on “Decomposing requirements into measurable stage constraints prevents expensive architecture surprises”: It directly supports the requirement that A retail recommendation assistant has a strict latency target at peak traffic.
Question 230
The team observes this failure in a GenAI application: A standalone notebook prototype cannot be accessed consistently by app clients. After implementing the fix to Package an agent via supported Agent Framework deployment and serving path, which measurement or test most directly demonstrates success?
- Authorized clients call versioned endpoint and traces capture requests
- Human-reviewed multilingual scenarios meet answer relevance and language constraints
- Both alias and SKU lead to same permitted record with exact inventory result
- Mixed-intent tests route to the intended specialist and enforce permissions
Explanation
Correct Answer
A:Authorized clients call versioned endpoint and traces capture requests. This specifically validates the remediation to Package an agent via supported Agent Framework deployment and serving path for the failure that A standalone notebook prototype cannot be accessed consistently by app clients. Deployment lifecycle requires governed inference endpoint and observability. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Human-reviewed multilingual scenarios meet answer relevance and language constraints” is associated with this technical property: Language capability must be validated on representative user inputs. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.
C:“Both alias and SKU lead to same permitted record with exact inventory result” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.
D:“Mixed-intent tests route to the intended specialist and enforce permissions” is associated with this technical property: Delegation can reduce cross-domain tool confusion when roles are explicit. The question instead turns on “Authorized clients call versioned endpoint and traces capture requests”: Deployment lifecycle requires governed inference endpoint and observability.