Certified Generative AI Engineer Associate Practice Test 11
Question 100
An engineering review considers a safeguard for this situation: Employees ask natural-language questions about current internal procedures. The proposed action is: Use retrieval-grounded question answering with a suitable generative model. Which observed failure most strongly justifies that action?
- One single-purpose document agent routes payroll queries into IT answers
- A sentiment classifier returns positive or negative labels instead of answers
- The agent sends reassuring delivery dates without invoking tracking
- The assistant sometimes emits markdown prose that breaks the consuming parser
Explanation
Correct Answer
B:A sentiment classifier returns positive or negative labels instead of answers. This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model. Answer generation and sentiment classification optimize distinct model tasks. The follow-up evidence would be: Held-out questions are answered using linked procedure passages instead of sentiment scores. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“One single-purpose document agent routes payroll queries into IT answers” is associated with this technical property: This observation motivates the specific control to Use a Multiagent Supervisor to delegate to narrowly scoped specialists. The question instead turns on “A sentiment classifier returns positive or negative labels instead of answers”: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model.
C:“The agent sends reassuring delivery dates without invoking tracking” is associated with this technical property: This observation motivates the specific control to Require authenticated lookup before answer composition, with missing-data branch. The question instead turns on “A sentiment classifier returns positive or negative labels instead of answers”: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model.
D:“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 sentiment classifier returns positive or negative labels instead of answers”: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model.
Question 101
An engineering review considers a safeguard for this situation: A case-management screen needs a one-sentence gist of a multi-paragraph incident. The proposed action is: Choose and evaluate a summarization-capable text generation model with a length instruction. Which observed failure most strongly justifies that action?
- A model selected for keyword extraction returns disconnected fragments instead of a synopsis
- The assistant sometimes emits markdown prose that breaks the consuming parser
- The team chooses a deep multi-tool chain without measuring response time
- The model guesses numeric averages from sample text instead of executing arithmetic
Explanation
Correct Answer
A:A model selected for keyword extraction returns disconnected fragments instead of a synopsis. This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction. Task fit matters because extraction and summarization preserve different information. The follow-up evidence would be: Evaluation confirms central incident facts survive compression within the sentence limit. 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 model selected for keyword extraction returns disconnected fragments instead of a synopsis”: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction.
C:“The team chooses a deep multi-tool chain without measuring response time” is associated with this technical property: This observation motivates the specific control to Define output quality and latency objectives and budget stage latency before choosing chain topology. The question instead turns on “A model selected for keyword extraction returns disconnected fragments instead of a synopsis”: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction.
D:“The model guesses numeric averages from sample text instead of executing arithmetic” is associated with this technical property: This observation motivates the specific control to Connect retrieval to a deterministic aggregation tool before final narrative generation. The question instead turns on “A model selected for keyword extraction returns disconnected fragments instead of a synopsis”: This observation motivates the specific control to Choose and evaluate a summarization-capable text generation model with a length instruction.
Question 102
The team observes this failure in a GenAI application: Similarity search ranks an embargoed item before policy-relevant public content. After implementing the fix to Apply authorized metadata or row-level eligibility filters before returning results, which measurement or test most directly demonstrates success?
- Clean deployment starts successfully without relying on notebook-local imports
- Authorized query retrieves only approved documents even when excluded items are semantically closer
- Endpoint retrieves approved documents after employee token revocation with auditable service identity
- Tool calls succeed under approved identity and red-team prompts cannot disclose key
Explanation
Correct Answer
B:Authorized query retrieves only approved documents even when excluded items are semantically closer. This specifically validates the remediation to Apply authorized metadata or row-level eligibility filters before returning results for the failure that Similarity search ranks an embargoed item before policy-relevant public content. Similarity score is not authorization or publication status. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Clean deployment starts successfully without relying on notebook-local imports” is associated with this technical property: A model artifact must include compatible runtime dependencies for reproducible serving. The question instead turns on “Authorized query retrieves only approved documents even when excluded items are semantically closer”: Similarity score is not authorization or publication status.
C:“Endpoint retrieves approved documents after employee token revocation with auditable service identity” is associated with this technical property: Production service identities should not depend on individual user credentials. The question instead turns on “Authorized query retrieves only approved documents even when excluded items are semantically closer”: Similarity score is not authorization or publication status.
D:“Tool calls succeed under approved identity and red-team prompts cannot disclose key” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Authorized query retrieves only approved documents even when excluded items are semantically closer”: Similarity score is not authorization or publication status.
Question 103
A solution architect must balance this requirement: Every policy page includes a long navigation footer repeated hundreds of times. During review the team anticipates the failure that Top retrieved hits are identical legal and navigation boilerplate rather than substance. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- Parse JSON directly and normalize documented nested keys
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
- Store child chunks for fine search with parent-section expansion for answer context
- Remove irrelevant repeated chrome before chunking and index creation
Explanation
Correct Answer
D:Remove irrelevant repeated chrome before chunking and index creation directly addresses the described Databricks GenAI architecture: Every policy page includes a long navigation footer repeated hundreds of times. High-frequency irrelevant text dilutes retrieval quality and raises noise. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Sample retrieval hits prioritize policy sections and repeated footers are absent.
Incorrect Answers
A:“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 “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
B:“Deduplicate overlapping candidates or use maximal marginal relevance before context assembly” is associated with this technical property: Redundant retrieval reduces useful evidence diversity under a token budget. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
C:“Store child chunks for fine search with parent-section expansion for answer context” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Remove irrelevant repeated chrome before chunking and index creation”: High-frequency irrelevant text dilutes retrieval quality and raises noise.
Question 104
An application intended to satisfy this requirement, A product FAQ is available as structured HTML with known paragraph tags, instead experiences: A scanned-image OCR tool produces noise on native HTML pages. Which targeted engineering correction resolves this failure?
- Rerank the candidate set against the full query with a suitable reranker
- Store child chunks for fine search with parent-section expansion for answer context
- Remove irrelevant repeated chrome before chunking and index creation
- Parse relevant HTML elements using an HTML parser such as BeautifulSoup
Explanation
Correct Answer
D:Parse relevant HTML elements using an HTML parser such as BeautifulSoup targets the observed failure: A scanned-image OCR tool produces noise on native HTML pages. Extraction tools must match source encoding and document format. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Parsed heading and FAQ answer match the original DOM without menus.
Incorrect Answers
A:“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 “Parse relevant HTML elements using an HTML parser such as BeautifulSoup”: Extraction tools must match source encoding and document format.
B:“Store child chunks for fine search with parent-section expansion for answer context” is associated with this technical property: Hierarchical retrieval combines search granularity with coherent generation context. The question instead turns on “Parse relevant HTML elements using an HTML parser such as BeautifulSoup”: Extraction tools must match source encoding and document format.
C:“Remove irrelevant repeated chrome before chunking and index creation” is associated with this technical property: High-frequency irrelevant text dilutes retrieval quality and raises noise. The question instead turns on “Parse relevant HTML elements using an HTML parser such as BeautifulSoup”: Extraction tools must match source encoding and document format.
Question 105
A Databricks generative AI team is designing a solution with this requirement: An agent maps transaction IDs into audit records and must retain exact digits. Which engineering approach should it select first?
- Enable governed inference tables and correlate request IDs with MLflow traces
- Configure supported AI Gateway rate limits and usage monitoring by authorized identity
- Choose an evaluator using verified ground-truth expected values for numerical correctness
- Write a code-based scorer that compares expected identifiers and formats
Explanation
Correct Answer
D:Write a code-based scorer that compares expected identifiers and formats directly addresses the described Databricks GenAI architecture: An agent maps transaction IDs into audit records and must retain exact digits. Exact-data correctness requires deterministic comparison not just prose similarity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: One-digit corruption reliably fails while correct IDs pass.
Incorrect Answers
A:“Enable governed inference tables and correlate request IDs with MLflow traces” is associated with this technical property: Request-level observability supports diagnosis while usage aggregates support planning. The question instead turns on “Write a code-based scorer that compares expected identifiers and formats”: Exact-data correctness requires deterministic comparison not just prose similarity.
B:“Configure supported AI Gateway rate limits and usage monitoring by authorized identity” is associated with this technical property: Gateway controls can govern resource consumption across model invocations. The question instead turns on “Write a code-based scorer that compares expected identifiers and formats”: Exact-data correctness requires deterministic comparison not just prose similarity.
C:“Choose an evaluator using verified ground-truth expected values for numerical correctness” is associated with this technical property: Ground-truth scoring is necessary when exact facts determine correctness. The question instead turns on “Write a code-based scorer that compares expected identifiers and formats”: Exact-data correctness requires deterministic comparison not just prose similarity.
Question 106
For the requirement that Every policy page includes a long navigation footer repeated hundreds of times, the team proposes this change: Remove irrelevant repeated chrome before chunking and index creation. Which technical principle explains why it is appropriate?
- Table cells depend on row and column context to retain correct semantics
- Embedding input length bounds what content contributes to searchable vectors
- Idempotent updates prevent duplicate indexed chunks and limit processing cost
- High-frequency irrelevant text dilutes retrieval quality and raises noise
Explanation
Correct Answer
D:High-frequency irrelevant text dilutes retrieval quality and raises noise. The proposed engineering step is to Remove irrelevant repeated chrome before chunking and index creation. It directly supports the requirement that Every policy page includes a long navigation footer repeated hundreds of times. The operational test is that Sample retrieval hits prioritize policy sections and repeated footers are absent. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Table cells depend on row and column context to retain correct semantics” is associated with this technical property: It directly supports the requirement that Pricing tables span pages and values become ambiguous without column labels. The question instead turns on “High-frequency irrelevant text dilutes retrieval quality and raises noise”: It directly supports the requirement that Every policy page includes a long navigation footer repeated hundreds of times.
B:“Embedding input length bounds what content contributes to searchable vectors” is associated with this technical property: It directly supports the requirement that A RAG system uses 500-token documents and an embedding model with a 384-token input limit. The question instead turns on “High-frequency irrelevant text dilutes retrieval quality and raises noise”: It directly supports the requirement that Every policy page includes a long navigation footer repeated hundreds of times.
C:“Idempotent updates prevent duplicate indexed chunks and limit processing cost” is associated with this technical property: It directly supports the requirement that A nightly source refresh modifies a subset of documents. The question instead turns on “High-frequency irrelevant text dilutes retrieval quality and raises noise”: It directly supports the requirement that Every policy page includes a long navigation footer repeated hundreds of times.
Question 107
A Databricks generative AI team is designing a solution with this requirement: An agent needs governed Unity Catalog queries and Genie analytics. Which engineering approach should it select first?
- Grant serving endpoint invocation only to approved service principals and groups
- Add typed output parsing and schema validation in the pyfunc predict path
- Persist scoped state in an approved durable datastore with expiry and access policy
- Prefer supported managed MCP servers when their existing tools fit the task
Explanation
Correct Answer
D:Prefer supported managed MCP servers when their existing tools fit the task directly addresses the described Databricks GenAI architecture: An agent needs governed Unity Catalog queries and Genie analytics. Managed service tools reduce custom hosting and leverage workspace authorization. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Agent calls approved managed tools with recorded permissions and results.
Incorrect Answers
A:“Grant serving endpoint invocation only to approved service principals and groups” is associated with this technical property: Inference endpoint permissions should reflect least privilege and source sensitivity. The question instead turns on “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
B:“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 “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
C:“Persist scoped state in an approved durable datastore with expiry and access policy” is associated with this technical property: Durable application memory needs storage and governance beyond model context. The question instead turns on “Prefer supported managed MCP servers when their existing tools fit the task”: Managed service tools reduce custom hosting and leverage workspace authorization.
Question 108
For the requirement that A policy agent must include a required disclaimer when advising on refunds, the team proposes this change: Build a deterministic custom scorer for required phrase presence in addition to semantic judges. Which technical principle explains why it is appropriate?
- Tail latency controls user experience for strict response-time services
- Attribution requires identity and endpoint dimensions beyond total invoices
- Code-based scoring is suitable for exact business-rule invariants
- Reference-free judgments can evaluate properties without one canonical text
Explanation
Correct Answer
C:Code-based scoring is suitable for exact business-rule invariants. The proposed engineering step is to Build a deterministic custom scorer for required phrase presence in addition to semantic judges. It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds. The operational test is that The scorer rejects every missing-disclaimer case regardless of writing style. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Tail latency controls user experience for strict response-time services” is associated with this technical property: Tail latency controls user experience for strict response-time services. The question instead turns on “Code-based scoring is suitable for exact business-rule invariants”: It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds.
B:“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 “Code-based scoring is suitable for exact business-rule invariants”: It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds.
D:“Reference-free judgments can evaluate properties without one canonical text” is associated with this technical property: It directly supports the requirement that A conversational drafting agent must be evaluated for harmful content without a fixed ideal sentence. The question instead turns on “Code-based scoring is suitable for exact business-rule invariants”: It directly supports the requirement that A policy agent must include a required disclaimer when advising on refunds.
Question 109
For the requirement that Price availability text changes many times daily and must affect semantic search rapidly, the team proposes this change: Choose supported index synchronization mode and verify freshness SLA under updates. Which technical principle explains why it is appropriate?
- Update frequency is a key design input for choosing index deployment
- User-interface integration requires target validation and side-effect controls
- Tool connection credentials must be isolated from model-generated content
- A deployable RAG model requires all retrieval components, not just a text generator
Explanation
Correct Answer
A:Update frequency is a key design input for choosing index deployment. The proposed engineering step is to Choose supported index synchronization mode and verify freshness SLA under updates. It directly supports the requirement that Price availability text changes many times daily and must affect semantic search rapidly. The operational test is that A changed catalog record appears in results within agreed refresh window. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“User-interface integration requires target validation and side-effect controls” is associated with this technical property: It directly supports the requirement that An incident agent posts summaries into an internal Slack channel. The question instead turns on “Update frequency is a key design input for choosing index deployment”: It directly supports the requirement that Price availability text changes many times daily and must affect semantic search rapidly.
C:“Tool connection credentials must be isolated from model-generated content” is associated with this technical property: It directly supports the requirement that A research agent calls an external ticket API requiring a provider key. The question instead turns on “Update frequency is a key design input for choosing index deployment”: It directly supports the requirement that Price availability text changes many times daily and must affect semantic search rapidly.
D:“A deployable RAG model requires all retrieval components, not just a text generator” is associated with this technical property: It directly supports the requirement that A RAG model works locally but no matching index or embedding endpoint is reachable in production. The question instead turns on “Update frequency is a key design input for choosing index deployment”: It directly supports the requirement that Price availability text changes many times daily and must affect semantic search rapidly.
Question 110
An engineering review considers a safeguard for this situation: An internal assistant needs to retain a user's current incident ID across multiple turns. The proposed action is: Choose an orchestration pattern that passes validated state and scoped conversation context. Which observed failure most strongly justifies that action?
- The largest available reasoning model breaches budget without measurable answer improvements
- Each tool call sees only the latest message and queries the wrong incident
- Retriever surfaces whole unrelated chapters at high token cost
- A prompt emphasizing empathy leads to unsupported reassurance
Explanation
Correct Answer
B:Each tool call sees only the latest message and queries the wrong incident. This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context. Explicit state management is safer than assuming an isolated LLM call remembers prior inputs. The follow-up evidence would be: Multi-turn tests use the correct authorized incident and reset state between users. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The largest available reasoning model breaches budget without measurable answer improvements” is associated with this technical property: This observation motivates the specific control to Benchmark smaller capable candidates on quality and latency for actual workload. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.
C:“Retriever surfaces whole unrelated chapters at high token cost” is associated with this technical property: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.
D:“A prompt emphasizing empathy leads to unsupported reassurance” is associated with this technical property: This observation motivates the specific control to Specify tone and brevity separately from factual evidence and noninvention constraints. The question instead turns on “Each tool call sees only the latest message and queries the wrong incident”: This observation motivates the specific control to Choose an orchestration pattern that passes validated state and scoped conversation context.