Certified Generative AI Engineer Associate Practice Test 26
Question 250
An engineering review considers a safeguard for this situation: Two LLM candidates have equal average test accuracy but differ on high-risk financial queries. The proposed action is: Weight critical evaluation strata and set nonnegotiable failure limits. Which observed failure most strongly justifies that action?
- Aggregate throughput metrics stay healthy and operators miss factual drift
- Overall mean hides severe unauthorized transaction advice from one model
- A generic relevance judge scores a plausible but wrong amount as good
- Team demands an exact answer string for every possible response
Explanation
Correct Answer
B:Overall mean hides severe unauthorized transaction advice from one model. This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits. Risk-weighted model selection prevents average scores masking unacceptable errors. The follow-up evidence would be: The chosen model passes critical high-risk cases and baseline quality. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Aggregate throughput metrics stay healthy and operators miss factual drift” is associated with this technical property: This observation motivates the specific control to Monitor groundedness and citation coverage alongside response latency. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.
C:“A generic relevance judge scores a plausible but wrong amount as good” is associated with this technical property: This observation motivates the specific control to Choose an evaluator using verified ground-truth expected values for numerical correctness. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.
D:“Team demands an exact answer string for every possible response” is associated with this technical property: This observation motivates the specific control to Use a rubric-based safety judge with calibrated examples when no single reference exists. The question instead turns on “Overall mean hides severe unauthorized transaction advice from one model”: This observation motivates the specific control to Weight critical evaluation strata and set nonnegotiable failure limits.
Question 251
The team observes this failure in a GenAI application: Developers attempt exact equality joins on free-text questions. After implementing the fix to Use semantic embedding similarity for unstructured retrieval while preserving structured filters, which measurement or test most directly demonstrates success?
- The overnight job completes within window and no real-time endpoint is required
- Paraphrase queries retrieve relevant incidents beyond exact-match keywords
- Results are reproducibly attached to rows and retries avoid duplicate output
- Release can switch back to prior model version with tested behavior
Explanation
Correct Answer
B:Paraphrase queries retrieve relevant incidents beyond exact-match keywords. This specifically validates the remediation to Use semantic embedding similarity for unstructured retrieval while preserving structured filters for the failure that Developers attempt exact equality joins on free-text questions. Vector search ranks related text even when literal wording differs. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“The overnight job completes within window and no real-time endpoint is required” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Paraphrase queries retrieve relevant incidents beyond exact-match keywords”: Vector search ranks related text even when literal wording differs.
C:“Results are reproducibly attached to rows and retries avoid duplicate output” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Paraphrase queries retrieve relevant incidents beyond exact-match keywords”: Vector search ranks related text even when literal wording differs.
D:“Release can switch back to prior model version with tested behavior” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Paraphrase queries retrieve relevant incidents beyond exact-match keywords”: Vector search ranks related text even when literal wording differs.
Question 252
An engineering review considers a safeguard for this situation: Knowledge source includes scanned handwritten or image-only policy pages. The proposed action is: Use an appropriate OCR stage for image content with quality checks. Which observed failure most strongly justifies that action?
- A PDF text extractor returns empty strings from image scans
- A scanned-image OCR tool produces noise on native HTML pages
- The response model hallucinates because top-k retrieval omitted the source
- High semantic similarity alone ranks a misleading policy clause first
Explanation
Correct Answer
A:A PDF text extractor returns empty strings from image scans. This observation motivates the specific control to Use an appropriate OCR stage for image content with quality checks. Optical character recognition extracts image text where text-layer parsers have none. The follow-up evidence would be: Reviewed sampled pages have readable text and low-confidence items are flagged. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“A scanned-image OCR tool produces noise on native HTML pages” is associated with this technical property: This observation motivates the specific control to Parse relevant HTML elements using an HTML parser such as BeautifulSoup. The question instead turns on “A PDF text extractor returns empty strings from image scans”: This observation motivates the specific control to Use an appropriate OCR stage for image content with quality checks.
C:“The response model hallucinates because top-k retrieval omitted the source” is associated with this technical property: This observation motivates the specific control to Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval. The question instead turns on “A PDF text extractor returns empty strings from image scans”: This observation motivates the specific control to Use an appropriate OCR stage for image content with quality checks.
D:“High semantic similarity alone ranks a misleading policy clause first” is associated with this technical property: This observation motivates the specific control to Rerank the candidate set against the full query with a suitable reranker. The question instead turns on “A PDF text extractor returns empty strings from image scans”: This observation motivates the specific control to Use an appropriate OCR stage for image content with quality checks.
Question 253
The team observes this failure in a GenAI application: English-only evaluation hides poor translation and answer quality. After implementing the fix to Select a model with measured multilingual task performance and adequate tokenization, which measurement or test most directly demonstrates success?
- Summaries fit configured length and retain key safety caveat
- Traces show a retrieval call, calculation result and final text with handled tool errors
- Exception questions retrieve both base rule and exception while latency remains within budget
- Human-reviewed multilingual scenarios meet answer relevance and language constraints
Explanation
Correct Answer
D:Human-reviewed multilingual scenarios meet answer relevance and language constraints. This specifically validates the remediation to Select a model with measured multilingual task performance and adequate tokenization for the failure that English-only evaluation hides poor translation and answer quality. Language capability must be validated on representative user inputs. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Summaries fit configured length and retain key safety caveat” is associated with this technical property: Prompt editing can adjust expression without replacing underlying evidence. The question instead turns on “Human-reviewed multilingual scenarios meet answer relevance and language constraints”: Language capability must be validated on representative user inputs.
B:“Traces show a retrieval call, calculation result and final text with handled tool errors” 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 “Human-reviewed multilingual scenarios meet answer relevance and language constraints”: Language capability must be validated on representative user inputs.
C:“Exception questions retrieve both base rule and exception while latency remains within budget” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Human-reviewed multilingual scenarios meet answer relevance and language constraints”: Language capability must be validated on representative user inputs.
Question 254
A Databricks generative AI team is designing a solution with this requirement: AI Gateway usage tables are needed for monitoring but requests may contain personal data. Which engineering approach should it select first?
- Validate and bind tenant scope server-side for every tool call
- Choose supported masking/redaction or logging minimization before persisted telemetry
- Constrain external tools, allowlisted destinations and approval for data egress
- Use parameterized queries with governed read-only permissions and validation
Explanation
Correct Answer
B:Choose supported masking/redaction or logging minimization before persisted telemetry directly addresses the described Databricks GenAI architecture: AI Gateway usage tables are needed for monitoring but requests may contain personal data. Operational metrics should avoid storing unnecessary sensitive payloads. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Usage totals remain available while sampled logs exclude restricted values.
Incorrect Answers
A:“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 “Choose supported masking/redaction or logging minimization before persisted telemetry”: Operational metrics should avoid storing unnecessary sensitive payloads.
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 “Choose supported masking/redaction or logging minimization before persisted telemetry”: Operational metrics should avoid storing unnecessary sensitive payloads.
D:“Use parameterized queries with governed read-only permissions and validation” is associated with this technical property: Data access security requires database controls rather than prompt-only cautions. The question instead turns on “Choose supported masking/redaction or logging minimization before persisted telemetry”: Operational metrics should avoid storing unnecessary sensitive payloads.
Question 255
For the requirement that Legal review requires clause-level risk summaries linked to source document identifiers, the team proposes this change: Define typed document inputs, risk labels, source offsets and output schema before design. Which technical principle explains why it is appropriate?
- Explicit data contracts make evaluation and downstream workflow integration possible
- Structured extraction differs from open-ended multi-step research orchestration
- Tool freshness is a dependency of time-sensitive reasoning and action
- Entity extraction should preserve evidence spans and avoid inventing unavailable fields
Explanation
Correct Answer
A:Explicit data contracts make evaluation and downstream workflow integration possible. The proposed engineering step is to Define typed document inputs, risk labels, source offsets and output schema before design. It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers. The operational test is that Prototype output includes traceable clauses, stable identifiers and required risk fields. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Structured extraction differs from open-ended multi-step research orchestration” is associated with this technical property: It directly supports the requirement that Accounts payable must turn a large archive of invoices into normalized JSON fields. The question instead turns on “Explicit data contracts make evaluation and downstream workflow integration possible”: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers.
C:“Tool freshness is a dependency of time-sensitive reasoning and action” is associated with this technical property: It directly supports the requirement that An agent plans flights using external availability that may expire. The question instead turns on “Explicit data contracts make evaluation and downstream workflow integration possible”: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers.
D:“Entity extraction should preserve evidence spans and avoid inventing unavailable fields” is associated with this technical property: It directly supports the requirement that An operations team must extract purchase-order numbers and totals from vendor letters. The question instead turns on “Explicit data contracts make evaluation and downstream workflow integration possible”: It directly supports the requirement that Legal review requires clause-level risk summaries linked to source document identifiers.
Question 256
An application intended to satisfy this requirement, A help desk needs to route HR, IT and payroll questions to specialized agents, instead experiences: One single-purpose document agent routes payroll queries into IT answers. Which targeted engineering correction resolves this failure?
- Use a Multiagent Supervisor to delegate to narrowly scoped specialists
- Choose and evaluate a summarization-capable text generation model with a length instruction
- Separate draft, validation, human approval and side-effecting submit tool calls
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
Explanation
Correct Answer
A:Use a Multiagent Supervisor to delegate to narrowly scoped specialists targets the observed failure: One single-purpose document agent routes payroll queries into IT answers. Supervisor orchestration is appropriate when a request must select among specialist capabilities. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Traces show correct specialist selection and domain restrictions on mixed test cases.
Incorrect Answers
B:“Choose and evaluate a summarization-capable text generation model with a length instruction” is associated with this technical property: Task fit matters because extraction and summarization preserve different information. The question instead turns on “Use a Multiagent Supervisor to delegate to narrowly scoped specialists”: Supervisor orchestration is appropriate when a request must select among specialist capabilities.
C:“Separate draft, validation, human approval and side-effecting submit tool calls” is associated with this technical property: State-changing operations require authorization gates distinct from read-only retrieval. The question instead turns on “Use a Multiagent Supervisor to delegate to narrowly scoped specialists”: Supervisor orchestration is appropriate when a request must select among specialist capabilities.
D:“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 “Use a Multiagent Supervisor to delegate to narrowly scoped specialists”: Supervisor orchestration is appropriate when a request must select among specialist capabilities.
Question 257
An application intended to satisfy this requirement, A legitimate analytics tool returns both a customer email and a detailed payment token, instead experiences: The LLM includes the full payment token in a support response. Which targeted engineering correction resolves this failure?
- Filter high-frequency spam and check source authority before indexing
- Validate and bind tenant scope server-side for every tool call
- Prioritize effective approved source versions and surface unresolved contradiction
- Apply policy-based redaction to tool output and answer rendering
Explanation
Correct Answer
D:Apply policy-based redaction to tool output and answer rendering targets the observed failure: The LLM includes the full payment token in a support response. Data minimization is a separate control from model answer quality. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Test cases preserve needed last-four digits but never expose payment tokens.
Incorrect Answers
A:“Filter high-frequency spam and check source authority before indexing” is associated with this technical property: Preprocessing can prevent irrelevant content from dominating semantic search. The question instead turns on “Apply policy-based redaction to tool output and answer rendering”: Data minimization is a separate control from model answer quality.
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 “Apply policy-based redaction to tool output and answer rendering”: Data minimization is a separate control from model answer quality.
C:“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 “Apply policy-based redaction to tool output and answer rendering”: Data minimization is a separate control from model answer quality.
Question 258
The team observes this failure in a GenAI application: The assistant could disclose licensed material to users without viewing rights. After implementing the fix to Enforce entitlements and output-length constraints for licensed sources, which measurement or test most directly demonstrates success?
- Cross-tenant input is denied at execution even if prompt asks for it
- Injected document cannot trigger restricted actions and answers cite safe evidence only
- Unauthorized users cannot obtain report passages beyond policy limits
- Quality sample demonstrates accurate text and intact provenance metadata
Explanation
Correct Answer
C:Unauthorized users cannot obtain report passages beyond policy limits. This specifically validates the remediation to Enforce entitlements and output-length constraints for licensed sources for the failure that The assistant could disclose licensed material to users without viewing rights. Retrieval authorization and permitted reproduction are distinct legal controls. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Cross-tenant input is denied at execution even if prompt asks for it” is associated with this technical property: Model-generated arguments are not an authorization boundary. The question instead turns on “Unauthorized users cannot obtain report passages beyond policy limits”: Retrieval authorization and permitted reproduction are distinct legal controls.
B:“Injected document cannot trigger restricted actions and answers cite safe evidence only” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Unauthorized users cannot obtain report passages beyond policy limits”: Retrieval authorization and permitted reproduction are distinct legal controls.
D:“Quality sample demonstrates accurate text and intact provenance metadata” is associated with this technical property: Data quality repair must preserve evidence and not silently change meaning. The question instead turns on “Unauthorized users cannot obtain report passages beyond policy limits”: Retrieval authorization and permitted reproduction are distinct legal controls.
Question 259
A Databricks generative AI team is designing a solution with this requirement: Customers refer to a product by nickname and catalog SKU in different turns. Which engineering approach should it select first?
- Specify tone and brevity separately from factual evidence and noninvention constraints
- Run offline evaluation on labeled cases before deployment and use live monitoring afterward
- Choose chunks that retain header, period, currency and row key
- Normalize supported aliases to canonical product ID before retrieval
Explanation
Correct Answer
D:Normalize supported aliases to canonical product ID before retrieval directly addresses the described Databricks GenAI architecture: Customers refer to a product by nickname and catalog SKU in different turns. Stable entity keys are safer than free-text guessing for structured tool use. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Both alias and SKU lead to same permitted record with exact inventory result.
Incorrect Answers
A:“Specify tone and brevity separately from factual evidence and noninvention constraints” is associated with this technical property: Style instructions should not override content validity. The question instead turns on “Normalize supported aliases to canonical product ID before retrieval”: Stable entity keys are safer than free-text guessing for structured tool use.
B:“Run offline evaluation on labeled cases before deployment and use live monitoring afterward” is associated with this technical property: Pre-release evaluation and post-release monitoring address different lifecycle questions. The question instead turns on “Normalize supported aliases to canonical product ID before retrieval”: Stable entity keys are safer than free-text guessing for structured tool use.
C:“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 “Normalize supported aliases to canonical product ID before retrieval”: Stable entity keys are safer than free-text guessing for structured tool use.
Question 260
An application intended to satisfy this requirement, A RAG agent retrieves, calls a SQL tool and summarizes results, instead experiences: Logs show final answer only and engineers cannot find erroneous intermediate reasoning data. Which targeted engineering correction resolves this failure?
- Normalize supported aliases to canonical product ID before retrieval
- Increase chunk continuity or retrieve adjacent parent context based on evaluation failures
- Expose the API as a validated tool with constrained arguments and secrets management
- Instrument MLflow traces across retriever, tools and model spans
Explanation
Correct Answer
D:Instrument MLflow traces across retriever, tools and model spans targets the observed failure: Logs show final answer only and engineers cannot find erroneous intermediate reasoning data. End-to-end traces reveal which step failed and support reproducible evaluation. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that A failed response links to distinct retrieval, tool and inference spans.
Incorrect Answers
A:“Normalize supported aliases to canonical product ID before retrieval” is associated with this technical property: Stable entity keys are safer than free-text guessing for structured tool use. The question instead turns on “Instrument MLflow traces across retriever, tools and model spans”: End-to-end traces reveal which step failed and support reproducible evaluation.
B:“Increase chunk continuity or retrieve adjacent parent context based on evaluation failures” is associated with this technical property: Chunk size and parent context should be tuned against grounded-answer error patterns. The question instead turns on “Instrument MLflow traces across retriever, tools and model spans”: End-to-end traces reveal which step failed and support reproducible evaluation.
C:“Expose the API as a validated tool with constrained arguments and secrets management” is associated with this technical property: Typed interfaces constrain model actions and separate credentials from prompt text. The question instead turns on “Instrument MLflow traces across retriever, tools and model spans”: End-to-end traces reveal which step failed and support reproducible evaluation.