Certified Generative AI Engineer Associate Practice Test 41
Question 400
A Databricks generative AI team is designing a solution with this requirement: Contracts have headings, numbered clauses and definitions referenced together. Which engineering approach should it select first?
- Store child chunks for fine search with parent-section expansion for answer context
- Chunk along semantic boundaries, carrying heading metadata into retrieval
- Retrieve transaction-specific facts through governed structured data in addition to policy text
- Evaluate multilingual embedding and optional query translation on representative pairs
Explanation
Correct Answer
B:Chunk along semantic boundaries, carrying heading metadata into retrieval directly addresses the described Databricks GenAI architecture: Contracts have headings, numbered clauses and definitions referenced together. Structure-aware chunking preserves context and filters better than indiscriminate splitting. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Test queries retrieve full clause meaning with original heading metadata.
Incorrect Answers
A:“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 “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
C:“Retrieve transaction-specific facts through governed structured data in addition to policy text” is associated with this technical property: Source completeness matters more than a persuasive prompt for operational answers. The question instead turns on “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
D:“Evaluate multilingual embedding and optional query translation on representative pairs” is associated with this technical property: Query-language mismatch needs empirical retrieval coverage testing. The question instead turns on “Chunk along semantic boundaries, carrying heading metadata into retrieval”: Structure-aware chunking preserves context and filters better than indiscriminate splitting.
Question 401
An engineering review considers a safeguard for this situation: Accounts payable must turn a large archive of invoices into normalized JSON fields. The proposed action is: Choose the Information Extraction capability and define stable target schema. Which observed failure most strongly justifies that action?
- A sentiment classifier returns positive or negative labels instead of answers
- A generic conversation design accepts account IDs supplied by untrusted users
- A conversational assistant returns inconsistent key names across batches
- LLM replies cite nonexistent paragraphs because no authoritative text is supplied
Explanation
Correct Answer
C:A conversational assistant returns inconsistent key names across batches. This observation motivates the specific control to Choose the Information Extraction capability and define stable target schema. Structured extraction differs from open-ended multi-step research orchestration. The follow-up evidence would be: Batch outputs validate schema and field accuracy against reviewed invoice samples. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“A sentiment classifier returns positive or negative labels instead of answers” is associated with this technical property: This observation motivates the specific control to Use retrieval-grounded question answering with a suitable generative model. The question instead turns on “A conversational assistant returns inconsistent key names across batches”: This observation motivates the specific control to Choose the Information Extraction capability and define stable target schema.
B:“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 conversational assistant returns inconsistent key names across batches”: This observation motivates the specific control to Choose the Information Extraction capability and define stable target schema.
D:“LLM replies cite nonexistent paragraphs because no authoritative text is supplied” is associated with this technical property: This observation motivates the specific control to Build a retrieval step that selects authorized passages before prompting the answer model. The question instead turns on “A conversational assistant returns inconsistent key names across batches”: This observation motivates the specific control to Choose the Information Extraction capability and define stable target schema.
Question 402
The team observes this failure in a GenAI application: Team deploys a model whose license prohibits the desired use. After implementing the fix to Review model-card licensing and usage restrictions before selection, which measurement or test most directly demonstrates success?
- Summaries fit configured length and retain key safety caveat
- Prohibited requests are rejected consistently while harmless alternatives remain supported
- Chosen variant meets minimum quality at sustainable expected monthly cost
- Selected model has documented permitted use and recorded provenance
Explanation
Correct Answer
D:Selected model has documented permitted use and recorded provenance. This specifically validates the remediation to Review model-card licensing and usage restrictions before selection for the failure that Team deploys a model whose license prohibits the desired use. Technical suitability does not grant legal permission for deployment. 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 “Selected model has documented permitted use and recorded provenance”: Technical suitability does not grant legal permission for deployment.
B:“Prohibited requests are rejected consistently while harmless alternatives remain supported” is associated with this technical property: Helpful tone does not substitute for authorized and safe behavior. The question instead turns on “Selected model has documented permitted use and recorded provenance”: Technical suitability does not grant legal permission for deployment.
C:“Chosen variant meets minimum quality at sustainable expected monthly cost” is associated with this technical property: Model selection is a multi-objective optimization with service constraints. The question instead turns on “Selected model has documented permitted use and recorded provenance”: Technical suitability does not grant legal permission for deployment.
Question 403
A Databricks generative AI team is designing a solution with this requirement: A compliance agent needs approved prompt versions promoted through staging. Which engineering approach should it select first?
- Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters
- Track prompt versions and promote with a stable alias after evaluation
- Connect typed retrieval and date calculation components before the prose stage
- Select batch SQL inference with controlled data volume and validation
Explanation
Correct Answer
B:Track prompt versions and promote with a stable alias after evaluation directly addresses the described Databricks GenAI architecture: A compliance agent needs approved prompt versions promoted through staging. Versioned prompts support audit, repeatability and rollback. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Production alias maps to approved version and can be restored to known-safe revision.
Incorrect Answers
A:“Enforce user-aware authorization or scoped retrieval policy rather than relying on prompt filters” is associated with this technical property: Model-serving authentication alone does not automatically implement row-level retrieval access. The question instead turns on “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
C:“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 “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
D:“Select batch SQL inference with controlled data volume and validation” is associated with this technical property: Workload latency requirements should determine batch versus online architecture. The question instead turns on “Track prompt versions and promote with a stable alias after evaluation”: Versioned prompts support audit, repeatability and rollback.
Question 404
A Databricks generative AI team is designing a solution with this requirement: A nightly source refresh modifies a subset of documents. Which engineering approach should it select first?
- Use stable document and chunk IDs with change detection and Delta merge semantics
- Measure recall@k on labeled query-to-passage pairs and adjust candidate retrieval
- Filter or version source records by approval status and effective date
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
Explanation
Correct Answer
A:Use stable document and chunk IDs with change detection and Delta merge semantics directly addresses the described Databricks GenAI architecture: A nightly source refresh modifies a subset of documents. Idempotent updates prevent duplicate indexed chunks and limit processing cost. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Second run without changes adds no duplicates and changed documents re-embed.
Incorrect Answers
B:“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 “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
C:“Filter or version source records by approval status and effective date” is associated with this technical property: Freshness and document authority should constrain eligible retrieval candidates. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
D:“Redact or tokenize restricted fields before embedding with authorized lookup retained separately” is associated with this technical property: Data minimization should be applied at ingestion, not left to answer prompts. The question instead turns on “Use stable document and chunk IDs with change detection and Delta merge semantics”: Idempotent updates prevent duplicate indexed chunks and limit processing cost.
Question 405
An application intended to satisfy this requirement, Legal review requires clause-level risk summaries linked to source document identifiers, instead experiences: Development starts prompts without defining input document versions or output evidence fields. Which targeted engineering correction resolves this failure?
- Connect retrieval to a deterministic aggregation tool before final narrative generation
- Compose a governed data-query tool followed by a separate response-generation step
- Define typed document inputs, risk labels, source offsets and output schema before design
- Build a retrieval step that selects authorized passages before prompting the answer model
Explanation
Correct Answer
C:Define typed document inputs, risk labels, source offsets and output schema before design targets the observed failure: Development starts prompts without defining input document versions or output evidence fields. Explicit data contracts make evaluation and downstream workflow integration possible. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Prototype output includes traceable clauses, stable identifiers and required risk fields.
Incorrect Answers
A:“Connect retrieval to a deterministic aggregation tool before final narrative generation” is associated with this technical property: Deterministic computation should handle precise arithmetic while an LLM explains the result. The question instead turns on “Define typed document inputs, risk labels, source offsets and output schema before design”: Explicit data contracts make evaluation and downstream workflow integration possible.
B:“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 “Define typed document inputs, risk labels, source offsets and output schema before design”: Explicit data contracts make evaluation and downstream workflow integration possible.
D:“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 “Define typed document inputs, risk labels, source offsets and output schema before design”: Explicit data contracts make evaluation and downstream workflow integration possible.
Question 406
For the requirement that Customers refer to a product by nickname and catalog SKU in different turns, the team proposes this change: Normalize supported aliases to canonical product ID before retrieval. Which technical principle explains why it is appropriate?
- Stable entity keys are safer than free-text guessing for structured tool use
- Cross-lingual embedding performance cannot be assumed from English benchmarks
- Separating retrieval contract from storage implementation reduces migration coupling
- Data minimization applies to model outputs as well as retrieval
Explanation
Correct Answer
A:Stable entity keys are safer than free-text guessing for structured tool use. The proposed engineering step is to Normalize supported aliases to canonical product ID before retrieval. It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns. The operational test is that Both alias and SKU lead to same permitted record with exact inventory result. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
B:“Cross-lingual embedding performance cannot be assumed from English benchmarks” is associated with this technical property: It directly supports the requirement that A knowledge application searches English policy text using Hindi queries. The question instead turns on “Stable entity keys are safer than free-text guessing for structured tool use”: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns.
C:“Separating retrieval contract from storage implementation reduces migration coupling” is associated with this technical property: It directly supports the requirement that A support app changes its vector store provider every quarter. The question instead turns on “Stable entity keys are safer than free-text guessing for structured tool use”: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns.
D:“Data minimization applies to model outputs as well as retrieval” is associated with this technical property: It directly supports the requirement that A support answer may include an account number retrieved for legitimate backend processing. The question instead turns on “Stable entity keys are safer than free-text guessing for structured tool use”: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns.
Question 407
An engineering review considers a safeguard for this situation: A RAG bot answers a policy question with a plausible paragraph unsupported by retrieval. The proposed action is: Score factual support against retrieved passages and flag unsupported claims. Which observed failure most strongly justifies that action?
- One general tool selection executes an unsafe IT command for legal question
- The reviewer sees convincing language but no matching source evidence
- Team chooses by satisfaction score without evidence-groundedness tests
- Application prompts import provider-specific HTTP payload formats in many files
Explanation
Correct Answer
B:The reviewer sees convincing language but no matching source evidence. This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims. Fluency is not evidence of grounded correctness. The follow-up evidence would be: Reviewers can trace each material claim to a passage or a documented abstention. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“One general tool selection executes an unsafe IT command for legal question” is associated with this technical property: This observation motivates the specific control to Use specialist agents with a supervisor and per-tool permission boundaries. The question instead turns on “The reviewer sees convincing language but no matching source evidence”: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims.
C:“Team chooses by satisfaction score without evidence-groundedness tests” is associated with this technical property: This observation motivates the specific control to Compare groundedness and factuality on verified reference examples. The question instead turns on “The reviewer sees convincing language but no matching source evidence”: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims.
D:“Application prompts import provider-specific HTTP payload formats in many files” is associated with this technical property: This observation motivates the specific control to Use a retriever abstraction around the approved vector search implementation. The question instead turns on “The reviewer sees convincing language but no matching source evidence”: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims.
Question 408
A Databricks generative AI team is designing a solution with this requirement: A legitimate analytics tool returns both a customer email and a detailed payment token. Which engineering approach should it select first?
- Select compliant deployment and data-processing path after checking vendor terms
- Apply policy-based redaction to tool output and answer rendering
- Validate and bind tenant scope server-side for every tool call
- Parse, label and isolate untrusted document instructions while preserving legitimate factual content
Explanation
Correct Answer
B:Apply policy-based redaction to tool output and answer rendering directly addresses the described Databricks GenAI architecture: A legitimate analytics tool returns both a customer email and a detailed payment token. Data minimization is a separate control from model answer quality. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Test cases preserve needed last-four digits but never expose payment tokens.
Incorrect Answers
A:“Select compliant deployment and data-processing path after checking vendor terms” is associated with this technical property: Deployment architecture must respect jurisdictional and contractual data handling. 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:“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.
D:“Parse, label and isolate untrusted document instructions while preserving legitimate factual content” is associated with this technical property: Source cleaning reduces accidental execution of embedded instructions. 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 409
An engineering review considers a safeguard for this situation: A public assistant receives abusive requests and attempts to produce harmful content. The proposed action is: Implement task-aware moderation and safe-refusal handling with reviewable thresholds. Which observed failure most strongly justifies that action?
- Generic content classification misses context-specific prohibited procedures
- The pipeline truncates product recalls and produces misleading summaries
- Retriever surfaces whole unrelated chapters at high token cost
- Team chooses by satisfaction score without evidence-groundedness tests
Explanation
Correct Answer
A:Generic content classification misses context-specific prohibited procedures. This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds. Guardrails should consider both user intent and produced content. The follow-up evidence would be: Red-team prompts trigger refusal and benign requests remain available. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“The pipeline truncates product recalls and produces misleading summaries” is associated with this technical property: This observation motivates the specific control to Compare model-card context limits with realistic inputs and adjust architecture. The question instead turns on “Generic content classification misses context-specific prohibited procedures”: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds.
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 “Generic content classification misses context-specific prohibited procedures”: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds.
D:“Team chooses by satisfaction score without evidence-groundedness tests” is associated with this technical property: This observation motivates the specific control to Compare groundedness and factuality on verified reference examples. The question instead turns on “Generic content classification misses context-specific prohibited procedures”: This observation motivates the specific control to Implement task-aware moderation and safe-refusal handling with reviewable thresholds.
Question 410
The team observes this failure in a GenAI application: It uses vector retrieval from policy PDFs to guess numerical warehouse totals. After implementing the fix to Route authorized structured questions to a governed Genie Space or conversational API, which measurement or test most directly demonstrates success?
- Agent trace shows permitted query and correct aggregated figures
- Evaluation report shows balanced recall and cost on held-out questions
- Retrieved row carries its period and unit and is matched to reviewed answer keys
- Exact serial and protocol error questions retrieve matching documents
Explanation
Correct Answer
A:Agent trace shows permitted query and correct aggregated figures. This specifically validates the remediation to Route authorized structured questions to a governed Genie Space or conversational API for the failure that It uses vector retrieval from policy PDFs to guess numerical warehouse totals. Genie-style analytics is suited to structured data rather than ungrounded numeric text generation. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Evaluation report shows balanced recall and cost on held-out questions” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Agent trace shows permitted query and correct aggregated figures”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
C:“Retrieved row carries its period and unit and is matched to reviewed answer keys” is associated with this technical property: Tables require contextual labels for safe semantic interpretation. The question instead turns on “Agent trace shows permitted query and correct aggregated figures”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.
D:“Exact serial and protocol error questions retrieve matching documents” is associated with this technical property: Dense vectors and lexical matching capture complementary signals. The question instead turns on “Agent trace shows permitted query and correct aggregated figures”: Genie-style analytics is suited to structured data rather than ungrounded numeric text generation.