Certified Generative AI Engineer Associate Practice Test 52
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.
Question 511
The team observes this failure in a GenAI application: Directly passing raw request dictionaries causes downstream chain errors. After implementing the fix to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper, which measurement or test most directly demonstrates success?
- Production alias maps to approved version and can be restored to known-safe revision
- Release report identifies changed component and passes regression cases
- Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts
- A changed catalog record appears in results within agreed refresh window
Explanation
Correct Answer
C:Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts. This specifically validates the remediation to Implement deterministic input validation and normalization before invoking the model in a pyfunc wrapper for the failure that Directly passing raw request dictionaries causes downstream chain errors. A serving wrapper should enforce a stable input contract independent of model behavior. A response that merely looks fluent or a successful configuration save would not be sufficient evidence.
Incorrect Answers
A:“Production alias maps to approved version and can be restored to known-safe revision” is associated with this technical property: Versioned prompts support audit, repeatability and rollback. The question instead turns on “Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts”: A serving wrapper should enforce a stable input contract independent of model behavior.
B:“Release report identifies changed component and passes regression cases” is associated with this technical property: Component-level CI isolates root causes that end-to-end scores may hide. The question instead turns on “Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts”: A serving wrapper should enforce a stable input contract independent of model behavior.
D:“A changed catalog record appears in results within agreed refresh window” is associated with this technical property: Update frequency is a key design input for choosing index deployment. The question instead turns on “Malformed requests return documented validation errors and valid inputs produce consistent normalized prompts”: A serving wrapper should enforce a stable input contract independent of model behavior.
Question 512
An application intended to satisfy this requirement, A policy agent must include a required disclaimer when advising on refunds, instead experiences: An LLM judge sometimes overlooks the literal disclaimer requirement. Which targeted engineering correction resolves this failure?
- Build a deterministic custom scorer for required phrase presence in addition to semantic judges
- Cache eligible nonprivate responses with document-version invalidation
- Use AI Gateway usage telemetry with endpoint/team attribution
- Choose an evaluator using verified ground-truth expected values for numerical correctness
Explanation
Correct Answer
A:Build a deterministic custom scorer for required phrase presence in addition to semantic judges targets the observed failure: An LLM judge sometimes overlooks the literal disclaimer requirement. Code-based scoring is suitable for exact business-rule invariants. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that The scorer rejects every missing-disclaimer case regardless of writing style.
Incorrect Answers
B:“Cache eligible nonprivate responses with document-version invalidation” is associated with this technical property: Caching saves inference cost only when response scope and freshness permit reuse. The question instead turns on “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
C:“Use AI Gateway usage telemetry with endpoint/team attribution” is associated with this technical property: Attribution requires identity and endpoint dimensions beyond total invoices. The question instead turns on “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
D:“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 “Build a deterministic custom scorer for required phrase presence in addition to semantic judges”: Code-based scoring is suitable for exact business-rule invariants.
Question 513
An application intended to satisfy this requirement, A nightly Delta pipeline categorizes millions of support records before analysts use them, instead experiences: Team sends one interactive HTTP request per row from a notebook loop. Which targeted engineering correction resolves this failure?
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Prefer supported managed MCP servers when their existing tools fit the task
- Grant serving endpoint invocation only to approved service principals and groups
Explanation
Correct Answer
A:Use supported SQL ai_query batch inference in a scalable governed data workflow targets the observed failure: Team sends one interactive HTTP request per row from a notebook loop. Batch inference can process tabular rows where synchronous end-user serving is unnecessary. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Results are reproducibly attached to rows and retries avoid duplicate output.
Incorrect Answers
B:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
C:“Prefer supported managed MCP servers when their existing tools fit the task” is associated with this technical property: Managed service tools reduce custom hosting and leverage workspace authorization. The question instead turns on “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
D:“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 “Use supported SQL ai_query batch inference in a scalable governed data workflow”: Batch inference can process tabular rows where synchronous end-user serving is unnecessary.
Question 514
A solution architect must balance this requirement: An inventory assistant needs live stock totals and a readable customer explanation. During review the team anticipates the failure that The agent writes plausible quantities without querying the inventory system. Which implementation decision best mitigates this particular risk while preserving the intended feature?
- 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
- Use a Multiagent Supervisor to delegate to narrowly scoped specialists
- Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A
Explanation
Correct Answer
A:Compose a governed data-query tool followed by a separate response-generation step directly addresses the described Databricks GenAI architecture: An inventory assistant needs live stock totals and a readable customer explanation. Tool results can supply fresh structured facts that pretrained model memory cannot guarantee. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Trace links each displayed stock number to a successful scoped query result.
Incorrect Answers
B:“Define typed document inputs, risk labels, source offsets and output schema before design” is associated with this technical property: Explicit data contracts make evaluation and downstream workflow integration possible. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
C:“Use a Multiagent Supervisor to delegate to narrowly scoped specialists” is associated with this technical property: Supervisor orchestration is appropriate when a request must select among specialist capabilities. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
D:“Choose Agent Bricks Knowledge Assistant for managed document-grounded Q&A” is associated with this technical property: Knowledge Assistant is aligned to enterprise knowledge retrieval without unnecessary routing agents. The question instead turns on “Compose a governed data-query tool followed by a separate response-generation step”: Tool results can supply fresh structured facts that pretrained model memory cannot guarantee.
Question 515
An application intended to satisfy this requirement, A case-management screen needs a one-sentence gist of a multi-paragraph incident, instead experiences: A model selected for keyword extraction returns disconnected fragments instead of a synopsis. 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
- Require authenticated lookup before answer composition, with missing-data branch
- Define output quality and latency objectives and budget stage latency before choosing chain topology
Explanation
Correct Answer
B:Choose and evaluate a summarization-capable text generation model with a length instruction targets the observed failure: A model selected for keyword extraction returns disconnected fragments instead of a synopsis. Task fit matters because extraction and summarization preserve different information. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Evaluation confirms central incident facts survive compression within the sentence limit.
Incorrect Answers
A:“Use a Multiagent Supervisor to delegate to narrowly scoped specialists” is associated with this technical property: Supervisor orchestration is appropriate when a request must select among specialist capabilities. The question instead turns on “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
C:“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 “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
D:“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 “Choose and evaluate a summarization-capable text generation model with a length instruction”: Task fit matters because extraction and summarization preserve different information.
Question 516
A Databricks generative AI team is designing a solution with this requirement: A deployment changes prompt, retriever and model together. Which engineering approach should it select first?
- Use an authenticated Databricks App backend that holds server-side endpoint credentials
- Use supported SQL ai_query batch inference in a scalable governed data workflow
- Use governed model versions and aliases or equivalent approved promotion controls
- Version and test retriever, prompt and answer model independently before combined rollout
Explanation
Correct Answer
D:Version and test retriever, prompt and answer model independently before combined rollout directly addresses the described Databricks GenAI architecture: A deployment changes prompt, retriever and model together. Component-level CI isolates root causes that end-to-end scores may hide. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Release report identifies changed component and passes regression cases.
Incorrect Answers
A:“Use an authenticated Databricks App backend that holds server-side endpoint credentials” is associated with this technical property: Browser-side secrets undermine tenant isolation and can be extracted by users. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
B:“Use supported SQL ai_query batch inference in a scalable governed data workflow” is associated with this technical property: Batch inference can process tabular rows where synchronous end-user serving is unnecessary. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
C:“Use governed model versions and aliases or equivalent approved promotion controls” is associated with this technical property: Versioned model identity supports rollback without overwriting the source model. The question instead turns on “Version and test retriever, prompt and answer model independently before combined rollout”: Component-level CI isolates root causes that end-to-end scores may hide.
Question 517
An application intended to satisfy this requirement, Pricing tables span pages and values become ambiguous without column labels, instead experiences: A naive splitter stores isolated table rows without table headers. Which targeted engineering correction resolves this failure?
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
- Redact or tokenize restricted fields before embedding with authorized lookup retained separately
- Keep table captions and headers with row groups during structured extraction
- Store raw records and curated chunk tables separately in governed Delta with lineage
Explanation
Correct Answer
C:Keep table captions and headers with row groups during structured extraction targets the observed failure: A naive splitter stores isolated table rows without table headers. Table cells depend on row and column context to retain correct semantics. Changing a different model component would not resolve this identified mechanism. To confirm the remediation, verify that Retrieved pricing row includes correct units, customer tier and date.
Incorrect Answers
A:“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 “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
B:“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 “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
D:“Store raw records and curated chunk tables separately in governed Delta with lineage” is associated with this technical property: Layered data preparation supports reproducible source-to-chunk transformations. The question instead turns on “Keep table captions and headers with row groups during structured extraction”: Table cells depend on row and column context to retain correct semantics.
Question 518
A Databricks generative AI team is designing a solution with this requirement: An incident knowledge index retrieves repeated overlapping paragraphs. Which engineering approach should it select first?
- Evaluate multilingual embedding and optional query translation on representative pairs
- Deduplicate overlapping candidates or use maximal marginal relevance before context assembly
- Remove irrelevant repeated chrome before chunking and index creation
- Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted
Explanation
Correct Answer
B:Deduplicate overlapping candidates or use maximal marginal relevance before context assembly directly addresses the described Databricks GenAI architecture: An incident knowledge index retrieves repeated overlapping paragraphs. Redundant retrieval reduces useful evidence diversity under a token budget. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Context retains distinct incident cases and minimizes repeated text.
Incorrect Answers
A:“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 “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
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 “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
D:“Measure precision@k, add metadata filters and evaluate hybrid retrieval when warranted” is associated with this technical property: Retrieval precision controls the fraction of presented evidence that is relevant. The question instead turns on “Deduplicate overlapping candidates or use maximal marginal relevance before context assembly”: Redundant retrieval reduces useful evidence diversity under a token budget.
Question 519
A Databricks generative AI team is designing a solution with this requirement: A RAG corpus contains invalid Unicode symbols and duplicated OCR headers. Which engineering approach should it select first?
- Use controlled pseudonymous tokens with restricted reidentification rights where appropriate
- Check data provenance, license terms and documented permissible uses before training
- Treat retrieved passages as untrusted data and enforce tool policies outside prompts
- Normalize encoding, repair OCR where justified and retain original source reference
Explanation
Correct Answer
D:Normalize encoding, repair OCR where justified and retain original source reference directly addresses the described Databricks GenAI architecture: A RAG corpus contains invalid Unicode symbols and duplicated OCR headers. Data quality repair must preserve evidence and not silently change meaning. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: Quality sample demonstrates accurate text and intact provenance metadata.
Incorrect Answers
A:“Use controlled pseudonymous tokens with restricted reidentification rights where appropriate” is associated with this technical property: Privacy techniques must preserve only the minimum analytics purpose. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
B:“Check data provenance, license terms and documented permissible uses before training” is associated with this technical property: Availability of source data does not imply redistribution or model-training rights. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
C:“Treat retrieved passages as untrusted data and enforce tool policies outside prompts” is associated with this technical property: External context must not override trusted instructions or tool authorization. The question instead turns on “Normalize encoding, repair OCR where justified and retain original source reference”: Data quality repair must preserve evidence and not silently change meaning.
Question 520
A Databricks generative AI team is designing a solution with this requirement: An agent proposes updating customer credit limits from a chat message. Which engineering approach should it select first?
- Select chunk size and overlap using recall, precision, groundedness and token budget together
- Compare groundedness and factuality on verified reference examples
- Try smaller heading-aware chunks and compare retrieval performance on labeled queries
- Verify authenticated user authority and explicit approval in the action service
Explanation
Correct Answer
D:Verify authenticated user authority and explicit approval in the action service directly addresses the described Databricks GenAI architecture: An agent proposes updating customer credit limits from a chat message. Authorization enforced at tools cannot be bypassed by generated text. The solution should be validated using a measurable test, not only the existence of a saved prompt or configuration. The expected evidence is: API rejects unapproved write calls regardless of model phrasing.
Incorrect Answers
A:“Select chunk size and overlap using recall, precision, groundedness and token budget together” is associated with this technical property: Chunking is an empirical quality-cost decision rather than a universal fixed size. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.
B:“Compare groundedness and factuality on verified reference examples” is associated with this technical property: Answer correctness must be measured against source evidence, not just readability. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.
C:“Try smaller heading-aware chunks and compare retrieval performance on labeled queries” is associated with this technical property: Search granularity can improve precision when documents mix unrelated topics. The question instead turns on “Verify authenticated user authority and explicit approval in the action service”: Authorization enforced at tools cannot be bypassed by generated text.