Certified Generative AI Engineer Associate Practice Test 51
Question 500
An engineering review considers a safeguard for this situation: A medium-size knowledge base needs affordable index storage and fast search. The proposed action is: Compare validated retrieval quality against vector dimensionality and compute cost. Which observed failure most strongly justifies that action?
- Logs show final answer only and engineers cannot find erroneous intermediate reasoning data
- Team chooses maximal embedding dimension without measuring relevance gain
- A standalone notebook prototype cannot be accessed consistently by app clients
- A naive tool agent treats those tags as privileged instructions
Explanation
Correct Answer
B:Team chooses maximal embedding dimension without measuring relevance gain. This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost. Larger embedding dimension increases storage and index work without universal quality improvement. The follow-up evidence would be: Chosen model meets recall target with lower measured index bytes and latency. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“Logs show final answer only and engineers cannot find erroneous intermediate reasoning data” is associated with this technical property: This observation motivates the specific control to Instrument MLflow traces across retriever, tools and model spans. The question instead turns on “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.
C:“A standalone notebook prototype cannot be accessed consistently by app clients” is associated with this technical property: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. The question instead turns on “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.
D:“A naive tool agent treats those tags as privileged instructions” is associated with this technical property: This observation motivates the specific control to Treat user text as untrusted, enforce tool authorization outside model prompts and test injection. The question instead turns on “Team chooses maximal embedding dimension without measuring relevance gain”: This observation motivates the specific control to Compare validated retrieval quality against vector dimensionality and compute cost.
Question 501
The team observes this failure in a GenAI application: A notebook overwrites raw data when producing chunks, losing rollback. After implementing the fix to Store raw records and curated chunk tables separately in governed Delta with lineage, which measurement or test most directly demonstrates success?
- Retrieval evaluations confirm relevant tail passages are indexed and retrievable
- Parsed heading and FAQ answer match the original DOM without menus
- Rebuild can trace each chunk to original record/version and transformation
- Reviewed sampled pages have readable text and low-confidence items are flagged
Explanation
Correct Answer
C:Rebuild can trace each chunk to original record/version and transformation. This specifically validates the remediation to Store raw records and curated chunk tables separately in governed Delta with lineage for the failure that A notebook overwrites raw data when producing chunks, losing rollback. Layered data preparation supports reproducible source-to-chunk transformations. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Retrieval evaluations confirm relevant tail passages are indexed and retrievable” is associated with this technical property: Embedding input length bounds what content contributes to searchable vectors. The question instead turns on “Rebuild can trace each chunk to original record/version and transformation”: Layered data preparation supports reproducible source-to-chunk transformations.
B:“Parsed heading and FAQ answer match the original DOM without menus” is associated with this technical property: Extraction tools must match source encoding and document format. The question instead turns on “Rebuild can trace each chunk to original record/version and transformation”: Layered data preparation supports reproducible source-to-chunk transformations.
D:“Reviewed sampled pages have readable text and low-confidence items are flagged” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Rebuild can trace each chunk to original record/version and transformation”: Layered data preparation supports reproducible source-to-chunk transformations.
Question 502
A Databricks generative AI team is designing a solution with this requirement: The agent must query governed data and call a custom exception-check API. Which engineering approach should it select first?
- Build a retrieval step that selects authorized passages before prompting the answer model
- Require authenticated lookup before answer composition, with missing-data branch
- Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities
- Separate draft, validation, human approval and side-effecting submit tool calls
Explanation
Correct Answer
C:Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities directly addresses the described Databricks GenAI architecture: The agent must query governed data and call a custom exception-check API. Tool requirements should determine orchestration rather than choosing components by popularity. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Functional tests show governed data query and approved custom exception tool execute in sequence.
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 “Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities”: Tool requirements should determine orchestration rather than choosing components by popularity.
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 “Use a supported multi-agent or custom tool-enabled composition after checking managed capabilities”: Tool requirements should determine orchestration rather than choosing components by popularity.
D:“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 supported multi-agent or custom tool-enabled composition after checking managed capabilities”: Tool requirements should determine orchestration rather than choosing components by popularity.
Question 503
A Databricks generative AI team is designing a solution with this requirement: An expense agent can draft reimbursement requests but must not submit without consent. Which engineering approach should it select first?
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Define output quality and latency objectives and budget stage latency before choosing chain topology
- Select information extraction with validation and optional citations before using generative prose
- Separate draft, validation, human approval and side-effecting submit tool calls
Explanation
Correct Answer
D:Separate draft, validation, human approval and side-effecting submit tool calls directly addresses the described Databricks GenAI architecture: An expense agent can draft reimbursement requests but must not submit without consent. State-changing operations require authorization gates distinct from read-only retrieval. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: No submit call occurs without approval token and audit records exact submitted payload.
Incorrect Answers
A:“Define authenticated identity context as input and tenant-scoped answer objects as output” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
B:“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 “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
C:“Select information extraction with validation and optional citations before using generative prose” is associated with this technical property: Matching a source paragraph is not equivalent to structured field extraction. The question instead turns on “Separate draft, validation, human approval and side-effecting submit tool calls”: State-changing operations require authorization gates distinct from read-only retrieval.
Question 504
The team observes this failure in a GenAI application: The index contains generic shipping policy but not live tracking records. After implementing the fix to Retrieve transaction-specific facts through governed structured data in addition to policy text, which measurement or test most directly demonstrates success?
- Index count falls and boundary reference questions remain answerable
- Order answers match current shipment data and reference the right transaction
- Index audits find no unmasked sample account numbers and authorized workflow still functions
- Reviewed sampled pages have readable text and low-confidence items are flagged
Explanation
Correct Answer
B:Order answers match current shipment data and reference the right transaction. This specifically validates the remediation to Retrieve transaction-specific facts through governed structured data in addition to policy text for the failure that The index contains generic shipping policy but not live tracking records. Source completeness matters more than a persuasive prompt for operational answers. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Index count falls and boundary reference questions remain answerable” is associated with this technical property: Overlap trades continuity against duplication, latency and storage footprint. The question instead turns on “Order answers match current shipment data and reference the right transaction”: Source completeness matters more than a persuasive prompt for operational answers.
C:“Index audits find no unmasked sample account numbers and authorized workflow still functions” is associated with this technical property: Data minimization should be applied at ingestion, not left to answer prompts. The question instead turns on “Order answers match current shipment data and reference the right transaction”: Source completeness matters more than a persuasive prompt for operational answers.
D:“Reviewed sampled pages have readable text and low-confidence items are flagged” is associated with this technical property: Optical character recognition extracts image text where text-layer parsers have none. The question instead turns on “Order answers match current shipment data and reference the right transaction”: Source completeness matters more than a persuasive prompt for operational answers.
Question 505
An engineering review considers a safeguard for this situation: A product manual is embedded in huge sections and short troubleshooting queries match poorly. The proposed action is: Try smaller heading-aware chunks and compare retrieval performance on labeled queries. Which observed failure most strongly justifies that action?
- The last paragraph of some chunks never contributes to the vectors
- The reviewer sees convincing language but no matching source evidence
- A text-only model receives file paths and hallucinates visual values
- Retriever surfaces whole unrelated chapters at high token cost
Explanation
Correct Answer
D:Retriever surfaces whole unrelated chapters at high token cost. This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries. Search granularity can improve precision when documents mix unrelated topics. The follow-up evidence would be: Precision at k improves while required step sequences remain intact. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
A:“The last paragraph of some chunks never contributes to the vectors” is associated with this technical property: This observation motivates the specific control to Select a model with enough effective input tokens or reduce chunk size. The question instead turns on “Retriever surfaces whole unrelated chapters at high token cost”: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries.
B:“The reviewer sees convincing language but no matching source evidence” is associated with this technical property: This observation motivates the specific control to Score factual support against retrieved passages and flag unsupported claims. The question instead turns on “Retriever surfaces whole unrelated chapters at high token cost”: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries.
C:“A text-only model receives file paths and hallucinates visual values” is associated with this technical property: This observation motivates the specific control to Choose vision-capable processing or OCR extraction before text model use. The question instead turns on “Retriever surfaces whole unrelated chapters at high token cost”: This observation motivates the specific control to Try smaller heading-aware chunks and compare retrieval performance on labeled queries.
Question 506
The team observes this failure in a GenAI application: The model treats those strings as trustworthy operational steps. After implementing the fix to Parse, label and isolate untrusted document instructions while preserving legitimate factual content, which measurement or test most directly demonstrates success?
- Injection benchmark fails to redirect agent behavior but still retrieves relevant facts
- Expired sensitive experiment examples are removed under audited policy
- Injected document cannot trigger restricted actions and answers cite safe evidence only
- Indexed sample chunks and answers contain only authorized masked identifiers
Explanation
Correct Answer
A:Injection benchmark fails to redirect agent behavior but still retrieves relevant facts. This specifically validates the remediation to Parse, label and isolate untrusted document instructions while preserving legitimate factual content for the failure that The model treats those strings as trustworthy operational steps. Source cleaning reduces accidental execution of embedded instructions. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
B:“Expired sensitive experiment examples are removed under audited policy” is associated with this technical property: Evaluation data requires the same governance scrutiny as production data. The question instead turns on “Injection benchmark fails to redirect agent behavior but still retrieves relevant facts”: Source cleaning reduces accidental execution of embedded instructions.
C:“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 “Injection benchmark fails to redirect agent behavior but still retrieves relevant facts”: Source cleaning reduces accidental execution of embedded instructions.
D:“Indexed sample chunks and answers contain only authorized masked identifiers” is associated with this technical property: Masking is more reliable at ingestion than hoping an output prompt hides every identifier. The question instead turns on “Injection benchmark fails to redirect agent behavior but still retrieves relevant facts”: Source cleaning reduces accidental execution of embedded instructions.
Question 507
A Databricks generative AI team is designing a solution with this requirement: An assistant retains transient order selections and a separate verified customer preference. Which engineering approach should it select first?
- Store short-lived workflow state separately from approved persistent preferences
- Apply authorized metadata or row-level eligibility filters before returning results
- Register external MCP connection and keep credentials in governed secret storage
- Use semantic embedding similarity for unstructured retrieval while preserving structured filters
Explanation
Correct Answer
A:Store short-lived workflow state separately from approved persistent preferences directly addresses the described Databricks GenAI architecture: An assistant retains transient order selections and a separate verified customer preference. Different memory lifetimes require different access, consent and deletion controls. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Short-lived task state expires and verified preference remains only under policy.
Incorrect Answers
B:“Apply authorized metadata or row-level eligibility filters before returning results” is associated with this technical property: Similarity score is not authorization or publication status. The question instead turns on “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
C:“Register external MCP connection and keep credentials in governed secret storage” is associated with this technical property: Tool connection credentials must be isolated from model-generated content. The question instead turns on “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
D:“Use semantic embedding similarity for unstructured retrieval while preserving structured filters” is associated with this technical property: Vector search ranks related text even when literal wording differs. The question instead turns on “Store short-lived workflow state separately from approved persistent preferences”: Different memory lifetimes require different access, consent and deletion controls.
Question 508
For the requirement that A support app changes its vector store provider every quarter, the team proposes this change: Use a retriever abstraction around the approved vector search implementation. Which technical principle explains why it is appropriate?
- Model metadata constraints must shape processing and evaluation
- Separating retrieval contract from storage implementation reduces migration coupling
- Chunking is an empirical quality-cost decision rather than a universal fixed size
- Stable entity keys are safer than free-text guessing for structured tool use
Explanation
Correct Answer
B:Separating retrieval contract from storage implementation reduces migration coupling. The proposed engineering step is to Use a retriever abstraction around the approved vector search implementation. It directly supports the requirement that A support app changes its vector store provider every quarter. The operational test is that A test mock retriever can replace the production vector backend without changing prompts. This principle is more specific than a general instruction to retry or increase model size.
Incorrect Answers
A:“Model metadata constraints must shape processing and evaluation” is associated with this technical property: It directly supports the requirement that A summarization model has promising scores but maximum input shorter than user documents. The question instead turns on “Separating retrieval contract from storage implementation reduces migration coupling”: It directly supports the requirement that A support app changes its vector store provider every quarter.
C:“Chunking is an empirical quality-cost decision rather than a universal fixed size” is associated with this technical property: It directly supports the requirement that A team proposes the largest chunk size without analyzing retrieval failures. The question instead turns on “Separating retrieval contract from storage implementation reduces migration coupling”: It directly supports the requirement that A support app changes its vector store provider every quarter.
D:“Stable entity keys are safer than free-text guessing for structured tool use” is associated with this technical property: It directly supports the requirement that Customers refer to a product by nickname and catalog SKU in different turns. The question instead turns on “Separating retrieval contract from storage implementation reduces migration coupling”: It directly supports the requirement that A support app changes its vector store provider every quarter.
Question 509
An engineering review considers a safeguard for this situation: A finance user asks for actual spend across departments. The proposed action is: Require the governed Genie result and query provenance before final response. Which observed failure most strongly justifies that action?
- An agent returns a table not linked to executed data query
- A standalone notebook prototype cannot be accessed consistently by app clients
- Candidate model produces fluent answers but malformed tool arguments under load
- The largest available reasoning model breaches budget without measurable answer improvements
Explanation
Correct Answer
A:An agent returns a table not linked to executed data query. This observation motivates the specific control to Require the governed Genie result and query provenance before final response. Structured analytics should be traceable to actual authorized data access. The follow-up evidence would be: Response amounts reconcile with query output and user role scope. The other symptoms may matter elsewhere but do not identify the particular mechanism at issue.
Incorrect Answers
B:“A standalone notebook prototype cannot be accessed consistently by app clients” is associated with this technical property: This observation motivates the specific control to Package an agent via supported Agent Framework deployment and serving path. The question instead turns on “An agent returns a table not linked to executed data query”: This observation motivates the specific control to Require the governed Genie result and query provenance before final response.
C:“Candidate model produces fluent answers but malformed tool arguments under load” is associated with this technical property: This observation motivates the specific control to Choose a model evaluated on structured tool-use success and error recovery. The question instead turns on “An agent returns a table not linked to executed data query”: This observation motivates the specific control to Require the governed Genie result and query provenance before final response.
D:“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 “An agent returns a table not linked to executed data query”: This observation motivates the specific control to Require the governed Genie result and query provenance before final response.
Question 510
An application intended to satisfy this requirement, A policy assistant needs factual answers from a private handbook, instead experiences: LLM replies cite nonexistent paragraphs because no authoritative text is supplied. Which targeted engineering correction resolves this failure?
- Define authenticated identity context as input and tenant-scoped answer objects as output
- Use schema-guided extraction with explicit missing-value handling rather than creative completion
- Supply the allowed label vocabulary and validate each response against its enum
- Build a retrieval step that selects authorized passages before prompting the answer model
Explanation
Correct Answer
D:Build a retrieval step that selects authorized passages before prompting the answer model targets the observed failure: LLM replies cite nonexistent paragraphs because no authoritative text is supplied. Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Answer traces show relevant handbook evidence for each supported response.
Incorrect Answers
A:“Define authenticated identity context as input and tenant-scoped answer objects as output” is associated with this technical property: Data boundaries are part of application design rather than optional prompt decoration. The question instead turns on “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.
B:“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 “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.
C:“Supply the allowed label vocabulary and validate each response against its enum” is associated with this technical property: Closed-set classification needs a constrained output vocabulary not merely a generic topic summary. The question instead turns on “Build a retrieval step that selects authorized passages before prompting the answer model”: Retrieval-augmented generation grounds changing factual claims in controlled enterprise sources.